Flow-Through Tensors: A Unified Computational Graph Architecture for Multi-Layer Transportation Network Optimization


Abstract

Modern transportation network modeling increasingly involves the integration of diverse methodologies – including sensor-based forecasting, reinforcement learning, classical flow optimization, and demand modeling – that have traditionally been developed in isolation. This paper introduces Flow Through Tensors (FTT), a unified computational graph architecture that connects origin destination flows, path probabilities, and link travel times as interconnected tensors. Our framework makes three key contributions: first, it establishes a consistent mathematical structure that enables gradient-based optimization across previously separate modeling elements; second, it supports multidimensional analysis of traffic patterns over time, space, and user groups with precise quantification of system efficiency; third, it implements tensor decomposition techniques that maintain computational tractability for large scale applications. These innovations collectively enable real time control strategies, efficient coordination between multiple transportation modes and operators, and rigorous enforcement of physical network constraints. The FTT framework bridges the gap between theoretical transportation models and practical deployment needs, providing a foundation for next generation integrated mobility systems.

image

A unified tensor-based computational graph for advanced traffic assignment across multiple modeling layers.

Layered KKT-based spatiotemporal modeling capturing multimodal interactions and constraints.

Real-time traffic management and dynamic equilibrium analysis via symbolic gradient computations.

Practical scalability through tensor decomposition, autodifferentiation, and ADMM-based decomposition.

Computational Graphs ,Tensor Optimization ,Traffic Assignment ,Transportation Networks ,Multimodal Coordination ,Real-Time Control ,Price of Anarchy

1 Introduction and Background: The Need for Integration in Transportation Modeling↩︎

Modern transportation networks are growing in both size and complexity. They feature multiple modes, enormous data streams, and dynamic interactions between travelers, vehicles, and infrastructure. Although significant progress has been made in short-term forecasting, local control, and classical flow modeling, many solutions remain largely disconnected and not feasible to apply to real large-scale use-cases. We see several broad traditions in current transportation systems-related research, each with distinct strengths and limitations that motivate our integrated approach:

Sensor-Driven Traffic Prediction: Research in this area fuses real-time or historical sensor data (loop detectors, cameras, connected vehicles) for short-term traffic state prediction [1]. Typical methods include time-series forecasting, deep learning approaches (e.g., CNN, GNN, LSTM), and multi-source data fusion. These techniques achieve high prediction accuracy under predominantly stationary conditions but often lack the capacity for system-level modeling in scenarios characterized by strong demand–supply interactions, such as traffic incidents, severe congestion, long-term prediction and optimization, and the representation of dynamic behavioral responses. Recent advances in physics-informed deep learning have begun to address these limitations [2].

Reinforcement Learning & Control: Reinforcement learning (RL), model predictive control (MPC), and related control-theoretic frameworks are applied to local decisions such as traffic signal timing, ramp metering, or autonomous vehicle maneuvers [3]. Although these methods are highly adaptive at a micro-level, extending them to network-wide equilibrium or capturing longer-term demand shifts remains a challenging and active area of research, as they are typically limited to myopic settings in multi-agent environments [4].

Classical Network Flow Modeling: Conventional flow models and dynamic traffic assignment (DTA) emphasize volume–delay functions, link/path capacity constraints, and user versus system objectives [3], [5]. They offer solid theoretical foundations (user equilibrium, system optimal) but typically operate offline and lack integration of real-time data and demand elasticity.

Demand and Behavioral Modeling: Activity-based, discrete choice, and tour-based models explain how travelers decide if, when, and how to travel, considering socio-economic attributes and daily schedules [6]. Despite their realism, these models are computationally intensive and rarely integrated with real-time data or AI-based supply-side interventions.

Modern transportation networks face complex challenges, including integrating multi-layer factors (origin–destination matrices, path assignments, and link flows) [7], overcoming scalability issues in large-scale and multi-modal settings [8], and addressing the computational inefficiency of iterative procedures in real-world applications [9]. Additionally, harnessing diverse data streams for OD estimation [1] and managing multi-modal complexity (commodities, blocks, paths, trains, crew, vehicles) require advanced frameworks [10], [11]. Although solvers like CPLEX and Gurobi perform well in linear and mixed-integer programming, they lack native flow propagation, struggle with high-dimensional scalability, and offer limited support for non-linear or stochastic elements [12].

1.1 Evolution of Computational Graphs in Transportation Modeling↩︎

One potential research pathway for addressing the complexity and computational challenges in transportation system analysis is the use of new computing paradigms, such as Computational Graph (CG) and its underlying differentiable architectures, which result in graphs that describe mathematical expressions via nodes and edges. These architectures allow for the incorporation of latent domain knowledge and theory-driven approaches, while automatic differentiation facilitates gradient-based optimization of complex planning models. Consequently, backpropagation methods applied in transportation can reduce computational complexity, minimize inconsistency gaps between sub-models, and enhance convergence in interactively layered structures.

Table 1 shows the chronological development of the layered computational graph for travel demand estimation with forward-backward propagation.

Table 1: Representative References in Chronological Order on Computational Graphs and Forward-backward Algorithms in Transportation Network Modeling Applications; ML: Machine Learning.
Reference Application Domain Key Contribution
[13] Travel Demand Estimation Layered computational graph with forward-backward propagation algorithm
[14] Multi-class OD Estimation Forward-backward algorithm on computational graphs with dynamic traffic patterns
[15] Demand Prediction Stepwise interpretable ML for city-wide taxi demand prediction
[16] Discrete Choice Models Framework integrating econometric models such as discrete choice model with ML algorithms
[17] Transit Network Design Layered optimization with forward-passing and backpropagation for service networks
[18] Traffic State Estimation Physics-informed neural networks on computational graphs
[19] Bilevel Network Equilibrium Optimization Iterative backpropagation method for efficient gradient estimation
[20] Equilibrium Learning End-to-end learning of user equilibrium with implicit neural networks
[21] Integrated Demand-Supply Lagrangian relaxation-based mathematical programming reformulation
[22] Network Flow Estimation Day-to-day system-level data for estimating flows and travel behavior
[23] Equilibrium Theory Expressivity, generalization, and optimization of user equilibrium learning
[24] Simulation-Based Optimization Differentiable End-to-End Simulation-Based Optimization
Our Work Explicit Multi-layer Framework Flow-Through-Tensor framework for cross-layer coordination

Our paper aims to synthesize existing transportation computational graph studies into a more general framework using tensor representations. In particular, we focus on problem decomposition in scenarios involving multiple blocks of scheduling and optimization, alongside modular integrations of physics-informed models and machine learning modules. While current CG methods are often applied to specific challenges—such as discrete choice model calibration, enhanced od demand estimation, traffic assignment, or transit service planning—our approach is designed to provide a unified framework that not only reviews these diverse applications but also highlights the distinctions between Flow-Through-Tensor (FTT) and existing CG methodologies. This dual focus enables us to address both broad challenges in transportation modeling and the specific limitations inherent within current CG frameworks. Building on above foundation, the subsequent sections in this paper are organized to demonstrate how each component of the framework interlocks with the others. Section 2 details the Flow-Through-Tensor framework, introducing key variables and incidence matrices that formalize the model. Section 3 focuses on tensor-based scheduling, illustrating its advantages in handling multi-period and multi-modal dynamics, while Section 4 explains the cross-block coordination achieved via advanced techniques like Alternating Direction Method of Multipliers (ADMM). Section 5 further connects our approach to modern AI methods through gradient-based optimization and backpropagation, ensuring that theoretical rigor meets practical application. Finally, Section 6 summarizes the contributions and outlines future research, reinforcing the coherent progression of ideas throughout the paper.

2 The Flow-Through-Tensor (FTT) Framework: An Integrated Approach↩︎

The key idea behind this FTT framework is to represent the transportation network using a layered structure that connects OD flows, path flows, and link flows through tensor operations and computational graphs, creating a unified modeling environment that bridges traditional transportation modeling with modern computational techniques.

Our work aims to extend the static traffic assignment and dynamic traffic assignment frameworks of [25] and [26] by introducing tensor-based representations that can efficiently handle the complexity of multi-period, multi-user class assignments. The approach balances the proactive optimization for predicted conditions with reactive adjustments to real-world deviations in supply and demand, as advocated by [3] in their foundational work on DTA. Furthermore, the integration of both system optimal and User Equilibrium (UE) perspectives in a temporal framework builds upon the time-dependent traffic assignment research of [27], while the tensor formulation provides a mathematical foundation that could enhance agent-based (trip-based) modeling frameworks like POLARIS [28] by enabling more efficient representation of complex spatio-temporal patterns.

The tensor-based approach to transportation modeling has conceptual roots in earlier information-theoretic work, particularly [29], which explored the use of matrix determinants and traces to quantify uncertainty in OD demand estimation. In that work, OD flows were mapped to paths and then to links using link proportion matrices, establishing a mathematical foundation for the spatial and temporal mappings that we now express in higher-dimensional tensor forms. Moreover, this tensor-based structure can be naturally extended to model trip-chaining behavior by incorporating additional interaction dimensions, such as intermediate stops or sequencing constraints. For instance, Honma [30] proposed a spatial interaction model specifically tailored for trip chains, which conceptually parallels the current tensor-based formulation in its use of high-dimensional representations.

2.1 Variable Definition↩︎

In this paper, we aim to employ a consistent notation structure where scalars use lowercase italic letters (e.g., \(f_{od}\), \(t_\ell\)), vectors (tensor forms) use bold lowercase letters (e.g., \(\mathbf{f}\)), matrices use bold uppercase letters (e.g., \(\mathbf{A}\)), and tensors use calligraphic uppercase letters (e.g., \(\mathcal{F}\)). Sets are represented by regular uppercase letters (e.g., \(O\), \(D\), \(L\)), while parameters typically use Greek letters. All notations in this study are presented in 8.

In static traffic assignment, we consider traffic flow volumes time-independently and travel times in three different resolutions, namely origin-destination (OD) pair, path, and link. Thus, we typically track six core variables below.

Since the primary focus in the static traffic assignment problem is solely on the dimension of traffic flow, the tensors are reduced to vectors and matrices in this section. Specifically, scalars are \(0^{\text{th}}\)-order tensors, vectors are \(1^{\text{st}}\)-order tensors, and matrices are \(2^{\text{nd}}\)-order tensors.

  1. OD flow \(f_{od}\) denotes the exogenous demands for OD pair \(\left(o,d\right)\in OD\).

  2. OD travel time \(t_{od}\) denotes the average or weighted cost for traveling from \(o\) to \(d\).

  3. Path flow \(f_{p}\) denotes the amount of flow on route \(p \in P\).

  4. Path travel time \(t_{p}\) denotes the sum of the travel times on all constituent links of path \(p \in P\).

  5. Link flow \(f_{\ell}\) denotes the number of agents (e.g., vehicles or travelers) using link \(\ell\in L\).

  6. Link travel time \(t_{\ell}\) denotes the time that an agent travels through link \(\ell\). Usually, \(t_{\ell}\) can be viewed as a function of the link flow, especially via a volume-delay function.

2.2 Two Mapping Matrices↩︎

We define two key matrices that map among the OD, path, and link layers:

  1. Path-to-Link Incidence Matrices \(\mathbf{A}_{\mathrm{P},\mathrm{L}} \in \mathbb{R} ^{\lvert P \rvert \times \lvert L\rvert}\)
    Each row of \(\mathbf{A}_{\mathrm{P},\mathrm{L}}\) represents a path \(p\) and each column represents a link \(\ell\). An arbitrary element of \(\mathbf{A}_{\mathrm{P},\mathrm{L}}\), denoted by \(a_{p,\ell}\), represents whether path \(p\) travels through link \(\ell\).

    \[a_{p,\ell} = \begin{cases} 1 & \text{if link } \ell \text{ is on path } p,\\ 0 & \text{otherwise}. \end{cases}\]

  2. OD-to-Path Probability Matrices \(\mathbf{B}_{\mathrm{OD},\mathrm{P}} \in \mathbb{R} ^{\lvert OD\rvert \times \lvert P\rvert}\)
    Each row of \(\mathbf{B}_{\mathrm{OD},\mathrm{P}}\) represents a path \(p\) and each column represents an OD pair \((o,d)\). An arbitrarily element of \(\mathbf{B}_{\mathrm{OD},\mathrm{P}}\), denoted by \(b_{od,p}\), represents the proportion that travelers of the OD pair \((o,d)\) will choose the path \(p\).

    \[b_{od,p} = \begin{cases} 1 & \text{if path } p \text{ serves OD pair } (o,d) \text{ uniquely,}\\ 0 & \text{if path } p \text{ does not serve OD pair } (o,d),\\ \gamma \, (\text{where } 0< \gamma <1) & \text{otherwise}. \end{cases}\]

It is important to note that the matrix \(\mathbf{B}_{\mathrm{OD},\mathrm{P}}\) representing the OD-to-path mapping is not fixed, but is dynamically determined by the route choice behaviors of travelers. These behaviors may follow UE, System Optimum (SO), or be influenced by smart reservation groups, creating a dynamic mapping that evolves based on the specific equilibrium conditions and participation patterns in the network. The logit-related tensor or computational graph implementations that enable a computationally efficient implementation of our framework can be found in [16] and [21].

A related concept is the link proportion matrix, which maps OD demand to link flow distributions. This approach has been widely used in OD matrix estimation, with foundational contributions by [31]—who developed a statistical method based on random link choice proportions—[32]—who addressed estimation from link traffic counts on congested networks—and [33].

2.3 Path-Based Formulation of traffic assignment↩︎

In the path-based model, the primary decision variables are the path flows \(\mathbf{f}_P\). The standard relationships are:

  1. OD Flow to Path Flow \[\begin{align} f_{od} &= b_{od,p}f_p , \quad \forall (o,d) \in OD. \end{align}\]

  2. Path Flow to Link Flow \[\begin{align} f_\ell &= \sum_{p\in P} a_{p,\ell}\, f_p, \quad \forall \ell \in L. \end{align}\]

  3. Link Performance Function
    A general link performance function \(\phi_{\ell}(\cdot)\) reflects the influence of the link volume \(f_{\ell}\) on its travel time \(t_{\ell}\), i.e., \(t_\ell = \phi_\ell(f_\ell), \forall \ell \in L\). The most frequently utilized link performance function is \[\begin{align} t_\ell &= t_\ell^0 \left( 1 + \alpha \left(\frac{f_\ell}{C_\ell}\right)^\beta \right), \quad \forall \ell \in L, \end{align}\] where \(t_\ell^0\) is the free-flow travel time on link \(\ell\), \(f_\ell\) is the flow (more precisely inflow demand) on link \(\ell\), \(C_\ell\) is the capacity of link \(\ell\), and \(\alpha, \beta\) are parameters of the Bureau of Public Roads (BPR) function [34].The parameter \(\beta > 0\) serves as the congestion sensitivity parameter and is theoretically grounded in fluid-queue based volume-delay functions with polynomial arrival rates [35][37]. Similarly, the parameter \(\alpha\) finds its foundation in the shape of inflow (arrival) curves, as demonstrated by Newell’s fluid-queue analyses [35]. Furthermore, in [37], \(\alpha\) is decomposed into two distinct components: one reflecting the Demand-to-Capacity Sensitivity—which describes how quickly capacity degrades as demand approaches its limit—and another capturing the Congestion Duration Sensitivity, quantifying the impact of prolonged congestion on the longest waiting times.

  4. Path Travel Times The travel time on path \(p\) is the sum of link times along it. \[\begin{align} t_p &= \sum_{\ell \in L} a_{p,\ell}\,t_\ell, \quad \forall p \in P, \end{align}\]

  5. OD Travel Times \[\begin{align} t_{od}&= \frac{\sum_{p\in P_{(o,d)}} f_p\,t_p}{f_{od}}, \quad \forall f_{od}>0. \end{align}\]

