mlsanityData to 14 Oct 2026

Few-shot Anomaly Detection in Text with Deviation Learning

arXiv 2308.11780 ↗First posted 22 Aug 2023cs.LG cs.CLcited by 11

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  4. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  5. 2018Real-world Anomaly Detection in Surveillance Videoscited by 577
  6. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  7. 2017A Structured Self-attentive Sentence Embeddingcited by 318
  8. 2019Deep Semi-Supervised Anomaly Detectioncited by 291
  9. 2021Weakly-supervised Video Anomaly Detection with Robust Temporal Feature Magnitude Learningcited by 230
  10. 2019Deep Anomaly Detection with Deviation Networkscited by 153
  11. 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
  12. 2014Toward Supervised Anomaly Detectioncited by 73
7 more
  1. 2021Explainable Deep Few-shot Anomaly Detection with Deviation Networkscited by 69
  2. 2021Towards Few-Shot Fact-Checking via Perplexitycited by 63
  3. 2019Likelihood Ratios and Generative Classifiers for Unsupervised Out-of-Domain Detection In Task Oriented Dialogcited by 33
  4. 2021DATE: Detecting Anomalies in Text via Self-Supervision of Transformerscited by 25
  5. 2018Classifying Idiomatic and Literal Expressions Using Topic Models and Intensity of Emotionscited by 13
  6. 2022Multi-Level Knowledge Distillation for Out-of-Distribution Detection in Textcited by 11
  7. 2022Self-Supervised Losses for One-Class Textual Anomaly Detectioncited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 5.

11 papers.