From Optimization to Prediction: Transformer-Based Path-Flow Estimation to the Traffic Assignment Problem

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ameli, Mostafa, Shams, Sulthana, Le, Van Anh, Skabardonis, Alexander
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913060895064064
author Ameli, Mostafa
Shams, Sulthana
Le, Van Anh
Skabardonis, Alexander
author_facet Ameli, Mostafa
Shams, Sulthana
Le, Van Anh
Skabardonis, Alexander
contents The traffic assignment problem is essential for traffic flow analysis, traditionally solved using mathematical programs under the Equilibrium principle. These methods become computationally prohibitive for large-scale networks due to non-linear growth in complexity with the number of OD pairs. This study introduces a novel data-driven approach using deep neural networks, specifically leveraging the Transformer architecture, to predict equilibrium path flows directly. By focusing on path-level traffic distribution, the proposed model captures intricate correlations between OD pairs, offering a more detailed and flexible analysis compared to traditional link-level approaches. The Transformer-based model drastically reduces computation time, while adapting to changes in demand and network structure without the need for recalculation. Numerical experiments are conducted on the Manhattan-like synthetic network, the Sioux Falls network, and the Eastern-Massachusetts network. The results demonstrate that the proposed model is orders of magnitude faster than conventional optimization. It efficiently estimates path-level traffic flows in multi-class networks, reducing computational costs and improving prediction accuracy by capturing detailed trip and flow information. The model also adapts flexibly to varying demand and network conditions, supporting traffic management and enabling rapid `what-if' analyses for enhanced transportation planning and policy-making.
format Preprint
id arxiv_https___arxiv_org_abs_2510_19889
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle From Optimization to Prediction: Transformer-Based Path-Flow Estimation to the Traffic Assignment Problem
Ameli, Mostafa
Shams, Sulthana
Le, Van Anh
Skabardonis, Alexander
Machine Learning
Artificial Intelligence
Optimization and Control
The traffic assignment problem is essential for traffic flow analysis, traditionally solved using mathematical programs under the Equilibrium principle. These methods become computationally prohibitive for large-scale networks due to non-linear growth in complexity with the number of OD pairs. This study introduces a novel data-driven approach using deep neural networks, specifically leveraging the Transformer architecture, to predict equilibrium path flows directly. By focusing on path-level traffic distribution, the proposed model captures intricate correlations between OD pairs, offering a more detailed and flexible analysis compared to traditional link-level approaches. The Transformer-based model drastically reduces computation time, while adapting to changes in demand and network structure without the need for recalculation. Numerical experiments are conducted on the Manhattan-like synthetic network, the Sioux Falls network, and the Eastern-Massachusetts network. The results demonstrate that the proposed model is orders of magnitude faster than conventional optimization. It efficiently estimates path-level traffic flows in multi-class networks, reducing computational costs and improving prediction accuracy by capturing detailed trip and flow information. The model also adapts flexibly to varying demand and network conditions, supporting traffic management and enabling rapid `what-if' analyses for enhanced transportation planning and policy-making.
title From Optimization to Prediction: Transformer-Based Path-Flow Estimation to the Traffic Assignment Problem
topic Machine Learning
Artificial Intelligence
Optimization and Control
url https://arxiv.org/abs/2510.19889