By employing the aforementioned notation system, we can represent the traffic assignment problem as follows:

\[\underset{f_\ell}{\min} \sum_{\ell \in L} \int_0^{f_\ell} \phi_\ell(\omega)\, d\omega\]

The traffic assignment problem can also be represented in a link-based model if we use user equilibrium as the principle for assignment, replacing the OD-to-path probability \(b_{\text{od,p}}\). In the link-based (or arc-based) formulation, the link flows \(\mathbf{f}_L\) serve as the primary decision variables.

Flow conservation at each node for every origin-destination (OD) pair is written as \[\begin{align} \sum_{\ell \in \mathrm{Out}(n)} f_\ell^{od} - \sum_{\ell \in \mathrm{In}(n)} f_\ell^{od} = \begin{cases} f_{od}, & \text{if } n = o, \\[1mm] -f_{od}, & \text{if } n = d, \\[1mm] 0, & \text{otherwise}, \end{cases} \end{align}\] where \(o\) and \(d\) denote the origin and destination nodes for the OD pair, respectively. Here, \(\mathrm{Out}(n)\) and \(\mathrm{In}(n)\) denote the sets of outbound and inbound links at node \(n\). Summing the flows over all OD pairs then yields the total link flows \(\mathbf{f}_L\).

2.5 Flow-Through-Tensor (FTT) Formulation↩︎

The Flow-Through-Tensor (FTT) framework offers a unified approach to transportation networks by integrating linear incidence mappings within a computational graph structure. This formulation systematically connects OD flows, path flows, link flows, and their corresponding travel times through a series of well-defined transformations.

The complete FTT system can be expressed as: \[\begin{align} \text{FTT System:} \quad \begin{cases} \text{Forward Flow Propagation:} \\ \quad \mathbf{f}_P = {\mathbf{B}_{\mathrm{OD},\mathrm{P}}}^{\mathsf{T}}\,\mathbf{f}_{OD} & \text{(OD flows to path flows)}\\ \quad \mathbf{f}_L = {\mathbf{A}_{\mathrm{P},\mathrm{L}}}^{\mathsf{T}}\,\mathbf{f}_P & \text{(Path flows to link flows)}\\ \quad \mathbf{t}_L = \phi(\mathbf{f}_L) & \text{(Link performance function)}\\ \text{Backward Time Propagation:} \\ \quad \mathbf{t}_P = {\mathbf{A}_{\mathrm{P},\mathrm{L}}}\,\mathbf{t}_L & \text{(Link times to path times)}\\ \quad \mathbf{t}_{OD} = {\mathbf{B}_{\mathrm{OD},\mathrm{P}}}\,\mathbf{t}_P & \text{(Path times to OD times)} \end{cases} \end{align}\]

This creates a complete computational graph connecting inputs to outputs through the composite function (as represented in Fig.1). The objective function formulation depends on the specific transportation problem being addressed. For user equilibrium assignment, we can use either the Beckmann-McGuire-Winsten link flow-based transformation or employ a gap function based on path flows and path costs. For origin-destination matrix estimation, we utilize a generalized nonlinear least squares (NLS) formulation with OD-level variables. \[\mathbf{f}_{OD} \to \mathbf{f}_P \to \mathbf{f}_L \to \mathbf{t}_L = \phi(\mathbf{f}_L) \to \mathbf{t}_P \to \mathbf{t}_{OD}\]

Figure 1: FTT Tensor

For our FTT analysis, a fixed set of paths is assumed to be available. However, it can be dynamically adjusted through a process referred to as ‘dynamic column generation’ in some literature. It is important to note that the detailed mechanism for dynamic column generation is beyond the scope of this paper. Furthermore, one can incorporate a logit model within the FTT framework to update route choice probabilities \(\mathbf{B}_{\mathrm{OD},\mathrm{P}}\) based on available path costs or travelers’ preferences.

Fig.[fig:enter-label] illustrates how the computational graph operates through an illustrative case. In this case, we know the volumes of certain links in the network, namely links a, b, and c. Those 3 critical links—selected from a total of 8 links in the example—that are strategically located to differentiate between the freeway and the frontage road. We focus on the travel demand for four OD pairs: (1, 3), (1, 4), (2, 3), and (2, 4). The paths for each OD pair are listed in Table 2.

Figure 2: An Illustration Case
Table 2: Path Set in the Example
Path OD pair Traversed Nodes Traversed links
\(p_1\) (1,3) 1-5-6-3 a,b
\(p_2\) (1,4) 1-5-6-4 a,b
\(p_3\) (2,3) 2-5-6-3 b
\(p_4\) (2,4) 2-5-6-4 b
\(p_5\) (2,4) 2-4 c

Path-to-link incidence matrix \(\mathbf{A}_{P,L}\) in the example is represented as Table 3. Thus we can write \(\mathbf{A}_{P,L}\) as

\[\mathbf{A}_{P,L} = \begin{pmatrix} 1 & 1 & 0 \\ 1 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}.\]

Assume the OD-to-path probability \(b_{od,p}\) is represented as Table 4. Thus we can write the matrix form of \(\mathbf{B}_{OD,P}\).

Table 4: OD-to-Path Probability in the Example
OD-Path \(p_1\) \(p_2\) \(p_3\) \(p_4\) \(p_5\)
\((1,3)\) 1 0 0 0 0
\((1,4)\) 0 1 0 0 0
\((2,3)\) 0 0 1 0 0
\((2,4)\) 0 0 0 0.3 0.7

\[\mathbf{B}_{OD,P} = \begin{pmatrix} 1 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0.3 & 0.7 \\ \end{pmatrix}\]

Given the OD volume \(\mathbf{f}_{\mathrm{OD}}=(4000, 1000, 2000, 2000)^{\mathsf{T}}\), the path flow volume \(\mathbf{f}_P\) can be calculated by:

\[\mathbf{f}_{\mathrm{P}} = {\mathbf{B}_{\mathrm{OD},\mathrm{P}}}^{\mathsf{T}} \mathbf{f}_{\mathrm{OD}} = \begin{pmatrix} 1 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0.3 & 0.7 \\ \end{pmatrix}^{\mathsf{T}} \begin{pmatrix} 4000 \\ 1000 \\ 2000 \\ 2000 \\ \end{pmatrix} = \begin{pmatrix} 4000 \\ 1000 \\ 2000 \\ 600 \\ 1400 \\ \end{pmatrix}.\]

The link flow volume can be calculated by

\[\mathbf{f}_{\mathrm{L}} = {\mathbf{A}_{\mathrm{P,L}}}^\mathsf{T} \mathbf{f}_{\mathrm{P}} = \begin{pmatrix} 1 & 1 & 0 \\ 1 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ \end{pmatrix}^{\mathsf{T}} \begin{pmatrix} 4000 \\ 1000 \\ 2000 \\ 600 \\ 1400 \\ \end{pmatrix} = \begin{pmatrix} 5000 \\ 7600 \\ 1400 \\ \end{pmatrix}.\]

Assuming the application of the Bureau of Public Roads (BPR) function \(\phi(\mathbf{f}_L)\), we subsequently obtain \(\mathbf{t}_{\mathrm{L}}=(15, 18, 10)^{\mathsf{T}}\). The next step is to calculate the path travel time \(\mathbf{t}_P\) with

\[\mathbf{t}_{\mathrm{P}} = \mathbf{A}_{P,L} \mathbf{t}_L = \begin{pmatrix} 1 & 1 & 0 \\ 1 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ \end{pmatrix} \begin{pmatrix} 15 \\ 18 \\ 10 \\ \end{pmatrix} = \begin{pmatrix} 33 \\ 33 \\ 18 \\ 18 \\ 10 \\ \end{pmatrix}.\]

The OD travel time \(\mathbf{t}_{OD}\) can be calculated by: \[\mathbf{t}_{\mathrm{OD}} = \mathbf{B}_{OD,P} \mathbf{t}_P = \begin{pmatrix} 1 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0.3 & 0.7 \\ \end{pmatrix} \begin{pmatrix} 33 \\ 33 \\ 18 \\ 18 \\ 10 \\ \end{pmatrix} = \begin{pmatrix} 33 \\ 33 \\ 18 \\ 12.4 \\ \end{pmatrix}.\]

2.6 Gradient-Based Network Automatic Differentiation↩︎

Our approach leverages the explicit gradient relationship between OD flows and travel times. We compute the gradient \(\frac{\partial \mathbf{t}_{OD}}{\partial \mathbf{f}_{OD}}\) through each mapping in the Flow-Through-Tensor framework:

\[\begin{align} \frac{\partial \mathbf{f}_P}{\partial \mathbf{f}_{OD}} &= {\mathbf{B}_{\mathrm{OD},\mathrm{P}}}^{\mathsf{T}} &\text{(OD flows to path flows)}\\ \frac{\partial \mathbf{f}_L}{\partial \mathbf{f}_P} &= {\mathbf{A}_{\mathrm{P},\mathrm{L}}}^{\mathsf{T}} &\text{(Path flows to link flows)}\\ \frac{\partial \mathbf{t}_L}{\partial \mathbf{f}_L} &= \text{diag}\left(t_{\ell}^0 \, \alpha \, \beta \, \frac{1}{C_\ell} \left(\frac{f_{\ell}}{C_\ell}\right)^{\beta-1}\right) &\text{(Link flows to link times)} \label{eq:diag-link-performance} \\ \frac{\partial \mathbf{t}_P}{\partial \mathbf{t}_L} &= \mathbf{A}_{\mathrm{P},\mathrm{L}} &\text{(Link times to path times)}\\ \frac{\partial \mathbf{t}_{OD}}{\partial \mathbf{t}_P} &= \mathbf{B}_{\mathrm{OD},\mathrm{P}} &\text{(Path times to OD times)} \end{align}\tag{1}\]

In Eq.(1 ) the matrix is a square diagonal matrix. This is because we assume symmetric cost functions in our traffic assignment problem, which naturally leads to a diagonal Jacobian where each element corresponds to an individual link. Discussions regarding asymmetric cost functions are beyond the scope of this paper.

By the chain rule, the overall sensitivity, which can be used in the OD demand estimation setting, is: \[\begin{align} \frac{\partial \mathbf{t}_{OD}}{\partial \mathbf{f}_{OD}} = \mathbf{B}_{\mathrm{OD},\mathrm{P}} \cdot \mathbf{A}_{\mathrm{P},\mathrm{L}} \cdot \frac{\partial \mathbf{t}_L}{\partial \mathbf{f}_L} \cdot {\mathbf{A}_{\mathrm{P},\mathrm{L}}}^{\mathsf{T}} \cdot {\mathbf{B}_{\mathrm{OD},\mathrm{P}}}^{\mathsf{T}} \end{align}\]

The computational graph structure is particularly advantageous for this type of transportation modeling. By representing the network as a differentiable computational graph, we can leverage automatic differentiation to efficiently compute these gradients. This formulation ensures physical consistency with traffic flow theory and provides explicit causal understanding of how demand changes propagate through the network to affect travel times via congestion, representing a fundamental improvement over purely correlational models that may fail to identify underlying mechanisms.

2.7 Comparison of Computation↩︎

The table below summarizes how each approach (path-based, link-based, FTT) handles the six variables. FTT leverages the same definitions but encodes them as mappings (\(\mathbf{B}\) and \(\mathbf{A}\)), making the entire problem a chain of composite functions:

Table 5: Comparison of Link-Based, Path-Based, and Flow-Through-Tensor Formulations
Aspect Link-Based Path-Based FTT
Primary Variables Link flows \((f_\ell)\). All-or-nothing (AON) subproblem defines auxiliary solution. Path flows \((f_p)\). Multiple paths per OD, often updated via reduced gradient. Layered transformations: \(\mathbf{f}_P \to \mathbf{f}_L \to \mathbf{t}_L \to \mathbf{t}_P\). Maintains computational graph.
Exact Solution Algorithm Frank–Wolfe combines current and AON flows via line search. Slow convergence near optimum. Gradient Projection updates each path flow along negative-gradient. Faster convergence. Manages path set. Compatible with gradient-based/quasi-Newton solvers. Suitable for GPU/parallel computation.
Path Management No explicit path enumeration. Link flows are main storage. Explicit, growing set of active paths. New shortest paths added as needed. Column-generation or fixed path set. Emphasis on computational graph across layers.
Line Search Merges current link flows and AON flows each iteration. Often direct step in negative-gradient at path level, sometimes with path-flow line search. Compatible with various step-size routines (ADAM, L-BFGS) using chain-rule derivatives.
Gradient Computation Link-level cost linearization each iteration. Reduced gradients for path flows. Shifts flow from higher-cost to lower-cost paths. Layered forward-backward pass applies chain rule. Simplifies gradient evaluation, extends to new cost layers.
Features Minimal storage; simpler coding.
Path details require extra steps; computationally infeasible for large-scale application.
Direct path flow control; faster convergence; easier path results.
Higher memory for large networks.
Compatible with auto-differentiation; supports complex costs.
May still need path generation for many paths.

2.8 Embedded Optimization and Differentiable Modeling Perspectives↩︎

The FTT structure shares core mathematical principles with neural networks and optimal control, involving layered mappings with forward information flow and backward gradient propagation. These connections are formalized through Lagrangian relaxation and Karush-Kuhn-Tucker (KKT) conditions, where adjoint variables serve a role analogous to backpropagation in deep learning. A detailed treatment, including chain rule derivations and applications to transportation networks, is provided in 9. This analysis reveals the fundamental connection between neural network backpropagation, the method of adjoints in optimal control, and the Flow-Through-Tensor framework in transportation networks. All three approaches use Lagrangian duality with a forward pass to compute states and a backward pass to propagate sensitivities via adjoint variables. This unified perspective enables cross-pollination between deep learning advances and transportation network optimization through their common mathematical foundation.

