English

Towards Token-Level Text Anomaly Detection

Computation and Language 2026-01-21 v1 Machine Learning

Abstract

Despite significant progress in text anomaly detection for web applications such as spam filtering and fake news detection, existing methods are fundamentally limited to document-level analysis, unable to identify which specific parts of a text are anomalous. We introduce token-level anomaly detection, a novel paradigm that enables fine-grained localization of anomalies within text. We formally define text anomalies at both document and token-levels, and propose a unified detection framework that operates across multiple levels. To facilitate research in this direction, we collect and annotate three benchmark datasets spanning spam, reviews and grammar errors with token-level labels. Experimental results demonstrate that our framework get better performance than other 6 baselines, opening new possibilities for precise anomaly localization in text. All the codes and data are publicly available on https://github.com/charles-cao/TokenCore.

Keywords

Cite

@article{arxiv.2601.13644,
  title  = {Towards Token-Level Text Anomaly Detection},
  author = {Yang Cao and Bicheng Yu and Sikun Yang and Ming Liu and Yujiu Yang},
  journal= {arXiv preprint arXiv:2601.13644},
  year   = {2026}
}

Comments

WWW 2026

R2 v1 2026-07-01T09:11:55.106Z