Papers
Topics
Authors
Recent
Search
2000 character limit reached

Breaking the Generator Barrier: Disentangled Representation for Generalizable AI-Text Detection

Published 15 Apr 2026 in cs.CL | (2604.13692v1)

Abstract: As LLMs generate text that increasingly resembles human writing, the subtle cues that distinguish AI-generated content from human-written content become increasingly challenging to capture. Reliance on generator-specific artifacts is inherently unstable, since new models emerge rapidly and reduce the robustness of such shortcuts. This generalizes unseen generators as a central and challenging problem for AI-text detection. To tackle this challenge, we propose a progressively structured framework that disentangles AI-detection semantics from generator-aware artifacts. This is achieved through a compact latent encoding that encourages semantic minimality, followed by perturbation-based regularization to reduce residual entanglement, and finally a discriminative adaptation stage that aligns representations with task objectives. Experiments on MAGE benchmark, covering 20 representative LLMs across 7 categories, demonstrate consistent improvements over state-of-the-art methods, achieving up to 24.2% accuracy gain and 26.2% F1 improvement. Notably, performance continues to improve as the diversity of training generators increases, confirming strong scalability and generalization in open-set scenarios. Our source code will be publicly available at https://github.com/PuXiao06/DRGD.

Authors (5)

Summary

  • The paper introduces a dual-bottleneck encoding framework that disentangles semantic cues from generator-specific artifacts, achieving up to 26.2% F1 improvement.
  • It employs progressive cross-view regularization and discriminator-guided adaptation to enforce robust separation of features under generator shifts.
  • The framework demonstrates scalability and resilience under adversarial conditions, suggesting potential for continuous deployment in dynamic environments.

Disentangled Representation Learning for Generalizable AI-Text Detection

Motivation and Problem Statement

With the advent of increasingly sophisticated LLMs, distinguishing AIGT from human-written text poses a persistent challenge, especially under rapidly evolving unseen generator distributions. Existing approaches relying on generator-specific artifacts are highly brittle, often exhibiting poor generalization and robustness as new generators emerge. The central research problem is to enable AIGT detection that is resilient to generator shiftโ€”distinguishing semantic cues of AI-generated text independently from generator-specific patterns.

Methodological Framework

The proposed framework achieves semantic disentanglement via a progressive, modular pipeline:

  • Dual-Bottleneck Encoding: Two parallel encoders enforce compact, task-aligned latent representations, based on the IB principle. The AI-detection branch isolates semantic cues relevant for distinguishing AI-generated text, while the generator-aware branch captures generator-specific artifacts. KL regularization aligns each latent with learnable priors, minimizing redundancy.
  • Cross-View Regularization: Residual entanglement is disrupted via controlled cross-branch perturbations. Generator-aware features are injected into AI-detection vectors, simulating semantic noise; similarly, generator-aware branches are perturbed by AI-detection features. This operation increases independence between branches and enhances robustness to distributional shifts.
  • Discriminator-Guided Adaptation: A final adaptation stage employs frozen discriminators. Branch encoders are updated to maximize task-aligned predictions in their own classifiers while minimizing information available to the opposite branch via GRL, further purifying disentangled features. Figure 1

    Figure 1: The framework integrates compact dual-bottleneck encoding, cross-view regularization, and discriminator-guided adaptation for modular semantic disentanglement.

This structured design delivers generator-invariant AI-detection features and generator-aware auxiliary features, tailored for robust and interpretable AIGT classification.

Experimental Analysis and Results

Cross-Generator Generalization

The framework is evaluated on the MAGE benchmark, spanning 20 LLMs from 7 generator families. The leave-one-generator-out protocol tests detection on completely unseen generators. The model achieves consistent improvements in accuracy and F1F_1 measure across all held-out generator categories, with up to 24.2% accuracy and 26.2% F1F_1 increase over leading alternatives. Figure 2

Figure 2: On unseen OPT generators, the proposed method achieves the strongest accuracy/efficiency tradeoff, with performance improving as training generator diversity increases.

Generalization gains are especially pronounced when training on diverse generators, confirming that diversityโ€”not volumeโ€”is the primary driver of robustness. The impact of increased generator diversity is quantified, showing robust scalability across open-set conditions.

Visualization of Disentangled Feature Spaces

Progressive t-SNE projections illustrate the incremental effects of model components. The baseline BERT collapses feature space, entangling unseen generator samples. Dual-bottleneck encoding compacts clusters and reduces generator noise; cross-view regularization smooths inter-class boundaries; adaptation yields clear humanโ€“AI separation and generator-invariant alignment. Figure 3

Figure 3: Cumulative t-SNE projections reveal enhanced compactness, clearer humanโ€“AI separation, and generator-invariant alignment as disentanglement modules are added.

Robustness Studies

Perturbation-based regularization provides marked resilience to word-level noise and adversarial attacks compared to BERT and SCRN baselines. Under both structured generator-style perturbations and Gaussian noise, accuracy drops are minimized, and attack success rates are reduced. Figure 4

Figure 4: Perturbation regularization substantially increases classification robustness under both structured and random noise.

Intra-class compactness improves with adaptation, as measured by multiple clustering metrics. Figure 5

Figure 5: Adaptation stage consistently reduces intra-class dispersion, yielding task-aligned compact feature clusters.

Module Ablations and Feature Analysis

Ablation studies demonstrate additive gains from dual-bottleneck encoding, regularization, and adaptation. DB encoding delivers the greatest improvement by suppressing generator noise. Feature visualization shows that DB encoding attenuates generator bias, yielding compact and generator-invariant AI-detection features. Figure 6

Figure 6: DB encoding filters generator bias in generator-aware branches, yielding compact and semantically pure representations.

Implications and Future Directions

The disentangled representation approach establishes a scalable methodology for open-set AIGT detection. The strong empirical gains and modular design suggest broad applicability in settings where distributional shifts are pervasive and generator artifacts are unreliable. Theoretically, this work highlights the utility of progressive disentanglement, adversarial adaptation, and perturbation-based independence enforcement for generalization under semantic shifts.

Practically, the framework's adaptability is relevant for continuous deployment as new generator models emerge. However, uncertainty remains regarding interpretability of learned features and robustness against adaptive attacks. Further work is needed to pinpoint specific linguistic markers and optimize hyperparameters for stable performance in dynamic environments. Figure 7

Figure 7: Across LLaMA, OPT, and FLAN-T5, disentanglement yields improved humanโ€“AI separation and explicit generator isolation, mitigating generator bias.

Conclusion

By progressively disentangling AI-detection cues from generator-aware artifacts, the proposed framework achieves superior cross-generator generalization and robustness in AI-text detection tasks. The modular approach delivers semantic purity, compactness, and resilience, positioning it as a highly effective solution to the generator shift challenge in AIGT detection (2604.13692).

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.