While our work focuses on transportation-specific optimization problems, it draws conceptual alignment with recent advancements in differentiable and embedded optimization. In particular, our approach is consistent with developments that integrate optimization layers within machine learning architectures.

Specifically, our work builds upon the backward propagation framework across different layers of variables introduced in [13], which independently adopted a layered structure conceptually aligned with approaches such as OptNet [38] and differentiable convex optimization layers [39]. These developments, along with advances in program rewriting for convex formulations [40] and end-to-end constrained optimization learning [41], provide foundational insights into embedding optimization problems directly within neural network architectures.

In our case, we embed the transportation system’s internal mappings as a composite sequence of functions: from path flows to link flows, from link flows to travel times, and from travel times back to path costs. This structured formulation ensures both physical interpretability and computational consistency. By embedding these mappings directly into the optimization framework, we enable the model to capture flow propagation dynamics, travel time estimation, and cost evaluation in a cohesive and data-efficient manner.

In our framework, the transportation system is modeled as a series of interdependent mappings—linking path flows, link flows, travel times, and finally back to path costs. This setup inherently creates computational cycles, akin to a “chicken and egg” scenario, where determining the demand influences the supply and vice versa. These cycles require iterative fixed-point methods to balance the system, where the solution stabilizes once the interactions between demand and supply converge to a fixed point.

To efficiently resolve these cycles, we leverage a variable-splitting reformulation approach [21], [42], [43], which dualizes the coupled constraints. This reformulation breaks cyclic dependencies and restores a directed acyclic graph (DAG) structure at the subproblem level, enabling modular decomposition. Furthermore, for more complex and non-differentiable constraints—such as capacity limitations or intermodal competition—we adopt Lagrangian relaxation techniques.

It should be remarked that, while tensors do admit low-rank decompositions, such as CANDECOMP/PARAFAC (CP), Tucker, tensor-train (TT), and tensor-ring (TR) decompositions, these representations introduce non-convex optimization landscapes. This is analogous to matrix factorization, where although matrix completion may appear convex when posed directly over the full matrix X, it becomes non-convex when formulated in terms of its low-rank factors A and B. In both cases, convexity depends on how the optimization problem is posed. We also note that tensor completion is, in general, non-convex and NP-hard. However, tensor methods are specifically designed for modeling high-dimensional, multi-way data. In many practical applications, such data exhibits an underlying low-rank tensor structure. Using tensor decompositions in such settings helps preserve the intrinsic multi-dimensional relationships within the data, which can be critical for performance and interpretability.

3 Motivation for Multi-Dimensional, Tensor-Based Scheduling↩︎

Transportation network models traditionally focus on single-period or single-day equilibrium analysis, wherein each traveler selects a route to minimize their immediate travel time. While mathematically tractable, these static equilibrium formulations often result in inefficient outcomes due to the use of time-independent cost calculation and decentralized decision-making—encapsulated by the well-known Price of Anarchy [44]. Real-world transportation systems, however, are inherently multi-dimensional: demand fluctuates by day and time, user behaviors vary across different travel contexts, and capacity constraints evolve dynamically.

To address these inefficiencies, recent literature identifies a range of coordination strategies. [45] formalized the inefficiencies of selfish routing, motivating mechanisms for improving system performance. Extensions such as bounded rationality [46] and the impacts of ride-sourcing [47] highlight the real-world complexity of uncoordinated behavior. Reservation-based methods, including tradable mobility credits [48], [49] and intersection scheduling [50], demonstrate promising demand management solutions. Coordination through equilibrium-based frameworks also shows potential: [51] propose Pareto-improving freight routing, [52] develop a correlated equilibrium routing mechanism, while [53] and [54] explore rerouting and automation-based scheduling in transit and multi-modal systems. These methods underscore the value of integrating dynamic, multi-dimensional coordination into traffic modeling frameworks.

A tensor-based representation naturally accommodates this complexity. Beyond the basic dimensions of "User Group × Day × Time Period," we can encode a much richer set of attributes within a single multi-dimensional structure including:

  • User Classes: Different traveler segments (e.g., single-occupant vehicles, high-occupancy vehicles, freight), value of time, utilities, and costs.

  • Vehicle Types: Distinctions between electric, diesel, and other vehicle technologies

  • Mobility Chain: Sequences of trips within a day (e.g., home-work-home, home-school-shopping-home)

  • Trip Purposes: Commute, education, shopping, leisure, and other activity types

  • Time-of-Day Variations: Morning peak, midday off-peak, evening peak, or finer granularity

  • Day-of-Week Effects: Weekday versus weekend travel differences

With these tensor formulations, one can analytically compare how various multi-period or multi-day rotation strategies improve upon the single-period equilibrium baseline. Crucially, such models enable explicit calculation of cost reductions and Pareto improvements, revealing how partial scheduling or "smart reservations", in which only some portion of travelers coordinate their route or time-of-day choices, yield measurable efficiency gains. These gains scale with the congestion sensitivity of the network (captured by parameters like \(\beta\) in volume-delay functions) and the fraction of users participating in the scheduling scheme. Therefore, the proposed methodology can effectively capture the heterogeneity and dynamics of the system’s demand and supply.

3.1 Mathematical Formulation Using Pigou’s Network↩︎

We analyze a classic Pigou network with two parallel routes: route a with constant travel time \(t_a = 1\), and route b with variable travel time \(t_b = x^{\beta}\), where \(x\) is the flow on route b. With total demand normalized to 1 unit and \(\beta = 1\), the system optimal (SO) solution divides flow equally between routes (\(t_{SO} = \frac{3}{4}\)), while user equilibrium (UE) concentrates all flow on route \(b\) (\(t_{UE} = 1\)), yielding a Price of Anarchy \(\text{PoA} = \frac{t_{UE}}{t_{SO}} = \frac{4}{3}\) that quantifies the inefficiency of uncoordinated routing decisions.

3.1.1 Multi-Period Tensor Formulation↩︎

To extend the single-period analysis to a multi-period setting, we introduce a rotation mechanism represented by a binary tensor \(\mathbf{R} \in \{0,1\}^{I \times D}\), where \(I\) denotes the number of user groups and \(D\) the number of time periods (e.g., days). The entry \(R_{i,d} = 1\) indicates that group \(i\) follows the SO assignment on day \(d\), while \(R_{i,d} = 0\) corresponds to UE behavior.

To illustrate the rotation strategy, we consider a two-day planning horizon. The participating users are divided evenly into two subgroups. Subgroup 1 (\(P1\)) is assigned to route \(a\) on Day 1 and switches to route \(b\) on Day 2. Subgroup 2 (\(P2\)) follows the reverse pattern, using route \(b\) on Day 1 and route \(a\) on Day 2. The non-participants (NP), who follow UE behavior, consistently choose route \(b\) on both days and do not engage in the rotation.

An illustrative example of the rotation tensor is provided in Table 6, where two user groups alternate between SO and UE assignments over a 2-day horizon to promote temporal fairness and load balancing.

Table 6: Example of Rotation Tensor
Group \(\boldsymbol{\backslash}\) Day 1 2 3 4
\(R_{1,d}\) 1 0 1 0
\(R_{2,d}\) 0 1 0 1

The resulting temporal flow pattern for day \(d\) is computed as:

\[x^{(d)} = \sum_{i=1}^{I} \left( R_{i,d} \cdot x^{\text{SO}}_i + (1 - R_{i,d}) \cdot x^{\text{UE}}_i \right)\]

Here, \(x^{\text{SO}}_i\) and \(x^{\text{UE}}_i\) denote the flow contributions of group \(i\) under system-optimal and user equilibrium behaviors, respectively.

This formulation enables temporal coordination across user groups while preserving long-run fairness and reducing overall system cost as well as calculation cost.

A participation rate \(p\) denotes the participation group—users who agree to rotate their route choices across periods. The remaining fraction \(1 - p\) consists of non-participants.

Each participating subgroup alternates between route a, which has a constant travel time, and route b, whose travel time depends on the total flow. Table 7 presents each group’s route choices, flow assignment, and travel time over two days.

Table 7: Flow and Travel Time Tensor over Two Days
P1 P2 NP
Route a b b
Flow \(f_a = \frac{p}{2}\) \(f_b = 1 - \frac{p}{2}\) \(f_b = 1 - \frac{p}{2}\)
Travel Time \(t_a = 1\) \(t_b = \left(1 - \frac{p}{2} \right)^{\beta}\) \(t_b = \left(1 - \frac{p}{2} \right)^{\beta}\)
Route b a b
Flow \(f_b = 1 - \frac{p}{2}\) \(f_a = \frac{p}{2}\) \(f_b = 1 - \frac{p}{2}\)
Travel Time \(t_b = \left(1 - \frac{p}{2} \right)^{\beta}\) \(t_a = 1\) \(t_b = \left(1 - \frac{p}{2} \right)^{\beta}\)
Figure 3: 3^\text{rd}-order flow and travel time tensor

For participants, we compute the average travel time (a "mode‐average" over the day dimension): \[\begin{align} \overline{t}_{P} &= \frac{1 + (1 - p/2)^\beta}{2} \quad \end{align}\]

For non‐participants, it is simply: \[\begin{align} \overline{t}_{NP} &= (1 - p/2)^\beta \quad \label{eq:tnp} \end{align}\tag{2}\]

Theorem 1 formalizes the key result that coordination through the proposed rotation mechanism leads to Pareto-improving outcomes. This simple strategy achieves two important goals: (1) stable network capacity utilization across days, and (2) improved travel times for all users compared to pure user equilibrium. The detailed proof of this result is provided in  10.

Theorem 1. The tensor-based rotation with participation rate \(p > 0\) and rotation \(\alpha = 1/2\) yields a Pareto improvement over pure User Equilibrium for all \(\beta \geq 1\), corresponds to decreasing \(PoA\).

We note that while our framework illustrates benchmark improvements under the rotation/smart reservation scenario, the specific methods for achieving optimized route or scheduling assignments for limited road resources—such as through mobility credits or full trajectory scheduling of automated vehicles—are beyond the scope of this paper. Our goal is to provide clear benchmarks and insights, leaving detailed implementations of these approaches for future research.

3.2 Multi-Dimensional Tensor Representation and Management Strategies↩︎

It is important to clarify that while we introduce a multi-dimensional tensor representation to capture the rich dynamics of transportation systems, we do not provide detailed implementations of these management strategies in this paper. Our discussion here is intended as a conceptual exploration—an invitation for further research—rather than a fully developed operational framework.

In practice, many metropolitan areas, such as Beijing with its day-of-week license plate restrictions, already employ rudimentary forms of multi-dimensional traffic management. Similarly, more dynamic approaches—such as automated vehicle scheduling—could benefit from the tensor-based mechanisms we propose. Our aim is to promote the use of tensors in transportation modeling even as we recognize that the detailed design of such strategies remains an open area for future work.

We begin with a generalized multi-dimensional tensor representation: \[\mathcal{X}(\text{class}, \text{vehicle}, \text{tour}, \text{purpose}, \text{tod}, \text{dow}, \text{route}, \text{day}), \label{eq:tensor}\tag{3}\] which captures a rich set of attributes beyond traditional dimensions.

Tensor decomposition methods allow us to extract latent travel patterns from this high-dimensional data. For example, using CP decomposition, we express \(\mathcal{X}\) as: \[\mathcal{X} \approx \sum_{r=1}^{R} \lambda_r \cdot \mathbf{a}^{(1)}_r \circ \mathbf{a}^{(2)}_r \circ \cdots \circ \mathbf{a}^{(N)}_r, \label{eq:cp}\tag{4}\] where each component \(r\) corresponds to a distinct travel cluster and \(\lambda_r\) indicates its relative prominence. In a weekday morning peak scenario, CP decomposition might reveal: \[\begin{align} \lambda_1 &= 0.50 \quad &\text{(Work commuters in single-occupancy vehicles)},\\[1mm] \lambda_2 &= 0.30 \quad &\text{(School drop-offs)},\\[1mm] \lambda_3 &= 0.20 \quad &\text{(Medical or personal appointments)}. \end{align} \label{eq:lambda}\tag{5}\]

Based on these latent components, we introduce a factor-guided rotation tensor \(\mathbf{R}\) that tailors interventions according to the identified patterns: \[\mathbf{R}_{i,d} = \begin{cases} \text{Pattern A} & \text{if user } i \text{ aligns with Component 1},\\[1mm] \text{Pattern B} & \text{if user } i \text{ aligns with Component 2},\\[1mm] \text{Pattern C} & \text{if user } i \text{ aligns with Component 3}. \end{cases} \label{eq:rotation95tensor}\tag{6}\]

To design a practical scheduling mechanism, we extend our rotation scheme over a longer consultation period—say, a five-day workweek or even a multi-week cycle (e.g., four weeks per month). Suppose the overall participation rate is \(p = 0.10\) (10%), but note that this rate may vary by latent component. For example, work commuters (Component 1) may have less flexibility (\(p_1 < 0.10\)), while school drop-offs (Component 2) could be more amenable to adopting system-optimal (SO) assignments (\(p_2 \approx 0.10\)).

We then define a day-specific flow for each component using a rotation schedule. Let \(R_{r,d}\) indicate whether the system-optimal assignment is active for component \(r\) on day \(d\). The aggregated flow on day \(d\) is given by: \[x^{(d)} = \sum_{r=1}^{R} \left( R_{r,d} \cdot x^{\text{SO}}_{r} + \left(1 - R_{r,d}\right) \cdot x^{\text{UE}}_{r} \right), \label{eq:day95flow}\tag{7}\] where \(x^{\text{SO}}_{r}\) and \(x^{\text{UE}}_{r}\) represent the flows under system-optimal and user equilibrium conditions for component \(r\), respectively.

For a concrete example, consider a four-week cycle with five working days each week (\(D = 20\)). For school drop-offs (Component 2), we might define the rotation schedule as: \[R_{2,d} = \begin{cases} 1, & \text{if } d \in \{1, 6, 11, 16\}, \\ 0, & \text{otherwise}. \end{cases} \label{eq:rotation95schedule}\tag{8}\] This means that on the first day of each week, the designated 10% of school drop-offs adopt the system-optimal assignment—even if it means a non-preferred arrival time—while the remaining days follow the user equilibrium behavior. Different rotation schedules can be devised for other components based on their inherent flexibility.

For additional flexibility, Tucker decomposition provides a complementary approach: \[\mathcal{X} \approx \mathcal{G} \times_1 \mathbf{A}^{(1)} \times_2 \mathbf{A}^{(2)} \cdots \times_N \mathbf{A}^{(N)}, \label{eq:tucker}\tag{9}\] where the core tensor \(\mathcal{G}\) captures higher-order interactions across dimensions, such as the joint influence of vehicle type and time-of-day on congestion.

