Data-driven transport modelling without overfit
Peter Vanya, Katarína Šimková, Rastislav Farkaš · 2026
Read Data-driven transport modelling without overfit by Peter Vanya, Katarína Šimková, Rastislav Farkaš (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-08801.txt.
Introduction
Peter Vanya, Katarína Šimková, and Rastislav Farkaš propose a data driven way to model traffic flows for planning roads and railways without the usual survey heavy machinery. Traditional macroscopic models need costly, bias prone surveys of how people live and travel, while earlier fitting frameworks are hard to interpret and prone to overfitting. Their protocol fits models to traffic counts, which are now cheap and reliable, with explainable weights and a controlled path for adding complexity.
Demonstrations on toy and realistic cases show the approach working end to end, with suggested extensions to systems mixing cars and public transport. Infrastructure planners gain forecasts they can explain to the public whose money builds the projects.
Catalog record
| CREATOR | Peter Vanya, Katarína Šimková, Rastislav Farkaš |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 22 KB |
| LICENSE | http://creativecommons.org/licenses/by-sa/4.0/ |
| RIGHTS | CC BY SA |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.08801
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Data-driven transport modelling without overfit Peter Vanya, Katarína Šimková, Rastislav Farkaš Abstract Macroscopic transport modelling aims to predict traffic flows after proposed public policy interventions, such as a new road or railway section or a temporary road closure. As such, it is a vital step in infrastructure planning and development. Traditionally, building a transport model has relied on complex understanding of socio-economic characteristics of the population requiring expensive data collection via surveys, which are prone to biases. Previous numerical frameworks to optimize transport models to fit observed traffic flows are not easily-interpretable and can lead to overfit. We present here an alternative: a data-driven modelling protocol with objective function based on traffic counts, which can be nowadays cheaply and reliably obtained; explainable model weights; and a controlled path to increase model complexity and accuracy. We demonstrate our approach on several toy and realistic examples, and suggest ways to generalize to multimodal systems including public transport. I Introduction A transport model (TM), which predicts demand for road and railway sections, is a critical step in public investment process. Outcomes of transport modelling serve as inputs for cost-benefit analyses supporting decisions, whether an investment should be realized, and which are worth billions of dollars annually in a typical mid-sized country 18 ; 16 . A high-quality TM should enable reliable exploration of various investment scenarios and fine-tune the project to achieve the highest economic return on investment for the taxpayer. Generally, there are two dominant approaches to model traffic. Microscopic models follow movements of separate agents (e.g. a car or a pedestrian), which is important for optimizing transport within cities 19 ; 8 . On the other end of spectrum there is macroscopic modelling, which aims to deduce traffic flows typically measured in vehicles per 24-hour interval (or veh/24h) between cities, regions or distinct countries. The latter approach has gained traction with the post-war advent of highways in the Western countries in 1960s and the need to estimate traffic flows ex ante for the purpose of planning 25 ; 5 . This work aims to expand on it. A macroscopic TM is based on graph theory 6 . Basic inputs of a macroscopic TM include a set of zones, where people live, which serve as graph vertices, and the network of road or railway links interconnecting these zones, which serves as graph edges. Modelling then consists of four steps 6 : (1) trip generation; (2) trip distribution yielding an origin-destination (OD) matrix; (3) mode choice between public and private transport; and (4) assignment of traffic flows to road and railway network. Despite decades of evolution, there remains an element of art in the science supporting this field; key success metrics are not exactly defined and, consequently, a standardized process to achieve a desired model quality or accuracy is not readily available. With the advent of big data and machine learning, it should be, in principle, possible to construct high-quality TMs by feeding model more data and fine-tuning hyperparameters 3 ; 11 . Such data-driven approach can also shed light on population characteristics, which are nowadays expensively collected via surveys. There is room for higher-quality and, at the same time, cheaper TMs. Early attempts at data-driven transport modelling date back to early 1980s. Willumsen and van Zuylen Willumsen 20 ; 21 ; 22 ; 23 developed methods to estimate the OD matrix from observed traffic flows using least-squared minimization or information maximization. However, both of these OD matrix modifications do not preserve the logical flow of the model, which must start at the trip generation step. Varying OD matrix elements to fit traffic flows implicitly modifies the population characteristics of the investigated region and the mobility patterns of the population, from which the OD matrix was built in the first place and which serve as model inputs. Furthermore, free variation of all \mathcal{O}(N_{\text{zones}}^{2}) OD matrix elements to optimize for traffic counts leads to an overfit; traffic counts scale as \mathcal{O}(N_{\text{links}}) , while it holds that N_{\text{links}}\ll N_{\text{zones}}^{2} . In practice, traffic counts are even more sparse than road links, as the former are rarely collected on every road section. As a result, the predictive ability of a TM with thus adjusted OD matrix breaks down. Figure 1 : A general scheme of a three-step transport model workflow, which includes trip generation, trip distribution and network assignment. This workflow excludes the mode choice between public and private transport, which is a step between distribution and assignment in a four-step model. We present here an alternative data-driven approach, aiming to eliminate overfitting while calibrating the model to make it accurate. This inherently boosts the predictive capabilities of the model when new links are added in line with proposed traffic network changes. Like Refs 20 ; 21 ; 22 ; 23 , we also start from traffic counts as the most suitable predictor. These can be collected cheaply and on scale, as is already the case for some developed cities 7 . Instead of directly modifying all OD matrix elements, we propagate the objective function deeper, back to the trip generation step (Fig. 1 ), and vary only few well-defined weights. There are only two such weights for each trip-generating pair of population attributes, or demand strata (DS); hence, their total number grows as \mathcal{O}(N(\text{DS})) , which is significantly lower than the number of observed data samples. The main advantage of our approach is that the internal logic of the OD matrix is upheld, as its elements depend on only a few independent model weights controlling trip generation and distribution. This is critical to correctly assess the impact of new road bypasses, highway or railway sections, which are among the most capital-intensive projects in any country. Our approach also supports the phenomenon of induced demand, the result increasing trips due to reduced travel times or costs 12 . The inferred model weights are explainable, directly comparable to survey data, and transferable to other TMs in comparable regions, as they represent the generic travel patterns of the population. Section II explains the simulation process; Section III presents the application to several toy and realistic models. II Data-driven modelling protocol Having motivated the aims of macroscopic transport modelling, we now proceed with explaining the choice of model features, weights, hyperparameters, and outputs. II.1 Inputs In transport modelling, there are two input groups that should be functionally separated. The first group is the geographical reality in the form of road network. This includes roads divided into sections, each with its effective maximum speed 1 1 1 Maximum effective speed is lower not the same as legal speed, since it is influenced by road width, slope, curvature and the level of surface degradation. , capacity, and a resistance, or volume-delay (VD) function 6 ; 4 determining the travel time t as a function of traffic flow Q : t(Q)=t_{0}\left[1+\alpha_{1}\left(\frac{Q}{Q_{\rm{max}}}\right)^{\alpha_{2}}\right], (1) where Q_{\max} is the road capacity, t_{0} travel time at zero traffic flow, and \alpha_{1} and \alpha_{2} constants 2 2 2 As a rule of thumb, \alpha_{1}=0.15 and \alpha_{2}=4 are reasonable estimates. . Another group are socio-economic attributes of the population within the examined perimeter, which determine the travel patterns. Inhabitants are clustered into zones serving as graph vertices, which