arXiv:2605.10242cs.LGcs.AI2026-05

解决表格异常检测中训练数据不足导致的误判问题

When Normality Shifts: Risk-Aware Test-Time Adaptation for Unsupervised Tabular Anomaly Detection

论文配图:When Normality Shifts: Risk-Aware Test-Time Adaptation for Unsupervised Tabular Anomaly Detection
图 1 · 摘自论文原文
  • 训练时多任务学习构建稳健正常模式先验
  • 测试时仅用高置信度正常样本更新模型,避免异常污染
  • 结合邻近样本对比学习,提升正常与异常区分能力

无监督表格异常检测方法通常在训练阶段从正常样本中学习特征模式,并在测试阶段识别偏离该模式的样本为异常。然而,在实际场景中,训练数据规模有限且多样性不足,常导致正常模式表征不完整。虽然测试时自适应可缓解此问题,但其仅关注测试阶段优化,忽略了与训练阶段学习的协同作用。此外,对未标注测试数据的盲目适应会引发异常污染,限制模型在正常与异常之间判别的能力。为此,本文提出风险感知的测试时自适应方法RTTAD,通过双阶段协同机制应对正常性偏移。训练阶段采用协同双任务学习捕捉多层次表示,建立稳健的正常先验;测试阶段引入测试时对比学习(TTCL)模块,通过选择高置信度伪正常样本进行模型更新,同时约束异常样本。此外,TTCL结合基于k近邻的对比目标,优化嵌入分布,进一步增强模型判别能力。在15个表格数据集上的大量实验表明,RTTAD在整体检测性能上达到当前最优水平。

原文摘要 · Abstract (English)

Unsupervised tabular anomaly detection methods typically learn feature patterns from normal samples during training and subsequently identify samples that deviate from these patterns as anomalies during testing. However, in practical scenarios, the limited scale and diversity of training data often lead to an incomplete characterization of normal patterns. While test-time adaptation offers a remedy, its isolated focus on test-time optimization ignores the critical synergy with training-phase learning. Furthermore, indiscriminate adaptation to unlabeled test data inevitably triggers anomaly contamination, preventing the model from fully realizing its discriminative capability between normal and anomalous samples. To address these issues, we propose RTTAD, a Risk-aware Test-time adaptation method for unsupervised Tabular Anomaly Detection. RTTAD holistically tackles normality shifts via a synergistic two-stage mechanism. During training, collaborative dual-task learning captures multi-level representations to establish a robust normal prior. During testing, a Test-Time Contrastive Learning (TTCL) module explicitly accounts for adaptation risk by selectively updating the model using high-confidence pseudo-normal samples while constraining anomalous ones. Additionally, TTCL incorporates a k-nearest neighbor-based contrastive objective to refine embedding distributions, thereby further enhancing the model's discriminative capacity. Extensive experiments on 15 tabular datasets demonstrate that RTTAD achieves state-of-the-art overall detection performance.

异常检测表格数据测试时自适应对比学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。