Enhancing Two Steps Textual Anomaly Detection through Anisotropy Mitigation
摘要
Anomaly detection aims at distinguishing between in-distribution samples, which belong to the same distribution as the training set, and out-of-distribution samples, which lie outside of it. In textual anomaly detection, recent approaches routinely apply anomaly detection algorithms directly to embeddings extracted from pre-trained embedding models (two-stage approaches). However, the geometric properties of pre-trained embeddings can hinder the effectiveness of detection algorithms, which often rely on distance-based measures. In this work, we first highlight the relevance of similaritytrained models for textual anomaly detection. Beyond being trained to capture semantic similarities, these models also exhibit geometric properties that appear better suited to detection algorithms. We further demonstrate that, besides model choice, a simple post-processing step can significantly improve anomaly detection by adapting embeddings to the assumptions made by classical detection algorithms. The bulk of our experiments is done on a reformulation of the classification tasks from the MTEB benchmark into anomaly detection tasks 1 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers 引用了 Unsupervised Cross-lingual Representation Learning at Scale
- SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 On the Sentence Embeddings from Pre-trained Language Models
它引用的 Paper13
- MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained TransformersWenhui Wang, Furu Wei, Li Dong, Hangbo Bao 等NeurIPS 2020 · 2,727 次引用
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
- Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary 等ACL 2020 · 539 次引用
- On the Sentence Embeddings from Pre-trained Language ModelsBohan Li, Hao Zhou, Junxian He, Mingxuan Wang 等EMNLP 2020 · 538 次引用
- LUNAR: Unifying Local Outlier Detection Methods via Graph Neural NetworksAdam Goodge, Bryan Hooi, See-Kiong Ng, Wee Siong NgAAAI 2022 · 144 次引用
相关 Paper
- Unsupervised Layer-Wise Score Aggregation for Textual OOD DetectionMaxime Darrin, Guillaume Staerman, Eduardo Dadalto Câmara Gomes, Jackie C. K. Cheung 等AAAI 2024 · 18 次引用
- Can LLMs Find a Needle in a Haystack? A Look at Anomaly Detection Language ModelingLeslie Barrett, Vikram Sunil Bajaj, Robert J. KinganEMNLP Findings 2025 · 1 次引用
- Text Anomaly Detection with Simplified Isolation KernelYang Cao, Sikun Yang, Yu-Jiu Yang, Lianyong Qi 等EMNLP Findings 2025 · 2 次引用
- Harnessing Large Language Models for Training-Free Video Anomaly DetectionLuca Zanella, Willi Menapace, Massimiliano Mancini, Yiming Wang 等CVPR 2024 · 57 次引用
- DE-CLIP: Few-Shot Anomaly Detection via Difference-Guided Embedding EditingYage Zhang, Yukun Jiang, Michael Backes, Yang ZhangACL 2026
