Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

RAM-SD: Retrieval-Augmented Multi-agent framework for Sarcasm Detection

About

Sarcasm detection remains a significant challenge due to its reliance on nuanced contextual understanding, world knowledge, and multi-faceted linguistic cues that vary substantially across different sarcastic expressions. Existing approaches, from fine-tuned transformers to large language models, apply a uniform reasoning strategy to all inputs, struggling to address the diverse analytical demands of sarcasm. These demands range from modeling contextual expectation violations to requiring external knowledge grounding or recognizing specific rhetorical patterns. To address this limitation, we introduce RAM-SD, a Retrieval-Augmented Multi-Agent framework for Sarcasm Detection. The framework operates through four stages: (1) contextual retrieval grounds the query in both sarcastic and non-sarcastic exemplars; (2) a meta-planner classifies the sarcasm type and selects an optimal reasoning plan from a predefined set; (3) an ensemble of specialized agents performs complementary, multi-view analysis; and (4) an integrator synthesizes these analyses into a final, interpretable judgment with a natural language explanation. Evaluated on four standard benchmarks, RAM-SD achieves a state-of-the-art Macro-F1 of 77.74%, outperforming the strong GPT-4o+CoC baseline by 7.01 points. Our framework not only sets a new performance benchmark but also provides transparent and interpretable reasoning traces, illuminating the cognitive processes behind sarcasm comprehension.

Ziyang Zhou, Ziqi Liu, Yan Wang, Yiming Lin, Yangbin Chen• 2026

Related benchmarks

TaskDatasetResultRank
Sarcasm DetectionIAC V1
Accuracy74.81
24
Sarcasm DetectionIAC V2
Accuracy80.13
24
Sarcasm DetectionSemEval 2018
Accuracy0.863
24
Showing 3 of 3 rows

Other info

Follow for update