Skip to content

Building Auditable AI-Text Detectors with Sparse AutoencodersBuilding Auditable AI Text Detectors with Sparse Autoencoders

arXiv: Interpretability· arXiv:2610.30006· Liam Dugan, Callum McDougall, Matthew Denton, Philip Pham, Christine Kaeser-Chen, Chris Callison-BurchUniversity of Pennsylvania; Google DeepMindIndexed by this site · 2026-10-22· Originally publishedAlignment

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors convert a fine-tuned AI text detector into a classifier based on SAE interpretable features, claiming it surpasses neural and stylistic baselines on OOD.

Questions
AI text detectors are already used in high-stakes settings such as peer review and education, but the strongest fine-tuned neural classifiers make opaque decisions, while interpretable stylistic detectors have a large performance gap. The authors want the detector to both maintain neural model performance and provide human-readable, auditable grounds for its judgments.
Methods
Train or fine-tune a GemmaScope SAE on the residual streams at layers 7, 13, 17, and 22 of the detector (or the base gemma-2-2b), automatically generate feature descriptions with gemini-3.1-flash-lite and apply a global threshold filter by simulation score, then train an L1-regularized logistic regression on the retained features; predictions can list the features with the largest contributions and their descriptions.
Experiments and results
On COLING/RAID, the authors state that the AUC/F1 of FT-Model+SAE matches the underlying neural detector, while BASE-SAE and FT-SAE exceed baselines such as Binoculars on OOD data; on PRDB all trained classifiers are near perfect. The feature-level and document-level rewrite ablations are used by the authors as evidence for the faithfulness and completeness of feature descriptions.
Limitations and future work
The authors note that automatic interpretations are biased toward high recall and low precision, and that testing was done only on GemmaScope/gemma-2-2b, with no SAE trained on other base models. The experiments cover three datasets, COLING, RAID, and PRDB, and one backbone, gemma-2-2b; the paper does not report the number of repetitions or confidence intervals for the main results.
Experimental setupBASE-SAE、FT-SAE et al. · COLING shared task dataset、RAID et al. · AUC、F1 et al.
Evaluated models
BASE-SAEFT-SAEFT-Model+SAE
Benchmarks
COLING shared task datasetRAIDPRDB
Metrics
AUCF1TPR@5TPR@1ASRSpearman ρsimulation score
AI summaryThe researchers propose a pipeline that converts a fine-tuned neural AI-text detector into a classifier based on human-readable concepts. The pipeline trains a sparse autoencoder (SAE) directly on the detector's residual stream, generates automatic explanation labels for each feature, keeps only features whose descriptions pass a global fidelity threshold, and then trains a lightweight classifier using these interpretable features. The authors find that the SAE recovers latent concepts corresponding to highly specific, predictive linguistic cues of AI-generated text; the classifier built on this basis is not only highly interpretable but also outperforms neural classifiers and stylistic classifiers on out-of-distribution text. The paper notes that AI-text detectors are already used in peer review, education, admissions, journalism, and content moderation—scenarios that directly affect individuals—while the decisions of the strongest existing detectors are opaque, and transparent alternatives show a clear performance gap.

