Interpretable long-term traffic modelling on national road networks using theory-informed deep learning
Organizations: Martin Centre for Architectural and Urban Studies, University of Cambridge, 1–5 Scroope Terrace, Cambridge, CB2 1PX, United Kingdom · Independent Researcher, Cambridge, United Kingdom
Abstract
Long-term traffic modelling is fundamental to transport planning, but existing approaches often trade off interpretability, transferability, and predictive accuracy. Classical travel demand models provide behavioural structure but rely on strong assumptions and extensive calibration, whereas generic deep learning models capture complex patterns but often lack theoretical grounding and spatial transferability, limiting their usefulness for long-term planning applications. We propose DeepDemand, a theory-informed deep learning framework that embeds key components of travel demand theory to predict long-term highway traffic volumes using external socioeconomic features and road-network structure. The framework integrates a competitive two-source Dijkstra procedure for local origin-destination (OD) region extraction and OD pair screening with a differentiable architecture modelling OD interactions and travel-time deterrence. The model is evaluated using eight years (2017-2024) of observations on the UK strategic road network, covering 5088 highway segments. Under random cross-validation, DeepDemand achieves an R2 of 0.718 and an MAE of 7406 vehicles, outperforming linear, ridge, random forest, and gravity-style baselines. Performance remains strong under spatial cross-validation (R2 = 0.665), indicating good geographic transferability. Interpretability analysis reveals a stable nonlinear travel-time deterrence pattern, key socioeconomic drivers of demand, and polycentric OD interaction structures aligned with major employment centres and transport hubs. These results highlight the value of integrating transport theory with deep learning for interpretable highway traffic modelling and practical planning applications.
Figures & tables
| Feature group | Stratification and subcategories | Total features | Relevance to TDM | Data source |
|---|---|---|---|---|
| Area and population density | Land area (1) and population density (1) | 2 | Trip generation; Trip distribution | ONS [ 30 ] |
| Population | Total (1); stratified by sex (2) and age group (5: 0–15, 16–24, 25–49, 50–64, 65); stratified by sex–age combinations (10) | 18 | Trip generation | ONS [ 31 ] |
| Employment | Total (1); stratified by work type (2: full-time, part-time) and industrial sector (18); stratified by work type–sector combinations (36) | 57 | Trip attraction | ONS [ 27 ] |
| Household and car ownership | Total (1); stratified by car/van availability (2: no cars or vans, one or more cars or vans) and household composition (10); stratified by car–household combinations (20) | 33 | Trip generation; Modal split | ONS [ 29 ] |
| Income and employment deprivation | 2019 domain raw scores for income deprivation and employment deprivation | 2 | Trip generation; Trip distribution | IMD 2019 [ 20 ] |
| Land-use area | Area of land-use polygons by class: residential, commercial, industrial, retail | 4 | Trip generation; Trip attraction; Trip distribution | OSM [ 11 ] |
| Train | Test | |||||
| Model | MGEH | MAE | MGEH | MAE | ||
| Random five-fold CV | ||||||
| Linear regression | 85.09 (0.36) | 13326 (67) | 0.204 (0.006) | 89.42 (0.74) | 14255 (126) | -0.001 (0.124) |
| Ridge regression | 85.11 (0.39) | 13332 (69) | 0.203 (0.006) | 89.21 (0.62) | 14208 (117) | 0.012 (0.119) |
| Random forest | 26.01 (0.17) | 3441 (16) | 0.934 (0.001) | 56.03 (0.74) | 8389 (62) | 0.641 (0.014) |
| Gravity (log-linear) | 65.45 (0.22) | 9374 (51) | 0.549 (0.005) | 65.60 (0.31) | 9399 (99) | 0.547 (0.016) |
Traffic Forecasting
Traffic forecasting predicts future flows, speeds, demand, travel times, and congestion from spatial, temporal, and contextual data.
See all 84 papers