Skip to main content
QUICK REVIEW

[論文レビュー] LLM-Detector: Improving AI-Generated Chinese Text Detection with Open-Source LLM Instruction Tuning

Rongsheng Wang, Haoming Chen|arXiv (Cornell University)|Feb 2, 2024
Natural Language Processing TechniquesComputer Science被引用数 5
ひとこと要約

本論文は LLM-Detector を提案します。指示チューニングを行ったオープンソースの LLM アプローチで、文レベルと文書レベルの両方で AI が生成した中国語テキストを検出し、ドメイン内および OOD の一般化において強力な性能を発揮します。大規模な中国語検出データセットを構築し、指示チューニングがベースラインと比較して最先端の結果をもたらすことを示します。

ABSTRACT

ChatGPT and other general large language models (LLMs) have achieved remarkable success, but they have also raised concerns about the misuse of AI-generated texts. Existing AI-generated text detection models, such as based on BERT and RoBERTa, are prone to in-domain over-fitting, leading to poor out-of-domain (OOD) detection performance. In this paper, we first collected Chinese text responses generated by human experts and 9 types of LLMs, for which to multiple domains questions, and further created a dataset that mixed human-written sentences and sentences polished by LLMs. We then proposed LLM-Detector, a novel method for both document-level and sentence-level text detection through Instruction Tuning of LLMs. Our method leverages the wealth of knowledge LLMs acquire during pre-training, enabling them to detect the text they generate. Instruction tuning aligns the model's responses with the user's expected text detection tasks. Experimental results show that previous methods struggle with sentence-level AI-generated text detection and OOD detection. In contrast, our proposed method not only significantly outperforms baseline methods in both sentence-level and document-level text detection but also demonstrates strong generalization capabilities. Furthermore, since LLM-Detector is trained based on open-source LLMs, it is easy to customize for deployment.

研究の動機と目的

  • 多様なドメインと言語にわたる中国語の AI 生成テキスト検出を堅牢にする。
  • 人間と AI が生成した回答を含む包括的で多ドメインな中国語検出データセットを作成する。
  • 文書レベルと文レベルの検出が可能な指示チューニングされた LLM ディテクターを開発する。
  • 指示チューニングが従来の手法より検出性能を向上させ、アウト・オブ・ドメインデータに一般化することを示す。

提案手法

  • 151.7k 件の人間専門家データと 7 ドメインにまたがる 9 台の LLM からなる大規模な中国語検出データセットを構築する。
  • 入力 x_c がモデルに出力するテキストソースラベル(Human か AI)を指示のコーチフレームワークで得られるよう、基盤となる LLM の指示チューニングを行い LLM-Detector を訓練する。
  • 4つの A100 GPU と fp16 で QLoRA を用い、学習率 5e-5、3 エポック、LoRA ラank 8 で検出データ上のモデルを微調整する。
  • インドメインデータ(M4 seed problems)とアウト・オブ・ドメインデータ(News domain)で評価し、注釈付き文を用いた文レベル検出も評価する。
  • ゼロショット検出器(Fast-DetectGPT、GLTR、PPL)と教師付き分類器(BERT/RoBERTa、MPU、LLaMA2、Mixtral)と比較する。
  • 中国語データで訓練された LLM の言語特性を用いた影響を分析し、短文や混在AI・人間コンテンツへの頑健性を評価する。

実験結果

リサーチクエスチョン

  • RQ1指示チューニングを施したオープンソース LLM は、文書レベルおよび文レベルの両方で AI 生成中国語テキストの検出性能を改善できるか。
  • RQ2LLM-Detector は、インドメインデータとアウトオブドメインデータの为ケケ、ベースライン検出器と比較してどうか。
  • RQ3対象言語(中国語)での訓練データが英語訓練検出器より検出性能を高めるか。
  • RQ4テキスト長やAI・人間混在コンテンツが検出精度に与える影響は何か。
  • RQ5特定の LLM によって生成されたテキストで訓練された検出器は、他の LLM やスケールへ一般化するか。

主な発見

  • LLM-Detector-Large はインドメイン精度 98.52% を達成し、従来の教師あり・ゼロショット検出器を上回る。
  • アウト・オブ・ドメインデータでは LLM-Detector-Large が 96.70% の精度を達成し、強い一般化を示す。
  • LLM-Detector-Small による文レベル検出は精度 71.36%、再現率 72.62%(Macro-F1 73.50)を達成。
  • Fast-DetectGPT、GLTR、PPL と比較して、インドメイン・OOD の両方のシナリオで LLM-Detector が優れた性能を示す。
  • 短文は多くの教師付きまたは統計的検出器とは異なり LLM-Detector の性能を実質的に低下させない。
  • 中国語データで訓練された検出器は英語訓練の対応物よりも優れており、言語適合訓練の利点を強調している。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。