cs.CLSep 25, 2026

Agents Can Use Base Models to Evade AI Detection

Authors: Bhuwan Dhingra, Danish Pruthi

Organizations: Duke University · Indian Institute of Science

Abstract

We show that coding agents equipped with a base language model can successfully assemble responses from its samples to evade detection. Base models have been shown to evade commercial detectors, however, prior "humanization" techniques rely on using these models to paraphrase AI outputs over several iterations, which invariably results in semantic drift. In contrast, equipping coding agents to directly orchestrate the writing process by stitching text samples from a base model allows it to produce outputs that are coherent, task-specific and generally high quality. We find that Claude Opus 5 operating in a Claude Code harness effectively orchestrates a local 32B parameter OLMo-2 base LM and sacrifices little task accuracy across benchmarks spanning creative writing, factual grounding, health QA and instruction following, while using up to 90% base LM tokens. Responses constructed in this manner reduce the effectiveness of both post-hoc detectors (Pangram v4 detection rate drops from 77% to 24%) and soft watermarking applied a priori to the agent's generations (down to a simulated 10% detection at low FPR). While effective, this evasion requires a significantly larger number of input and output tokens from the agent, increasing the dollar cost per query up to 30x at API-pricing. Overall, this work demonstrates the effectiveness of a new class of adversarial attacks against AI text detection, and urges post-hoc detection providers to include outputs of base models in their training.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Base Models Look Human To AI Detectors

    May 19, 2026Yixuan Even Xu, Ziqian Zhong, Aditi Raghunathan +2AI-Generated Text DetectionLanguage Model Generation Evaluation

  2. EASE: Entropy-Adaptive Distribution Shaping for Evading AI-generated Text Detectors

    Oct 7, 2026Jicheng Zhou, Kahim Wong, Jialong Wang +1Adversarial Text AttacksRobustness of Machine-Generated Text Detection

  3. READER: Reasoning-Enhanced AI-Generated Text Detection

    May 24, 2026Pingfan Su, Kai Ye, Shijin Gong +4AI-Generated Text DetectionLarge Language Model-Based Text Classification