Text-ADBench: Text Anomaly Detection Benchmark Based on LLM Embeddings.
Feng Xiao, Jicong Fan
Key points
From the paper's conclusion- This work performs a comprehensive empirical study and introduces a benchmark for text AD, leveraging embeddings from diverse pretrained language models across a wide array of text datasets.
Abstract
Text anomaly detection (AD) is a critical task in natural language processing (NLP), with applications spanning fraud detection, misinformation identification, spam detection, and content moderation, and so on. Despite significant advances in large language models (LLMs) and AD algorithms, the absence of standardized and comprehensive benchmarks for evaluating the existing AD methods on text data limits rigorous comparison and development of innovative approaches. This work performs a comprehensive empirical study and introduces a benchmark for text AD, leveraging embeddings from diverse pretrained language models across a wide array of text datasets. Our work systematically evaluates the effectiveness of embedding-based text AD by incorporating: 1) early language models (global vectors for word representation (GloVe), BERT); 2) multiple LLMs [LLaMA-2, LLaMA-3, Mistral, and OpenAI embedding models (small, ada, large)]; 3) multidomain text datasets (news, social media, and scientific publications); and 4) comprehensive evaluation metrics (AUROC, AUPRC). Our experiments reveal a critical empirical insight: embedding quality significantly governs AD efficacy, and deep-learning-based approaches demonstrate no performance advantage over conventional shallow algorithms (e.g., K-nearest neighbor (KNN), OCSVM) when leveraging LLM-derived embeddings. In addition, we observe strongly low-rank characteristics in cross-model performance matrices, which enables an efficient strategy for rapid model evaluation (or embedding evaluation) and selection in practical applications. Furthermore, by open-sourcing our benchmark toolkit that includes all embeddings from different models and code, this work provides a foundation for future research in robust and scalable text AD systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- f-Divergence Self-Play for Tabular Anomaly Detection via Large Language ModelsarXiv · 2026
- Detecting Behavioral Anomalies in LLM Response Sequences: A Leakage-Free Benchmark and Comparative Study of Predictive, Distance, and Change-Point Detectors.Entropy (Basel, Switzerland) · 2026
- A Measurement Perspective on Benchmarking LLM-Generated Text Detectors using Item Response TheoryarXiv · 2026
- LLM-Generated Feature Pools for Time Series Anomaly DetectionarXiv · 2026
- FIBER: Bayesian Fusion of Fast-DetectGPT and IRT-Informed Detector Evidence for LLM-Generated Text DetectionarXiv · 2026
- Autoregressive Multimodal Anomaly Detection with Large Language Models for Microservice SystemsarXiv · 2026