mlsanityData to 24 Nov 2026

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

arXiv 2611.10352 ↗Submitted 7 Nov 2026cs.LGcited by 0

New in LLM agents and tool use; no direction yet. LLM agents and tool use

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 16 of its 30 references that are in the map. Submitted 7 Nov 2026.

Builds on

16 of 30 references.

References · 16

  1. 2015Deep Residual Learning for Image Recognitioncited by 53,116
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
  3. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,168
  4. 2020Supervised Contrastive Learningcited by 2,929
  5. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,905
  6. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 809
  7. 2021Revisiting Deep Learning Models for Tabular Datacited by 772
  8. 2014Deep metric learning using Triplet networkcited by 425
  9. 2019Deep Semi-Supervised Anomaly Detectioncited by 299
  10. 2022ADBench: Anomaly Detection Benchmarkcited by 242
  11. 2018Learning from positive and unlabeled data: a surveycited by 229
  12. 2019Deep Anomaly Detection with Deviation Networkscited by 158
4 more
  1. 2019Deep Weakly-supervised Anomaly Detectioncited by 61
  2. 2024Multi-Sensor Object Anomaly Detection: Unifying Appearance, Geometry, and Internal Propertiescited by 27
  3. 2024NLP-ADBench: NLP Anomaly Detection Benchmarkcited by 19
  4. 2023Unraveling the "Anomaly" in Time Series Anomaly Detection: A Self-supervised Tri-domain Solutioncited by 13

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Few-Shot Anomaly-Driven Generation for Anomaly Classification and Segmentation
  2. 2026AnomalyAgent: Training-Free Agentic Models for Zero-/Few-Shot Anomaly Detection
  3. 2026Structured Evidence Selection for Weakly Supervised Video Anomaly Detection
  4. 2022Anomaly Detection via Reverse Distillation from One-Class Embedding
  5. 2026Mitigating Convergence Collapse in Fixed-Target Anomaly Detectors via Kernel-Anchored Locality Regularization
  6. 2026Representation--Behavior Alignment for Explainable Weakly-Supervised Video Anomaly Detection
  7. 2026AnomalyJev: Towards Evaluating Image Anomaly Explanations via Claim-Level Verification
  8. 2025LLM as an Algorithmist: Enhancing Anomaly Detectors via Programmatic Synthesis