Threads of Subtlety: Detecting Machine-Generated Texts Through Discourse Motifs
<|reference_start|>Threads of Subtlety: Detecting Machine-Generated Texts Through Discourse Motifs: With the advent of large language models (LLM), the line between human-crafted and machine-generated texts has become increasingly blurred. This paper delves into the inquiry of identifying discernible and unique linguistic properties in texts that were written by humans, particularly uncovering the underlying discourse structures of texts beyond their surface structures. Introducing a novel methodology, we leverage hierarchical parse trees and recursive hypergraphs to unveil distinctive discourse patterns in texts produced by both LLMs and humans. Empirical findings demonstrate that, although both LLMs and humans generate distinct discourse patterns influenced by specific domains, human-written texts exhibit more structural variability, reflecting the nuanced nature of human writing in different domains. Notably, incorporating hierarchical discourse features enhances binary classifiers' overall performance in distinguishing between human-written and machine-generated texts, even on out-of-distribution and paraphrased samples. This underscores the significance of incorporating hierarchical discourse features in the analysis of text patterns. The code and dataset are available at https://github.com/minnesotanlp/threads-of-subtlety.<|reference_end|>
@article{kim2024threads,
    title={Threads of Subtlety: Detecting Machine-Generated Texts Through Discourse
  Motifs},
    author={Zae Myung Kim and Kwang Hee Lee and Preston Zhu and Vipul Raheja and
  Dongyeop Kang},
    journal={arXiv preprint arXiv:2402.10586},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.10586},
    primaryClass={cs.CL cs.AI}
}