Skip to main content
QUICK REVIEW

[Paper Review] RADAR: Robust AI-Text Detection via Adversarial Learning

Xiaomeng Hu, Pin‐Yu Chen|arXiv (Cornell University)|Jul 7, 2023
Hate Speech and Cyberbullying DetectionComputer Science29 citations
TL;DR

RADAR jointly trains a paraphraser and a detector in an adversarial framework to create a robust AI-text detector that remains effective under paraphrasing across multiple LLMs and datasets.

ABSTRACT

Recent advances in large language models (LLMs) and the intensifying popularity of ChatGPT-like applications have blurred the boundary of high-quality text generation between humans and machines. However, in addition to the anticipated revolutionary changes to our technology and society, the difficulty of distinguishing LLM-generated texts (AI-text) from human-generated texts poses new challenges of misuse and fairness, such as fake content generation, plagiarism, and false accusations of innocent writers. While existing works show that current AI-text detectors are not robust to LLM-based paraphrasing, this paper aims to bridge this gap by proposing a new framework called RADAR, which jointly trains a robust AI-text detector via adversarial learning. RADAR is based on adversarial training of a paraphraser and a detector. The paraphraser's goal is to generate realistic content to evade AI-text detection. RADAR uses the feedback from the detector to update the paraphraser, and vice versa. Evaluated with 8 different LLMs (Pythia, Dolly 2.0, Palmyra, Camel, GPT-J, Dolly 1.0, LLaMA, and Vicuna) across 4 datasets, experimental results show that RADAR significantly outperforms existing AI-text detection methods, especially when paraphrasing is in place. We also identify the strong transferability of RADAR from instruction-tuned LLMs to other LLMs, and evaluate the improved capability of RADAR via GPT-3.5-Turbo.

Motivation & Objective

  • Motivate robust AI-text detection amid increasing paraphrased machine text.
  • Propose RADAR to jointly train a paraphraser and a detector via adversarial learning.
  • Demonstrate RADAR’s robustness, transferability, and performance across varied LLMs and datasets.
  • Explore detector transferability and paraphraser quality enhancements via adversarial training.

Proposed method

  • Use a target frozen LLM to generate AI-text from human-text data.
  • Train a paraphraser G_sigma to rewrite AI-text to evade detection, using PPO with an entropy penalty.
  • Train a detector D_phi to distinguish human-text from AI-text including paraphrased outputs, using reweighted logistic loss to handle sample imbalance.
  • Iteratively update paraphraser and detector via PPO rewards and logistic loss until AUROC on a validation set stabilizes.
  • Evaluate detector performance on 4 datasets across 8 LLMs, including unseen paraphrasers (GPT-3.5-Turbo).
  • Optionally tune a balancing hyperparameter lambda to balance w/o paraphrasing and paraphrasing performance.

Experimental results

Research questions

  • RQ1Can an adversarially trained paraphraser collapse AI-text detectability, and can a detector be trained to resist such paraphrasing?
  • RQ2How does RADAR perform across diverse LLMs and datasets, and how transferable is the detector to unseen models?
  • RQ3Does adversarial training improve robustness to paraphrasing without unduly sacrificing unperturbed detection performance?
  • RQ4What is the effect of instruction-tuning on transferability of detectors across LLMs?
  • RQ5Can the learned detector generalize to paraphrasers not seen during training (unseen paraphrasers)?

Key findings

  • RADAR achieves robust AI-text detection across 8 LLMs and 4 datasets, outperforming baselines when paraphrasing is present.
  • The detector maintains competitive performance on unperturbed AI-text while gaining robustness to paraphrasing.
  • Detectors trained with instruction-tuned LLMs transfer better across other LLMs, suggesting potential for universal detectors.
  • RADAR detectors show strong transfer to GPT-4-generated text in several cases.
  • RADAR improves paraphraser quality as a by-product, yielding higher-quality paraphrases according to human-like assessment and iBLEU scores.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.