In summary, while our primary contributions focus on tensor-based scheduling for network coordination, the multi-dimensional tensor framework and its associated management strategies presented here are intended as conceptual benchmarks. We recognize that the detailed mechanisms for extracting actionable insights and implementing these strategies—especially over extended time horizons with differential participation rates—are beyond the scope of this paper. Nonetheless, we believe that these ideas demonstrate the potential of tensor-based approaches and encourage further research in this promising direction.

4 ADMM Framework for Modular Integration in Transportation Systems↩︎

4.1 Background and Applications in Transportation Modeling↩︎

Modern transportation systems combine modular components—each with internal logic, decision variables, and objectives. Examples include data-driven OD estimation, physics-informed flow propagation (e.g., Flow-Through Tensor), and vehicle assignment systems. To preserve modularity while enforcing cross-module consistency, we deploy the Alternating Direction Method of Multipliers (ADMM), first introduced by gabay1976dual?.

The ADMM-based decomposition approach has been widely applied to transportation problems, including traffic assignment [21], [55], [56], dynamic optimal transport [57], and optimizing intercity express transportation networks [58]. Earlier applications include vehicle routing problems with time windows [59], cyclic train timetabling [60], and integrated vehicle assignment and routing for shared mobility [61]. Recent work by [62] has also applied similar approaches to enhancing high-speed railway timetable resilience.

4.2 Mathematical Formulation and Algorithm↩︎

The ADMM approach enables decomposable optimization while enforcing physical and behavioral constraints. The general mathematical formulation is as follows: \[\begin{align} \min_{\mathbf{x}, \mathbf{z}} \quad & \mathcal{J}_1(\mathbf{x}) + \mathcal{J}_2(\mathbf{z}) \\ \text{subject to} \quad & \mathbf{C}\mathbf{x}_S + \mathbf{D}\mathbf{z}_S = \mathbf{b},\\[6pt] & \mathbf{x} = [\mathbf{x}_S, \mathbf{x}_{NS}], \\[4pt] & \mathbf{z} = [\mathbf{z}_S, \mathbf{z}_{NS}], \end{align}\] where:

  • Decision Variables:

    • \(\mathbf{x} = [\mathbf{x}_S, \mathbf{x}_{NS}]\): Complete decision variables in Module 1, explicitly partitioned into shared (\(\mathbf{x}_S\)) and non-shared (\(\mathbf{x}_{NS}\)) subsets.

    • \(\mathbf{z} = [\mathbf{z}_S, \mathbf{z}_{NS}]\): Complete decision variables in Module 2, similarly partitioned.

  • Objective Functions:

    • \(\mathcal{J}_1(\mathbf{x})\), \(\mathcal{J}_2(\mathbf{z})\): Module-specific objectives, dependent on their respective full sets of variables.
  • Coupling Constraint:

    • Matrices \(\mathbf{C}\) and \(\mathbf{D}\) and vector \(\mathbf{b}\) enforce consistency explicitly through the shared variables (\(\mathbf{x}_S\), \(\mathbf{z}_S\)).

Remark 1: The bent variables refer to how variables are handled across different subproblems or components of a larger optimization problem, especially in decentralized or distributed optimization settings. Here, the coupling variable sets \(\mathbf{x}_S\) and \(\mathbf{z}_S\) represent interrelated quantities such as link-level vehicle flow volume versus passenger link flow volume. These coupling values can be expressed as link performance functions. The complete variable sets \(\mathbf{x}\) and \(\mathbf{z}\) include flow-through tensor variables across OD, path, and link layers.

Coupling constraints in transportation networks serve as critical interconnection mechanisms between passenger flows and vehicle operations, forming the backbone of what can be conceptualized as a flow-through tensor framework. These constraints can be mathematically formulated through various approaches, including Lagrangian relaxation techniques that dualize the coupling relationships, thereby enabling decomposition into more tractable subproblems [63], [64]. The coupling functions themselves represent sophisticated demand-supply interactions that extend beyond traditional Bureau of Public Roads (BPR) formulations of volume-to-capacity ratios. More nuanced formulations include those that capture passenger-vehicle capacity matching [43], where constraints such as \(F_{\text{passenger}} \leq S \cdot F_{\text{vehicle}}\) ensure that passenger flows remain within the bounds of available vehicle capacity. Additionally, multi-commodity flow approaches treat passengers and vehicles as distinct commodities sharing network resources, with constraints that limit their weighted sum on each link [42].

In multi-modal systems, this two-block tensor structure accommodates:

  1. Temporal Synchronization Coupling, where the time dimensions of passenger and vehicle tensors must align to minimize transfer times [65], with frequency coordination constraints like \(f_i = k \cdot f_j\) linking the temporal patterns across tensor blocks [66];

  2. Spatial Resource Allocation Coupling, where the spatial dimensions of both tensor blocks share limited infrastructure resources, expressed as \(\sum_m (\alpha_m \cdot F_m) \leq C\), with \(\alpha_m\) representing how each tensor block consumes shared capacity [67].

Coupling Function can also be modeled as a Performance Function for Demand-Supply Interaction The typical forms include: (1) Ratio-based forms (\(D/C\)): As in the BPR function; (2) Difference-based forms (D-C): These measure the gap between demand and supply capacity; (3) Queue-based formulations: Performance functions can explicitly capture dynamic queueing phenomena, including vertical and horizontal queue propagation, spillback effects, and time-dependent delays, providing more realistic congestion representation in scenarios with time-varying demand patterns. Our current implementation supports analytical approximations of queueing behavior but does not yet include full mesoscopic simulation such as DTALite [68]. However, the modular architecture of the tensor framework allows for future incorporation of more detailed traffic loading schemes, including simulation-based approaches.

These coupling mechanisms ensure that solutions optimized for each tensor block individually will maintain feasibility and efficiency when operating as an integrated system. Moreover, the framework’s elegance lies in its dual approach: ML captures demand variations, while FTT captures both demand and supply distributions. This modularity aligns with the FTT framework’s layered mappings—e.g., from \(\mathcal{F}_{OD} \rightarrow \mathcal{F}_P \rightarrow \mathcal{F}_L \rightarrow \mathcal{T}_L \rightarrow \mathcal{T}_{OD}\)—enabling seamless coordination between independently updated modules.

The ADMM algorithm proceeds iteratively through three steps: \[\begin{align} \mathbf{x}^{k+1} &:= \arg\min_{\mathbf{x}} \mathcal{J}_1(\mathbf{x}) + (\boldsymbol{\lambda}^k)^\top (\mathbf{C} \mathbf{x}_S + \mathbf{D} \mathbf{z}_S^k - \mathbf{b}) + \frac{\rho}{2} \|\mathbf{C} \mathbf{x}_S + \mathbf{D} \mathbf{z}_S^k - \mathbf{b}\|_2^2 \\ \mathbf{z}^{k+1} &:= \arg\min_{\mathbf{z}} \mathcal{J}_2(\mathbf{z}) + (\boldsymbol{\lambda}^k)^\top (\mathbf{C} \mathbf{x}_S^{k+1} + \mathbf{D} \mathbf{z}_S- \mathbf{b}) + \frac{\rho}{2} \|\mathbf{C} \mathbf{x}_S^{k+1} + \mathbf{D} \mathbf{z}_S - \mathbf{b}\|_2^2 \\ \boldsymbol{\lambda}^{k+1} &:= \boldsymbol{\lambda}^k + \rho \left( \mathbf{C} \mathbf{x}_S^{k+1} + \mathbf{D} \mathbf{z}_S^{k+1} - \mathbf{b} \right) \end{align}\]where \(\rho > 0\) is the penalty parameter and \(\boldsymbol{\lambda}\) is the dual variable. This setup ensures:

  • Each subproblem updates its entire variable set \(\mathbf{x}\) or \(\mathbf{z}\).

  • Only the bent components \(\mathbf{x}_S\), \(\mathbf{z}_S\) are used in the coupling term, which keep consistency across the calculation while decouple the framework structure.

Remark 2: The multiplier minimization and alternating process is naturally suitable for GPU-based computational acceleration in deep learning applications. This alternating structure facilitates efficient parallel computation on modern hardware architectures.  [69] proposed a sample implementation of this approach. For further details, readers may refer to [21], while the problem decomposition and Lagrangian-based iterative process requires explicit coding.

Remark 3: While enabling ADMM on parallel computing platforms is technically emerging areas of research, it is beyond the scope of this paper. Interested readers can explore related work such as [55]

Remark 4: Regarding an important question of whether flow models can be extended to traditional applications with strong 0-1 constraints (e.g., resource-constrained shortest path problems): such extensions typically require a two-phase approach. First, continuous flow variables should be treated as a continuous relaxation problem with floating-point variables. Subsequently, these solutions can be converted to integer or binary variables through projection or rounding techniques, employing specialized algorithms such as branch-and-bound or cutting plane methods. While the integration of continuous and discrete mappings lies outside the scope of this paper, interested readers can refer to [59], [61] for comprehensive treatments of these techniques.

4.3 Transportation Applications of ADMM: Passenger-Vehicle Coupling↩︎

Transportation systems involve coordination between passenger flows and vehicle movements. We decompose the system into two primary blocks:

4.3.0.1 Passenger Block

The Passenger Block manages flows and travel times through flow tensors (\(\mathcal{F}^\text{Passenger}_{OD}\), \(\mathcal{F}^\text{Passenger}_{P}\), and \(\mathcal{F}^\text{Passenger}_{L}\)) and their corresponding travel time tensors (\(\mathcal{T}^\text{Passenger}_{OD}\), \(\mathcal{T}^\text{Passenger}_{P}\), and \(\mathcal{T}^\text{Passenger}_{L}\)).

4.3.0.2 Vehicle Block

The Vehicle Block tracks vehicle flows, travel times, and costs through flow tensors (\(\mathcal{F}^\text{Vehicle}_{OD}\), \(\mathcal{F}^\text{Vehicle}_{P}\), \(\mathcal{F}^\text{Vehicle}_{L}\)), travel time tensors (\(\mathcal{T}^\text{Vehicle}_{OD}\), \(\mathcal{T}^\text{Vehicle}_{P}\), \(\mathcal{T}^\text{Vehicle}_{L}\)), and cost tensors (\(\mathcal{C}^\text{Vehicle}_{P}\), \(\mathcal{C}^\text{Vehicle}_{L}\)).

Figure 4: Coupling of Passenger and Vehicle Tensors

The coupling constraint enforces vehicle capacity limitations: \[\mathcal{F}^\text{Passenger}_{L} \leq \boldsymbol{\omega} \odot \mathcal{F}^\text{Vehicle}_{L} \quad\]

where \(\boldsymbol{\omega}\) is the vector of occupancy rates (passengers per vehicle) for each link/mode, \(\odot\) denotes element-wise multiplication.

Each block optimizes its own objective: \[\begin{align} \text{Passenger Objective:} \quad & \mathcal{J}_1(\mathbf{x}) = \sum_{od} \mathcal{F}^\text{Passenger}_{OD} \cdot \mathcal{T}^\text{Passenger}_{OD,P} \\ \text{Vehicle Objective:} \quad & \mathcal{J}_2(\mathbf{z}) = \sum_{\ell} \mathcal{F}^\text{Vehicle}_{L} \cdot \mathcal{C}^\text{Vehicle}_{L} \end{align}\]

The ADMM framework allows each system to optimize independently while ensuring the physical constraint that passengers cannot exceed vehicle capacities. Classical ADMM ensures convergence under convex and separable conditions. For more complex, nonconvex scenarios, convergence analysis is beyond the scope of this paper. Our formulation employs block-wise updates with regularization to support practical implementation.

4.4 Integrated ML-FTT Framework↩︎

To illustrate the potential for integration between the FTT framework and various ML approaches, Table 8 summarizes different ML methods that can be integrated with FTT elements through the ADMM framework. This integration leverages the strengths of both approaches, the physical consistency and interpretability of FTT, combined with the data-driven insights from ML models, with the underlying optimization structure and backpropagation formulation detailed in  9.

Table 8: ML Methods for Transportation Network Elements and FTT Integration; NNs: Neural Networks, GNNs: Graph Neural Networks, DL: Deep Learning, GP: Gaussian Process.
Modeling Element ML Methods Research Focus FTT Application
OD Demand/Flow/Pattern GCN; LSTM; Transformer; Bayesian Learning Spatio-temporal and residual networks modeled OD patterns [70][72], extended by graph-based methods [73][75], transformers and ML for inflow prediction [76], [77], simulation with Bayesian optimization [78], and heterogeneous graphs for direct-transfer flows [79]. \(\mathcal{F}_{OD}\) tensor with \(\mathbf{B}\) mapping matrix
Path/Route Flow Deep RL; GNNs; Multi-task Learning Multi-task deep models integrated user-POI features [80], later enhanced by environment-aware RL for adaptive mobility [81]. \(\mathcal{F}_{P}\) enables differentiable path selection
Link/Cell Flow Spatio-temporal GNNs; Tensor Models; Gaussian Processes Uncertainty captured via entropy [82], link capacity estimated using BPR-informed DL [83], improved GPs for prediction and scalability [84], [85], reinforced dynamic GCNs for imputation and prediction [86], data fusion for missing states [87], and transfer learning for low-coverage networks [88]. \(\mathcal{F}_{L}\) with \(\mathbf{A}_P\) preserves flow conservation
Link/Cell Travel Time and Traffic State Graph Learning; Ensemble Models; Tensor Decomposition Spatial-temporal dependencies modeled via GNNs [89], [90], adaptive structures without predefined graphs [91], GPS-based speed estimation via matrix completion [92], grid-based traffic state prediction using deep spatio-temporal models [93], GPs, DL, entropy, and fusion techniques for scalable link-level inference [82][85], [87], [88]. \(\mathcal{T}_{L}\) maps flows to travel times via gradient matrices
Path/Route Travel Time Graph NNs; Tensor-based NN; Deep Sequence Models Modeled using segmented ML [94], deep spatio-temporal networks [95], [96], real-time bus data [97], production-level GNNs [98] and physics-informed Transformers for trajectory estimation and prediction [99], [100]. \(\mathcal{T}_{P}\) with \(\mathbf{A}^{\top}\mathcal{T}_{L}\) aggregates link times
OD/Trip Travel Time IRL; Transformer; Oracle Learning Addressed via ConvLSTM hybrids [101], diffusion-transformer frameworks [102], and personalized IRL-based models [103]. \(\mathcal{T}_{OD}\) with \(\mathbf{B}^{\top}\mathcal{T}_{P}\)

In transportation networks, ADMM can be used to enable effective coordination between machine learning-based OD estimation and flow-through tensor-based traffic assignment. This coupling creates a bridge between data-driven approaches and physics-based modeling principles.

As a conceptual discussion, we present the key concepts below:

  • ML modules that estimate OD flows from available data.

  • FTT modules that handle traffic assignment using these flows.

  • Coupling constraints that ensure consistency between these two perspectives.

