arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.14231cs.CL
收藏

揭示大语言模型生成文本:一种多层次细粒度检测框架

Unveiling Large Language Models Generated Texts: A Multi-Level Fine-Grained Detection Framework

School of Information, Renmin University of China(中国人民大学信息学院);Institute for Advanced Algorithms Research, Shanghai(上海高级算法研究院);School of Information Technology and Management, University of International Business and Economics(对外经济贸易大学信息技术与管理学院);Shanghai University of Finance and Economics(上海财经大学)

Zhen Tao, Zhiyu Li, Runyu Chen, Dinghao Xi, Wei Xu

AI总结:

本文提出多层次细粒度检测框架MFD,融合结构、语义和语言特征并进行句子级分析,通过对比学习和LLM深层特征提取提升检测鲁棒性与泛化能力,在公开数据集上以88.56%准确率超越现有方法。

摘要:

大语言模型(LLMs)通过增强语法纠正、内容扩展和风格润色,已经改变了人类写作方式。然而,它们的广泛使用引发了关于作者身份、原创性和伦理的担忧,甚至可能威胁学术诚信。现有的检测方法主要依赖单一特征分析和二分类,往往难以在学术语境中有效识别LLM生成的文本。为应对这些挑战,我们提出了一种新颖的多层次细粒度检测(MFD)框架,该框架通过整合低层结构特征、高层语义特征和深层语言特征来检测LLM生成的文本,同时对词汇、语法和句法进行句子级评估,以实现全面分析。为了提高对LLM生成文本中细微差异的检测能力并增强对改写攻击的鲁棒性,我们应用两种主流的规避技术对文本进行改写。这些变体与原始文本一起,通过对比学习训练文本编码器,提取句子的高层语义特征,以提升检测泛化能力。此外,我们利用先进的大语言模型分析整篇文本并提取深层语言特征,增强模型捕捉复杂模式和细微差别的能力,同时有效融入上下文信息。在公开数据集上的大量实验表明,MFD模型优于现有方法,平均绝对误差(MAE)达到0.1346,准确率达到88.56%。我们的研究为机构和出版商提供了一种有效的机制来检测LLM生成的文本,降低作者身份受损的风险。教育工作者和编辑可以利用该模型的预测来完善验证和防抄袭流程,确保符合标准。

英文摘要:

Large language models (LLMs) have transformed human writing by enhancing grammar correction, content expansion, and stylistic refinement. However, their widespread use raises concerns about authorship, originality, and ethics, even potentially threatening scholarly integrity. Existing detection methods, which mainly rely on single-feature analysis and binary classification, often fail to effectively identify LLM-generated text in academic contexts. To address these challenges, we propose a novel Multi-level Fine-grained Detection (MFD) framework that detects LLM-generated text by integrating low-level structural, high-level semantic, and deep-level linguistic features, while conducting sentence-level evaluations of lexicon, grammar, and syntax for comprehensive analysis. To improve detection of subtle differences in LLM-generated text and enhance robustness against paraphrasing, we apply two mainstream evasion techniques to rewrite the text. These variations, along with original texts, are used to train a text encoder via contrastive learning, extracting high-level semantic features of sentence to boost detection generalization. Furthermore, we leverage advanced LLM to analyze the entire text and extract deep-level linguistic features, enhancing the model's ability to capture complex patterns and nuances while effectively incorporating contextual information. Extensive experiments on public datasets show that the MFD model outperforms existing methods, achieving an MAE of 0.1346 and an accuracy of 88.56%. Our research provides institutions and publishers with an effective mechanism to detect LLM-generated text, mitigating risks of compromised authorship. Educators and editors can use the model's predictions to refine verification and plagiarism prevention protocols, ensuring adherence to standards.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