TL;DR
Predicting human choices—like whether you’ll take the train or drive to work—usually forces a trade-off between rigid, interpretable economic equations and flexible, black-box machine learning. Salvadé and Hillel introduce a unified framework that uses gradient boosting to automatically learn non-linear, "glass-box" utility equations directly from data. Best of all, it plugs into almost any advanced choice model structure, beating traditional linear baselines in 35 out of 36 head-to-head tests while keeping the math completely readable.
What Problem Does This Paper Address?
For over fifty years, Discrete Choice Models (DCMs) have been the gold standard for understanding how people make decisions. They assign a "utility" score to each option (e.g., Utility = $-\beta_1 \times \text{Cost} - \beta_2 \times \text{Time}$) and translate those scores into probabilities. They are wonderfully interpretable and grounded in economic theory, but they usually assume utility is strictly linear—meaning paying an extra $5 hurts just as much on a $10 ticket as it does on a $500 ticket, unless a researcher manually guesses the right curve.
Machine learning fixes this rigidity and boosts prediction accuracy, leading to a wave of hybrid ML–DCM models. However, existing hybrids suffer from two major blind spots:
- Lost closed-form equations: Neural networks hide the math, making it hard to extract exact marginal effects like Willingness-to-Pay or Value of Time across the entire input space.
- Stuck on the basics: Almost all hybrid research focuses on the simplest setup—the Multinomial Logit (MNL)—ignoring richer behavioural structures like nested choices, habit formation over time, or latent attitudes.
Methods
The authors break any choice model down into four modular building blocks:
- Coefficient function: How individual features (like travel cost) enter the utility.
- Aggregation function: How features combine into total utility (typically addition).
- Probability function: How utilities map to choice probabilities based on error assumptions.
- Loss function: How predictions are scored against reality (e.g., cross-entropy loss).
What’s new here is how they connect ParamBoost (a parametric gradient-boosted decision tree method) to this modular pipeline. Instead of linear weights ($\beta x$), the framework learns piecewise polynomial functions (up to cubic splines) for each feature, or maps socio-demographic traits to individual-specific parameters.
Because the boosting algorithm only interacts with the rest of the model via first- and second-order derivatives (via the chain rule and automatic differentiation in JAX), any choice model with differentiable probability and loss functions can be estimated. Modellers can also enforce domain rules—like forcing utility to strictly decrease as cost rises (monotonicity), with diminishing sensitivity (convexity), at whatever degree of smoothness they want.
Within this single framework, the authors implement nine distinct models: Multinomial Logit (MNL), Mixed Logit (MXL), Nested Logit (NL), Cross-Nested Logit (CNL), Ordinal Logit (OL), Latent Class (LC), Dynamic Logit (DL), Binary Probit (BP), and Integrated Choice and Latent Variables (ICLV)—five of which are brand new to gradient-boosted utility modelling.
Datasets
No new datasets were introduced; the authors evaluated their models on two classic, real-world Swiss transport mode-choice benchmarks adapted from Biogeme examples:
- Swissmetro (9,036 observations): Stated-preference choices between train, Swissmetro (a proposed maglev), and car, using travel time, cost, and socio-demographics. (Modified subsets were also used to illustrate binary probit and ordinal logit).
- Optima (889 observations): Choices between car, public transport, and slow modes, featuring psychometric/attitudinal survey indicators needed to anchor the ICLV model.
Key Insights and Ideas
- Smoothness acts as a built-in regulariser: Constraining utility curves to be smooth (e.g., $C^2$ cubic splines) consistently narrows the gap between training and test loss compared to discontinuous step functions, especially on smaller datasets or when monotonicity/convexity constraints are turned off.
- No more Monte Carlo bottlenecks for heterogeneity: Traditional Mixed Logit and ICLV models rely on computationally heavy Monte Carlo simulation draws to integrate over random distributions. By replacing random terms with deterministic tree ensembles driven by socio-demographics, the framework captures rich preference heterogeneity without needing simulation.
- Model structure still matters in the ML era: Using the exact same input features on Swissmetro, a Latent Class structure outperformed standard MNL—proving that pairing non-linear ML utilities with classic econometric structures yields gains you can't get from simple classification setups alone.
Key Results
Across 9 choice models and 4 smoothness variants (36 total tests), the gradient-boosted framework beat conventional linear-in-parameters baselines (estimated via Biogeme) on out-of-sample test Cross-Entropy Loss (CEL) in 35 out of 36 comparisons:
- Substantial accuracy gains: Test CEL improved by 0.107 on Binary Probit (0.3607 vs. 0.4676), 0.077 on ICLV (0.4822 vs. 0.5588), and between 0.017 and 0.023 across the remaining seven Swissmetro models.
- Realistic tail behaviour: While linear models extrapolate infinitely—assigning massive, unrealistic disutility to very long or expensive trips—the constrained ParamBoost models naturally captured diminishing marginal disutility.
- A single outlier: Only the unconstrained discontinuous cubic variant (
ParamB-O3-C-1) in the Latent Class model underperformed its baseline (0.8354 vs. 0.8107) due to numerical instability during training, whereas the simplerParamB-O0-C-1LC variant achieved the best non-sequential multi-class score overall (0.7875).
Limitations and Future Work
- Modest benchmarks: The authors note that Swissmetro and Optima are relatively small, simple datasets, and some setups (like treating transport modes as ordered categories for Ordinal Logit) were semi-synthetic illustrations. Testing on massive, complex datasets where advanced structures dramatically outshine MNL is an important next step.
- Polynomial approximations: Piecewise cubics cannot explicitly write out logarithmic or power functions (like Box–Cox transforms), though they approximate them closely.
- Restricted feature interactions: While the framework can automatically learn interpretable two-way variable interactions, this capability is currently limited to the discontinuous step-function variant (
ParamB-O0-C-1).
Summary updated