Joint Estimation of OD Demands and Cost Functions in Transportation Networks from Data

Salomón Wollenstein-Betech, Chuangchuang Sun, Jing Zhang, Ioannis Ch. Paschalidis · DOI

Abstract

Existing work has tackled the problem of estimating Origin-Destination (OD) demands and recovering travel latency functions in transportation networks under the Wardropian assumption. The ultimate objective is to derive an accurate predictive model of the network to enable optimization and control. However, these two problems are typically treated separately and estimation is based on parametric models. In this paper, we propose a method to jointly recover nonparametric travel latency cost functions and estimate OD demands using traffic flow data. We formulate the problem as a bilevel optimization problem and develop an iterative first-order optimization algorithm to solve it. A numerical example using the Braess Network is presented to demonstrate the effectiveness of our method.

Introduction

Effective traffic management and urban planning rely heavily on the Traffic Assignment Problem (TAP), which models how traffic distributes across a network. Central to TAP is the Wardrop equilibrium principle, which posits that drivers selfishly choose routes to minimize their own travel time, eventually reaching a state where no individual can improve their situation by changing paths.

To implement TAP models effectively, two primary inputs are required: Origin-Destination (OD) demand matrices and link latency (cost) functions. OD demands quantify the volume of travelers between specific points, while latency functions describe the relationship between traffic flow and travel time. In practice, obtaining accurate data for both simultaneously is challenging. Traditional approaches often fix one while estimating the other or rely on rigid parametric models like the Bureau of Public Roads (BPR) formula. This research addresses the "chicken-and-egg" problem by proposing a framework for the joint estimation of both OD demands and non-parametric cost functions directly from observed traffic flow data.

Methodology

The proposed approach frames the joint estimation as a bilevel optimization problem. The upper-level objective is to adjust the OD demand matrix to minimize the discrepancy between predicted and observed link flows. The lower-level problem involves solving an Inverse Variational Inequality (IVI) to identify the cost functions that best explain the observed equilibrium state.

Non-parametric Cost Functions

A key innovation in this work is the use of Reproducing Kernel Hilbert Spaces (RKHS) to model travel cost functions. Unlike traditional parametric methods that assume a specific mathematical form, the RKHS approach allows the model to learn the shape of the cost function directly from data. This flexibility is crucial for capturing complex traffic behaviors, such as the non-linear "stiffening" effect where travel times spike as road capacity is reached.

Optimization Strategy

Bilevel problems are computationally demanding. To solve this efficiently, the authors utilize Karush-Kuhn-Tucker (KKT) optimality conditions and weak duality to transform the nested structure into a single-level optimization problem with non-convex constraints. An iterative first-order feasible direction algorithm, incorporating a trust-region mechanism, is then employed to ensure stable convergence of the demand estimates.

Numerical Experiment: The Braess Network

The methodology was validated using the Braess Network, a classic benchmark in transportation science consisting of four nodes and five links. A synthetic "ground truth" was established with a demand of 4,000 vehicles and a linear cost function. The algorithm was then initialized with intentionally inaccurate parameters—a demand of 5,500 vehicles and a standard BPR cost function—to test its ability to recover the hidden true parameters using only flow data.

Results and Discussion

The experimental results demonstrate the high accuracy and robustness of the joint estimation method. The algorithm successfully converged to an estimated demand of 4,035 vehicles, representing a negligible error relative to the ground truth of 4,000.

Convergence of the estimated OD demand toward the ground truth over 250 iterations.

Furthermore, the recovery of the cost function showed significant progress over successive iterations. While the final recovered function ($f(x) = 1 + 1.45x$) differed slightly in its coefficients from the ground truth ($f(x) = 1 + x$), it achieved "functional equivalence." This means the recovered model produced flow patterns nearly identical to the ground truth, effectively explaining the observed network behavior.

Recovery of the travel time cost function over iterations, showing convergence toward the ground truth behavior.

The overall objective function, representing the error between observed and predicted flows, decreased steadily, reaching near-zero values within approximately 130 iterations. This confirms the effectiveness of the iterative solver in navigating the non-convex optimization landscape.

Conclusion

This research provides a powerful framework for simultaneously recovering network demand and performance characteristics from traffic flow data. By moving away from parametric assumptions and treating demand and cost as interdependent variables, the model becomes more adaptable to real-world urban environments.

Future work will focus on scaling the algorithm to city-sized networks and extending the model to accommodate multi-class traffic. Distinguishing between different vehicle types, such as passenger cars and freight trucks, will further enhance the predictive accuracy and utility of the model for complex transportation systems.

Summary updated

BibTeX
@inproceedings{wollensteinbetech2019joint,
  author = {Salomón Wollenstein-Betech and Chuangchuang Sun and Jing Zhang and Ioannis Ch. Paschalidis},
  title = {{Joint Estimation of OD Demands and Cost Functions in Transportation Networks from Data}},
  booktitle = {CDC},
  year = {2019},
  url = {https://openreview.net/forum?id=PSFUoTv2kg},
}
Figure