mlsanityData to 7 Oct 2026

On Sarcasm Detection with OpenAI GPT-based Models

arXiv 2312.04642 ↗First posted 7 Dec 2023cs.CL cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Sarcasm is a form of irony that requires readers or listeners to interpret its intended meaning by considering context and social cues. Machine learning classification models have long had difficulty detecting sarcasm due to its social complexity and contradictory nature. This paper explores the applications of the Generative Pretrained Transformer (GPT) models, including GPT-3, InstructGPT, GPT-3.5, and GPT-4, in detecting sarcasm in natural language. It tests fine-tuned and zero-shot models of different sizes and releases. The GPT models were tested on the political and balanced (pol-bal) portion of the popular Self-Annotated Reddit Corpus (SARC 2.0) sarcasm dataset. In the fine-tuning case, the largest fine-tuned GPT-3 model achieves accuracy and F1-score of 0.81, outperforming prior models. In the zero-shot case, one of GPT-4 models yields an accuracy of 0.70 and F1-score of 0.75. Other models score lower. Additionally, a model's performance may improve or deteriorate with each release, highlighting the need to reassess performance after each release.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 17 of its 29 references that are in the map. First posted on arXiv 7 Dec 2023.

Builds on

17 of 29 references.

References · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  6. 2023A Survey of Large Language Modelscited by 2,537
  7. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  8. 2023How is ChatGPT's behavior changing over time?cited by 265
  9. 2019Towards Multimodal Sarcasm Detection (An _Obviously_ Perfect Paper)cited by 173
  10. 2017A Large Self-Annotated Corpus for Sarcasmcited by 63
  11. 2023Do LLMs Understand Social Knowledge? Evaluating the Sociability of Large Language Models with SocKET Benchmarkcited by 62
  12. 2023How Robust is GPT-3.5 to Predecessors? A Comprehensive Study on Language Understanding Taskscited by 58
5 more
  1. 2019A Transformer-based approach to Irony and Sarcasm detectioncited by 28
  2. 2018CASCADE: Contextual Sarcasm Detection in Online Discussion Forumscited by 26
  3. 2018Deep contextualized word representations for detecting sarcasm and ironycited by 18
  4. 2023Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Sciencecited by 18
  5. 2019Deep and Dense Sarcasm Detectioncited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 1.

7 papers.