Beyond a Single Perspective: Text Anomaly Detection with Multi-View Language Representations

Yixin Liu, Kehan Yan, Shiyuan Li, Qingfeng Chen, Shirui Pan
1/25/2026
cs.CLcs.LG

Official code: yankehan/MCA2 (7 stars, Apache-2.0, last commit 2026-01-28).

Abstract

Text anomaly detection (TAD) plays a critical role in various language-driven real-world applications, including harmful content moderation, phishing detection, and spam review filtering. While two-step "embedding-detector" TAD methods have shown state-of-the-art performance, their effectiveness is often limited by the use of a single embedding model and the lack of adaptability across diverse datasets and anomaly types. To address these limitations, we propose to exploit the embeddings from multiple pretrained language models and integrate them into $MCA^2$, a multi-view TAD framework. $MCA^2$ adopts a multi-view reconstruction model to effectively extract normal textual patterns from multiple embedding perspectives. To exploit inter-view complementarity, a contrastive collaboration module is designed to leverage and strengthen the interactions across different views. Moreover, an adaptive allocation module is developed to automatically assign the contribution weight of each view, thereby improving the adaptability to diverse datasets. Extensive experiments on 10 benchmark datasets verify the effectiveness of $MCA^2$ against strong baselines. The source code of $MCA^2$ is available at https://github.com/yankehan/MCA2.

View on arXivView PDF

Code Implementations(1)

yankehan/MCA2Official100%
Apache-2.0

MCA^2 is a two-stage anomaly detection model for multi-view representations.

71PythonJan 25, 20268 months agoApache-2.0

Cite this paper

@article{liu2026beyond,
  title  = {Beyond a Single Perspective: Text Anomaly Detection with Multi-View Language Representations},
  author = {Yixin Liu and Kehan Yan and Shiyuan Li and Qingfeng Chen and Shirui Pan},
  year   = {2026},
  eprint = {2601.17786},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.17786v1}
}

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/2601.17786.svg)](https://codeofpaper.com/paper/2601.17786)

Discussion