Introduction
Predicting individual travel behavior—whether one chooses to drive, take public transit, or walk—is fundamental to urban planning and transportation policy. Traditionally, researchers have relied on Discrete Choice Models (DCMs), with the Nested Logit (NL) model serving as the industry standard. The NL model is valued for its ability to group similar alternatives into "nests" (e.g., grouping walking and biking as "active modes"), thereby capturing correlations between choices.
However, traditional NL models face significant limitations. They typically rely on linear utility functions that struggle to model complex, non-linear human decision-making. Furthermore, the "nesting" structure must be manually specified by researchers, often based on subjective intuition rather than data-driven patterns. While standard Deep Neural Networks (DNNs) offer greater flexibility, they often function as "black boxes" that ignore the structural relationships between alternatives, failing to provide the interpretable substitution patterns necessary for policy analysis.
Methodology: The NestGNN Framework
To address these challenges, we introduce NestGNN, a framework that treats the set of travel alternatives as a graph. This approach bridges the gap between the structural rigor of econometrics and the predictive power of deep learning.
The Alternative Graph
In NestGNN, travel modes are represented as nodes in an "alternative graph." Edges connect modes that are correlated or share similar characteristics. For instance, a "motorized" nest is represented by an edge between Car and Bus. This graph structure allows the model to explicitly account for substitution patterns.
Message Passing and Theoretical Generalization
NestGNN utilizes GNN "message passing" to allow information to flow between related alternatives. This process mimics the aggregation of "utility" within a nest in traditional NL models but does so within a high-dimensional, flexible latent space.
Mathematically, NestGNN is a "super-family" of models. By adjusting specific hyperparameters, such as the number of layers or the choice of aggregation function, NestGNN can generalize and perfectly replicate several existing models, including:
- Multinomial Logit (MNL)
- Nested Logit (NL)
- Alternative-Specific Utility DNN (ASU-DNN)
Unlike the scalar utility values used in NL, NestGNN employs Multi-Layer Perceptrons (MLPs) to learn complex, non-linear patterns from high-dimensional feature vectors.
Data and Experiments
The framework was evaluated using the London Passenger Dataset, a comprehensive survey of travel behavior in London. The dataset includes 81,086 samples (subsampled to 8,000 for these experiments), covering modes such as Automobile, Transit, Bike, and Walking. Features include individual demographics (age, income) and trip-specific attributes (travel time and cost).
Results and Discussion
NestGNN demonstrates significant improvements in both predictive accuracy and economic interpretability.
- Predictive Performance: The best-performing NestGNN model achieved a test log-likelihood of -625.17, representing a 9.2% improvement over the traditional Nested Logit model (-688.54). It also outperformed standard ASU-DNNs, suggesting that the graph-based inductive bias is highly effective.
- Economic Validity: Analysis of "elasticity tables" confirms that NestGNN preserves logical substitution patterns. For example, the model correctly predicts that an increase in driving costs leads to a significant shift toward transit rather than walking, maintaining the "two-layer substitution" behavior expected by economists.
- The Power of Non-Linearity: The performance gains were largely driven by the use of an MLP readout function, indicating that human trade-offs between factors like time and cost are inherently non-linear.
Conclusion and Future Directions
NestGNN provides a robust framework for travel mode choice modeling that combines the strengths of GNNs with the theoretical foundations of the Nested Logit model. While the current implementation requires a pre-defined graph structure, future work will focus on automatically learning the graph topology from data. Additionally, exploring sample-specific graphs could allow the model to account for how different demographic groups perceive the relationships between travel alternatives.
Summary updated