Skip to main content
QUICK REVIEW

[Paper Review] A negation detection assessment of GPTs: analysis with the xNot360 dataset

Ha-Thanh Nguyen, Randy Goebel|arXiv (Cornell University)|Jun 29, 2023
Topic ModelingComputer Science5 citations
TL;DR

This paper evaluates the negation detection capabilities of GPT-2, GPT-3, GPT-3.5, and GPT-4 using a zero-shot approach on the custom xNot360 dataset, which contains sentence pairs labeled for negation. GPT-4 shows the strongest performance, while GPT-3.5 exhibits a significant drop, indicating that even state-of-the-art models struggle with logical consistency in negation, especially in high-stakes domains like healthcare and law.

ABSTRACT

Negation is a fundamental aspect of natural language, playing a critical role in communication and comprehension. Our study assesses the negation detection performance of Generative Pre-trained Transformer (GPT) models, specifically GPT-2, GPT-3, GPT-3.5, and GPT-4. We focus on the identification of negation in natural language using a zero-shot prediction approach applied to our custom xNot360 dataset. Our approach examines sentence pairs labeled to indicate whether the second sentence negates the first. Our findings expose a considerable performance disparity among the GPT models, with GPT-4 surpassing its counterparts and GPT-3.5 displaying a marked performance reduction. The overall proficiency of the GPT models in negation detection remains relatively modest, indicating that this task pushes the boundaries of their natural language understanding capabilities. We not only highlight the constraints of GPT models in handling negation but also emphasize the importance of logical reliability in high-stakes domains such as healthcare, science, and law.

Motivation & Objective

  • To evaluate the ability of generative pre-trained transformers (GPTs) to detect negation in natural language without fine-tuning.
  • To identify performance disparities among GPT-2, GPT-3, GPT-3.5, and GPT-4 in handling negation.
  • To highlight the importance of logical reliability in high-stakes domains such as healthcare, law, and science where incorrect negation understanding can have serious consequences.
  • To contribute a standardized, logic-driven dataset (xNot360) for evaluating negation detection in NLP.
  • To guide future research toward improving logical consistency and robustness in large language models.

Proposed method

  • Constructed the xNot360 dataset using sentence pairs where the second sentence negates the first, based on logical principles.
  • Applied a zero-shot prediction approach, prompting each GPT model to classify whether the second sentence negates the first without fine-tuning.
  • Used logical rules to ensure semantic consistency and avoid ambiguity in negation labeling, enhancing dataset reliability.
  • Evaluated models on a diverse range of negation types, including standard negation, negative quantifiers, and affixal negation.
  • Employed a logic-based framework to ensure that negation detection is grounded in formal semantics rather than surface-level patterns.
  • Compared model outputs against gold-standard annotations to measure accuracy and consistency in negation detection.

Experimental results

Research questions

  • RQ1How well do GPT-2, GPT-3, GPT-3.5, and GPT-4 perform in zero-shot negation detection using the xNot360 dataset?
  • RQ2What performance disparities exist among the GPT models in detecting various types of negation?
  • RQ3To what extent does reinforcement learning from human feedback (RLHF) in GPT-3.5 and GPT-4 affect logical consistency in negation understanding?
  • RQ4How does the logical structure of the xNot360 dataset challenge the reasoning capabilities of large language models?
  • RQ5What implications do these findings have for the use of LLMs in high-stakes domains requiring precise negation understanding?

Key findings

  • GPT-4 demonstrated the highest performance in negation detection among all evaluated models, indicating superior logical reasoning in zero-shot settings.
  • GPT-3.5 showed a marked performance decline compared to GPT-3 and GPT-4, suggesting that RLHF may not always improve logical consistency.
  • Overall, all GPT models exhibited only modest proficiency in negation detection, indicating that this task remains a significant challenge for current LLMs.
  • The xNot360 dataset effectively exposed model weaknesses in handling negation, especially with complex or embedded negation structures.
  • Performance varied significantly across negation types, with models struggling more with negative quantifiers and affixal negation.
  • The study confirms that current LLMs are not reliably aligned with logical truth in negation tasks, even when prompted in zero-shot fashion.

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.