arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.05157cs.CLcs.AI
收藏

基于指令微调大语言模型与Transformer模型的人工智能生成文本检测

AI Generated Text Detection Using Instruction Fine-tuned Large Language and Transformer-Based Models

Enterprise Risk Services India Private Limited, India

Chinnappa Guggilla, Budhaditya Roy, Trupti Ramdas Chavan, Abdul Rahman, Edward Bowen

AI总结:

本文通过微调GPT_4o-mini、LLaMA 3 8B和BERT模型,解决区分人类与机器生成文本(Task-A)及识别具体生成模型(Task-B)的问题,其中GPT_4o-mini和BERT在Task-A上取得0.9547的准确率。

摘要:

大语言模型(LLMs)拥有非凡的能力,能够生成不仅连贯且上下文相关,而且与人类写作惊人相似的文本。它们能够适应各种风格和体裁,生成语法正确且语义有意义的内容。最近,LLMs 已被滥用于创建高度逼真的网络钓鱼邮件、传播虚假新闻、生成自动化网络犯罪的代码以及撰写欺诈性科学文章。此外,在许多现实世界应用中,生成内容(包括风格和主题)以及生成器模型事先并不已知。人工智能(AI)生成文本的日益普及和复杂化使其检测变得越来越具有挑战性。人们已经尝试使用基于语言学、统计学、机器学习和集成的方法来区分机器生成的文本与人类创作的内容。本工作聚焦于两个主要目标:Task-A 涉及区分人类撰写的文本与机器生成的文本,Task-B 则试图识别负责生成的具体 LLM 模型。这两项任务均基于对生成式预训练Transformer(GPT_4o-mini)、大语言模型 Meta AI(LLaMA)3 8B 以及来自Transformer的双向编码器表示(BERT)的微调。GPT_4o-mini 的微调版本和 BERT 模型在 Task-A 上达到了 0.9547 的准确率,在 Task-B 上达到了 0.4698 的准确率。

英文摘要:

Large Language Models (LLMs) possess an extraordinary capability to produce text that is not only coherent and contextually relevant but also strikingly similar to human writing. They adapt to various styles and genres, producing content that is both grammatically correct and semantically meaningful. Recently, LLMs have been misused to create highly realistic phishing emails, spread fake news, generate code to automate cyber crime, and write fraudulent scientific articles. Additionally, in many real-world applications, the generated content including style and topic and the generator model are not known beforehand. The increasing prevalence and sophistication of artificial intelligence (AI)-generated texts have made their detection progressively more challenging. Various attempts have been made to distinguish machine-generated text from human-authored content using linguistic, statistical, machine learning, and ensemble-based approaches. This work focuses on two primary objectives Task-A, which involves distinguishing human-written text from machine-generated text, and Task-B, which attempts to identify the specific LLM model responsible for the generation. Both of these tasks are based on fine tuning of Generative Pre-trained Transformer (GPT_4o-mini), Large Language Model Meta AI (LLaMA) 3 8B, and Bidirectional Encoder Representations from Transformers (BERT). The fine-tuned version of GPT_4o-mini and the BERT model has achieved accuracies of 0.9547 for Task-A and 0.4698 for Task-B.

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

↑