Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.
44,421 characters · 15 sections · 29 citation commands
Embedding Foundation Model Predictions in Discrete-Choice Models with Structural Guarantees
\pagestyle{plain}
\thispagestyle{plain}
Discrete-choice models guide policy decisions with significant economic stakes: the per-minute value of time from commuter mode-choice forecasts ben_akiva_lerman_1985, train_2009 anchors cost-benefit appraisal of multi-billion-dollar rail and road investments, and willingness-to-pay estimates from consumer discrete-choice experiments set prices and predict how labeling regimes shift behavior. A choice model must do two things: forecast which alternative is chosen, and forecast how the choice responds to intervention.
Multinomial-logit utility models ben_akiva_lerman_1985, train_2009 satisfy the second requirement by construction: a sign-constrained cost coefficient gives monotone demand, the $\beta_{\text{time}}/\beta_{\text{cost}}$ ratio gives interpretable willingness-to-pay, and unavailable alternatives receive zero probability. They satisfy the first only modestly. Modern machine-learning models invert the trade-off, raising accuracy at the cost of breaking each structural property in turn hillel_2021, vancranenburgh_2022, zhao_yan_2020.
Tabular foundation models such as TabPFN hollmann_2023, purucker_2025 and Mitra zhang_2024 intensify the tension by raising the accuracy ceiling while inheriting the same structural failures. Existing remedies each carry costs: architecturally constrained monotonic neural networks sill_1997, wehenkel_2019, constrained_monotonic_icml2025 eliminate monotonicity violations but lose the closed-form trade-off ratio; knowledge distillation hinton_2015 into a multinomial-logit student preserves the structural guarantees but cannot match the teacher's accuracy; penalized fine-tuning needs gradient access through the foundation model's weights, incompatible with the in-context learning that TabPFN and Mitra use at inference.
We propose a two-stage adapter that embeds the foundation model's predicted probability vector inside a constrained multinomial logit as a precomputed feature. In Stage 1, we fit the structural coefficients by maximum likelihood under the usual MNL constraints with the correction held at zero; in Stage 2, we freeze those coefficients and fit a small neural correction. We prove that this two-stage procedure preserves the structural marginal rate of substitution exactly, and that joint training of the structural coefficients and the correction does not: correction expressivity creates a one-parameter family of likelihood-equivalent solutions, breaking identifiability.
Our contributions are:
\paragraph{Machine learning and economic consistency in choice modeling.} Discrete-choice modeling has been the standard tool in transportation economics and consumer behavior since ben_akiva_lerman_1985. Recent work pushes machine learning into the field while exposing a tension with economic structure: hillel_2021 document consistent accuracy gains across neural and ensemble methods over the multinomial logit but few behavioral diagnostics; zhao_yan_2020 report frequent monotonicity violations and implausible willingness-to-pay estimates from machine-learning choice models; and vancranenburgh_2022 frame economic consistency as an open challenge distinct from prediction accuracy. han_2022 (TasteNet) propose a neural-embedded discrete-choice model that learns taste parameters as neural-network functions of individual characteristics, targeting taste-parameter interpretability through learned heterogeneity rather than the structural-plus-correction decomposition we adopt here. \ifdefined This work builds on our workshop paper wang_2026_workshop; the present paper extends it with an additional dataset, formal preservation results, and counterfactual aggregate-share evaluation. \fi Our work additionally derives a formal preservation result, evaluates across foundation models, and characterizes joint training's failure mode.
\paragraph{Architecturally constrained monotonic neural networks.} Architectural approaches enforce monotonicity through sign-constrained weights and monotone activations sill_1997, wehenkel_2019, constrained_monotonic_icml2025, eliminating cost-monotonicity violations but losing the closed-form trade-off ratio: with no global coefficients, the value-of-time analogue must be computed from per-observation gradients rather than read off as $\beta_{\text{time}} / \beta_{\text{cost}}$. Our adapter takes a different point: monotonicity and trade-off ratios come from the structural component, whose constrained parameterization is preserved throughout training, while the foundation model contributes a non-differentiable side channel.
\paragraph{Tabular foundation models and knowledge distillation.} Tabular foundation models such as TabPFN hollmann_2023, purucker_2025 and Mitra zhang_2024 achieve strong classification accuracy via in-context learning. Their published benchmarks emphasize predictive accuracy; structural-validity diagnostics specific to choice modeling (cost-monotone responses, finite positive trade-off ratios, zero probability on unavailable alternatives) at test-row coverage are not part of these benchmarks. Our audit fills this gap. Knowledge distillation hinton_2015 into a multinomial-logit student preserves structural guarantees but is bounded by the student's expressive capacity: a plain MNL student parameterizes a strictly linear-in-features utility, and the residual variance the foundation model captures lives above that ceiling. We position the foundation model differently: its predictions become an explanatory feature embedded inside a structurally constrained utility, with the foundation model's parameters never modified.
We consider a discrete-choice setting with $N$ observations indexed by $i \in \{1, \dots, N\}$. Each observation has a feature vector $\mathbf{x}_i \in \mathcal{X}$, a set of available alternatives $\mathcal{K}_i \subseteq \{1, \dots, K\}$, and an observed choice $y_i \in \mathcal{K}_i$. For panel data we additionally observe a subject identifier $s_i$, since multiple observations from the same subject are not exchangeable; we cluster on $s_i$ throughout.
A choice model produces probabilities $P_k(\mathbf{x}_i) \in [0, 1]$ summing to one over $\mathcal{K}_i$, i.e., a vector on the $(K{-}1)$-simplex $\Delta^{K-1}$. The standard multinomial logit (MNL) parameterizes these through a linear utility $V_k(\mathbf{x}_i) = \boldsymbol{\beta}^\top \boldsymbol{\phi}_k(\mathbf{x}_i)$ and the softmax $P_k = \exp V_k / \sum_{j \in \mathcal{K}_i} \exp V_j$ ben_akiva_lerman_1985. The alternative-specific feature transform $\boldsymbol{\phi}_k$ selects from $\mathbf{x}_i$ the columns that enter alternative $k$'s utility, typically including cost, time, alternative-specific constants, and sociodemographic interactions. We treat $\boldsymbol{\phi}_k$ as fixed by the dataset's specification and recover $\boldsymbol{\beta}$ by maximum likelihood.
Every model is evaluated through three model-agnostic functionals that take only a predict function $\mathbf{x} \mapsto P(\mathbf{x}) \in \Delta^{K-1}$ as input. We say model-agnostic in the sense that the audit reads model outputs only, requiring no gradient access or knowledge of internals.
Intervention protocol. For adapter and feature-augmented MNL we use the fixed-$\mathbf{q}$ protocol throughout: when a cost or attribute is perturbed at row $i$, the foundation-model probability vector $\mathbf{q}_i$ is held fixed at the value computed on the unperturbed $\mathbf{x}_i$, and the perturbation enters only $V^{\text{struct}}_k$. The alternative recomputed-$\mathbf{q}$ protocol re-runs the foundation model on perturbed inputs; we use it for the raw foundation-model counterfactual evaluation (Section (ref)) only, and forfeit the structural guarantees in that case.
The three functionals are: (1) Monotonicity. For each test row $i$ and alternative $k$, perturb $k$'s cost upward by $1\%$ of its observed range and check whether $P_k$ falls; we report the observation-level rate (cluster-aware on panel data). (2) Trade-off ratio. The marginal rate of substitution between non-cost attribute $a$ and cost $b$, reported in the standard transportation-economics sign convention so that value of time and willingness to pay for utility-improving attributes are positive: $\rho^{\mathrm{VOT}}_{a,b} = (\partial P_k/\partial a) / (\partial P_k/\partial b)$ when both partials are negative (e.g., time and cost both lower utility), and $\rho^{\mathrm{WTP}}_{a,b} = -(\partial P_k/\partial a) / (\partial P_k/\partial b)$ when $\partial P_k/\partial a$ is positive and $\partial P_k/\partial b$ is negative (a desirable non-cost attribute vs cost). Estimated by finite differences scaled to $1\%$ of each column's observed range. (3) Availability compliance. For datasets in which the available set $\mathcal{K}_i$ varies across observations (e.g., Swissmetro, where the proposed Swissmetro option is not offered to some respondents), $\mathrm{Leak}(M) = \mathbb{E}_i [\sum_{k \notin \mathcal{K}_i} P_k(\mathbf{x}_i)]$ measures the predicted probability assigned to formally unavailable alternatives. The multinomial logit applies softmax over $\mathcal{K}_i$ only, so its leak is mechanically zero; black-box predictors that ignore the availability mask can leak nonzero probability onto unavailable alternatives.
We use $\boldsymbol{\beta}^\ast$ for the Stage 1 maximum-likelihood estimate and reuse the notation of (ref).
\paragraph{Datasets.} We evaluate on three discrete-choice datasets. Swissmetro bierlaire_2001: $10{,}719$ stated-preference commuter choices among rail, the proposed Swissmetro, and car. LPMC hillel_2018: $81{,}086$ revealed-preference London trips among walk, cycle, public transport, and drive. IoT-Wearables iot_wearables_dce_2020: $6{,}362$ stated-preference choices among three Internet-of-Things wearable devices varying in price, functional features, and a security/privacy labeling scheme (panel data, $728$ subjects). All splits are $70/15/15$. IoT-Wearables uses subject-level splitting (each subject's rows go entirely to one split) to prevent within-subject leakage. Swissmetro and LPMC use the stratified row-level splits inherited from prior released parquets (bierlaire_2001 for Swissmetro and the LPMC public release); because Swissmetro is stated-preference with repeated choice tasks per respondent, row-level splitting may leak respondent-specific preferences across train/val/test, which we flag as a limitation.
\paragraph{Foundation-model inputs.} The foundation-model input columns per dataset:
Cost (or price), time (or duration), and availability indicators are therefore in the input set on every dataset; this is the basis for the foundation model's potential non-monotonic response to cost, and motivates the fixed-$\mathbf{q}$ intervention protocol of Section (ref) for the adapter.
\paragraph{Models.} Each cell evaluates five primary models, reported in Table (ref):
Three additional variants appear in prose only: a masked foundation model (Swissmetro, \S(ref)); a convex ensemble $\alpha P_{\text{MNL}} + (1{-}\alpha) P_{\text{FM}}$ (\S(ref)); and the two-term variant $V_k = V^{\text{struct}}_k + \alpha \log q_k + g_k(\mathbf{q})$ (ablation A2). The correction network $g$ is a two-hidden-layer MLP, width $32$, output-layer-zero initialization (\S(ref)).
\paragraph{Foundation-model context and cross-fitted training $\mathbf{q}_i$.} Stage 2's training-row $\mathbf{q}_i$ come from a $k=5$ stratified cross-fitted protocol, so no row's prediction was made by a model that saw its own label; test $\mathbf{q}_i$ are out-of-context by construction. The protocol applies to five of six (dataset, FM) cells; TabPFN-LPMC exceeds the CUDA attention-kernel ceiling at LPMC's per-fold context size and retains in-sample $\mathbf{q}_i$ (marked with $^{\dagger}$ in Table (ref)). Cross-fitting shifts adapter test accuracy by at most $-0.6$ pp (Appendix (ref)).
\paragraph{Metrics and significance.} We report:
For each (dataset, foundation-model) cell we draw $10$ bootstrap samples of the training set with replacement and refit Stage 1 and Stage 2 independently on each replicate; validation and test splits are held fixed. Significance tests on the per-seed accuracy gain (full adapter $-$ Stage 1) include an exact two-sided binomial sign test ($p \approx 0.002$ at $10/10$ positive seeds) and per-seed McNemar paired-observation tests on the held-out test set. Three post-hoc calibration methods (scalar temperature scaling guo_2017, vector temperature scaling, and isotonic regression) are fit on validation and evaluated on test.
Table (ref) reports per-cell test accuracy, monotonicity rate, trade-off ratio, availability leak, and post-calibration expected calibration error (ECE) for the five models of \S(ref). The results break into three threads, mirroring the subsection structure below:
Mitra and TabPFN gain $+4$ to $+14$ pp of accuracy over the multinomial logit across our three datasets, but the gains come with three distinct failures of behavioral validity. Monotonicity rates collapse on the datasets with the most predictive headroom: TabPFN is monotone in cost on only $28.9\%$ of LPMC test rows and $40.8\%$ of IoT-Wearables; Mitra performs better on LPMC ($50.8\%$) but only marginally on IoT-Wearables ($45.6\%$). On Swissmetro both foundation models score $\geq 90\%$ but still below the multinomial logit's mathematical $100\%$. Trade-off ratios compound the issue: TabPFN's LPMC driving value-of-time is $-14.5$ GBP/hr (wrong sign relative to MNL's $+16.6$), and TabPFN's IoT-Wearables function WTP is also of the wrong sign relative to MNL. Mitra's willingness-to-pay on the IoT-Wearables binary indicators is locally inconclusive at the $1\%$ perturbation scale; we discuss the audit-methodology limitation in Section (ref). Availability compliance fails on Swissmetro: TabPFN assigns $\sim 5 \times 10^{-4}$ and Mitra $\sim 2 \times 10^{-3}$ of total probability to formally unavailable alternatives, against the multinomial logit's mechanically zero leak. Masking the foundation model (zeroing unavailable alternatives and renormalizing) removes the leak but leaves accuracy unchanged, so the leak is a structural error rather than an artifact of probability redistribution.
The adapter inherits the multinomial logit's structural utility (with a sign-constrained cost coefficient) and availability-mask machinery, so it satisfies $100\%$ monotonicity, exact analytical trade-off ratios, and zero availability leak by construction on every cell. The empirical question is how much of the foundation-model accuracy gain the adapter retains.
The simplified adapter recovers most of it. Across all six (dataset, foundation-model) cells the adapter trails the raw foundation model by at most $2$ pp on accuracy (Table (ref)): the adapter pays up to $2$ pp for full preservation of the multinomial logit's economic guarantees. The gain over the structural multinomial logit alone is positive in $10$ of $10$ bootstrap replicates on every cell, giving an exact two-sided binomial sign-test $p$-value of ${\approx}\,0.002$ per cell, and per-seed McNemar paired-observation tests mcnemar_1947 (which compare per-example correctness between two classifiers on the same test set) yielding $p$-values below $10^{-20}$ on the larger datasets (LPMC, IoT-Wearables) and below $10^{-10}$ on the smaller datasets. The trade-off ratios match the structural multinomial logit by construction (Proposition (ref)) and are stable across seeds: $84.4 \pm 2.6$ CHF/hr on Swissmetro, $1.75 \pm 0.05$ and $16.64 \pm 0.33$ GBP/hr on LPMC public transport and driving, and $+26.10 \pm 0.91$ USD willingness-to-pay for IoT-Wearables functional features.
The feature-augmented multinomial logit reaches slightly higher accuracy than the adapter ($+0.5$ to $+2.6$ pp depending on the cell) but at the cost of degraded trade-off-ratio estimates that drift from the structural multinomial logit's. On Swissmetro the drift is egregious: feat-aug VOT is $1508 \pm 738$ CHF/hr for the Mitra-augmented variant and $678 \pm 319$ for the TabPFN-augmented variant, an order of magnitude beyond any plausible willingness-to-pay range. On LPMC and IoT-Wearables the drift is more modest but still nontrivial: LPMC feat-aug-Mitra reports $10.3$/$6.7$ GBP/hr against MNL's $1.8$/$16.6$ ($5{\times}$ drift on public transport, $0.4{\times}$ on drive); IoT-Wearables feat-aug reports $14$--$15$ / $5$ USD against MNL's $26.1$/$10.0$. The adapter, by contrast, inherits MNL's trade-off ratios exactly under the fixed-$\mathbf{q}$ protocol (Proposition (ref)), so this drift is bounded to zero by construction. The convex-ensemble baseline, $\alpha\, P_{\text{MNL}} + (1 - \alpha)\, P_{\text{FM}}$, fits an $\alpha$ near zero on every cell where the foundation model has higher validation accuracy, reducing to the raw foundation model up to numerical noise. Both baselines confirm that linear blending does not recover the adapter's combination of accuracy and interpretability.
\paragraph{Calibration.} Post-temperature-scaling ECE is competitive with the structural multinomial logit on LPMC and IoT-Wearables (Table (ref)); Swissmetro is the exception, where adapter ECE stays at $8.4\%$ (Mitra) and $17.0\%$ (TabPFN) against the multinomial logit's $4.0\%$ even after scalar / vector temperature scaling, isotonic regression, and bootstrap ensembling, a bias-driven rather than variance-driven limitation we discuss in Section (ref). Full NLL, Brier, and uncalibrated ECE in Appendix (ref) mirror this pattern.
To test how each model would predict aggregate demand response to a small price increase, we evaluate every model on the held-out test set under a $+10\%$ cost perturbation applied separately to each alternative, then aggregate predicted probabilities into a market share for the perturbed alternative. Table (ref) reports the full result matrix.
Across $16$ (dataset, foundation-model, alternative) scenarios the structural multinomial logit and the adapter agree on the direction of the share change in every scenario: both predict a strictly negative change in aggregate share for the perturbed alternative. Adapter share-changes recover $40$--$97\%$ of the multinomial logit's magnitude depending on cell (Table (ref)); the gap reflects softmax saturation under the foundation-model correction, not a violation of Proposition (ref).
The raw foundation-model row uses the recomputed-$\mathbf{q}$ protocol (re-running the foundation model on perturbed inputs) and shows the per-observation monotonicity violations of Section (ref) propagating to policy-relevant aggregates: in $6$ of $16$ scenarios the raw foundation model predicts a positive aggregate-share change under a cost increase (bolded in Table (ref)). The largest violation (TabPFN-IoT-alt1) reverses sign relative to both MNL and the adapter, an $11$-pp disagreement on consumer response to a $10\%$ price increase. The structural multinomial logit and the adapter are exempt by construction.
We run five ablations using the same multi-seed bootstrap protocol as Section (ref).
Table (ref) summarizes test accuracy across all five variants. Four of the five preserve $100\%$ monotonicity by construction; A3 is the empirical illustration of Proposition (ref).
Discrete-choice models guide policy decisions whose economic stakes are large and whose failure modes are not subtle. Tabular foundation models raise predictive accuracy beyond what structural utility models alone reach, but their predictions can violate basic economic logic: monotonicity in cost, sensible willingness-to-pay, zero probability on unavailable alternatives. We propose a two-stage adapter that embeds foundation-model predictions inside a structurally constrained utility model. Proposition (ref) shows that the two-stage procedure preserves the structural model's marginal rate of substitution exactly; Proposition (ref) shows that joint training does not. Across three discrete-choice datasets and two foundation models, the adapter pays at most $2$ pp of accuracy for full structural validity by construction, with the gain over the structural multinomial logit positive in $10$ of $10$ bootstrap replicates on every cell. The architecture is model-agnostic and slots in any predict-function whose probability output respects the precomputed-$\mathbf{q}$ contract.