Skip to main content
QUICK REVIEW

[Paper Review] Towards a Robust Detection of Language Model Generated Text: Is ChatGPT that Easy to Detect?

Wissam Antoun, Virginie Mouilleron|arXiv (Cornell University)|Jun 9, 2023
Topic ModelingComputer Science9 citations
TL;DR

The authors train French ChatGPT detectors by translating English data and fine-tuning transformers, showing strong in-domain detection but limited robustness to out-of-domain and adversarial text, and they release their data and models open source.

ABSTRACT

Recent advances in natural language processing (NLP) have led to the development of large language models (LLMs) such as ChatGPT. This paper proposes a methodology for developing and evaluating ChatGPT detectors for French text, with a focus on investigating their robustness on out-of-domain data and against common attack schemes. The proposed method involves translating an English dataset into French and training a classifier on the translated data. Results show that the detectors can effectively detect ChatGPT-generated text, with a degree of robustness against basic attack techniques in in-domain settings. However, vulnerabilities are evident in out-of-domain contexts, highlighting the challenge of detecting adversarial text. The study emphasizes caution when applying in-domain testing results to a wider variety of content. We provide our translated datasets and models as open-source resources. https://gitlab.inria.fr/wantoun/robust-chatgpt-detection

Motivation & Objective

  • Develop ChatGPT detectors for French text using translated data from English sources.
  • Evaluate in-domain and out-of-domain detection performance across monolingual and multilingual settings.
  • Test robustness to simple adversarial attacks (misspellings, homoglyphs) and analyze reliance on didactic ChatGPT style.
  • Explore whether detectors trained on translated data generalize to native French and other languages.

Proposed method

  • Translate English HC3-based dataset to French using Google Cloud Translation API.
  • Fine-tune pre-trained transformer models (CamemBERT, CamemBERTa, RoBERTa, ELECTRA, XLM-R) on a binary detection task (ChatGPT-generated vs human-written).
  • Experiment with input formats: QA pairs, full answers, and sentence-level chunks.
  • Augment test data with misspellings and homoglyph substitutions to assess adversarial robustness.
  • Evaluate in-domain and out-of-domain performance on diverse French data, including native ChatGPT outputs and BingGPT outputs.
  • Release translated datasets and models as open source resources.

Experimental results

Research questions

  • RQ1Can ChatGPT detectors trained on translated English data reliably detect ChatGPT-generated French text?
  • RQ2How does detector performance vary across monolingual French, monolingual English, and multilingual settings?
  • RQ3What is the detectors’ robustness to basic adversarial attacks (misspellings, homoglyphs) and to out-of-domain content?
  • RQ4To what extent do detectors rely on the didactic style of ChatGPT/Bing outputs for discrimination?

Key findings

  • French detectors (CamemBERT, CamemBERTa, RoBERTa, ELECTRA) achieve high in-domain precision, recall, and F1 on the Full subset.
  • Multilingual XLM-R shows strong overall performance and robustness, especially in out-of-domain scenarios.
  • Adversarial perturbations (misspellings, homoglyphs) degrade some out-of-domain detections, highlighting vulnerability to simple text attacks.
  • Detectors perform very well on native French ChatGPT outputs and on BingGPT, but show weaknesses under adversarial and out-of-domain settings.
  • In-domain detection does not fully generalize to out-of-domain content, underscoring the need for diverse training data.
  • Open-source datasets and models are provided to support replication and further research.

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.