Few-shot Anomaly Detection in Text with Deviation Learning
Not on the map. Why?
Abstract (arXiv)
Most current methods for detecting anomalies in text concentrate on constructing models solely relying on unlabeled data. These models operate on the presumption that no labeled anomalous examples are available, which prevents them from utilizing prior knowledge of anomalies that are typically present in small numbers in many real-world applications. Furthermore, these models prioritize learning feature embeddings rather than optimizing anomaly scores directly, which could lead to suboptimal anomaly scoring and inefficient use of data during the learning process. In this paper, we introduce FATE, a deep few-shot learning-based framework that leverages limited anomaly examples and learns anomaly scores explicitly in an end-to-end method using deviation learning. In this approach, the anomaly scores of normal examples are adjusted to closely resemble reference scores obtained from a prior distribution. Conversely, anomaly samples are forced to have anomalous scores that considerably deviate from the reference score in the upper tail of the prior. Additionally, our model is optimized to learn the distinct behavior of anomalies by utilizing a multi-head self-attention layer and multiple instance learning approaches. Comprehensive experiments on several benchmark datasets demonstrate that our proposed approach attains a new level of state-of-the-art performance.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 19 of its 38 references that are in the map. First posted on arXiv 22 Aug 2023.
Builds on
19 of 38 references.
References · 19
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2018Real-world Anomaly Detection in Surveillance Videoscited by 577
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2017A Structured Self-attentive Sentence Embeddingcited by 318
- 2019Deep Semi-Supervised Anomaly Detectioncited by 291
- 2021Weakly-supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learningcited by 230
- 2019Deep Anomaly Detection with Deviation Networkscited by 153
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2014Toward Supervised Anomaly Detectioncited by 73
7 more
- 2021Explainable Deep Few-shot Anomaly Detection with Deviation Networkscited by 69
- 2021Towards Few-Shot Fact-Checking via Perplexitycited by 63
- 2019Likelihood Ratios and Generative Classifiers for Unsupervised Out-of-Domain Detection In Task Oriented Dialogcited by 33
- 2021DATE: Detecting Anomalies in Text via Self-Supervision of Transformerscited by 25
- 2018Classifying Idiomatic and Literal Expressions Using Topic Models and Intensity of Emotionscited by 13
- 2022Multi-Level Knowledge Distillation for Out-of-Distribution Detection in Textcited by 11
- 2022Self-Supervised Losses for One-Class Textual Anomaly Detectioncited by 5
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 5.
11 papers.
- 2024NLP-ADBench: NLP Anomaly Detection Benchmarkcited by 17
- 2025Text Anomaly Detection with Simplified Isolation Kernelcited by 5
- 2024Adaptive Deviation Learning for Visual Anomaly Detection with Data Contaminationcited by 4
- 2026Beyond a Single Perspective: Text Anomaly Detection with Multi-View Language Representationscited by 3
- 2024A Robust Autoencoder Ensemble-Based Approach for Anomaly Detection in Textcited by 1
- 2025Text-ADBench: Text Anomaly Detection Benchmark Based on LLM Embeddingscited by 1
- 2025Good Enough to Learn: LLM-based Anomaly Detection in ECU Logs without Reliable Labelscited by 0
- 2026Multi-Cue Anomaly Detection and Localization under Data Contaminationcited by 0
- 2026Masked Diffusion Modeling for Anomaly Detectioncited by 0
- 2026SIM: Subspace Interaction-based Method for Token-Level Text Anomaly Detectioncited by 0
- 2026DiFA: Dual Evidence Fusion and Aggregation for Token-Level Text Anomaly Detectioncited by 0
- 2026SIM: Subspace Interaction-based Method for Token-Level Text Anomaly Detection8 Sep 2026
- 2026DiFA: Dual Evidence Fusion and Aggregation for Token-Level Text Anomaly Detection24 Aug 2026
- 2026Masked Diffusion Modeling for Anomaly Detection28 May 2026
- 2026Multi-Cue Anomaly Detection and Localization under Data Contamination30 Jan 2026
- 2026Beyond a Single Perspective: Text Anomaly Detection with Multi-View Language Representations25 Jan 2026
- 2025Text Anomaly Detection with Simplified Isolation Kernel15 Oct 2025
- 2025Text-ADBench: Text Anomaly Detection Benchmark Based on LLM Embeddings16 Jul 2025
- 2025Good Enough to Learn: LLM-based Anomaly Detection in ECU Logs without Reliable Labels1 Jul 2025
- 2024NLP-ADBench: NLP Anomaly Detection Benchmark6 Dec 2024
- 2024Adaptive Deviation Learning for Visual Anomaly Detection with Data Contamination14 Nov 2024
- 2024A Robust Autoencoder Ensemble-Based Approach for Anomaly Detection in Text16 May 2024