TL;DR
This paper introduces a Bayesian approach to automatically discover the best utility function specifications for discrete choice models, a crucial but often manual and time-consuming task. By combining Automatic Relevance Determination (ARD) with a novel doubly stochastic variational inference algorithm, their method efficiently identifies relevant variables and their interactions, leading to more accurate and interpretable models.
What Problem Does This Paper Address?
Discrete choice models (DCMs) are widely used to understand and predict human behavior in various domains, from transportation to consumer choices. A critical step in building these models is specifying the utility function for each alternative, which describes how individuals perceive the value of different options. However, the space of possible utility function specifications is vast, involving numerous potential variables, transformations, and interactions. Manually exploring this space is a significant challenge, often relying on trial-and-error and domain expertise, which can lead to misspecified models and biased results. This paper tackles the problem of automating this specification process, aiming to discover optimal utility functions directly from data.
Methods
The core of the proposed solution lies in adapting the Automatic Relevance Determination (ARD) framework, originally developed for machine learning, to the context of discrete choice models. ARD works by placing hierarchical priors on model parameters, allowing the model to learn the "relevance" of each input variable. In this work, ARD is applied to the preference parameters of utility functions.
A key innovation is the development of a doubly stochastic variational inference (DSVI) algorithm. Exact Bayesian inference for these models is intractable. DSVI provides an efficient and scalable way to approximate the posterior distribution of the model parameters. This algorithm combines ideas from variational inference and stochastic optimization, allowing it to handle large datasets and a high number of potential input variables. The method also incorporates a mechanism to "tie" the variance parameters for related variable representations (e.g., different transformations of the same original variable), ensuring that either all or none of these related features are selected.
Datasets
The experiments were conducted using the Swissmetro (SM) dataset. This dataset contains survey data from train travelers between St. Gallen and Geneva, including information on travel alternatives (train, Swissmetro, car), respondent attributes, and trip characteristics.
The authors used this dataset in two ways:
- Semi-artificial choice data: They generated synthetic choice data by fitting standard DCMs to the original Swissmetro data with manually defined utility functions and then sampling new choices based on these fitted parameters. This allowed them to test the model's ability to recover known "true" specifications.
- Real choice data: They applied their method directly to the original Swissmetro choice data to discover novel specifications and evaluate their performance.
Key Insights and Ideas
- Automating the "art" of model specification: The paper demonstrates that the often-intuitive and time-consuming process of specifying utility functions in DCMs can be significantly automated using data-driven methods.
- ARD for feature selection in DCMs: Adapting ARD proves highly effective for identifying relevant variables and interactions within the complex utility function space of DCMs, effectively performing feature selection.
- Scalability through DSVI: The development of a doubly stochastic variational inference algorithm is crucial for making this approach practical for real-world, high-dimensional datasets, which are common in discrete choice modeling.
- Discovering "outperforming" specifications: The method not only recovers known specifications but also discovers new ones that can outperform existing ones from the literature in terms of explanatory power and generalization.
- Hierarchical priors for structured relevance: The hierarchical prior structure, where parameters related to the same original variable share a variance, is key to ensuring that entire variable representations are treated as a unit, leading to more coherent model specifications.
Key Results
- Accurate recovery of true specifications: On semi-artificial data, the proposed DCM-ARD model accurately recovered the manually defined utility function specifications, even when the search space included thousands of potential variables.
- Improved model performance on real data: When applied to the Swissmetro dataset, DCM-ARD identified utility function specifications that led to models with better predictive accuracy and log-likelihood compared to standard DCMs using a broader set of variables.
- Scalability demonstrated: The DSVI algorithm was shown to converge within a reasonable number of iterations and could handle large datasets and search spaces, though execution time increased with dimensionality. For instance, a search space of 602 variables took about an hour on a standard laptop.
- Generalization capabilities: Models built with DCM-ARD specifications showed better generalization to held-out data compared to standard DCMs, suggesting reduced overfitting.
Limitations and Future Work
- Dependence on search space: The method's ability to discover the "true" specification is limited by the variables and transformations included in the predefined search space. If a crucial interaction or variable is not included, it cannot be discovered.
- Behavioral realism: In some cases, the learned coefficients might not be entirely behaviorally realistic, potentially due to unconsidered interactions or the model capturing effects through proxies.
- Extension to more complex models: The current work focuses on Multinomial Logit (MNL) models. The authors suggest extending the framework to more complex models like mixed logits and latent class choice models, which are important for capturing heterogeneity in preferences.
- Challenges in approximate inference: Performing approximate Bayesian inference in these extended models will likely present new challenges that require further research.
Summary updated