Universal similar triangulars method for searching equilibriums in traffic flow distribution models

Dilyara Baimurzina, Alexander Gasnikov, Evgenia Gasnikova, Pavel Dvurechensky, Egor Ershov, M. B. Kubentaeva, Anastasia LagunovskayaarXiv 2017 · DOI

Abstract

This paper describes the application of a primal-dual version of Nesterov's Universal Method (with a single projection) to solve the dual problem for equilibrium traffic flow distribution in transport networks, specifically focusing on the Beckmann and Stable Dynamics models. We observe that although the dual problem is non-smooth, the Universal Method performs with the efficiency of a Mirror Prox method, effectively handling the saddle-point nature of the problem. Numerical experiments demonstrate that the method often exceeds theoretical convergence expectations on real-world network data.

Introduction

Predicting traffic distribution across urban road networks is a fundamental challenge in urban planning and civil engineering. Traditionally, this is modeled as a search for a "User Equilibrium" (UE), where no driver can reduce their travel time by unilaterally changing routes. While the classic Beckmann model has served as the industry standard for decades, more modern formulations like the Stable Dynamics model (Nesterov–de Palma) offer greater realism but introduce significant mathematical complexity.

Solving these models for large-scale cities involves massive numbers of variables—specifically, flows on every possible path—and complex flow conservation constraints. This paper proposes a unified numerical framework using the Universal Method of Similar Triangles (UMST) to solve these problems efficiently by shifting the focus from the primal flow problem to its dual potential-based formulation.

Methodology

The Dual Approach

Directly solving the primal problem (finding flows) is computationally expensive because projecting onto the set of flow conservation constraints is "dear" (computationally intensive). By pivoting to the dual problem—finding node potentials or costs—the constraints are significantly simplified.

Universal Method of Similar Triangles (UMST)

The core of our approach is the UMST, an accelerated gradient method characterized by several key features:

  1. Universality: The algorithm automatically adapts to the smoothness of the objective function. It does not require prior knowledge of the Lipschitz constant, making it robust across different network topologies.
  2. Primal-Dual Recovery: While the algorithm iterates on the dual problem, it generates a sequence that allows for the simultaneous reconstruction of the primal solution (the actual traffic flows).
  3. Entropy Regularization: To model stochastic equilibria—where drivers have "bounded rationality" and may not choose the absolute fastest path—we employ entropy-based regularization. This smooths the objective function and allows for the calculation of Nash-Wardrop equilibria.

Efficient Gradient Computation

To handle the graph structure of transport networks, we utilize a "smoothed" version of the Ford-Bellman algorithm combined with automatic differentiation. This allows for gradient calculations in $O(SHn)$ time, where $S$ is the number of source nodes, $H$ is the network diameter, and $n$ is the number of edges. This approach is significantly more efficient than standard direct differentiation.

Experimental Results

Dataset and Setup

We evaluated the UMST framework using the Anaheim, California transport network benchmark. The network consists of approximately 1,000 edges, 40 source nodes, and 1,500 origin-destination pairs. The implementation was conducted in Python to test the robustness of the algorithm.

Performance and Convergence

  • Computational Speed: The UMST found the equilibrium for the Beckmann model in approximately 7 minutes and for the Stable Dynamics model in 10 minutes, achieving a relative accuracy of 1%.
  • Gradient Efficiency: Our gradient calculation scheme took roughly 1 minute, compared to an estimated 100 minutes using standard differentiation techniques on a comparable Manhattan-style grid.
  • The "Non-Smooth" Surprise: Theoretically, solving non-smooth convex problems should require $O(1/\epsilon^2)$ iterations. However, in our experiments, UMST converged in $O(1/\epsilon)$ time. This suggests that transport networks may represent a unique class of non-smooth problems where accelerated methods perform significantly better than worst-case theory predicts.

Discussion and Insights

Our findings highlight the dominance of dual-based methods for complex traffic models. While the classic Frank-Wolfe (Conditional Gradient) algorithm remains effective for the basic Beckmann model, it struggles with the Stable Dynamics model and stochastic variants. The UMST provides a unified framework that handles both deterministic and stochastic solutions under a single algorithmic umbrella.

The gap between the observed $O(1/\epsilon)$ convergence and the $O(1/\epsilon^2)$ theoretical bound is particularly noteworthy. It indicates that the "kinks" in the non-smooth traffic objective functions do not hinder the accelerated method as much as expected, potentially due to the underlying graph structure.

Conclusion and Future Work

The Universal Method of Similar Triangles offers a robust and efficient path forward for large-scale transport modeling. Future work will focus on implementing the framework in C++ to achieve real-time solution speeds (potentially 10-100x faster) and extending the formalism to multi-stage models that combine trip distribution with traffic assignment. Additionally, further theoretical investigation is required to bridge the gap between observed and theoretical convergence rates in these network-based optimization problems.

Summary updated

BibTeX
@misc{baimurzina2017universal,
  author = {Dilyara Baimurzina and Alexander Gasnikov and Evgenia Gasnikova and Pavel Dvurechensky and Egor Ershov and M. B. Kubentaeva and Anastasia Lagunovskaya},
  title = {{Universal similar triangulars method for searching equilibriums in traffic flow distribution models}},
  year = {2017},
  eprint = {1701.02473},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.02473},
}
Figure