Skip to main content
QUICK REVIEW

[论文解读] Generative AI Text Classification using Ensemble LLM Approaches

Harika Abburi, Michael Suesserman|arXiv (Cornell University)|Sep 14, 2023
Topic ModelingComputer Science被引用 15
一句话总结

论文提出一个基于 ensemble 的 LLM 框架,利用来自多個预训练 LLM 的概率作为特征供传统 ML 分类器使用,以检测 AI 生成的文本并对源模型进行归因,在 AuTexTification 任务的英语与西班牙语数据上进行评估。

ABSTRACT

Large Language Models (LLMs) have shown impressive performance across a variety of Artificial Intelligence (AI) and natural language processing tasks, such as content creation, report generation, etc. However, unregulated malign application of these models can create undesirable consequences such as generation of fake news, plagiarism, etc. As a result, accurate detection of AI-generated language can be crucial in responsible usage of LLMs. In this work, we explore 1) whether a certain body of text is AI generated or written by human, and 2) attribution of a specific language model in generating a body of text. Texts in both English and Spanish are considered. The datasets used in this study are provided as part of the Automated Text Identification (AuTexTification) shared task. For each of the research objectives stated above, we propose an ensemble neural model that generates probabilities from different pre-trained LLMs which are used as features to a Traditional Machine Learning (TML) classifier following it. For the first task of distinguishing between AI and human generated text, our model ranked in fifth and thirteenth place (with macro $F1$ scores of 0.733 and 0.649) for English and Spanish texts, respectively. For the second task on model attribution, our model ranked in first place with macro $F1$ scores of 0.625 and 0.653 for English and Spanish texts, respectively.

研究动机与目标

  • 激发检测 AI 生成文本的必要性,以减轻错误信息、抄袭以及未受管控的 LLM 使用带来的其他风险。
  • 开发一种将来自多种预训练 LLM 的概率作为传统 ML 分类器特征的 ensemble 方法。
  • 将该方法应用于两个 AuTexTification 任务:AI 对人类(Binary)以及跨英语与西班牙语的模型归因(多分类)。
  • 在基线方法下评估该框架,并报告 AuTexTification 测试数据上的性能。

提出的方法

  • 在每个任务/语言的训练数据上微调多种预训练 LLM(例如 DeBERTa、XLM-RoBERTa、RoBERTa、BERT)。
  • 从每个模型获取分类概率(P^D, P^X, P^R, P^B 等)。
  • 将这些概率连接(P^C)或取平均(P^A),形成传统 ML 分类器的输入特征向量。
  • 在集成特征上训练传统 ML 模型(Voting classifier、OneVsRest、ECOC、Linear SVC),产生最终预测。
  • 使用测试数据的准确度、宏 F1、精确度和召回率进行评估。
  • 报告任务和语言特定结果,并将 ensemble 方法与基线进行比较。

实验结果

研究问题

  • RQ1LLM 派生概率的集成是否能在英语和西班牙语中有效区分 AI 生成文本与人类撰写文本?
  • RQ2同一集成方法是否能在英语和西班牙语中准确将文本归因到其源 AI 模型?
  • RQ3不同的集成策略(连接概率与平均概率)以及不同的 ML 分类器对这两项 AuTexTification 任务的性能有何影响?

主要发现

  • 使用连接概率(P^C)作为输入特征、并采用 Voting 分类器的集成,在 AI 对人类任务的 Binary-English 的宏 F1 为 0.733,在 Binary-Spanish 为 0.649。
  • 对于 Binary-English,Voting 集成的准确率 0.751,宏 F1 0.733,精确度 0.826,召回率 0.745。
  • 对于 Binary-Spanish,OneVsRest 集成使用连接特征的宏 F1 0.649,精确度 0.805,召回率 0.667(在比较方法中为最佳)。
  • 在模型归因任务中,ECOC 集成在连接特征上的宏 F1 为 Multiclass-English 0.625,Multiclass-Spanish 0.653(报告的结果中名列前茅)。
  • 使用平均特征的 Linear SVC 集成在 Multiclass-Spanish 的宏 F1 为 0.654,是该语言中的最佳。
  • 总体而言,基于集成 LLM 的方法在模型归因方面表现强劲,并在两种语言的 AI 对人类检测方面也具有竞争力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。