Table of Contents
Fetching ...

LASLiN: A Learning-Augmented Peer-to-Peer Network

Julien Dallot, Caio Caldeira, Arash Pourdamghani, Olga Goussevskaia, Stefan Schmid

TL;DR

This paper presents an algorithm that adapts the topology (and the routing paths) of the overlay network to minimize the hop distance travelled by bit, that is, distance times demand, and introduces continuous skip list networks (C-SLNs) which are a generalization of SLNs specifically designed to tolerate predictive errors.

Abstract

This paper studies the integration of machine-learned advice in overlay networks in order to adapt their topology to the incoming demand. Such demand-aware systems have recently received much attention, for example in the context of data structures (Fu et al. in ICLR 2025, Zeynali et al. in ICML 2024). We in this paper extend this vision to overlay networks where requests are not to individual keys in a data structure but occur between communication pairs, and where algorithms have to be distributed. In this setting, we present an algorithm that adapts the topology (and the routing paths) of the overlay network to minimize the hop distance travelled by bit, that is, distance times demand. In a distributed manner, each node receives an (untrusted) prediction of the future demand to help him choose its set of neighbors and its forwarding table. This paper focuses on optimizing the well-known skip list networks (SLNs) for their simplicity. We start by introducing continuous skip list networks (C-SLNs) which are a generalization of SLNs specifically designed to tolerate predictive errors. We then present our learning-augmented algorithm, called LASLiN, and prove that its performance is (i) similar to the best possible SLN in case of good predictions ($O(1)$-consistency) and (ii) at most a logarithmic factor away from a standard overlay network in case of arbitrarily wrong predictions ($O(\log^2 n)$-robustness, where $n$ is the number of nodes in the network). Finally, we demonstrate the resilience of LASLiN against predictive errors (ie, its smoothness) using various error types on both synthetic and real demands.

LASLiN: A Learning-Augmented Peer-to-Peer Network

TL;DR

This paper presents an algorithm that adapts the topology (and the routing paths) of the overlay network to minimize the hop distance travelled by bit, that is, distance times demand, and introduces continuous skip list networks (C-SLNs) which are a generalization of SLNs specifically designed to tolerate predictive errors.

Abstract

This paper studies the integration of machine-learned advice in overlay networks in order to adapt their topology to the incoming demand. Such demand-aware systems have recently received much attention, for example in the context of data structures (Fu et al. in ICLR 2025, Zeynali et al. in ICML 2024). We in this paper extend this vision to overlay networks where requests are not to individual keys in a data structure but occur between communication pairs, and where algorithms have to be distributed. In this setting, we present an algorithm that adapts the topology (and the routing paths) of the overlay network to minimize the hop distance travelled by bit, that is, distance times demand. In a distributed manner, each node receives an (untrusted) prediction of the future demand to help him choose its set of neighbors and its forwarding table. This paper focuses on optimizing the well-known skip list networks (SLNs) for their simplicity. We start by introducing continuous skip list networks (C-SLNs) which are a generalization of SLNs specifically designed to tolerate predictive errors. We then present our learning-augmented algorithm, called LASLiN, and prove that its performance is (i) similar to the best possible SLN in case of good predictions (-consistency) and (ii) at most a logarithmic factor away from a standard overlay network in case of arbitrarily wrong predictions (-robustness, where is the number of nodes in the network). Finally, we demonstrate the resilience of LASLiN against predictive errors (ie, its smoothness) using various error types on both synthetic and real demands.

Paper Structure

This paper contains 12 sections, 10 theorems, 22 equations, 7 figures, 5 algorithms.

Key Result

Lemma 1

If $h$ is a solution for the $OSSLN(V,W)$, then $\forall x\in V$ we have that:

Figures (7)

  • Figure 1: A SLN with eight nodes. The node ids range from $1$ to $8$. The double-arrowed, horizontal lines are the edges of the SLN.
  • Figure 2: A C-SLN obtained by adding each height of \ref{['fig:skip-list-network']} with a random number in $[0, 1]$. This is a possible outcome of LASLiN with predicted heights in green.
  • Figure 3: Consistency (Pareto $\alpha\in[0.2, 2]$, $n=64$, $\eta=0$).
  • Figure 4: Smoothness against Stale Noise (Pareto demand, $n=64$): average communication cost relative to uOPT.
  • Figure 5: Smoothness against Adversarial Noise (Pareto demand, $n=64$): average communication cost, relative to uOPT.
  • ...and 2 more figures

Theorems & Definitions (29)

  • Definition 1: SLN
  • Definition 2: Routing path
  • Definition 3: Cost
  • Definition 4: Optimum Static Skip List Network (OSSLN) problem
  • Definition 5: Overlay Algorithm
  • Definition 6: Learning-Augmented Overlay Algorithm
  • Definition 7: Consistency and Robustness
  • Lemma 1
  • proof
  • Lemma 2
  • ...and 19 more