Search arXiv⌕ 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://searcharxiv.org/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 Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Beyond Linearity: Semiparametric Solutions to Contamination Bias with Multi-valued Treatments

We examine semiparametric solutions to contamination bias for nonbinary treatments. Deepening the discussion by \cite{gphk2024contamination}, we detail how spline functions approximate conditional expectation and propensity score functions under weak functional-form assumptions. Reanalyzing 15 regressions across 11 studies from top Economics journals, we compare standard linear regressions against parametric and semiparametric versions of three contamination-robust estimators. We document large discrepancies between parametric and semiparametric point-estimates and find that adopting flexible semiparametric solutions may not increase statistical uncertainty. We recommend that researchers verify their conclusions' robustness to the use of semiparametric tools that address contamination bias.

econ.EM↗

Cloudy With A Chance of Significance: Specification Search and the Illusion of Exogeneity in Remotely Sensed Weather Data

We study how researcher discretion affects the credibility of rainfall-based instrumental variables (IVs). Using generative AI, we review 4,191 research papers and show that multiple rainfall measures instrument the same outcome, while individual measures instrument multiple endogenous variables. We then analyze fourteen rainfall metrics from six remote sensing products using panel data from over 23,000 households in six African countries. Adding household fixed effects substantially weakens first-stage relevance, while alternative metrics and products yield different coefficients and significance levels. The findings reveal a tension between instrument relevance and exogeneity, raising concerns about exclusion restriction violations and highlighting opportunities for selective inference.

econ.EM↗

Factors as Transmission Patterns

I analyze the determinants of factor strength in cross-sectional processes by assuming that bilateral links between units transmit shocks among them. This leads to a factor model whose factors represent linearly independent transmission patterns -- columns of the network adjacency matrix -- and whose screeplot mirrors the network's singular-value profile. Strong factors correspond to hubs or chained transmissions. Sparse factors are due to locally influential units. Under lagged transmission, we can infer factors regardless of their strength by estimating the (small) set of bilateral links relevant for dynamics, even without using any network data. Applications to monthly output dynamics across US sectors and OECD countries yield estimated links with statistically significant relationships to empirical links.

econ.EM↗