Can We Trust LLM Detectors?

Jivnesh Sandhan, Harshit Jaiswal, Fei Cheng, Yugo Murawaki
1/9/2026
cs.CLcs.AI

Official code: HARSHITJAIS14/DetectAI (0 stars, last commit 2026-01-31).

Abstract

The rapid adoption of LLMs has increased the need for reliable AI text detection, yet existing detectors often fail outside controlled benchmarks. We systematically evaluate 2 dominant paradigms (training-free and supervised) and show that both are brittle under distribution shift, unseen generators, and simple stylistic perturbations. To address these limitations, we propose a supervised contrastive learning (SCL) framework that learns discriminative style embeddings. Experiments show that while supervised detectors excel in-domain, they degrade sharply out-of-domain, and training-free methods remain highly sensitive to proxy choice. Overall, our results expose fundamental challenges in building domain-agnostic detectors. Our code is available at: https://github.com/HARSHITJAIS14/DetectAI

View on arXivView PDF

Code Implementations(1)

00Jupyter NotebookJan 8, 20268 months ago

Cite this paper

@article{sandhan2026trust,
  title  = {Can We Trust LLM Detectors?},
  author = {Jivnesh Sandhan and Harshit Jaiswal and Fei Cheng and Yugo Murawaki},
  year   = {2026},
  eprint = {2601.15301},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.15301v2}
}

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

Discussion