The ML component minimizes the difference between estimated and observed OD flows while incorporating appropriate regularization. Simultaneously, the FTT component optimizes traffic assignment while respecting physical network constraints and observed travel times.

For deep learning models, such as convolutional neural networks (CNNs) used in OD estimation, the ADMM framework modifies the loss function to include penalty terms that enforce consistency with the FTT-derived flows. This approach preserves the strengths of both paradigms—the data adaptation capabilities of ML and the physical interpretability of FTT.

By integrating ADMM with the FTT framework and modern deep learning approaches, we create an architecture that respects physical constraints while allowing each module to evolve and optimize independently. This framework is flexible, scalable, and generalizable to other coordination problems in transportation systems, including pricing, demand shaping, multimodal integration, and disruption management.

5 Implementation Details: Open-Source Implementation Resources↩︎

The FTT framework has been implemented through a series of open-source repositories that address different aspects of transportation modeling. These implementations provide concrete evidence of the framework’s computational efficiency and scalability for large-scale networks.

The tensor-based computational architecture has been realized through several complementary GitHub repositories, organized into three functional categories:

Foundation Components↩︎

  • CG Network Model [104]: Core network modeling components of the FTT framework.

  • CG Choice Model [105]: Computational graph-based discrete choice models for efficient handling of discrete choice probabilities.

Integration Mechanisms↩︎

  • CG Equilibrium [69]: Mathematical integration of travel demand and traffic network models through ADMM techniques.

  • Traffic State Estimation [106]: Implementation of traffic state estimation using computational graphs.

Applications and Planning Tools↩︎

  • CG-Based Transportation Planning Models [107]: Open-source Python codes for digitizing traditional transportation planning models through computational graphs.

  • TCGlite [108]: Big data driven computational graph solutions for education and academic research.

Figure 5: Modular Pipeline of the Tensor-based Flow Regulation Framework

Figure 5 presents a modular pipeline outlining the tensor-based architecture, offering a unified framework view. It illustrates a level-wise progression from corridor generation to ML-driven dynamic control, with each stage corresponding to key modules such as flow assignment and equilibrium learning, supported by the open-source tools described above. The figure connects the system’s software components with its theoretical and computational foundations. While our framework incorporates traffic flow rules and behavior models, it is not a full physics informed reinforcement learning approach. Rather, it serves as a model-based environment that enables structured learning grounded in observed traffic dynamics and system constraints.

All implementations follow the General Modeling Network Specification (GMNS) standards [109], with networks generated from OpenStreetMap data using the osm2gmns tool [110]. This standardization ensures interoperability across different modules and enables seamless application to real-world transportation networks. The framework incorporates several advanced algorithmic techniques for computational efficiency. Column generation principles, as described in [61], are leveraged for efficient path-based solution approaches, supported by the Path4GMNS library [111] which provides specialized algorithms for shortest path finding and column generation in GMNS-formatted networks. For rapid evaluation and calibration of large-scale networks, the framework integrates with DTALite, a queue-based mesoscopic traffic simulator available as a PyPI package [112], making it easily accessible for incorporation with the tensor-based framework. Additionally, the implementation employs cross-block coordination through ADMM to support efficient multi-modal and multi-operator optimization, with a practical implementation available in the AVRLite repository [113] that provides specialized algorithms for autonomous vehicle routing with decomposition techniques.

Tensor-based implementations using TensorFlow or PyTorch have proven remarkably effective in estimating discrete choice models for traffic network analysis, particularly by leveraging automated differentiation within computational graphs. This approach not only provides reliable numerical accuracy for gradient-based methods but also demonstrates significant gains in handling large behavioral datasets. In a multinomial logit model with 88 parameters reported by [105], the tensor-based approach completed in just 8.6 seconds compared to alternative methods requiring 7-9 minutes. More impressively, a nested logit model with 89 parameters converged in about 30 seconds, outperforming other approaches that took over 15 minutes. These improvements stem from using automatic differentiation within computational graphs, while alternative approaches use chain rule or numerical derivative techniques such as Richardson extrapolation—all with the same log-likelihood objective function and BFGS optimization algorithm. Beyond choice modeling, the framework excels in traffic assignment scenarios. In the study by [22], a case study on a Fresno network with 1,078 nodes, 6,000 OD pairs, and an 18,000-path set achieved convergence in approximately 600 seconds over 100 episodes using tensor-based implementation with automatic differentiation, resulting in a relative gap within a percent. Meanwhile, research applying end-to-end learning of user equilibrium with implicit neural networks [20] to a Chicago sketch network (933 nodes) reported CPU running times between 1,000 and 4,000 seconds. It is worth noting, however, that current implementations in the above studies have not fully explored GPU utilization, suggesting room for further speed gains by leveraging parallel hardware acceleration. Additionally, various configurations of initial values, path flows, and other model inputs can significantly influence performance. This suggests that hybrid approaches—such as using efficient lower-level C++ implementations for OD flows and path assignment alongside tensor-based methods—may be equally viable for certain applications. While Python libraries like TensorFlow already utilize lower-level C++ libraries internally, purely tensor-based methods may not always be the optimal choice. Combining or customizing C++ modules for baseline flows with computational graph frameworks can maintain robustness while preserving the computational efficiency benefits demonstrated in large-scale network applications.

To improve GPU utilization, one could use sparsity patterns in origin-destination by path by time tensors to enable efficient batched kernels, and apply mixed precision arithmetic in tensor decomposition steps to reduce computation time and memory use. These improvements can help fully leverage parallel hardware and are particularly important for large-scale transportation applications.

6 Relationship to Existing Computational Methods and Future Research Directions↩︎

The FTT framework establishes connections with diverse computational traditions in transportation network modeling while opening pathways for future innovations. Our approach builds upon and extends several established methodological streams in traffic assignment, each contributing valuable insights to our integrated tensor-based perspective.

Traditional algorithmic approaches in traffic assignment have evolved through distinct computational paradigms. Path-based methods [114], [115] directly optimize path flows—a concept that naturally aligns with our tensor formulation, as these path flows become tensor slices with explicit gradient relationships. Similarly, origin-based algorithms, column-generation methods [116] and bush-based approaches [117][119] decompose problems by origin node, corresponding to our framework’s capacity to organize the OD tensor along origin dimensions for efficient parallel processing. Recent advancements include the work of [120], who proposed a novel inertial-type conjugate gradient projection algorithm with rigorous convergence guarantees.

The critical question of convergence analysis [121] gains new dimensions in our framework through tensor decomposition techniques already being applied to traffic patterns [122][124]. These decomposition methods identify dominant patterns that guide computational effort toward the most significant components of network flows. For dynamic applications, our approach connects with both the theoretical foundations [3], [125], [126] and practical implementations [127][129] of DTA by incorporating temporal dimensions as explicit tensor axes. Another promising extension involves harnessing ML to augment DTA, particularly in simulation-based contexts that become computationally intensive at large scale [130]. Recent ML methods can learn network flow patterns directly (e.g., predicting path flows via Transformers [131]), reducing repetitive equilibrium calculations and speeding up convergence. This approach dovetails with advanced parallel strategies and metaheuristic solution methods, opening up new possibilities for real-time, multimodal applications under the FTT framework.

In broader transportation planning contexts, the FTT framework relates to recent advances in multi-modal coordination [132][134], differentiable optimization techniques [20], [23], and simulation-based urban systems [135]. These connections extend to activity-based modeling approaches [6] and complex network design problems [136]. As transportation planning continues evolving toward integrated frameworks [137], [138], our tensor-based architecture offers analytical tools that bridge traditional modeling boundaries [139], [140].

Building on these connections, the following key research directions emerge that leverage the strengths of our framework while addressing remaining challenges:

Computational Advances and Scalability: The tensor-based representation creates opportunities for leveraging modern parallel computing architectures [9]. Future research should develop specialized parallelization strategies and hardware acceleration using GPUs/TPUs that exploit the mathematical structure of transportation tensors. The integration of automatic differentiation (AD) and computational graph techniques has revolutionized gradient computation, eliminating manual differentiation errors while enhancing numerical stability [141], [142]. These efficiency gains are demonstrated in CG-enabled multinomial probit ICLV models [143] and multi-day activity chain estimation [144]. Beyond AD, [145] leverage stochastic gradient descent and adaptive-batch techniques to enhance computational performance for discrete choice models, while [146] refine loss functions using penalized maximum likelihood estimation, demonstrating the robustness of this approach for large-scale datasets. Graph-based processing with specialized tensor computation libraries offers promising pathways for handling high-dimensional multimodal systems, while dynamic tensor decomposition methods could significantly reduce computational requirements for real-time applications.

Behavioral Representation: While our current framework establishes the mathematical foundations for network flow modeling, extending it to incorporate more realistic behavioral elements remains an important direction [147]. Recent studies have revealed significant overlaps between behavioral econometric models and tensor-based machine learning frameworks, particularly in parameter estimation processes where both domains employ non-convex optimization. Hybrid approaches integrate tensor-based ML architectures into econometric models through two primary pathways: First, in model structure enhancement, [148] propose Dense Neural Network (DNN)-embedded utility specifications within MNL frameworks, while [149] develop the Alternative-Specific Utility Deep Neural Network to incorporate domain-knowledge and preserve behavioral interpretability. [150] implement DNNs to estimate flexible taste parameters rather than deterministic utilities, enabling complex preference variations. [151] further incorporate attention mechanisms to dynamically quantify taste heterogeneity, and [152] develop kernel logistic regression (KLR) embedded models to improve transport demand analysis. Such enhancements not only improve predictive accuracy but also provide key economic indicators similar to traditional econometric models, such as market shares, Willingness to Pay and Value of Time [153], [154]. Future research should integrate multimodal and multisource data to enhance the modernization and real-time adaptability of activity-based models and behavioral analysis.

Policy Applications: The analytical power of the tensor-based approach enables quantitative assessment of complex multimodal network impacts, with direct applications to congestion pricing, parking management, and infrastructure investment decisions. Distributed implementations across operational entities would facilitate coordination in environments with fragmented governance structures, while real-time control applications would support sustainable urban mobility through rigorous multimodal transportation coordination. Our framework also connects with emerging research on system resilience, such as resilience as a service frameworks [155], [156] and spatiotemporal models for railway timetable resilience [62], which emphasize the importance of robust transportation systems under disturbance scenarios.

By building upon established computational methods while advancing these research directions, the FTT framework provides both immediate practical contributions and a foundation for future innovations in transportation network modeling and optimization.

7 Acknowledgements↩︎

M. Ameli acknowledges support from the French ANR research project SMART-ROUTE (grant number ANR-24-CE22-7264).

Zhou and Zhu are supported by the National Science Foundation (NSF) under grant no. TIP-2303748, titled “CONNECT: Consortium of Open-Source Planning Models for Next-Generation Equitable and Efficient Communities and Transportation”.

Conflicts of interest↩︎

None.

8 Notation System for Flow-Through Tensor Framework↩︎

Table 9: Comprehensive Notation in the Flow-Through Tensor Framework
\(O\) Set of origin nodes \(o\)
\(D\) Set of destination nodes \(d\)
\(OD\) Set of origin-destination pairs \((o,d)\)
\(P\) Set of paths \(p\)
\(P_{(o,d)}\) Set of paths connecting OD pair \((o,d)\)
\(L\) Set of links \(\ell\) in the network
\(f_{od}\) Flow between origin \(o\) and destination \(d\)
\(f_p\) Flow on path \(p\)
\(f_\ell\) Flow on link \(\ell\)
\(\mathbf{f}_{OD}\) Tensor form of flows between OD pairs
\(\mathbf{f}_P\) Tensor form of path flows
\(\mathbf{f}_L\) Tensor form of link flows
\(\mathcal{F}_{OD}\) Tensor of vehicle OD flows
\(\mathcal{F}_{P}\) Tensor of vehicle path flows
\(\mathcal{F}_{L}\) Tensor of vehicle link flows
\(t_{od}\) Travel time between origin \(o\) and destination \(d\)
\(t_p\) Travel time on path \(p\)
\(t_\ell\) Travel time on link \(\ell\)
\(t_\ell^0\) Free-flow travel time on link \(\ell\)
\(\mathbf{t}_{OD}\) Vector form of OD travel times
\(\mathbf{t}_P\) Vector form of path travel times
\(\mathbf{t}_L\) Vector form of link travel times
\(\mathcal{T}_{OD}\) Tensor of vehicle OD travel times
\(\mathcal{T}_{P}\) Tensor of vehicle path travel times
\(\mathcal{T}_{L}\) Tensor of vehicle link travel times
\(\mathbf{B}_{\mathrm{OD},\mathrm{P}}\) OD-to-Path probability matrix where \(b_{od,p}\) is the probability of an agent from OD pair \((o,d)\) choosing path \(p\); dimension: \(\lvert OD\rvert \times \lvert P\rvert\)
\(\mathbf{A}_{\mathrm{P},\mathrm{L}}\) Path-to-Link incidence matrix where \(a_{p,\ell} = 1\) if link \(\ell\) is on path \(p\); dimension: \(\lvert P\rvert \times \lvert L\rvert\)

9 Backpropagation and the Method of Adjoints in Flow-Through-Tensor Networks↩︎

The method of adjoints, pioneered by [157] and elaborated by [158], provides a framework that directly parallels backpropagation in neural networks. This connection reveals how neural network training fundamentally solves an optimal control problem through Lagrangian duality.

Neural Networks and Flow-Through-Tensor Framework as Constrained Optimization↩︎

Standard deep learning formulates a composition of functions \(\psi(x;\vartheta)=f_{\ell}\circ f_{\ell-1}\circ\cdots\circ f_1(x)\) to minimize: \[\min_{\psi}\frac{1}{n}\sum_{k=1}^{n}\text{loss}(\psi(x_k),y_k). \]

This can be reformulated as a constrained problem: \[\begin{align} \min_{\vartheta}&\; \frac{1}{n}\sum_{k=1}^{n}\text{loss}(z_k^{(\ell)},y_k)\\ \text{subject to: } &z_k^{(i)}=f_i(z_k^{(i-1)},\vartheta_i) \text{ for } i=1,2,...,\ell, \end{align}\] In this context, \(y_k\) represents the desired or target output for the \(k\)th example. \(\vartheta = \{\vartheta_1, \vartheta_2, \dots, \vartheta_\ell\}\) is the set of parameters to be learned; these affect how the input is transformed through the layers.

The corresponding Lagrangian for this problem is: \[\mathcal{L}(z,\vartheta,\mathbf{p}):=\text{loss}(z^{(\ell)},y)-\sum_{i=1}^{\ell}\mathbf{p}_i^{\mathsf{T}}(z^{(i)}-f_i(z^{(i-1)},\vartheta_i)). \]

