Online learning of network bottlenecks via minimax paths

Niklas Åkerblom, Fazeleh Sadat Hoseini, Morteza Haghir Chehreghani

Introduction

In many networked systems, such as urban traffic or data routing, the efficiency of a path is often constrained by its "weakest link"—the edge with the highest cost or lowest capacity. This is known as the bottleneck. Finding the path that minimizes this maximum edge weight is the minimax path problem. However, in dynamic environments, edge weights are often stochastic and unknown, requiring an online learning approach to balance exploration of the network with exploitation of known low-cost paths. A recent paper titled "Online learning of network bottlenecks via minimax paths" addresses this challenge by introducing a robust framework for stochastic bottleneck identification.

Problem Formulation

The authors frame this challenge as a stochastic combinatorial semi-bandit problem. Given a graph $G = (V, E)$, the goal is to find a path $P$ from a source $s$ to a target $t$ that minimizes the expected maximum edge weight:

$$\min_{P \in \mathcal{P}_{s,t}} \mathbb{E}[\max_{e \in P} w_e]$$

where $w_e$ are random variables representing edge weights. This problem is particularly difficult because the "expected maximum" objective lacks the optimal substructure property required for efficient dynamic programming or greedy algorithms like Dijkstra's. In standard shortest-path problems, an optimal path is composed of optimal sub-paths. In the minimax case with random variables, this property breaks down, making the exact problem computationally intractable for large-scale networks.

Methodology

To address the dual challenges of uncertainty and computational complexity, the paper introduces two key innovations:

Thompson Sampling for Combinatorial Bandits

The framework utilizes Thompson Sampling (TS), a Bayesian approach that maintains a posterior distribution over edge weights. In each round, the algorithm samples weights from these posteriors (assuming Gaussian priors), solves the minimax problem for the sampled weights, and updates the distributions based on the feedback received from the edges traversed. This approach provides an "anytime" learning capability, performing well regardless of the time horizon, and achieves a Bayesian regret bound of $O(d\sqrt{T \log T})$.

Computational Approximation

To overcome the loss of optimal substructure, the authors propose an approximation: minimizing the maximum of expected weights rather than the expectation of the maximum weight. This shift restores the optimal substructure property, allowing the use of modified versions of Dijkstra’s or Prim’s algorithms. This reduces the computational complexity to $O(|E| + |V| \log |V|)$, enabling real-time processing. Crucially, the authors prove that the approximation error is bounded by $\sqrt{2 \log d}$, where $d$ is the number of edges in the path. This "maximum of expectations" serves as a remarkably good proxy for the "expected maximum," transforming a computationally impossible task into one solvable in milliseconds.

Experimental Evaluation

The proposed Thompson Sampling approach was evaluated against several baselines, including BayesUCB, $\epsilon$-greedy, and a pure Greedy strategy, across various real-world datasets:

  • Road Networks: Four city graphs (Eindhoven, Manhattan, Oslo, and Salzburg) extracted from OpenStreetMap, where weights represent travel time per meter.
  • Collaboration Networks: The "Geom" dataset, a social network of 9,072 computational geometry researchers where bottlenecks represent the strength of collaborative ties.

The results demonstrate that the TS-based algorithm consistently achieves lower cumulative regret and exhibits higher stability than its competitors. The approximation scheme proved vital for scaling the algorithm to large networks, such as the Oslo road network containing thousands of nodes, which would be computationally prohibitive for exact methods.

Conclusion and Future Work

This work provides a robust and scalable solution for identifying network bottlenecks under uncertainty. By combining the exploration power of Thompson Sampling with a mathematically grounded approximation, the authors achieve near-optimal regret bounds while maintaining the computational efficiency necessary for real-time applications.

Despite these successes, the authors identify several avenues for future work. Currently, the model assumes edge weights are independent, whereas traffic in real-world networks is often highly correlated. Extending the framework to contextual bandits could capture these dependencies and incorporate external factors like weather or time-of-day, further enhancing the model's utility for modern navigation and routing systems.

Reference: Åkerblom, N., Hoseini, F. S., & Chehreghani, M. H. (2023). Online learning of network bottlenecks via minimax paths. Machine Learning, 112, 131–150.

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