The researchers propose a pipeline that converts a fine-tuned neural AI-text detector into a classifier based on human-readable concepts. The pipeline trains a sparse autoencoder (SAE) directly on the detector's residual stream, generates automatic explanation labels for each feature, keeps only features whose descriptions pass a global fidelity threshold, and then trains a lightweight classifier using these interpretable features. The authors find that the SAE recovers latent concepts corresponding to highly specific, predictive linguistic cues of AI-generated text; the classifier built on this basis is not only highly interpretable but also outperforms neural classifiers and stylistic classifiers on out-of-distribution text. The paper notes that AI-text detectors are already used in peer review, education, admissions, journalism, and content moderation—scenarios that directly affect individuals—while the decisions of the strongest existing detectors are opaque, and transparent alternatives show a clear performance gap.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Turn an opaque high-performance AI text detector into a detector based on human-readable concepts that is auditable and maintains performance.

    Core problem: the strongest AI-generated text detectors are black boxes, while interpretable alternatives have a large performance gap; the authors want to make detectors both auditable and without sacrificing performance.

    • Application scenarios: the authors state that detectors are already used in peer review, education, admissions, news, and content moderation, scenarios that directly affect individuals, and that auditors need to be able to view the basis for decisions and stress-test detectors.
    • Shortcomings of existing methods: according to the paper, stylistic and linguistic-feature classifiers (such as the gram2vec type) are interpretable but lag in performance; fine-tuned neural classifiers are accurate but not inspectable; LIME/SHAP only give global token-level importance and do not explain why a token has predictive power.
    • Core observation: the authors follow the idea of using SAEs for hypothesis generation (Movva et al., 2025) and hold that SAEs can recover specific linguistic features ("tells") that have predictive power for AI text, and that these features can support a strong classifier.
    • Paper's approach: a four-stage pipeline—fine-tune a detection model, train an SAE on its residual stream, automatically interpret features and filter by a global simulation score threshold, and train an L1-regularized logistic regression on the retained features; each retained feature carries a natural-language description, and its contribution to the prediction can be listed one by one.
    • Threat model: this paper is not an attack/defense paper, but it includes an adversarial "humanizing rewrite" evaluation (§7.2):
      • Attacker goal: rewrite AI-generated documents so they are judged Human.
      • Attacker capability: rewrite with gemini-3.1-flash-lite, with an edit budget of a certain proportion of the document's word count (each prompt requires editing a smaller proportion; the main text refers to the <30% token)。
      • 知识设定:从通用改写提示到获得检测器特征清单与贡献的 SAE 引导提示,共 5 种条件。
      • 受害系统:作者构建的三种 SAE 检测器(τ > 0.85 logistic regression head).
  2. What related research exists?

    Related work is divided into four groups: interpretable AI detection, SAE feature classifiers, feature filtering, and using SAEs to interpret AI detectors.

    Interpretable AI detection

    • Early work was based on analysis of linguistic feature distributions (Fröhling and Zubiaga, 2021; Uchendu et al., 2020, etc.); later work added discourse features, dependency syntax, n-gram overlap, and ensembles (Kim et al., 2024; Ahmed and Hammond, 2026; Koike et al., 2026; Aityan et al., 2026). The paper notes that such detectors are overall inferior to black-box models and have limited generalization to adversarial or OOD inputs (citing Schuster et al., 2020).
    • Fine-tuned neural classifiers (Solaiman et al., 2019) and zero-shot likelihood methods (Mitchell et al., 2023; Hans et al., 2024) have strong in-distribution performance and generalize better than stylistic methods (citing Dugan et al., 2025).
    • Shah et al. (2023) and Schoenegger et al. (2026) use LIME/SHAP to explain neural detectors; the paper notes that these methods only give token-level importance and do not provide reasons for predictions, and claims that this paper is the first work to go beyond token attribution and build a fully interpretable detection system.

    Interpretable classifiers based on SAE features

    • L1-regularized linear classifiers (sparse probes) were proposed by Gurnee et al. (2023) and Gao et al. (2025) to measure monosemanticity; later work (Bricken et al., 2024; Kantamneni et al., 2025) states that they match but do not outperform dense probes. This paper follows the position of Peng et al. (2026): the main benefit of such classifiers is interpretability rather than accuracy.
    • SAE feature classifiers have been used for interpretable reward models, dense retrieval, hallucination detection, and LLM-as-judge (Zhang et al., 2026; Park et al., 2025; Xiong et al., 2026; Wedgwood et al., 2026). The paper notes that these works feed all SAE features directly into downstream classifiers without filtering high-density or polysemantic features, which harms the faithfulness of system-level explanations.

    Feature filtering

    • Kulkarni et al. (2026) propose removing the M least interpretable SAE features; the paper notes that this cannot guarantee that the remaining features are themselves interpretable, and claims that this paper is the first work to propose a global filtering threshold based on automatic interpretation scores.

    Using SAEs to interpret AI detection

    • Scher (2024) trains a lightweight classifier on SAE features of GPT-2 Small for AI detection, and Kuznetsov et al. (2025) analyze the co-occurrence of Gemma-2-2B SAE features with AI text. The paper notes that neither trains its own SAE on an AI detector nor evaluates the accuracy of feature descriptions; the authors claim that this paper is the first to train an SAE directly on an AI detector and the first to propose using these features as an interpretable AI detector.

    Baselines and benchmarks: the comparison baselines are gram2vec (stylistic), a fine-tuned gemma-2-2b (neural), and four off-the-shelf detectors Binoculars, Fast-DetectGPT, ReMoDetect, and SpecDetect; the benchmarks are the COLING shared task dataset, RAID (non-adversarial test set), and PRDB.

    The authors position this paper as: applying the "using SAEs for hypothesis generation" line of work to AI detection, while addressing the unfaithful explanations of previous SAE classifiers through global interpretability filtering.

  3. How does the paper address this problem?

    Train an SAE on the detector's residual stream, automatically interpret and filter features, then train an L1 logistic regression on the retained features.

    The overall idea is to "translate" a black-box detector into a linear classifier over a set of interpretable features with natural-language descriptions; the framework is built around Sparse Autoencoders + automatic explanation + global interpretability masking (Figure 2).

    Feature extraction and masking

    • Take residual-stream activations at layer ℓ ∈ L for the token sequence, pass them through the corresponding SAE encoder to obtain features, max-pool along the sequence dimension, and concatenate along the layer dimension to obtain a document feature vector h ∈ R^{|L|·d_SAE}; L = {7, 13, 17, 22} (following McDougall et al., 2025).
    • Use the automatic explanation pipeline to compute a simulation score si ∈ [−1, 1] for each feature, construct a binary mask m given a global threshold τ, with mi = I[si ≥ τ], and the masked features are hτ = h ⊙ m.
    • Train an L1-regularized logistic regression on hτ: L(β, λ) = 1/NBCE(y, σ(Hτ β)) + λ |β|1, i.e., binary cross-entropy with a sparsity penalty; at prediction time, list the top-k features with the largest net contribution and their descriptions as the explanation for each input.

    Automatic explanation (§4.2)

    • Description generation: split the training corpus into k quantile buckets by each feature's document-level maximum activation plus one non-activating bucket, stratified-sample N documents, truncate to around the highest-activation token, highlight tokens whose activation exceeds 10% of that feature's global maximum with angle brackets, and have gemini-3.1-flash-lite generate a description of no more than 20 words.
    • Description validation: use a quantile variant of the fuzzing of Paulo et al. (2025)—have the model predict, from the description alone, which quantile bucket each document came from, with si being the Spearman correlation between predicted and true quantile assignment; the generation stage uses 10 documents per feature.

    Models and training (§5.3, Appendices A/B)

    • Three conditions: BASE-SAE (use the pretrained GemmaScope SAE directly), FT-SAE (fine-tune the GemmaScope SAE to reconstruct the activations of the base gemma-2-2b on in-task data), and FT-Model+SAE (first fine-tune gemma-2-2b for detection, then fine-tune the SAE to reconstruct that detector's activations).
    • The SAE uses the JumpReLU architecture, width 16,384, sparsity coefficient 6×10⁻⁴, trained for 4 epochs, totaling 185 GPU hours (NVIDIA DGX B200); the logistic regression uses SGD+momentum, η = 3×10⁻², λ = 10⁻¹, 3 epochs, with λ chosen for a target of "30–100 non-zero features per document" (Appendix B.2).
    • Data: for the open domain, the COLING English train/dev sets (610k/261k documents) are used for training and in-distribution testing, with COLING devtest/test and the RAID non-adversarial test set for OOD; for the closed domain, PRDB (106,413 human peer reviews and paired AI text) is used, with training split into Human vs. GPT-4o and Human vs. Llama-3.1-70B groups.

    Faithfulness and completeness validation (§7)

    • Feature-level paraphrase ablation: for a single feature, have gemini-3.1-flash-lite paraphrase the document according to its description to remove that feature, and compare the correlation between the logit change caused by the paraphrase and the feature importance score; the sample is 500 human + 500 AI documents per dataset.
    • Document-level paraphrase ablation: apply adversarial humanization paraphrasing with 5 prompts (Baseline, Few Shot, Guided, SAE, SAE×3) to 2,500 AI documents and look at the flip rate; the authors use this to test whether the feature set covers the features the model uses for prediction.
    • Appendix D gives the full prompts used for description generation, validation, and paraphrasing.
  4. What experiments did the paper conduct?

    Compare three SAE detectors with baselines on COLING/RAID/PRDB, and use a two-level rewrite ablation to verify explanation faithfulness.

    Experimental setup

    • Systems tested: three conditions, BASE-SAE, FT-SAE, and FT-Model+SAE, all based on gemma-2-2b and GemmaScope SAEs (layers 7/13/17/22), each in two variants: no mask and τ > 0.7 mask.
    • Baselines: the neural baseline is fine-tuned gemma-2-2b (hf-gemma2/gemma-2-2b in the tables); the stylometric baseline is L1 logistic regression on gram2vec; off-the-shelf detectors are Binoculars, Fast-DetectGPT, ReMoDetect, and SpecDetect (zero-shot, not trained on COLING).
    • Datasets: COLING (train 610,767 / dev 261,758 / devtest 32,557 / test 73,941 documents), the RAID non-adversarial test set (56,000 documents), and PRDB (train 319,239 / test 171,837 documents) (Table 24).
    • Metrics: AUC, F1, TPR@5 (COLING/RAID, where RAID uses TPR@FPR=5%), and TPR@1 for PRDB; paraphrase ablations use ASR, Levenshtein edit distance (Lev), and Spearman ρ.
    • Decision method: detection decisions are given by the logistic regression score; document-level ablations use each detector's Youden threshold on the dev set (Appendix E.2); feature descriptions and paraphrases are produced by gemini-3.1-flash-lite.
    • Sample sizes: feature-level ablations use 500 human + 500 AI documents per dataset; document-level ablations use 2,500 AI documents per dataset (2,500 human fixed); main results do not report the number of repetitions.

    Main results

    According to Table 1 (F1 column, no mask / τ > 0.7 mask):

    Swipe horizontally to read the table

    ModelCOLING devCOLING devtestCOLING testRAID test
    gram2vec77.973.172.073.5
    gemma-2-2b (neural baseline)98.086.875.289.3
    BASE-SAE91.4 / 89.493.2 / 88.688.9 / 80.992.3 / 89.8
    FT-SAE92.6 / 91.093.5 / 94.292.2 / 92.291.8 / 91.7
    FT-Model+SAE97.5 / 96.886.6 / 84.876.1 / 75.492.5 / 93.2
    • The authors state that FT-Model+SAE matches the underlying neural detector in AUC and F1 on the three OOD splits, lagging only in the low false-positive rate region; performance is still recovered (or even improved) after the τ > 0.7 mask.
    • The authors state that BASE-SAE and FT-SAE exceed Binoculars and Fast-DetectGPT by about 8–12 F1 on OOD data, and cite Quaremba et al. (2026) to speculate that the base model has already learned linearly separable "AI text" features during pretraining; the authors leave this phenomenon for future work.
    • Exception: FT-Model+SAE clearly lags the two base-model systems on OOD (e.g., F1 on COLING test); the authors state that what is surprising is the strong performance of the base systems, not that FT-Model+SAE fails to surpass the model it was trained on.

    PRDB closed-domain results

    • Table 2: on the PRDB in-distribution test set, all trained classifiers (including gram2vec and the neural baseline) are near-perfect in AUC/F1/TPR@1 (mostly 99.4–100); the authors believe this suggests confounding or spurious features in the dataset that artificially simplify the task, and use it as an audit case.
    • Table 25: on PRDB held-out models, the GPT-4o-trained FT-Model+SAE has TPR@5 of 52.6 on Claude 3.5 Sonnet text (no mask); the authors state that the detector trained on Llama is overall worse on the three held-out models Qwen, Claude, and Gemini, and speculate this may be related to Llama sharing fewer specific stylistic tendencies with the other models.

    Paraphrase ablations (faithfulness and adversarial humanization)

    • Feature-level (Table 3): across 12 configurations, feature importance scores positively predict the logit effect of "paraphrasing to remove that feature"; on PRDB ρ = 0.69–0.81 with sign agreement 89–99%, and on COLING ρ = 0.36–0.62; the τ > 0.7 mask improves correlation (FT-Model+SAE on COLING 0.54 → 0.62, on PRDB 0.69 → 0.80).
    • Document-level (Figure 5, Table 23): Baseline paraphrasing flips at most 8.7% of documents and often 0%; SAE-guided prompts have higher flip rates than generic prompts under all conditions, with SAE×3 ASR of 60–100% (in Table 23, PRDB Llama head FT-Model+SAE is 97.1%), while edit distance stays within 40% of document tokens; the authors state this suggests the feature list is relatively complete with high recall, but it is not conclusive.
    • Exception: FT-SAE is relatively robust to SAE-guided attacks on PRDB (ASR 3.4% for one SAE paraphrase, 21.8% after three), which the authors explain as evidence being spread across about 150 base-model features, so a list of ten features does not cover it fully.

    Other ablations and analyses

    • XGBoost comparison (Table 22): XGBoost greatly improves gram2vec (e.g., COLING dev F1 77.9 → 87.1) but improves SAE features only slightly; the authors take this to mean SAE features are mostly linearly additive with negligible interaction terms.
    • SAE reconstruction quality (Table 6): the fine-tuned model's SAE has lower L0 and FVU than the base model's SAE (e.g., PRDB GPT-4o layer 22 L0 4.64, FVU 3.47%, versus COLING base layer 22 L0 73.97, FVU 13.8%), yet downstream detection performance is instead worse; the authors state this is consistent with Karvonen et al. (2025)'s finding that reconstruction metrics are uncorrelated with downstream performance.
    • Feature counts (Table 12): at τ > 0.7, each condition has about 11,000–43,000 interpretable features, but on average only about 42–116 non-zero-weight features per document participate in prediction.
    • Qualitative analysis (Table 4, 26–34): the most predictive AI features on PRDB are highly specific (e.g., "double colon after a bolded markdown section heading", appearing in 11 human vs 54,293 GPT-4o documents); human-side features are mostly stylistic (first person at sentence start, seem/seems, etc.); the authors state that BASE-SAE's top features are mostly topic and domain signals and may rely more on domain shortcuts.
  5. What are some points that can be further explored?

    The authors note two limitations: the high-recall bias of automatic interpretations and the single base model; the experiments cover three datasets and one backbone model.

    Limitations and future directions noted by the authors

    • Feature descriptions biased toward recall (Limitations): the automatic interpretation pipeline systematically produces high-recall, low-precision descriptions (citing Gao et al., 2025); in the authors' informal check, about half of the features received perfect descriptions (99.5+ F1), while the other half had varying degrees of recall bias. The authors consider better hard-negative sampling and synthetic data generation possible directions for improvement.
    • Tested on only a single base model (Limitations): only the GemmaScope SAE was fine-tuned; no SAE was trained on other base models. The authors state that future work should broaden the range of base models tested, especially regarding the behavior of the BASE-SAE and FT-SAE conditions.
    • Reasons for the strong performance of the base systems (§6): the authors leave further study of why BASE-SAE/FT-SAE are strong detectors to future work.
    • Review of feature legitimacy (§8, §9): which features should be used by detection systems remains undetermined; the authors state that future work could study adversarial hardening techniques based on this kind of unsupervised concept discovery.
    • Encouraged future directions (§9): the authors encourage future work to continue experimenting with using language model internal activations as input to AI detectors.

    Scope of experiments

    • The backbone model tested is a single one, gemma-2-2b; the SAE comes from GemmaScope and is fine-tuned on this basis (§5.3).
    • The evaluation datasets are three: COLING, RAID (non-adversarial test set), and PRDB; PRDB covers only the peer review domain, and RAID only its non-adversarial portion (§5.1, Table 24).
    • The adversarial evaluation covers only one type of attack, "humanizing rewrite"; the rewriting model is gemini-3.1-flash-lite, with 2,500 AI documents per dataset (§7.2).
    • Off-the-shelf baselines cover four: Binoculars, Fast-DetectGPT, ReMoDetect, and SpecDetect (§5.2).
    • The paper does not report the number of repetitions, confidence intervals, or statistical significance tests for the main results; the document-level ablation reports uncertainty estimates from 1,000 bootstrap runs (Appendix E.2).
  6. Summarize the main content of the paper

    Using SAEs to convert black-box AI detectors into interpretable classifiers, which the authors claim maintains performance and supports auditing and adversarial analysis.

    A methods and analysis paper on the interpretability of AI text detectors, whose goal is to convert a high-performing but opaque neural detector into an auditable detector based on human-readable concepts.

    • Problem: the authors state that detectors are already used in high-stakes settings such as reviewing and education, but fine-tuned neural classifiers are black boxes, stylometric detectors lag in performance, and LIME/SHAP give only token-level importance.
    • Method: train GemmaScope SAEs on the residual stream at layers 7/13/17/22 of gemma-2-2b (base or fine-tuned detector), automatically generate and validate feature descriptions with gemini-3.1-flash-lite, filter by a global simulation score threshold, and train an L1-regularized logistic regression; predictions can list the highest-contributing features and their descriptions.
    • Main results: on COLING/RAID, the authors state that FT-Model+SAE matches the underlying neural detector in AUC/F1 (e.g., COLING dev AUC 99.5, Table 1); BASE-SAE and FT-SAE exceed baselines such as Binoculars OOD (the authors state about 8–12 F1); on PRDB all trained classifiers are near-perfect, and the authors believe the task has confounding features.
    • Faithfulness evidence: in feature-level paraphrase ablations, importance correlates with paraphrase effect (PRDB ρ up to 0.81); in document-level adversarial humanization, SAE-guided paraphrasing has the highest flip rate (SAE×3 ASR 60–100%), which the authors state suggests the feature list is relatively complete but is not conclusive.
    • Qualitative findings: the most predictive features are often specific tokens or formatting markers (e.g., markdown double colons); the authors remain open on whether these count as spurious features, and call "auditing by feature, deciding case by case" a key capability of the system.
    • Limitations: the authors note that automatic explanations have a high-recall, low-precision bias, and that validation was done only on GemmaScope/gemma-2-2b, not extended to other base models.

Related papers

Read originalarxiv.org