Taking derivatives with respect to each layer’s activations and parameters: \[\begin{align} \nabla_{z^{(i)}}\mathcal{L} &= -\mathbf{p}_i+\nabla_{z^{(i)}}f_{i+1}(z^{(i)},\vartheta_{i+1})^{\mathsf{T}}\mathbf{p}_{i+1},\\ \nabla_{z^{(\ell)}}\mathcal{L} &= -\mathbf{p}_{\ell}+\nabla_{z^{(\ell)}}\text{loss}(z^{(\ell)},y),\\ \nabla_{\vartheta_i}\mathcal{L} &= \nabla_{\vartheta_i}f_i(z^{(i-1)},\vartheta_i)^{\mathsf{T}}\mathbf{p}_i. \end{align}\]

Setting these derivatives to zero reveals that the adjoint variables \(\mathbf{p}_i\) propagate gradients backward through the network, with \(\mathbf{p}_\ell\) initialized at the final layer as the gradient of the loss function, and subsequent adjoints computed recursively backward through the network.

Our Flow-Through-Tensor framework follows an analogous structure. For a transportation network with fixed OD flows \(\mathbf{f}_{OD}\):

\[\begin{align} \min_{\mathbf{f}_P} &\; Z(\mathbf{f}_L, \mathbf{t}_L, \mathbf{t}_P).\\ \text{subject to: } &\mathbf{B}^{I}\mathbf{f}_P = \mathbf{f}_{OD} \text{ (flow conservation)}\\ &\mathbf{f}_P \geq 0 \text{ (non-negativity)}\\ &\mathbf{f}_L = \mathbf{A}^{\mathsf{T}}\mathbf{f}_P \text{ (link flows)}\\ &\mathbf{t}_L = \phi(\mathbf{f}_L) \text{ (link travel times)}\\ &\mathbf{t}_P = \mathbf{A}\mathbf{t}_L \text{ (path travel times)}, \end{align}\]

While the neural network explicitly optimizes \(\vartheta\), the FTT model primarily focuses on optimizing variables such as the path flows \(\mathbf{f}_P\). The structure of the FTT model is dictated by fixed components:

  • Matrices: Matrices such as \(\mathbf{A}\) and \(\mathbf{B}^{I}\) define relationships (e.g., link flows and flow conservation).

  • Nonlinear Functions: Nonlinear functions like \(\phi(\cdot)\) capture complex relationships such as volume delay.

Thus, while the primary structural parameters (e.g., the matrices and the functional form of \(\phi\)) are typically fixed or pre-calibrated, the variables \(\mathbf{f}_L\), \(\mathbf{t}_L\), \(\mathbf{t}_P\), and even \(\mathbf{f}_{OD}\) (if not strictly given) are computed through the forward pass and updated during the optimization process. In this sense, these variables are "learnable" in that their values are adjusted as part of solving the overall constrained optimization problem—much as the activations in a neural network are computed and then used to determine gradients for updating \(\vartheta\).

The Lagrangian for this transportation problem is: \[\begin{align} \mathcal{L} = &Z(\mathbf{f}_L, \mathbf{t}_L, \mathbf{t}_P) - \mathbf{p}_1^{\mathsf{T}}(\mathbf{f}_L - \mathbf{A}^{\mathsf{T}} \cdot \mathbf{f}_P) - \mathbf{p}_2^{\mathsf{T}}(\mathbf{t}_L - \phi(\mathbf{f}_L)) \nonumber \\ &- \mathbf{p}_3^{\mathsf{T}}(\mathbf{t}_P - \mathbf{A}^{\mathsf{T}}\cdot\mathbf{t}_L) - \boldsymbol{\lambda}^{\mathsf{T}}(\mathbf{B}^{I}\cdot\mathbf{f}_P - \mathbf{f}_{OD}) +\boldsymbol{\mu}^{\mathsf{T}}\mathbf{f}_P \end{align}\] where \(\boldsymbol{\mu} \leq 0\), the vectors \(\mathbf{p}_1\), \(\mathbf{p}_2\), and \(\mathbf{p}_3\) are adjoint variables that correspond to the constraints that link variables across layers. The Karush-Kuhn-Tucker (KKT) conditions yield the following.

\[\begin{align} \nabla_{\mathbf{f}_L}\mathcal{L} &= \nabla_{\mathbf{f}_L}Z - \mathbf{p}_1 - \nabla_{\mathbf{f}_L}\phi(\mathbf{f}_L)^{\mathsf{T}} \mathbf{p}_2= 0,\\ \nabla_{\mathbf{t}_L}\mathcal{L} &= \nabla_{\mathbf{t}_L}Z - \mathbf{p}_2 - \mathbf{A}^{\mathsf{T}}\mathbf{p}_3 = 0,\\ \nabla_{\mathbf{t}_P}\mathcal{L} &= \nabla_{\mathbf{t}_P}Z - \mathbf{p}_3 = 0,\\ \nabla_{\mathbf{f}_P}\mathcal{L} &= \mathbf{A}\mathbf{p}_1 - (\mathbf{B}^{\mathrm{I}})^{\mathsf{T}}\boldsymbol{\lambda} + \boldsymbol{\mu} = 0. \end{align}\]

Solution Process and Chain Rule Structure↩︎

The solution process involves two passes analogous to neural network training. The forward pass computes all variables through the network: \[\begin{align} \mathbf{f}_L &= \mathbf{A}\mathbf{f}_P\\ \mathbf{t}_L &= \phi(\mathbf{f}_L)\\ \mathbf{t}_P &= \mathbf{A}\mathbf{t}_L \end{align}\]

The backward pass solves for adjoint variables recursively, starting from the output layer and moving backward: \[\begin{align} \mathbf{p}_3 &= \nabla_{\mathbf{t}_P}Z\\ \mathbf{p}_2 &= \nabla_{\mathbf{t}_L}Z + \mathbf{A}\mathbf{p}_3\\ \mathbf{p}_1 &= \nabla_{\mathbf{f}_L}Z + \nabla_{\mathbf{f}_L}\phi(\mathbf{f}_L)^{\mathsf{T}}\mathbf{p}_2 \end{align}\]

These adjoint variables represent sensitivities that propagate backward through the computational graph. The final gradient with respect to path flows is: \[\nabla_{\mathbf{f}_P}Z = \mathbf{A}\mathbf{p}_1 - (\mathbf{B}^{\mathrm{I}})^{\mathsf{T}} \boldsymbol{\lambda} + \boldsymbol{\mu} \]

The nested dependencies create a chain rule structure identical to neural network backpropagation: \[\frac{\partial Z}{\partial \mathbf{f}_P} = \mathbf{A}\left[\frac{\partial Z}{\partial \mathbf{f}_L} + \frac{\partial \phi}{\partial \mathbf{f}_L}^{\mathsf{T}}\left(\frac{\partial Z}{\partial \mathbf{t}_L} + \mathbf{A}^{\mathsf{T}}\frac{\partial Z}{\partial \mathbf{t}_P}\right)\right] \]

10 Proof of Pareto-Improving Coordination Benefits↩︎

Proof of Theorem 1. Under UE, the system cost is \(t_{UE} = 1\). With rotation, the system cost becomes: \[\begin{align} t_{SO} &= p \cdot \overline{t}_{P} + (1 - p) \cdot \overline{t}_{NP} \notag \\ &= \frac{p}{2} + \left(1 - \frac{p}{2} \right)^{\beta + 1} \label{eq:system-cost} \end{align}\tag{10}\]

Under the pure user equilibrium (i.e., when \(p = 0\)), every traveler uses Route \(b\), so: \[t_{UE} = 1^{\beta} = 1 \label{eq:UE-cost}\tag{11}\]

Therefore, the road user benefit from the rotation \(\Delta_p\) is the difference between the user equilibrium cost and the system cost: \[\begin{align} \Delta_p &= t_{UE} - t_{SO} \notag \\ &= 1 - \left[ \frac{p}{2} + \left(1 - \frac{p}{2} \right)^{\beta + 1} \right] \label{eq:benefit} \end{align}\tag{12}\]

To approximate the benefit for small \(p\), we apply a first-order Taylor approximation to the nonlinear term: \[\left(1 - \frac{p}{2} \right)^{\beta+1} \approx 1 - \frac{(\beta+1) p}{2} \]

Thus, the approximate benefit is: \[\Delta_p \approx \frac{\beta p}{2} \]

This confirms that the benefit is approximately linear in both the congestion sensitivity \(\beta\) and the participation rate \(p\). ◻

References↩︎

