Learning from A Single Graph is All You Need for Near-Shortest Path Routing

Yung-Fu Chen, Sen Lin, Anish AroraOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

We propose a simple algorithm that needs only a few data samples from a single graph for learning local routing policies that generalize across classes of geometric random graphs in Euclidean and hyperbolic metric spaces. We thus solve the all-pairs near-shortest path problem by training deep neural networks (DNNs) that let each graph node efficiently and scalably route (i.e., forward) packets by considering only the node’s state and the state of the neighboring nodes. Our algorithm design exploits network domain knowledge in the selection of input features and in the selection of a “seed graph” and its data samples. The leverage of domain knowledge provides theoretical assurance that the seed graph and node subsampling suffice for learning that is generalizable, scalable, and efficient. Remarkably, one of these DNNs we train —using distance as the only input feature— learns a policy that exactly matches the well-known Greedy Forwarding policy, which forwards packets to the neighbor with the shortest distance to the destination. We also learn a new policy, which we call Greedy Tensile routing —using both distance and stretch factor as the input features— that almost always outperforms greedy forwarding. We demonstrate the explainability and ultra-low latency runtime operation of Greedy Tensile routing by symbolically interpreting its DNN in terms as a low-complexity linear actions.
BibTeX
@misc{chen2024learning,
  author = {Yung-Fu Chen and Sen Lin and Anish Arora},
  title = {{Learning from A Single Graph is All You Need for Near-Shortest Path Routing}},
  year = {2024},
  url = {https://openreview.net/forum?id=xRiZddh5Pb},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}
Figure