Sarcasm-GPT: advancing sarcasm detection with large language models

Abstract Sarcasm detection is a nuanced challenge in natural language processing, requiring deep understanding of textual and contextual cues. We present Sarcasm-GPT, a large language model-based model that integrates four key components: prompt template generation, retrieval-augmented generation, chain-of-thought generation, and a context fusion module. Together, these modules enrich contextual modeling, enable systematic reasoning, and seamlessly incorporate multimodal information, significantly boosting sarcasm detection accuracy. Extensive experiments, including ablation studies, confirm the complementary contributions of each module and demonstrate substantial performance gains over baselines. Additionally, our findings highlight the importance of context length in balancing interpretive accuracy and computational efficiency. The code is available at Sarcasm-GPT.

Authors

Institutions

Publication Details

Journal
The Computer Journal
Published
2025-04-26
DOI
https://doi.org/10.1093/comjnl/bxaf055
Citations
1
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
2.48

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sarcasm-GPT: advancing sarcasm detection with large language models

Zuhe Li, Yushan Pan, Qiuyu Li, Weihua Liu et al.
1 citations
The Computer Journal
Topic Modeling
2.48
article

Sarcasm-GPT: advancing sarcasm detection with large language models

Zuhe Li, Yushan Pan, Qiuyu Li, Weihua Liu, Xianfei He
article en
1 citations

Abstract

Abstract Sarcasm detection is a nuanced challenge in natural language processing, requiring deep understanding of textual and contextual cues. We present Sarcasm-GPT, a large language model-based model that integrates four key components: prompt template generation, retrieval-augmented generation, chain-of-thought generation, and a context fusion module. Together, these modules enrich contextual modeling, enable systematic reasoning, and seamlessly incorporate multimodal information, significantly boosting sarcasm detection accuracy. Extensive experiments, including ablation studies, confirm the complementary contributions of each module and demonstrate substantial performance gains over baselines. Additionally, our findings highlight the importance of context length in balancing interpretive accuracy and computational efficiency. The code is available at Sarcasm-GPT.

The Computer JournalVol. 68(10)
China Mobile (China) (CN), Zhengzhou University of Light Industry (CN), Xi’an Jiaotong-Liverpool University (CN)
National Natural Science Foundation of China, Natural Science Foundation of Henan Province
Openalex Percentile: Top 11%
Topic Modeling
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.