humanizer-bench: Auditable Evaluation of Human-AI Text Detection
Evaluating an AI-text detector requires more than comparing aggregate accuracy or AUROC. In practice, a detector's usefulness hinges on how often it falsely accuses human writers, whether its decision threshold holds up on new writing prompts, how it handles long documents, and whether apparent robustness to rewriting reflects genuine resilience or weak, meaning-distorting edits. We present humanizer-bench, a lightweight, standard-library Python evaluation library and companion archival workflow designed around explicit auditability contracts. The framework freezes generation outputs, shares byte-identical transformations across detectors, archives full-document chunk spans and scores, and supports hash-verified offline reanalysis without repeating model inference. We apply this workflow to source-based 10th-grade English essays from ASAP 2.0, separating one development prompt (Electoral College, 60 human essays) for empirical threshold selection from two held-out test prompts (Car-Free Cities and Exploring Venus). Across three open-weight generator families (Qwen3-8B, Mistral-7B, Gemma-2-9B) and four full-document adapted detectors (a Fast-DetectGPT surrogate, HC3 RoBERTa, RADAR, and Desklib), the study yields 4,800 document scores over 1,200 unique text instances under clean text, structural sentence merging, and strong cross-family paragraph rewriting (Llama-3.1-8B, median token dissimilarity 0.5900, zero empty rewrites). Three findings highlight why auditable evaluation matters. First, thresholds calibrated to a 5% empirical false-positive rate (FPR) on development essays drift substantially across same-grade prompts, reaching 18.3% for HC3 and 16.7% for RADAR on Exploring Venus. Second, once human FPR is controlled at this operating point, strong paragraph rewriting cuts RADAR's recall on Car-Free Cities from 64.4% to 25.0% (−39.4 pp), whereas HC3's recall on Gemma outputs jumps in the opposite direction from 3.3% to 70.0%. Desklib maintains 100% recall across all conditions (1.7% and 10.0% human FPR). Third, in a 20-case blinded author audit, only 7/20 rewrites preserved original meaning (8/20 minor drift, 5/20 major drift), yet major-drift passages still achieved a median MiniLM cosine similarity of 0.9521 and median fluency of 4/5. Finally, nested offline diagnostics demonstrate how relaxing operating-point, truncation, aggregation, or edit-intensity contracts produces misleading claims of robustness.
Authors
- Yifan Chen (ORCID: https://orcid.org/0009-0001-3250-3900)
Institutions
- De Anza College (US)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24671483
- Primary Topic
- Authorship Attribution and Profiling
- Type
- preprint