AAAI 2026technical0 citations

MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment

Shengchao Liu, Xiaoming Liu, Chengzhengxu Li, Zhaohan Zhang, Guoxin Ma, Yu Lan, Shuai Xiao

Abstract

Large Language Models have shown growing ability to generate fluent and coherent texts that are highly similar to the writing style of humans. Current detectors for Machine-Generated Text (MGT) perform well when they are trained and tested in the same domain but generalize poorly to unseen domains, due to domain shift between data from different sources. In this work, we propose MGT-Prism , an MGT detection method from the perspective of the frequency domain for better domain generalization. Our key insight stems from analyzing text representations in the frequency domain, where we observe consistent spectral patterns across diverse domains, while significant discrepancies in magnitude emerge between MGT and human-written texts (HWTs). The observation initiates the design of a low frequency domain filtering module for filtering out the document-level features that are sensitive to domain shift, and a dynamic spectrum alignment strategy to extract the task-specific and domain-invariant features for improving the detector

BibTeX
@inproceedings{aaai2026_mgtprismenhancin,
  title = {MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment},
  author = {Shengchao Liu and Xiaoming Liu and Chengzhengxu Li and Zhaohan Zhang and Guoxin Ma and Yu Lan and Shuai Xiao},
  booktitle = {AAAI 2026},
  year = {2026}
}
MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment · AAAI 2026