Modeling Stated Preference for Mobility-on-Demand Transit: A Comparison of Machine Learning and Logit Models

Xilei Zhao, Xiang Yan, Alan Yu, Pascal Van Hentenryck

This paper explores the intersection of econometrics and computer science in the context of urban planning. It provides a rigorous comparison between traditional Logit models (the gold standard in transportation research) and Machine Learning (ML) classifiers for predicting how people choose their commute modes.

TL;DR

Random Forest models significantly outperform traditional Logit models in predicting travel mode choices for new mobility-on-demand services. Crucially, the authors demonstrate that ML isn't just a "black box"—using interpretability tools, they show that ML models capture complex, nonlinear behavioral patterns that traditional statistical models often miss.

What Problem Does This Paper Address?

For decades, transportation planners have relied on Discrete Choice Models, specifically the Logit family, to understand traveler behavior. These models are grounded in economic theory (Random Utility Maximization) and are highly interpretable, allowing planners to say, "If we decrease wait times by 5 minutes, transit use will increase by X%."

However, Logit models require strict mathematical assumptions about how people make decisions and how "errors" in data are distributed. In contrast, Machine Learning models are highly flexible and often more accurate, but they are frequently dismissed as uninterpretable "black boxes." This paper tackles the "prediction vs. interpretation" trade-off, asking if we can have the best of both worlds when modeling new transit systems like Mobility-on-Demand (MOD)—an integrated system of high-frequency buses and on-demand shuttles.

Methods

The authors conduct a head-to-head competition between two modeling paradigms:

  1. Logit Models: Multinomial Logit (MNL) and the more advanced Mixed Logit (which accounts for individual differences in taste).
  2. Machine Learning: Seven classifiers, including Naive Bayes, Decision Trees (CART), Support Vector Machines (SVM), Neural Networks (NN), and ensemble methods like Bagging, Boosting, and Random Forest (RF).

To bridge the interpretability gap, they use Partial Dependence Plots (PDPs) and Variable Importance measures to extract behavioral insights from the ML models, comparing them directly to the Beta coefficients used in Logit models.

Datasets

The study uses a Stated-Preference (SP) survey dataset:

  • Source: Faculty, staff, and students at the University of Michigan, Ann Arbor.
  • Scope: 8,141 observations from 1,163 individuals.
  • Features: Trip attributes (travel time, cost, wait time, transfers), socio-demographics (income, gender, car access), and residential preferences.
  • Target: Choice between four modes: Car, Walk, Bike, and the proposed RITMO (MOD) transit system.

Key Insights and Ideas

  • The "Black Box" is Transparent: The Random Forest model and Logit models largely agreed on which variables were most important (travel times for walking, biking, and driving). This validates that ML models are capturing real-world behavior, not just noise.
  • Automatic Nonlinearity: Traditional Logit models usually assume a linear relationship between a feature (like travel time) and utility. The RF model automatically discovered "flat tails"—showing that people are relatively insensitive to transit time changes if the trip is already very short (<10 mins) or very long (>25 mins).
  • The Mixed Logit Surprise: Surprisingly, the complex Mixed Logit model had worse out-of-sample predictive power than the simpler MNL. This suggests that the extra parameters in Mixed Logit led to overfitting, a common pitfall that ML's cross-validation techniques are designed to avoid.
  • MOD Sensitivity: The models revealed that for a new app-based transit system, travelers are more sensitive to the first "rideshare" pickup than subsequent ones, a nuance that planners can use to optimize shuttle routing.

Key Results

  • Predictive Accuracy: Random Forest was the clear winner with 85.6% accuracy, compared to only 64.7% for MNL and 63.1% for Mixed Logit.
  • Market Share Prediction: In terms of aggregate market share (predicting the total percentage of people who will choose each mode), RF again outperformed Logit models, with a significantly lower L1-norm error (0.0248 vs. 0.0399 for MNL).
  • Behavioral Realism: RF produced realistic "value-of-time" metrics. For example, it estimated that the "penalty" of a transfer is equivalent to roughly 3.1 minutes of transit travel time, which aligns well with existing transportation literature.

Limitations and Future Work

  • Preference Heterogeneity: While ML is great at finding patterns, the Mixed Logit model is still superior at explicitly modeling unobserved individual differences (e.g., some people just hate buses regardless of the time). The authors suggest exploring how ML can better incorporate this.
  • Reporting Bias: Stated-preference data (what people say they will do) often differs from revealed-preference data (what they actually do). Logit models have established ways to correct this bias; ML currently lacks a standard equivalent.
  • Hybrid Modeling: The authors conclude that the future lies in "merging" these fields—perhaps by imposing behavioral constraints (from Logit theory) onto the flexible structures of Machine Learning.

Summary updated

BibTeX
@misc{zhao2018modeling,
  author = {Xilei Zhao and Xiang Yan and Alan Yu and Pascal Van Hentenryck},
  title = {{Modeling Stated Preference for Mobility-on-Demand Transit: A Comparison of Machine Learning and Logit Models}},
  year = {2018},
  eprint = {1811.01315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.01315},
}
Figure