Skip to main content
QUICK REVIEW

[Paper Review] Bot or Human? Detecting ChatGPT Imposters with A Single Question

Hong Wang, Xuan Luo|arXiv (Cornell University)|May 10, 2023
Topic ModelingComputer Science7 citations
TL;DR

This paper proposes FLAIR, a framework that detects conversational bots using a single, strategically designed question to exploit cognitive differences between humans and LLMs. By leveraging tasks where humans excel (e.g., symbolic manipulation, ASCII reasoning) and LLMs struggle, FLAIR achieves near-perfect human detection with 100% accuracy while LLMs fail on these tasks, offering a robust, real-time alternative to traditional CAPTCHAs.

ABSTRACT

Large language models (LLMs) like GPT-4 have recently demonstrated impressive capabilities in natural language understanding and generation. However, there is a concern that they can be misused for malicious purposes, such as fraud or denial-of-service attacks. Therefore, it is crucial to develop methods for detecting whether the party involved in a conversation is a bot or a human. In this paper, we propose a framework named FLAIR, Finding Large Language Model Authenticity via a Single Inquiry and Response, to detect conversational bots in an online manner. Specifically, we target a single question scenario that can effectively differentiate human users from bots. The questions are divided into two categories: those that are easy for humans but difficult for bots (e.g., counting, substitution, searching, and ASCII art reasoning), and those that are easy for bots but difficult for humans (e.g., memorization and computation). Our approach shows different strengths of these questions in their effectiveness, providing a new way for online service providers to protect themselves against nefarious activities. Our code and question set are available at https://github.com/hongwang600/FLAIR.

Motivation & Objective

  • To address the growing threat of LLM-based bots impersonating humans in online services.
  • To overcome the limitations of traditional CAPTCHAs in detecting text-only chatbots.
  • To develop a real-time, single-question detection method that reliably differentiates human users from LLM-generated responses.
  • To identify specific cognitive tasks where humans outperform LLMs, enabling effective bot detection.

Proposed method

  • Design a set of questions that exploit asymmetries in human and LLM capabilities: tasks easy for humans but hard for LLMs (e.g., ASCII art reasoning, symbolic manipulation), and vice versa (e.g., memorization, computation).
  • Classify questions into two categories: those humans excel at (e.g., counting, substitution, searching, ASCII reasoning) and those LLMs excel at (e.g., memorization, computation).
  • Use a single-question inquiry to trigger responses that reveal the responder’s identity based on performance disparities.
  • Evaluate performance across multiple LLMs (e.g., GPT-4, Vicuna-13b) and human participants on these tasks to measure detection accuracy.
  • Apply chain-of-thought prompting and code-generation prompting to test LLMs’ ability to overcome task limitations.
  • Integrate findings with behavioral detection methods (e.g., interaction timing, input patterns) for enhanced robustness.

Experimental results

Research questions

  • RQ1Can a single, well-designed question reliably distinguish between human users and LLM-based chatbots in real-time online interactions?
  • RQ2Which types of cognitive tasks are inherently more difficult for LLMs but manageable for humans, and vice versa?
  • RQ3How do different LLM architectures (e.g., GPT-4 vs. Vicuna-13b) perform on tasks that exploit human-specific strengths?
  • RQ4To what extent can prompting techniques (e.g., chain-of-thought, code generation) enable LLMs to overcome tasks designed to be difficult for them?
  • RQ5Can few-shot reasoning questions be used to detect LLMs when they fail to generalize beyond training examples?

Key findings

  • Humans achieved 100% accuracy on tasks involving symbolic manipulation, randomness, searching, and ASCII art reasoning, while LLMs like GPT-4 scored close to 0% on these tasks.
  • LLMs such as GPT-4 achieved near-perfect accuracy (close to 100%) on memorization and computation tasks, while human participants succeeded in only 6% and 2% of cases, respectively.
  • Chain-of-thought prompting improved LLM performance on decomposable tasks like counting and substitution but failed to improve performance on searching and ASCII reasoning tasks.
  • Manual code-generation prompting enabled GPT-4 to achieve 100% accuracy on counting, substitution, and searching tasks, but failed entirely on ASCII art reasoning, yielding 0% accuracy.
  • The framework remains effective even when LLMs are prompted to use code, as they fail to generate correct code for visual and pattern-based reasoning tasks.
  • The method shows strong potential for integration with behavioral biometrics (e.g., typing patterns, response time) to enhance detection robustness against evolving LLM capabilities.

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.