经济学 > 计量经济学
[提交于 2026年11月30日]
标题:Variational autoencoders for anomaly detection in choice modelling datasets
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Lorenzo Muñoz[v1] 2026年11月30日 星期一 17:11:27 UTC (2,518 KB)