On the Effectiveness of LLM-Specific Fine-Tuning for Detecting AI-Generated Text

Michał Gromadzki, Anna Wróblewska, Agnieszka Kaliska
1/27/2026
cs.CLcs.AI

No official code found. Best implementation: Michal1337/llm-ai-text-detection (1 star, last commit 2026-01-25).

Abstract

The rapid progress of large language models has enabled the generation of text that closely resembles human writing, creating challenges for authenticity verification in education, publishing, and digital security. Detecting AI-generated text has therefore become a crucial technical and ethical issue. This paper presents a comprehensive study of AI-generated text detection based on large-scale corpora and novel training strategies. We introduce a 1-billion-token corpus of human-authored texts spanning multiple genres and a 1.9-billion-token corpus of AI-generated texts produced by prompting a variety of LLMs across diverse domains. Using these resources, we develop and evaluate numerous detection models and propose two novel training paradigms: Per LLM and Per LLM family fine-tuning. Across a 100-million-token benchmark covering 21 large language models, our best fine-tuned detector achieves up to $99.6\%$ token-level accuracy, substantially outperforming existing open-source baselines.

View on arXivView PDF

Code Implementations(1)

On the Effectiveness of LLM-Specific Fine-Tuning for Detecting AI-Generated Text

10Shell, PythonJan 25, 20268 months ago

Similar Papers

Cite this paper

@article{gromadzki2026effectiveness,
  title  = {On the Effectiveness of LLM-Specific Fine-Tuning for Detecting AI-Generated Text},
  author = {Michał Gromadzki and Anna Wróblewska and Agnieszka Kaliska},
  year   = {2026},
  eprint = {2601.20006},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.20006v1}
}

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

Discussion