arXiv Science⌕ Search

arXiv · 2611.41652

Variational autoencoders for anomaly detection in choice modelling datasets

Abstract

Choice data often contain anomalous observations, which may arise from errors in the data, such as misreported or wrongly computed variables, or from unusual behaviour. Both can distort parameter estimates and derived outputs such as values of time and elasticities, although unusual observations may also reflect heterogeneity between individuals. While routine checks are applied in practice (e.g. dominant alternatives and ranges of trade-offs), a systematic, multivariate check that does not require the type of anomaly to be defined in advance is still missing. A variational autoencoder (VAE) learns the data-generating process by compressing each observation into a low-dimensional latent representation and reconstructing it, so that observations that are reconstructed poorly receive high anomaly scores. We introduce VAEs for anomaly detection in choice modelling datasets, accounting for the panel structure of the data through mixed-effects neural networks, and decompose the anomaly score into variable-specific reconstruction probabilities and a KL term, which show which variables make an observation anomalous. In a synthetic case study, the VAE with mixed effects detects 48% of the induced anomalies, compared to 30% without mixed effects, 20% for univariate checks, and 29% for Mahalanobis distance (with an anomaly threshold of 0.95), including anomalies that are not extreme in any variable. We then apply the framework to a stated preference (SP) and a revealed preference (RP) dataset. Excluding the 1-10% most anomalous observations changes values of time by up to 10% (SP) and 54% (RP), and elasticities by up to 11% (SP) and 55% (RP). The approach gives choice modellers a diagnostic tool to identify the observations and variables that drive their estimates, so that they can decide whether these reflect errors in the data, heterogeneity to be modelled, or a specification to revisit.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Lorenzo Muñoz, Stephane Hess, Thomas O. Hancock, Georges Sfeir. 2026-11-30. Variational autoencoders for anomaly detection in choice modelling datasets. https://arxiv.science/abs/2611.41652

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Coarse Personalization

With advances in estimating heterogeneous treatment effects, firms can personalize and target individuals at a granular level. However, implementation costs limit full personalization. In practice, firms assign individuals to segments and choose a treatment for each segment to maximize profits: We call this the coarse personalization problem. We propose a two-step solution that simultaneously makes segmentation and targeting decisions. First, the firm personalizes by estimating heterogeneous treatment effects. Second, the firm discretizes using treatment effects to choose which treatments to offer and their segments. We show that a combination of available machine learning tools for estimating heterogeneous treatment effects and a novel application of optimal transport methods provides a viable and efficient solution. With data from a large-scale field experiment in promotions management, we find our methodology outperforms extant approaches that segment on consumer characteristics, consumer preferences, or those that only search over a prespecified grid. Our framework quantifies the gain in profits from forming additional segments, allowing firms to weigh these benefits against their implementation costs. We conclude by discussing how coarse personalization arises in other domains.

econ.EM↗

Double machine learning for causal inference in a multivariate sample selection model

We propose double machine learning (DML) estimators of the average treatment effect (ATE) and the average treatment effect on the treated (ATT) in a multivariate sample selection model with multiple ordinal selection equations and heterogeneous thresholds. We establish nonparametric identification of these causal parameters for both the full population and the selected subpopulation, derive Neyman-orthogonal scores accounting for the estimation of the control functions, and establish asymptotic normality of the proposed estimators. Using simulated data, we study their finite-sample properties and demonstrate the importance of accounting for multiple selection equations rather than replacing them with a single equation or ignoring sample selection altogether. Moreover, we apply the estimators to study the effect of the wife's education on the log-wage ratio of spouses in Russia. Finally, we discuss extensions of the proposed framework to various alternative scenarios, including conditional average treatment effects (CATE), nested sequential sample selection, multiple selection criteria, and treatment effect heterogeneity with respect to endogenous moderators.

econ.EM↗

Quantiles of Heterogeneous Coefficients in Observed Populations

We study estimation and inference for quantiles of heterogeneous coefficients among the observed units in a panel. Treating the coefficients as deterministic, we estimate each individual coefficient using time-series observations, then use the estimates and their standard errors to construct a smoothed quantile estimator and estimate its variance. Under suitable restrictions on the relative growth rates of the cross-sectional and time dimensions, the estimator is asymptotically normal around a deterministic center. A feasible bias correction relaxes these restrictions, accommodating panels with large cross-sectional dimensions. Normal inference extends to the observed-population quantile under a local balance condition requiring the difference between the deterministic center and the target to be negligible relative to the standard error. Without this condition, we establish an impossibility result: the distribution of the studentized error relative to the target cannot be estimated uniformly consistently. To address this limitation, we construct a conservative confidence interval whose coverage tends uniformly to one and whose length attains the optimal worst-case rate in probability. We provide primitive conditions for smooth GMM estimation. An application to mortgage data reveals widespread but uneven declines in delinquency across credit scores.

econ.EM↗