arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.09030cs.LG
收藏

面向表格数据异常检测的上下文学习

Contextual Learning for Anomaly Detection in Tabular Data

Amazon Web Services, Seattle, WA, USA(亚马逊网络服务,西雅图,WA,USA)

Spencer King, Zhilu Zhang, Ruofan Yu, Baris Coskun, Wei Ding, Qian Cui

AI总结:

针对无监督表格异常检测中全局分布建模难以适配异质上下文的问题,本文提出上下文学习框架及配套条件Wasserstein自编码器模型,经8个基准数据集验证性能优于全局方法,为相关任务奠定新基础。

摘要:

异常检测在网络安全、金融等领域至关重要,在处理大规模表格数据时尤为如此。然而,无标记异常可用的无监督异常检测任务仍存在挑战:传统深度学习方法对单一全局分布建模,假设所有样本遵循相同行为模式。但现实世界数据往往包含异质上下文(例如不同用户、账户或设备),全局层面的罕见事件在特定条件下可能属于正常情况。我们提出一种上下文学习框架,通过学习条件数据分布$P(\mathbf{Y} \mid \mathbf{C})$而非全局联合分布$P(\mathbf{X})$,显式建模正常行为随上下文的变化规律。该框架包含三部分:(1)面向上下文条件学习的概率形式化定义;(2)基于早停验证损失自动选择信息性上下文特征的严谨双层优化策略;(3)通过方差分解和判别学习原理提供的理论支撑。我们采用新型条件Wasserstein自编码器实例化该框架,将其作为简单高效的表格异常检测模型。在8个基准数据集上开展的大量实验表明,即便最优上下文无法通过直觉明确判定,上下文学习方法的性能也始终优于全局方法,为异质表格数据的异常检测建立了新的基础。

英文摘要:

Anomaly detection is critical in domains such as cybersecurity and finance, especially when working with large-scale tabular data. Yet, unsupervised anomaly detection-where no labeled anomalies are available-remains challenging because traditional deep learning methods model a single global distribution, assuming all samples follow the same behavior. In contrast, real-world data often contain heterogeneous contexts (e.g., different users, accounts, or devices), where globally rare events may be normal within specific conditions. We introduce a contextual learning framework that explicitly models how normal behavior varies across contexts by learning conditional data distributions $P(\mathbf{Y} \mid \mathbf{C})$ rather than a global joint distribution $P(\mathbf{X})$. The framework encompasses (1) a probabilistic formulation for context-conditioned learning, (2) a principled bilevel optimization strategy for automatically selecting informative context features using early validation loss, and (3) theoretical grounding through variance decomposition and discriminative learning principles. We instantiate this framework using a novel conditional Wasserstein autoencoder as a simple yet effective model for tabular anomaly detection. Extensive experiments across eight benchmark datasets demonstrate that contextual learning consistently outperforms global approaches-even when the optimal context is not intuitively obvious-establishing a new foundation for anomaly detection in heterogeneous tabular data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