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

TripletAD:嵌入空间中针对稀有异常与稀缺标签的弱监督异常检测

TripletAD: Weakly Supervised Anomaly Detection in Embedding Space with Rare Anomalies and Scarce Labels

Dell Technologies(戴尔科技)

Sumit Wadhwa, Souvik Nath

AI总结:

TripletAD是一种弱监督异常检测方法,通过三元组间隔嵌入与双软惩罚项,在稀有异常、稀缺标签场景下,于24个ADBench等数据集上优于现有基线,性能表现突出。

摘要:

许多实际异常检测问题仅带有少量已确认的异常,而未经过审核的其余数据无法被视为正常。我们在精选标签协议下研究该场景,该协议会从训练集中移除未确认的异常,而非将其重新标记为正常;并提出TripletAD,这是一种弱监督检测器,它学习三元组间隔嵌入,并通过两个软惩罚项校准线性评分头:对已标记异常的部分交叉熵,以及分离异常样本与正常样本平均得分的相对对比铰链损失。由于每个挖掘出的三元组都包含一个已标记异常,因此少量标签会在整个训练集中被重复利用,而非被稀释。在24个ADBench数据集(输入为预训练嵌入,包括文本、图像和语音向量)上,当异常稀少时,TripletAD的性能优于现有最先进的弱监督检测器(DevNet、PReNet和DeepSAD)以及梯度提升树。在1%的异常率下,它在6种方法中具有最高的平均AUCPR,比DevNet高20%;在自然稀有的Speech数据集上,它的AUCPR是最佳基线的两倍(0.394 vs 0.196);在MVTec-AD上,当仅标记四分之一或一半的异常时,它表现最佳。在70个稀有或稀疏标签设置的汇总中,它具有最佳的平均排名(6种方法中的2.21),且在带有Holm校正的Wilcoxon符号秩检验中优于每个基线。当异常更频繁时,它的性能与这些方法相当。该方法无需针对每个数据集进行调整,且对其损失权重和训练时长不敏感;对于原始表格特征,梯度提升树仍是更优选择。

英文摘要:

As AI and agentic systems automate more processes with less human review, data is increasingly represented, and passed between systems, as embeddings produced by pre-trained models. Detecting rare deviations in these embeddings is becoming a critical guardrail, yet anomaly detection methods were largely developed for hand-built tabular features, where gradient-boosted trees remain the method of choice. We propose TripletAD, a weakly supervised detector for embedding spaces in which anomalies are rare. TripletAD learns a triplet-margin embedding in which every triplet contains an anomaly, so the few anomalies are reused across the entire training set instead of being diluted by it, and calibrates a linear scoring head with a partial cross-entropy on anomalies and a relative-contrast hinge that separates the mean scores of anomalous and normal samples. Across 28 embedding datasets spanning text, images, speech and industrial inspection, TripletAD is consistently among the best-performing methods, matching or exceeding established state-of-the-art weakly supervised detectors (DevNet, PReNet and DeepSAD), supervised contrastive learning and gradient-boosted trees, and it outperforms them when anomalies are rare. On naturally rare speech data it is 43% above the strongest baseline and more than twice the established detectors; at a 1% anomaly rate it has the highest mean AUCPR of seven methods, 20% above DevNet; and pooled over 74 rare-anomaly settings it has the best average rank, with statistically significant gains over every baseline. In a case study on AI-agent traces, it locates the failing step more often than all six baselines, with accuracy on par with or above that reported for frontier LLM judges, at 0.17 ms per step. The method needs no per-dataset tuning and is insensitive to its loss weights and training length.

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

↑