arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.12064cs.CLcs.AI
收藏

使用基于 GLTR 的方法检测 AI 生成文本

AI-generated Text Detection with a GLTR-based Approach

Universidad Carlos III de Madrid(马德里卡洛斯三世大学)

Lucía Yan Wu, Isabel Segura-Bedmar

AI总结:

本文在 IberLef-AuTexTification 2023 任务中改进基于 GLTR 的 GPT-2 检测方法,用于识别英语和西班牙语 AI 生成文本,英语宏 F1 达 80.19%。

摘要:

LLM(大语言模型)的兴起推动了前沿 NLP 应用性能的提升与发展。然而,当这些模型被恶意使用时,也会带来风险,例如传播假新闻和有害内容、冒充个人,或助长学校剽窃等。这是因为 LLM 能够生成高质量文本,而这些文本很难与人类撰写的文本区分开来。GLTR 全称为 Giant Language Model Test Room,由 MIT-IBM Watson AI Lab 与 HarvardNLP 联合开发,是一种旨在帮助检测基于 GPT-2 的机器生成文本的可视化工具,它会根据文本中的词语由机器生成的概率对这些词语进行高亮显示。GLTR 的一个局限是,其返回的结果有时可能含糊不清并造成困惑。本研究旨在 IberLef-AuTexTification 2023 共享任务背景下,针对英语和西班牙语两种语言,探索提升 GLTR 在检测 AI 生成文本方面有效性的多种方式。实验结果表明,我们基于 GLTR 的 GPT-2 模型在英语数据集上以 80.19% 的宏 F1 分数超过了现有最先进模型,但排名第一的模型(80.91%)除外。然而,在西班牙语数据集上,我们获得了 66.20% 的宏 F1 分数,与表现最佳的模型相差 4.57%。

英文摘要:

The rise of LLMs (Large Language Models) has contributed to the improved performance and development of cutting-edge NLP applications. However, these can also pose risks when used maliciously, such as spreading fake news, harmful content, impersonating individuals, or facilitating school plagiarism, among others. This is because LLMs can generate high-quality texts, which are challenging to differentiate from those written by humans. GLTR, which stands for Giant Language Model Test Room and was developed jointly by the MIT-IBM Watson AI Lab and HarvardNLP, is a visual tool designed to help detect machine-generated texts based on GPT-2, that highlights the words in text depending on the probability that they were machine-generated. One limitation of GLTR is that the results it returns can sometimes be ambiguous and lead to confusion. This study aims to explore various ways to improve GLTR's effectiveness for detecting AI-generated texts within the context of the IberLef-AuTexTification 2023 shared task, in both English and Spanish languages. Experiment results show that our GLTR-based GPT-2 model overcomes the state-of-the-art models on the English dataset with a macro F1-score of 80.19%, except for the first ranking model (80.91%). However, for the Spanish dataset, we obtained a macro F1-score of 66.20%, which differs by 4.57% compared to the top-performing model.

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

↑