Gaussian process latent class choice models

Georges Sfeir, Filipe Rodrigues, Maya Abou-Zeid

TL;DR

This paper introduces the Gaussian Process Latent Class Choice Model (GP-LCCM), a hybrid framework that replaces the rigid, linear components of traditional behavior models with flexible, non-parametric Gaussian Processes. The result is a model that captures complex human heterogeneity with machine-learning-level accuracy while retaining the economic interpretability required for policy-making.

What Problem Does This Paper Address?

In the world of transportation and marketing, researchers use Discrete Choice Models (DCMs) to predict how people make decisions (e.g., "Should I take the bus or drive?"). Traditionally, these models face a "flexibility vs. interpretability" trade-off:

  1. Econometric Models (like Logit): These are highly interpretable. They tell us exactly how much someone is willing to pay to save ten minutes of travel time. However, they often assume people are more "average" than they really are, failing to capture complex, non-linear differences between individuals (unobserved heterogeneity).
  2. Machine Learning (ML): Algorithms like Neural Networks are incredibly accurate at prediction but are often "black boxes." They can't easily tell a policymaker why a person chose the train, making them risky for long-term infrastructure planning.

The authors target the Latent Class Choice Model (LCCM), which tries to bridge this gap by grouping people into "latent classes" (hidden segments). However, traditional LCCMs use simple linear functions to assign people to these classes, which often oversimplifies human behavior.

Methods

The core innovation is the GP-LCCM. The authors replace the standard linear "class membership" model with a Gaussian Process (GP).

  • Why Gaussian Processes? Unlike standard models that learn fixed parameters, GPs learn a distribution over functions. This allows the model to be non-parametric and incredibly flexible, capturing non-linear boundaries between behavioral groups without the researcher having to specify the exact functional form upfront.
  • The Hybrid Structure: The GP handles the "clustering" (assigning people to groups), while a standard Random Utility Model (like Multinomial Logit) handles the "choice" within those groups. This ensures that while the grouping is flexible, the actual choice behavior remains economically interpretable.
  • Estimation: The authors developed a specialized Expectation-Maximization (EM) algorithm. It uses a Laplace approximation to handle the mathematically "messy" parts of the GP and gradient-based optimization to find the best behavioral parameters.

Datasets

The model was validated on two distinct datasets:

  1. AUB Commuting Survey: A Stated Preference (SP) survey from the American University of Beirut involving 650 respondents choosing between current modes and two proposed new services (shared-taxi and shuttle).
  2. Swissmetro: A classic benchmark dataset in choice modeling. It contains over 10,000 observations from travelers in Switzerland choosing between trains, cars, and a hypothetical maglev "Swissmetro" system.

Key Insights and Ideas

  • Flexibility without "Black Box" Risks: The biggest "aha" moment is that by using GPs for class membership rather than the choice itself, the model remains useful for economists. You can still calculate the Value of Time (VOT) for each group, which is essential for cost-benefit analyses.
  • Identifying More Nuance: Traditional LCCMs often struggle to identify more than 2 or 3 classes before becoming statistically unstable. Because of the GP’s non-parametric nature, the GP-LCCM successfully identified up to 7 distinct behavioral classes in the Swissmetro data, uncovering much finer layers of population diversity.
  • Local Interpretability: While GPs are complex, the authors show they can be "unpacked" using techniques like LIME (Local Interpretable Model-agnostic Explanations) to show exactly which variables (like age or income) pushed a specific individual into a certain behavioral class.

Key Results

  • Better Predictive Power: In the AUB case study, the GP-LCCM improved out-of-sample predictive accuracy (measured by log-likelihood) by 8.8% compared to a standard LCCM.
  • Superior Fit: Across both datasets, the GP-LCCM consistently outperformed traditional LCCMs and a parametric ML alternative (GBM-LCCM) in terms of AIC and BIC (metrics that balance model fit with complexity).
  • Consistent Economic Indicators: The model produced realistic and statistically significant Values of Time. For example, in the Swissmetro data, it identified classes with VOTs ranging from nearly zero to very high, reflecting the reality of a diverse traveling public.

Limitations and Future Work

Despite its success, the GP-LCCM has a few hurdles:

  • Computational Cost: Gaussian Processes are computationally expensive, scaling at $O(N^3)$. For very large datasets (hundreds of thousands of rows), the current implementation would be slow. The authors suggest using Sparse Gaussian Processes in the future to solve this.
  • Kernel Selection: The model's performance depends on choosing the right "kernel" (a function that defines similarity). Currently, this requires some manual testing by the researcher.
  • Transparency: While the choice model is clear, the GP membership function is still less "transparent" than a simple linear equation, which might require extra effort to explain to non-technical stakeholders.

Reference: Sfeir, G., Rodrigues, F., & Abou-Zeid, M. (2020). Gaussian Process Latent Class Choice Models. Preprint.

Summary updated

BibTeX
@inproceedings{sfeir2022gaussian,
  author = {Georges Sfeir and Filipe Rodrigues and Maya Abou-Zeid},
  title = {{Gaussian process latent class choice models}},
  booktitle = {Transportation},
  year = {2022},
  doi = {10.1016/j.trc.2022.103552},
}
Figure