Anomaly Detection in Human Language via Meta-Learning: A Few-Shot Approach

Saurav Singla, Aarav Singla, Advik Gupta, Parnika Gupta
7/26/2025
cs.CLcs.AI

No confident code implementation found for this paper. 9 possible matches can be shown below.

Abstract

We propose a meta learning framework for detecting anomalies in human language across diverse domains with limited labeled data. Anomalies in language ranging from spam and fake news to hate speech pose a major challenge due to their sparsity and variability. We treat anomaly detection as a few shot binary classification problem and leverage meta-learning to train models that generalize across tasks. Using datasets from domains such as SMS spam, COVID-19 fake news, and hate speech, we evaluate model generalization on unseen tasks with minimal labeled anomalies. Our method combines episodic training with prototypical networks and domain resampling to adapt quickly to new anomaly detection tasks. Empirical results show that our method outperforms strong baselines in F1 and AUC scores. We also release the code and benchmarks to facilitate further research in few-shot text anomaly detection.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 9 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{singla2025anomaly,
  title  = {Anomaly Detection in Human Language via Meta-Learning: A Few-Shot Approach},
  author = {Saurav Singla and Aarav Singla and Advik Gupta and Parnika Gupta},
  year   = {2025},
  eprint = {2507.20019},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.20019v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.20019.svg)](https://codeofpaper.com/paper/2507.20019)

Discussion