Online learning of network bottlenecks via minimax paths

Niklas Åkerblom, Fazeleh Sadat Hoseini, Morteza Haghir Chehreghani

Introduction

In network analysis, the performance of a path is often dictated not by the sum of its parts, but by its weakest link. This "bottleneck"—defined as the edge with the maximum cost, such as the highest latency, lowest bandwidth, or longest travel time—determines the overall efficiency of routing in systems ranging from urban traffic to data communication. To optimize these systems, we seek a minimax path: a route between a source and destination that minimizes the maximum edge weight encountered.

While classic algorithms can efficiently identify minimax paths when edge weights are static and known, real-world networks are inherently stochastic and uncertain. Edge costs are often discovered only through direct experience. This paper introduces an online learning framework for the Online Bottleneck Identification problem, where an agent must sequentially select paths to navigate a network while simultaneously learning the underlying distribution of edge costs.

Problem Formulation

The authors model the challenge as a combinatorial semi-bandit problem. In this setting, an agent interacts with a graph $G = (V, E)$ over a series of time steps $T$. At each step, the agent chooses a path (a "super arm"), traverses it, and observes the individual weights of every edge within that path (semi-bandit feedback).

The objective is to minimize cumulative regret—the difference between the costs incurred by the agent's chosen paths and the costs that would have been incurred by an optimal oracle with full knowledge of the true mean edge weights. This requires a sophisticated balance between exploitation (choosing paths currently believed to be optimal) and exploration (choosing paths to reduce uncertainty about edge costs).

Methodology: Thompson Sampling for Bottlenecks

To address the exploration-exploitation trade-off, the researchers employ Thompson Sampling (TS), a Bayesian approach known for its strong empirical performance and theoretical robustness.

1. Posterior Updates

The framework assumes that edge weights follow a Gaussian distribution. As the agent traverses the network, it maintains and updates a posterior distribution (mean and variance) for each edge based on the observed travel times or costs.

2. The Oracle Challenge

In a standard Thompson Sampling implementation, the agent would sample a weight for every edge from its posterior and then solve for the path that minimizes the expected maximum weight. However, calculating the expected maximum of multiple Gaussian variables is computationally prohibitive and lacks the "optimal substructure" required for efficient pathfinding algorithms like Dijkstra’s.

3. The Approximation Scheme

To ensure the method scales to real-world applications, the authors propose a critical approximation: instead of minimizing the expected maximum weight, the agent minimizes the maximum expected weight. By shifting the focus to the maximum of the sampled means, the problem regains optimal substructure. This allows the use of computationally efficient "oracles" such as a modified Dijkstra’s algorithm for directed graphs or Prim’s algorithm for undirected graphs.

Theoretical Analysis

The paper provides rigorous theoretical grounding for the proposed approach:

  • Regret Bounds: The authors prove that their Thompson Sampling strategy achieves a Bayesian regret bound of $O(d\sqrt{T \log T})$, where $d$ represents the number of edges. This bound is theoretically tight, matching the known lower bounds for this class of combinatorial problems.
  • Approximation Gap: In Theorem 7, the researchers quantify the error introduced by their computational shortcut. They demonstrate that the gap between the true minimax path and the approximation is bounded by $\sqrt{2 \log (L)}$, where $L$ is the path length. This result justifies the use of the approximation in practical settings where speed is essential.

Empirical Evaluation

The authors evaluated the algorithm across diverse real-world datasets, including:

  • Road Networks: Directed graphs of Eindhoven, Manhattan, Oslo, and Salzburg, using travel time data from OpenStreetMap.
  • Social Networks: An undirected collaboration network of researchers in Computational Geometry (Geom), where edge weights represent the inverse of mutual publication counts.

Key Findings

  • Performance: Thompson Sampling consistently outperformed standard baselines, including BayesUCB, $\epsilon$-greedy, and pure Greedy strategies, across all tested networks.
  • Stability: TS exhibited significantly lower variance in its learning curve compared to other methods, suggesting more reliable performance in stochastic environments.
  • Scalability: The approximation scheme allowed the agent to make decisions in $O(|E| + |V| \log |V|)$ time, enabling real-time pathfinding in networks with thousands of nodes.

Conclusion and Future Directions

This research provides a robust and scalable framework for identifying bottlenecks in uncertain networks. By combining the theoretical strengths of Thompson Sampling with a clever computational approximation, the authors bridge the gap between complex bandit theory and practical network routing.

Future work may address the current assumption of edge independence, as real-world congestion often spills over between adjacent edges. Additionally, incorporating contextual factors—such as weather or time of day—via Contextual Thompson Sampling could further enhance the model's predictive power in dynamic environments.

Summary updated

BibTeX
@article{akerblom2023online,
  author = {Niklas Åkerblom and Fazeleh Sadat Hoseini and Morteza Haghir Chehreghani},
  title = {{Online learning of network bottlenecks via minimax paths}},
  journal = {Machine Learning},
  year = {2023},
  doi = {10.1007/s10994-022-06270-0},
}
Figure