[1]
Y. Yang, Y. Fan, and R. J. Wets, “Origin-destination demand estimation using cellular probe data,” Transportation Research Record, vol. 2667, no. 1, pp. 1–10, 2017.
[2]
R. Shi, Z. Mo, and X. Di, “Physics-informed deep learning for traffic state estimation: A hybrid paradigm informed by second-order traffic models,” in Proceedings of the AAAI conference on artificial intelligence, 2021, vol. 35, pp. 540–547.
[3]
S. Peeta and A. K. Ziliaskopoulos, “Foundations of dynamic traffic assignment: The past, the present and the future,” Networks and Spatial Economics, vol. 1, no. 3, pp. 233–265, 2001.
[4]
Y. Liu et al., “Two heads are better than one: Collaboration-oriented multi-agent exploration system,” IEEE Transactions on Cognitive and Developmental Systems, 2025.
[5]
M. Ameli, “Heuristic methods for calculating dynamic traffic assignment,” PhD thesis, IFSTTAR Paris, Université de Lyon; University of Paris-Est, 2019.
[6]
S. Rasouli and H. Timmermans, “Activity-based models of travel demand: Promises, progress and prospects,” International Journal of Urban Sciences, vol. 18, no. 1, pp. 31–60, 2014.
[7]
J. Yang and L. Kattan, “Origin-destination estimation for large-scale road networks using a combination of k-shortest paths and stochastic user equilibrium,” Networks and Spatial Economics, vol. 18, no. 1, pp. 233–259, 2018.
[8]
S. Liu, X. Pi, and D. Biao, “A tailored branch-and-bound algorithm for computational studies of large-scale network design with behavioral user equilibrium constraints,” Computational Economics, vol. 54, no. 3, pp. 1173–1200, 2019.
[9]
M. Ameli, J.-P. Lebacque, and L. Leclercq, “Simulation-based dynamic traffic assignment: Meta-heuristic solution methods with parallel computing,” Computer-Aided Civil and Infrastructure Engineering, vol. 35, no. 10, pp. 1047–1062, 2020.
[10]
T. G. Crainic, G. Perboli, and M. Rosano, “Intelligent freight-transportation systems: Assessment and the contribution of operations research,” Transportation Research Part C: Emerging Technologies, vol. 97, pp. 1–33, 2018.
[11]
M. Ameli, J.-P. Lebacque, and L. Leclercq, “Computational methods for calculating multimodal multiclass traffic network equilibrium: Simulation benchmark on a large-scale test case,” Journal of Advanced Transportation, vol. 2021, no. 1, p. 8815653, 2021.
[12]
D. Bertsimas and N. Kallus, “Interpretable optimal stopping,” Management Science, vol. 67, no. 5, pp. 3213–3231, 2021.
[13]
X. Wu, J. Guo, K. Xian, and X. Zhou, “Hierarchical travel demand estimation using multiple data sources: A forward and backward propagation algorithmic framework on a layered computational graph,” Transportation Research Part C: Emerging Technologies, vol. 96, pp. 321–346, 2018.
[14]
W. Ma, X. Pi, and S. Qian, “Estimating multi-class dynamic origin-destination demand through a forward-backward algorithm on computational graphs,” Transportation Research Part C: Emerging Technologies, vol. 119, p. 102747, 2020.
[15]
T. Kim, S. Sharda, X. Zhou, and R. M. Pendyala, “A stepwise interpretable machine learning framework using linear regression (LR) and long short-term memory (LSTM): City-wide demand-side prediction of yellow taxi and for-hire vehicle (FHV) service,” Transportation Research Part C: Emerging Technologies, vol. 120, p. 102786, 2020.
[16]
T. Kim, X. Zhou, and R. M. Pendyala, “Computational graph-based framework for integrating econometric models and machine learning algorithms in emerging data-driven analytical environments,” Transportmetrica A: Transport Science, vol. 18, no. 3, pp. 1346–1375, 2022.
[17]
P. Shang, L. Yang, Y. Yao, L. C. Tong, S. Yang, and X. Mi, “Integrated optimization model for hierarchical service network design and passenger assignment in an urban rail transit network: A lagrangian duality reformulation and an iterative layered optimization framework based on forward-passing and backpropagation,” Transportation Research Part C: Emerging Technologies, vol. 144, p. 103877, 2022.
[18]
J. Lu, C. Li, X. B. Wu, and X. S. Zhou, “Physics-informed neural networks for integrated traffic state and queue profile estimation: A differentiable programming approach on layered computational graphs,” Transportation Research Part C: Emerging Technologies, vol. 153, p. 104224, 2023.
[19]
A. U. Z. Patwary, S. Wang, and H. K. Lo, “Iterative backpropagation method for efficient gradient estimation in bilevel network equilibrium optimization problems,” Transportation Science, vol. 57, no. 5, pp. 1134–1159, 2023.
[20]
Z. Liu, Y. Yin, F. Bai, and D. K. Grimm, “End-to-end learning of user equilibrium with implicit neural networks,” Transportation Research Part C: Emerging Technologies, vol. 150, p. 104085, 2023.
[21]
T. Kim, J. Lu, R. M. Pendyala, and X. S. Zhou, “Computational graph-based mathematical programming reformulation for integrated demand and supply models,” Transportation Research Part C: Emerging Technologies, vol. 164, p. 104671, 2024.
[22]
P. Guarda, M. Battifarano, and S. Qian, “Estimating network flow and travel behavior using day-to-day system-level data: A computational graph approach,” Transportation Research Part C: Emerging Technologies, vol. 158, p. 104409, 2024.
[23]
Z. Liu and Y. Yin, “End-to-end learning of user equilibrium: Expressivity, generalization, and optimization,” Transportation Science, 2025.
[24]
K. Du, E. Lee, Q. Ma, Z. Su, S. Zhang, and H. K. Lo, “Modeling metro passenger routing choices with a fully differentiable end-to-end simulation-based optimization (SBO) approach,” Transportation Science, Feb. 2025, doi: 10.1287/trsc.2024.0557.
[25]
H. S. Mahmassani and R. Jayakrishnan, “System performance and user response under real-time information in a congested traffic corridor,” Transportation Research Part A: General, vol. 25, no. 5, pp. 293–307, 1991.
[26]
S. Peeta and H. S. Mahmassani, “Multiple user classes real-time traffic assignment for online operations: A rolling horizon solution framework,” Transportation Research Part C: Emerging Technologies, vol. 3, no. 2, pp. 83–98, 1995.
[27]
S. Peeta and H. S. Mahmassani, “System optimal and user equilibrium time-dependent traffic assignment in congested networks,” Annals of Operations Research, vol. 60, no. 1, pp. 81–113, 1995.
[28]
J. Auld, M. Hope, H. Ley, V. Sokolov, B. Xu, and K. Zhang, “POLARIS: Agent-based modeling framework development and implementation for integrated travel demand and network and operations simulations,” Transportation Research Part C: Emerging Technologies, vol. 64, pp. 101–116, 2016.
[29]
X. Zhou and H. S. Mahmassani, “An information-theoretic sensor location model for traffic origin-destination demand estimation applications,” Transportation Science, vol. 44, no. 2, pp. 254–273, 2010.
[30]
Y. Honma, “Spatial interaction model for trip-chaining behavior with a focus on calculation efficiency,” Journal of the Operations Research Society of Japan, vol. 58, no. 3, pp. 223–246, 2015.
[31]
H. P. Lo, N. Zhang, and W. H. Lam, “Estimation of an origin-destination matrix with random link choice proportions: A statistical approach,” Transportation Research Part B: Methodological, vol. 30, no. 4, pp. 309–324, 1996.
[32]
H. Yang, T. Sasaki, Y. Iida, and Y. Asakura, “Estimation of origin-destination matrices from link traffic counts on congested networks,” Transportation Research Part B: Methodological, vol. 26, no. 6, pp. 417–434, 1992.
[33]
E. Cascetta, “Estimation of trip matrices from traffic counts and survey data: A generalized least squares estimator,” Transportation Research Part B: Methodological, vol. 18, no. 4–5, pp. 289–299, 1984.
[34]
T. A. Manual, “Urban planning division,” US Department of Commerce, Washington DC, 1964.
[35]
G. F. Newell, Applications of queueing theory, vol. 4. Springer Science & Business Media, 2013.
[36]
Q. Cheng et al., “Estimating key traffic state parameters through parsimonious spatial queue models,” Transportation Research Part C: Emerging Technologies, vol. 137, p. 103596, 2022.
[37]
X. S. Zhou et al., “A meso-to-macro cross-resolution performance approach for connecting polynomial arrival queue model to volume-delay function with inflow demand-to-capacity ratio,” Multimodal Transportation, vol. 1, no. 2, p. 100017, 2022.
[38]
B. Amos and J. Z. Kolter, “OptNet: Differentiable optimization as a layer in neural networks,” in International conference on machine learning, 2017, pp. 136–145.
[39]
A. Agrawal, B. Amos, S. Barratt, S. Boyd, S. Diamond, and J. Z. Kolter, “Differentiable convex optimization layers,” Advances in Neural Information Processing Systems, vol. 32, 2019.
[40]
A. Agrawal, R. Verschueren, S. Diamond, and S. Boyd, “A rewriting system for convex optimization problems,” Journal of Control and Decision, vol. 5, no. 1, pp. 42–60, 2018.
[41]
J. Kotary, F. Fioretto, P. Van Hentenryck, and B. Wilder, “End-to-end constrained optimization learning: A survey,” arXiv preprint arXiv:2103.16378, 2021.
[42]
M. L. Fisher, K. O. Jörnsten, and O. B. G. Madsen, “Vehicle routing with time windows: Two optimization algorithms,” Operations Research, vol. 45, no. 3, pp. 488–492, 1997.
[43]
H. Niu, X. Zhou, and X. Tian, “Coordinating assignment and routing decisions in transit vehicle schedules: A variable-splitting lagrangian decomposition approach for solution symmetry breaking,” Transportation Research Part B: Methodological, vol. 107, pp. 70–101, 2018.
[44]
E. Koutsoupias and C. Papadimitriou, “Worst-case equilibria,” Computer Science Review, vol. 3, no. 2, pp. 65–69, 2009.
[45]
T. Roughgarden, Selfish routing and the price of anarchy. MIT press, 2005.
[46]
X. Di, X. He, X. Guo, and H. X. Liu, “Braess paradox under the boundedly rational user equilibria,” Transportation Research Part B: Methodological, vol. 67, pp. 86–108, 2014.
[47]
C. V. Beojone and N. Geroliminis, “On the inefficiency of ride-sourcing services towards urban congestion,” Transportation research part C: emerging technologies, vol. 124, p. 102890, 2021.
[48]
H. Yang and X. Wang, “Managing network mobility with tradable credits,” Transportation Research Part B: Methodological, vol. 45, no. 3, pp. 580–594, 2011.
[49]
Y. M. Nie, “Transaction costs and tradable mobility credits,” Transportation Research Part B: Methodological, vol. 46, no. 1, pp. 189–203, 2012.
[50]
K. Dresner and P. Stone, “A multiagent approach to autonomous intersection management,” Journal of artificial intelligence research, vol. 31, pp. 591–656, 2008.
[51]
A.-A. Papadopoulos, I. Kordonis, M. M. Dessouky, and P. A. Ioannou, “Personalized pareto-improving pricing-and-routing schemes for near-optimum freight routing: An alternative approach to congestion pricing,” Transportation Research Part C: Emerging Technologies, vol. 125, p. 103004, 2021.
[52]
Y. Ning and L. Du, “Robust and resilient equilibrium routing mechanism for traffic congestion mitigation built upon correlated equilibrium and distributed optimization,” Transportation research part B: methodological, vol. 168, pp. 170–205, 2023.
[53]
X. Luan, O. A. Eikenbroek, F. Corman, and E. C. van Berkum, “Passenger social rerouting strategies in capacitated public transport systems,” Transportation Research Part E: Logistics and Transportation Review, vol. 188, p. 103598, 2024.
[54]
F. Zhang, Q. Meng, and A. Taeihagh, “Bounding the efficiency of vehicle automation in general transportation networks,” Transportation Research Part B: Methodological, vol. 195, p. 103204, 2025.
[55]
Z. Liu, H. Zhang, K. Zhang, and Z. Zhou, “Integrating alternating direction method of multipliers and bush for solving the traffic assignment problem,” Transportation Research Part E: Logistics and Transportation Review, vol. 177, p. 103233, 2023.
[56]
H. Zhang, Y. Dong, X. Xu, Z. Liu, and P. Liu, “A novel framework of the alternating direction method of multipliers with application to traffic assignment problem,” Transportation Research Part C: Emerging Technologies, vol. 169, p. 104843, 2024.
[57]
J. Chi, S. He, and Y. Zhang, “Improved ADMM-based approach for optimizing intercity express transportation networks: A novel dual decomposition strategy with partial retention of coupling constraints,” Transportation Research Part E: Logistics and Transportation Review, vol. 192, p. 103756, 2024.
[58]
G. Dong, H. Guo, C. Jiang, and Z. Shi, “Gradient enhanced ADMM algorithm for dynamic optimal transport on surfaces,” Journal of Computational Physics, vol. 527, p. 113805, 2025.
[59]
Y. Yao et al., “ADMM-based problem decomposition scheme for vehicle routing problem with time windows,” Transportation Research Part B: Methodological, vol. 129, pp. 156–174, 2019.
[60]
Y. Zhang, Q. Peng, Y. Yao, X. Zhang, and X. Zhou, “Solving cyclic train timetabling problem through model reformulation: Extended time-space network construct and alternating direction method of multipliers methods,” Transportation Research Part B: Methodological, vol. 128, pp. 344–379, 2019.
[61]
J. Liu, P. Mirchandani, and X. Zhou, “Integrated vehicle assignment and routing for system-optimal shared mobility planning with endogenous road congestion,” Transportation Research Part C: Emerging Technologies, vol. 117, p. 102675, 2020.
[62]
Z. Chen, J. Chen, H. Zheng, et al., “Enhancing high-speed railway timetable resilience: A two-level spatiotemporal network model focused on disturbance absorption,” Urban Rail Transit, vol. 11, pp. 67–89, 2025.
[63]
D. P. Palomar and M. Chiang, “A tutorial on decomposition methods for network utility maximization,” IEEE Journal on Selected Areas in Communications, vol. 24, no. 8, pp. 1439–1451, 2006.
[64]
M. Chiang, S. H. Low, A. R. Calderbank, and J. C. Doyle, “Layering as optimization decomposition: A mathematical theory of network architectures,” Proceedings of the IEEE, vol. 95, no. 1, pp. 255–312, 2007.
[65]
A. Ceder, B. Golany, and O. Tal, “Creating bus timetables with maximal synchronization,” Transportation Research Part A: Policy and Practice, vol. 35, no. 10, pp. 913–928, 2001.
[66]
M. M. Nesheli and A. Ceder, “Optimal combinations of selected tactics for public-transport transfer synchronization,” Transportation Research Part C: Emerging Technologies, vol. 48, pp. 491–504, 2014.
[67]
H. Yang and H.-J. Huang, “The multi-class, multi-criteria traffic network equilibrium and systems optimum problem,” Transportation Research Part B: Methodological, vol. 38, no. 1, pp. 1–15, 2004.
[68]
X. Zhou and J. Taylor, “DTALite: A queue-based mesoscopic traffic simulator for fast model evaluation and calibration,” Cogent Engineering, vol. 1, no. 1, p. 961345, 2014.
[69]
T. Kim, Accessed: 2025-03-27CGEquilibrium,” GitHub. 2022.
[70]
J. Zhang, Y. Zheng, and D. Qi, “Deep spatio-temporal residual networks for citywide crowd flows prediction,” in Proceedings of the AAAI conference on artificial intelligence, 2017, vol. 31.
[71]
K.-F. Chu, A. Y. Lam, and V. O. Li, “Deep multi-scale convolutional LSTM network for travel demand and origin-destination predictions,” IEEE Transactions on Intelligent Transportation Systems, vol. 21, no. 8, pp. 3219–3232, 2019.
[72]
H. Xu, Y. Chen, C. Li, and X. M. Chen, “Space-time adaptive network for origin-destination passenger demand prediction,” Transportation Research Part C: Emerging Technologies, vol. 167, p. 104842, 2024.
[73]
Y. Wang, H. Yin, H. Chen, T. Wo, J. Xu, and K. Zheng, “Origin-destination matrix prediction via graph convolution: A new perspective of passenger demand modeling,” in Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining, 2019, pp. 1227–1235.
[74]
H. Shi et al., “Predicting origin-destination flow via multi-perspective graph convolutional network,” in 2020 IEEE 36th international conference on data engineering (ICDE), 2020, pp. 1818–1821.
[75]
H. Zheng, J. Chen, Z. Huang, K. Yang, and J. Zhu, “Short-term online forecasting for passenger origin–destination (OD) flows of urban rail transit: A graph–temporal fused deep learning method,” Mathematics, vol. 10, no. 19, p. 3664, 2022.
[76]
S. Hu and C. Xiong, “High-dimensional population inflow time series forecasting via an interpretable hierarchical transformer,” Transportation research part C: emerging technologies, vol. 146, p. 103962, 2023.
[77]
S. Hu, C. Xiong, P. Chen, and P. Schonfeld, “Examining nonlinearity in population inflow estimation using big data: An empirical comparison of explainable machine learning models,” Transportation Research Part A: Policy and Practice, vol. 174, p. 103743, 2023.
[78]
J. Huo, C. Liu, J. Chen, Q. Meng, J. Wang, and Z. Liu, “Simulation-based dynamic origin–destination matrix estimation on freeways: A bayesian optimization approach,” Transportation Research Part E: Logistics and Transportation Review, vol. 173, p. 103108, 2023.
[79]
T. Tang, J. Mao, R. Liu, Z. Liu, Y. Wang, and D. Huang, “Origin-destination matrix prediction in public transport networks: Incorporating heterogeneous direct and transfer trips,” IEEE Transactions on Intelligent Transportation Systems, 2024.
[80]
F. Huang, J. Xu, and J. Weng, “Multi-task travel route planning with a flexible deep learning framework,” IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 7, pp. 3907–3918, 2020.
[81]
P. Guo, K. Xiao, Z. Ye, and W. Zhu, “Route optimization via environment-aware deep network and reinforcement learning,” ACM Transactions on Intelligent Systems and Technology (TIST), vol. 12, no. 6, pp. 1–21, 2021.
[82]
Z. Liu, Y. Wang, Q. Cheng, and H. Yang, “Analysis of the information entropy on traffic flows,” IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 10, pp. 18012–18023, 2022.
[83]
J. Huo, X. Wu, C. Lyu, W. Zhang, and Z. Liu, “Quantify the road link performance and capacity using deep learning models,” IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 10, pp. 18581–18591, 2022.
[84]
Z. Liu, C. Lyu, J. Huo, S. Wang, and J. Chen, “Gaussian process regression for transportation system estimation and prediction problems: The deformation and a hat kernel,” IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 11, pp. 22331–22342, 2022.
[85]
Z. Liu, C. Lyu, Z. Wang, S. Wang, P. Liu, and Q. Meng, “A gaussian-process-based data-driven traffic flow model and its application in road capacity analysis,” IEEE Transactions on Intelligent Transportation Systems, vol. 24, no. 2, pp. 1544–1563, 2023.
[86]
Y. Chen and X. M. Chen, “A novel reinforced dynamic graph convolutional network model with data imputation for network-wide traffic flow prediction,” Transportation Research Part C: Emerging Technologies, vol. 143, p. 103820, 2022.
[87]
J. Xing, W. Wu, Q. Cheng, and R. Liu, “Traffic state estimation of urban road networks by multi-source data fusion: Review and new insights,” Physica A: Statistical Mechanics and its Applications, vol. 595, p. 127079, 2022.
[88]
Y. Zhang, Q. Cheng, Y. Liu, and Z. Liu, “Full-scale spatio-temporal traffic flow estimation for city-wide networks: A transfer learning based approach,” Transportmetrica B: Transport Dynamics, vol. 11, no. 1, pp. 869–895, 2023.
[89]
L. Zhao et al., “T-GCN: A temporal graph convolutional network for traffic prediction,” IEEE transactions on intelligent transportation systems, vol. 21, no. 9, pp. 3848–3858, 2019.
[90]
S. Guo, Y. Lin, N. Feng, C. Song, and H. Wan, “Attention based spatial-temporal graph convolutional networks for traffic flow forecasting,” in Proceedings of the AAAI conference on artificial intelligence, 2019, vol. 33, pp. 922–929.
[91]
L. Bai, L. Yao, C. Li, X. Wang, and C. Wang, “Adaptive graph convolutional recurrent network for traffic forecasting,” Advances in neural information processing systems, vol. 33, pp. 17804–17815, 2020.
[92]
J. Yu, M. E. Stettler, P. Angeloudis, S. Hu, and X. M. Chen, “Urban network-wide traffic speed estimation with massive ride-sourcing GPS traces,” Transportation Research Part C: Emerging Technologies, vol. 112, pp. 136–152, 2020.
[93]
Y. Liu, C. Lyu, Y. Zhang, Z. Liu, W. Yu, and X. Qu, “DeepTSP: Deep traffic state prediction model based on large-scale empirical data,” Communications in transportation research, vol. 1, p. 100012, 2021.
[94]
H. Bahuleyan and L. D. Vanajakshi, “Arterial path-level travel-time estimation using machine-learning techniques,” Journal of Computing in Civil Engineering, vol. 31, no. 3, p. 04016070, 2017.
[95]
D. Wang, J. Zhang, W. Cao, J. Li, and Y. Zheng, “When will you arrive? Estimating travel time based on deep neural networks,” in Proceedings of the AAAI conference on artificial intelligence, 2018, vol. 32.
[96]
Y. Shen, C. Jin, J. Hua, and D. Huang, “TTPNet: A neural network for travel time prediction based on tensor decomposition and graph embedding,” IEEE Transactions on Knowledge and Data Engineering, vol. 34, no. 9, pp. 4514–4526, 2020.
[97]
J. Ma, J. Chan, G. Ristanoski, S. Rajasegarar, and C. Leckie, “Bus travel time prediction with real-time traffic information,” Transportation Research Part C: Emerging Technologies, vol. 105, pp. 536–549, 2019.
[98]
A. Derrow-Pinion et al., “Eta prediction with graph neural networks in google maps,” in Proceedings of the 30th ACM international conference on information & knowledge management, 2021, pp. 3767–3776.
[99]
M. Geng, J. Li, Y. Xia, and X. M. Chen, “A physics-informed transformer model for vehicle trajectory prediction on highways,” Transportation research part C: emerging technologies, vol. 154, p. 104272, 2023.
[100]
K. Long, X. Shi, and X. Li, “Physics-informed neural network for cross-dynamics vehicle trajectory stitching,” Transportation Research Part E: Logistics and Transportation Review, vol. 192, p. 103799, 2024.
[101]
Z. Duan et al., “Prediction of city-scale dynamic taxi origin-destination flows using a hybrid deep neural network combined with travel time,” IEEE Access, vol. 7, pp. 127816–127832, 2019.
[102]
Y. Lin et al., “Origin-destination travel time oracle for map-based services,” Proceedings of the ACM on Management of Data, vol. 1, no. 3, pp. 1–27, 2023.
[103]
S. Liu, Y. Zhang, Z. Wang, X. Liu, and H. Yang, “Personalized origin–destination travel time estimation with active adversarial inverse reinforcement learning and transformer,” Transportation Research Part E: Logistics and Transportation Review, vol. 193, p. 103839, 2025.
[104]
T. Kim, Accessed: 2025-03-27CGNetworkModel: Computational graph-based network models,” GitHub. 2022.
[105]
T. Kim, Accessed: 2025-03-27CGChoiceModel: Computational graph-based discrete choice models,” GitHub. 2022.
[106]
J. Lu, Accessed: 2025-03-27“Traffic state estimation using computational graphs,” GitHub. 2021.
[107]
T. Kim, Accessed: 2025-03-27CG-based-transportation-planning-models: Open-source Python Codes for Digitization of Transportation Planning Models Through Computational Graphs (CGs),” GitHub. 2023.
[108]
X. Zhou and X. Wu, Accessed: 2025-03-27TCGlite: Big Data Driven Computational Graph for Education and Academic Research,” GitHub. 2023.
[109]
J. Lu and X. S. Zhou, Virtual track networks: A hierarchical modeling framework and open-source tools for simplified and efficient connected and automated mobility (CAM) system design based on general modeling network specification (GMNS),” Transportation Research Part C: Emerging Technologies, vol. 153, p. 104223, 2023.
[110]
J. Lu, Accessed: 2025-03-27“OSM2GMNS,” GitHub. 2025.
[111]
P. Li and X. Zhou, Retrieved from https://github.com/jdlph/Path4GMNSPath4GMNS,” GitHub. 2025.
[112]
F. Tang, H. Zheng, and X. Zhou, Retrieved from https://github.com/itsfangtang/DTALite_releaseDTALite.” 2025.
[113]
J. Liu and X. Zhou, Retrieved from https://github.com/asu-trans-ai-lab/AVRLiteAVRLite: Autonomous Vehcle Routing Lite.” 2023.
[114]
R. Jayakrishnan, W. T. Tsai, J. N. Prashker, and S. Rajadhyaksha, “A faster path-based algorithm for traffic assignment,” 1994.
[115]
J. Xie, Y. M. Nie, and X. Liu, “A greedy path-based algorithm for traffic assignment,” Transportation Research Record, vol. 2672, no. 48, pp. 36–44, 2018.
[116]
C.-C. Lu, H. S. Mahmassani, and X. Zhou, “Equivalent gap function-based reformulation and solution algorithm for the dynamic user equilibrium problem,” Transportation Research Part B: Methodological, vol. 43, no. 3, pp. 345–364, 2009.
[117]
H. Bar-Gera, “Origin-based algorithm for the traffic assignment problem,” Transportation Science, vol. 36, no. 4, pp. 398–417, 2002.
[118]
Y. Nie, “A note on bar-gera’s algorithm for the origin-based traffic assignment problem,” Transportation Science, vol. 46, no. 1, pp. 27–38, 2012.
[119]
G. Gentile, “Local user cost equilibrium: A bush-based algorithm for traffic assignment,” Transportmetrica A: Transport Science, vol. 10, no. 1, pp. 15–54, 2014.
[120]
P. Liu, L. Li, H. Shao, M. Liu, and J. Fan, “An inertial-type CG projection method with restart for pseudo-monotone costs with application to traffic assignment,” Networks and Spatial Economics, pp. 1–26, 2024.
[121]
D. Boyce, B. Ralevic-Dekic, and H. Bar-Gera, “Convergence of traffic assignments: How much is enough?” Journal of Transportation Engineering, vol. 130, no. 1, pp. 49–55, 2004.
[122]
X. Chen, Z. He, and L. Sun, “A bayesian tensor decomposition approach for spatiotemporal traffic data imputation,” Transportation Research Part C: Emerging Technologies, vol. 98, pp. 73–84, 2019.
[123]
L. Sun and K. W. Axhausen, “Understanding urban mobility patterns with a probabilistic tensor factorization framework,” Transportation Research Part B: Methodological, vol. 91, pp. 511–524, 2016.
[124]
J. Wang, S. Lu, H. Liu, and X. Ban, “Transportation origin-destination demand estimation with quasi-sparsity,” Transportation Science, vol. 57, no. 2, pp. 289–312, 2023.
[125]
W. Y. Szeto and H. K. Lo, “Dynamic traffic assignment: Properties and extensions,” Transportmetrica, vol. 2, no. 1, pp. 31–52, 2006.
[126]
J. Long and W. Y. Szeto, “Link-based system optimum dynamic traffic assignment problems in general networks,” Operations Research, vol. 67, no. 1, pp. 167–182, 2019.
[127]
M. Yildirimoglu and N. Geroliminis, “Approximating dynamic equilibrium conditions with macroscopic fundamental diagrams,” Transportation Research Part B: Methodological, vol. 70, pp. 186–200, 2014.
[128]
H. Idoudi, M. Ameli, C. Nguyen Van Phu, M. Zargayouna, and A. Rachedi, “Smart dynamic evacuation planning and online management using vehicular communication system,” Computer-Aided Civil and Infrastructure Engineering, vol. 39, no. 10, pp. 1452–1468, 2024.
[129]
H. Idoudi, M. Ameli, C. N. Van Phu, M. Zargayouna, and A. Rachedi, “An agent-based dynamic framework for population evacuation management,” IEEE Access, vol. 10, pp. 88606–88620, 2022.
[130]
M. Ameli, J.-P. Lebacque, and L. Leclercq, “Cross-comparison of convergence algorithms to solve trip-based dynamic traffic assignment problems,” Computer-Aided Civil and Infrastructure Engineering, vol. 35, no. 3, pp. 219–240, 2020.
[131]
V. A. Le, M. Ameli, A. Skabardonis, et al., “A machine learning approach for network equilibrium estimation,” in The 104th transportation research board annual meeting (TRB 2025), 2025.
[132]
Y. Honma, D. Hasegawa, K. Hata, and T. Oguchi, “Locational analysis of in-motion wireless power transfer system for long-distance trips by electric vehicles: Optimal locations and economic rationality in japanese expressway network,” Networks and Spatial Economics, vol. 24, no. 1, pp. 261–290, 2024.
[133]
X. Luo, M. J. Kuby, Y. Honma, M. Kchaou-Boujelben, and X. S. Zhou, “Innovation diffusion in EV charging location decisions: Integrating demand & supply through market dynamics,” Transportation Research Part C: Emerging Technologies, vol. 165, p. 104733, 2024.
[134]
Y. Zhang, Q. Peng, G. Lu, Q. Zhong, X. Yan, and X. Zhou, “Integrated line planning and train timetabling through price-based cross-resolution feedback mechanism,” Transportation Research Part B: Methodological, vol. 155, pp. 240–277, 2022.
[135]
M. Ameli, J. P. Lebacque, and L. Leclercq, “Evolution of multimodal final user equilibrium considering public transport network design history,” Transportmetrica B: Transport Dynamics, vol. 10, no. 1, pp. 923–953, 2022.
[136]
R. Z. Farahani, E. Miandoabchi, W. Y. Szeto, and H. Rashidi, “A review of urban transportation network design problems,” European Journal of Operational Research, vol. 229, no. 2, pp. 281–302, 2013.
[137]
Z. Zhou, A. Chen, and S. C. Wong, “Alternative formulations of a combined trip generation, trip distribution, modal split, and trip assignment model,” European Journal of Operational Research, vol. 198, no. 1, pp. 129–138, 2009.
[138]
M. Papageorgiou, C. Diakaki, V. Dinopoulou, A. Kotsialos, and Y. Wang, “Review of road traffic control strategies,” Proceedings of the IEEE, vol. 91, no. 12, pp. 2043–2067, 2020.
[139]
M. Florian, J. Guélat, and H. Spiess, “An efficient implementation of the PARTAN variant of the linear approximation method for the network equilibrium problem,” Networks, vol. 17, no. 3, pp. 319–339, 1987.
[140]
Z. S. Qian and H. M. Zhang, “Computing individual path marginal cost in networks with queue spillbacks,” Transportation Research Record, vol. 2263, no. 1, pp. 9–18, 2011.
[141]
C. C. Margossian, “A review of automatic differentiation and its efficient implementation,” Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 9, no. 4, p. e1305, 2019, doi: 10.1002/widm.1305.
[142]
A. Paszke et al., NIPS 2017 Autodiff WorkshopAutomatic differentiation in PyTorch. 2017.
[143]
J. Ma, X. Ye, K. Huang, and T. Miwa, “Development of integrated choice and latent variable (ICLV) models using matrix-based analytic approximation and automatic differentiation methods on TensorFlow platform,” Journal of Advanced Transportation, vol. 2022, pp. 1–19, 2022, doi: 10.1155/2022/6556282.
[144]
Y. Liu, L. C. Tong, X. Zhu, and W. Du, “Dynamic activity chain pattern estimation under mobility demand changes during COVID-19,” Transportation Research Part C: Emerging Technologies, vol. 131, p. 103361, 2021, doi: 10.1016/j.trc.2021.103361.
[145]
G. Lederrey, V. Lurkin, T. Hillel, and M. Bierlaire, “Estimation of discrete choice models with hybrid stochastic adaptive batch size algorithms,” Journal of Choice Modelling, vol. 38, 2021, doi: 10.1016/j.jocm.2020.100226.
[146]
J. Á. Martı́n-Baos, R. Garcı́a-Ródenas, and L. Rodriguez-Benitez, “Optimization techniques for Kernel Logistic Regression on large-scale datasets: A comparative study,” in 5th international conference on advanced research methods and analytics (CARMA 2023), 2023, pp. 239–240.
[147]
S. van Cranenburgh, S. Wang, A. Vij, F. Pereira, and J. Walker, “Choice modelling in the age of machine learning - Discussion paper,” Journal of Choice Modelling, vol. 42, 2022, doi: 10.1016/j.jocm.2021.100340.
[148]
B. Sifringer, V. Lurkin, and A. Alahi, “Enhancing discrete choice models with representation learning,” Transportation Research Part B: Methodological, vol. 140, pp. 236–261, 2020, doi: 10.1016/j.trb.2020.08.006.
[149]
S. Wang, B. Mo, and J. Zhao, “Deep neural networks for choice analysis: Architecture design with alternative-specific utility functions,” Transportation Research Part C: Emerging Technologies, vol. 112, pp. 234–251, 2020, doi: 10.1016/j.trc.2020.01.012.
[150]
Y. Han, F. C. Pereira, M. Ben-Akiva, and C. Zegras, “A neural-embedded discrete choice model: Learning taste representation with strengthened interpretability,” Transportation Research Part B: Methodological, vol. 163, pp. 166–186, 2022, doi: 10.1016/j.trb.2022.07.001.
[151]
D. T. Phan, H. L. Vu, and G. Currie, Available at SSRN 4305637AttentionChoice: Discrete choice modelling supported by a deep learning attention mechanism,” 2022.
[152]
J. Á. Martı́n-Baos, R. Garcı́a-Ródenas, M. L. L. Garcı́a, and L. Rodriguez-Benitez, PyKernelLogit: Penalised maximum likelihood estimation of Kernel Logistic Regression in Python,” Software Impacts, vol. 19, p. 100608, 2024.
[153]
J. Á. Martı́n-Baos, J. A. López-Gómez, L. Rodriguez-Benitez, T. Hillel, and R. Garcı́a-Ródenas, “A prediction and behavioural analysis of machine learning methods for modelling travel mode choice,” Transportation Research Part C: Emerging Technologies, vol. 156, p. 104318, 2023.
[154]
S. Wang, Q. Wang, and J. Zhao, “Deep neural networks for choice analysis: Extracting complete economic information for interpretation,” Transportation Research Part C: Emerging Technologies, vol. 118, 2020, doi: 10.1016/j.trc.2020.102701.
[155]
R. Amghar, S. Jaber, S. H. M. Moghaddam, N. Bhouri, and M. Ameli, “Resilience as a service for transportation networks: Definition and basic concepts,” Transportation Research Record, vol. 2678, no. 1, pp. 177–189, 2024.
[156]
S. Jaber, M. Ameli, S. H. Mahdavi, and N. Bhouri, “A methodological framework for resilience as a service (RaaS) in multimodal urban transportation networks,” Sustainable Cities and Society, p. 106276, 2025.
[157]
A. E. Bryson, “A gradient method for optimizing multi-stage allocation processes,” in Proc. Harvard univ. Symposium on digital computers and their applications, 1961, vol. 72, p. 22.
[158]
A. E. Bryson and Y. C. Ho, Applied optimal control. New York: Blaisdell Publishing, 1969.