Text anomaly detection is a critical task in natural language processing (NLP), with applications spanning fraud detection, misinformation identification, spam detection and content moderation, etc. Despite significant advances in large language models (LLMs) and anomaly detection algorithms, the absence of standardized and comprehensive benchmarks for evaluating the existing anomaly detection 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 anomaly detection, leveraging embeddings from diverse pre-trained language models across a wide array of text datasets. Our work systematically evaluates the effectiveness of embedding-based text anomaly detection by incorporating (1) early language models (GloVe, BERT); (2) multiple LLMs (LLaMA-2, LLaMA-3, Mistral, OpenAI embedding models (small, ada, large)); (3) multi-domain text datasets (news, social media, scientific publications); (4) comprehensive evaluation metrics (AUROC, AUPRC). Our experiments reveal a critical empirical insight: embedding quality significantly governs anomaly detection efficacy, and deep learning-based approaches demonstrate no performance advantage over conventional shallow algorithms (e.g., 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 anomaly detection systems. Our code repository is at https://github.com/jicongfan/Text-Anomaly-Detection-Benchmark.
Mitigating Convergence Collapse in Fixed-Target Anomaly Detectors via Kernel-Anchored Locality Regularization
Université Paris-Saclay(巴黎-萨克雷大学);CNRS(法国国家科学研究中心);CentraleSupélec(中央理工-高等电力学院);LISN UMR 9015(数字科学跨学科实验室);Laboratoire Interdisciplinaire des Sciences du Numérique(数字科学跨学科实验室)
School of Computer Science, McGill University(麦吉尔大学计算机科学学院);Department of Physics, University of Montreal(蒙特利尔大学物理系);Mila - Quebec AI Institute(魁北克人工智能研究所)
Why Does Counterintuitive Likelihood Behavior Rarely Emerge in Tabular Anomaly Detection?
Department of Industrial Engineering, University of Yonsei, Republic of Korea, Seoul(延世大学工业工程系);H. Milton Stewart School of Industrial and Systems Engineering (ISyE), Georgia Institute of Technology, USA, GA(佐治亚理工学院H.米尔顿·斯图尔特工业与系统工程学院)
ICLAD: In-Context Learning for Unified Tabular Anomaly Detection Across Supervision Regimes
Department of Electrical and Computer Engineering, McGill University, Canada(麦吉尔大学电气与计算机工程系,加拿大);Mila - Quebec Artificial Intelligence Institute, Montreal, Canada(魁北克人工智能研究所,蒙特利尔,加拿大)
Scalable anomaly detection via a univariate Christoffel function
LAAS-CNRS(法国国家自动控制研究所);University of Toulouse(图卢兹大学);CNRS(国家科学研究中心);Faculty of Electrical Engineering, Czech Technical University in Prague(布拉格捷克技术大学电子工程系)
TAD-Bench: A Comprehensive Benchmark for Embedding-Based Text Anomaly Detection
School of Computing and Information Technology, Great Bay University(Great Bay大学计算机与信息学院);Great Bay Institute for Advanced Study, Great Bay University(Great Bay大学先进研究所);Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);D3 Center, Osaka University(大阪大学D3中心);School of Software, Nanjing University of Information Science and Technology(南京信息科学技术大学软件学院);College of Cyberspace Security, Zhengzhou University(郑州大学网络安全学院);School of Computer, Harbin Engineering University(哈尔滨工程大学计算机学院);School of IT, Deakin University(德金大学信息技术学院)
Topological Data Analysis for Anomaly Detection in Host-Based Logs
The Alan Turing Institute(艾伦·图灵研究所);The British Library(大英图书馆)
拓扑数据分析(TDA)使从业人员能够分析网络安全数据的全局结构。我们使用TDA在基于主机的日志中进行异常检测,这些日志是通过开源Logging Made Easy(LME)项目收集的。我们提出了一种方法,直接从Windows日志中建立单纯复合体的过滤,使其内在结构的分析,使用拓扑工具。我们比较持久的同源性和频谱图和超图拉普拉斯算子作为特征向量对标准日志嵌入计数事件的功效,并发现计算机日志的拓扑和频谱嵌入包含用于对异常日志进行分类的判别信息,该信息是标准嵌入的补充。最后,我们讨论了我们的方法被用作异常检测的一个可解释的框架的一部分的潜力。
Beyond a Single Perspective: Text Anomaly Detection with Multi-View Language Representations
School of Information and Communication Technology, Griffith University, Australia(信息与通信技术学院,格里菲斯大学,澳大利亚);School of Computer, Electronics and Information, Guangxi University, China(计算机、电子与信息学院,广西大学,中国)
DeNoise: Learning Robust Graph Representations for Unsupervised Graph-Level Anomaly Detection
School of Computer, Electronics and Information, Guangxi University(广西大学计算机电子信息学院);School of Computer Science and Technology, Hainan University(海南大学计算机科学与技术学院);Guangxi Key Laboratory of Multi-Source Information Mining & Security, Guangxi Normal University(广西多源信息挖掘与安全重点实验室)
COMET: Codebook-based Online-adaptive Multi-scale Embedding for Time-series Anomaly Detection
Department of Industrial Engineering, Seoul National University, Gwanak-ro 1, Gwanak-gu, Seoul, Republic of Korea;Department of Industrial \& Management Engineering, Korea University, 126-16 Anam-dong 5-ga, Seongbuk-gu, Seoul, Republic of Korea
VACE: Learning Geometrically Structured Representations for Time Series Anomaly Detection
Andalusian Research Institute in Data Science and Computational Intelligence (DaSCI)(安达卢西亚数据科学与计算智能研究 institute);Department of Computer Science and Artificial Intelligence (DECSAI), University of Granada(格拉纳达大学计算机科学与人工智能系)
Text Anomaly Detection with Simplified Isolation Kernel
School of Computing and Information Technology, Great Bay University(大湾大学计算机与信息科技学院);Great Bay Institute for Advanced Study, Great Bay University(大湾大学先进研究学院);Guangdong Provincial Key Laboratory of Mathematical and Neural Dynamical Systems(广东省数学与神经动力系统重点实验室);Dongguan Key Laboratory for Intelligence and Information Technology, China(东莞智能与信息技术重点实验室);Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);China University of Petroleum (East China), China(中国石油大学(华东));School of IT, Deakin University(德肯大学信息科技学院)
AnomalyLLM: Few-shot Anomaly Edge Detection for Dynamic Graphs using Large Language Models
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Beijing Institute of Technology(北京理工大学);Jinan University(暨南大学);Southeast University(东南大学)
TERGAD: Structure-Aware Text-Enhanced Representations for Graph Anomaly Detection
College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);School of Computer Science and Information Technology, Adelaide University(阿德莱德大学计算机科学与信息科技学院);School of Computing Technologies, RMIT University(皇家墨尔本理工大学计算技术学院);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)