mlsanityData to 14 Oct 2026

Context-Aware Pragmatic Metacognitive Prompting for Sarcasm Detection

arXiv 2511.21066 ↗First posted 26 Nov 2025cs.CL cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Detecting sarcasm remains a challenging task in the areas of Natural Language Processing (NLP) despite recent advances in neural network approaches. Currently, Pre-trained Language Models (PLMs) and Large Language Models (LLMs) are the preferred approach for sarcasm detection. However, the complexity of sarcastic text, combined with linguistic diversity and cultural variation across communities, has made the task more difficult even for PLMs and LLMs. Beyond that, those models also exhibit unreliable detection of words or tokens that require extra grounding for analysis. Building on a state-of-the-art prompting method in LLMs for sarcasm detection called Pragmatic Metacognitive Prompting (PMP), we introduce a retrieval-aware approach that incorporates retrieved contextual information for each target text. Our pipeline explores two complementary ways to provide context: adding non-parametric knowledge using web-based retrieval when the model lacks necessary background, and eliciting the model's own internal knowledge for a self-knowledge awareness strategy. We evaluated our approach with three datasets, such as Twitter Indonesia Sarcastic, SemEval-2018 Task 3, and MUStARD. Non-parametric retrieval resulted in a significant 9.87% macro-F1 improvement on Twitter Indonesia Sarcastic compared to the original PMP method. Self-knowledge retrieval improves macro-F1 by 3.29% on Semeval and by 4.08% on MUStARD. These findings highlight the importance of context in enhancing LLMs performance in sarcasm detection task, particularly the involvement of culturally specific slang, references, or unknown terms to the LLMs. Future work will focus on optimizing the retrieval of relevant contextual information and examining how retrieval quality affects performance. The experiment code is available at: https://github.com/wllchrst/sarcasm-detection_pmp_knowledge-base.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 33 of its 60 references that are in the map. First posted on arXiv 26 Nov 2025.

Builds on

33 of 60 references.

References · 33

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
  7. 2024A Survey on LLM-as-a-Judgecited by 1,423
  8. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
  9. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
  10. 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 451
  11. 2019MLQA: Evaluating Cross-lingual Extractive Question Answeringcited by 340
  12. 2019Towards Multimodal Sarcasm Detection (An _Obviously_ Perfect Paper)cited by 174
21 more
  1. 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 147
  2. 2023The Troubling Emergence of Hallucination in Large Language Models -- An Extensive Definition, Quantification, and Prescriptive Remediationscited by 131
  3. 2021XLM-T: Multilingual Language Models in Twitter for Sentiment Analysis and Beyondcited by 114
  4. 2023Self-Knowledge Guided Retrieval Augmentation for Large Language Modelscited by 69
  5. 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
  6. 2023Metacognitive Prompting Improves Understanding in Large Language Modelscited by 58
  7. 2024Knowledge Mechanisms in Large Language Models: A Survey and Perspectivecited by 51
  8. 2021Named Entity Recognition and Classification on Historical Documents: A Surveycited by 47
  9. 2024Learning to Trust Your Feelings: Leveraging Self-awareness in LLMs for Hallucination Mitigationcited by 44
  10. 2019iSarcasm: A Dataset of Intended Sarcasmcited by 41
  11. 2024Knowledge Boundary of Large Language Models: A Surveycited by 40
  12. 2023Large Language Models Are Zero-Shot Text Classifierscited by 35
  13. 2024Leveraging LLM Reasoning Enhances Personalized Recommender Systemscited by 28
  14. 2025RAG LLMs are Not Safer: A Safety Analysis of Retrieval-Augmented Generation for Large Language Modelscited by 24
  15. 2021NER-BERT: A Pre-trained Model for Low-Resource Entity Taggingcited by 21
  16. 2023Chain of Thought Prompting Elicits Knowledge Augmentationcited by 21
  17. 2024SarcasmBench: Towards Evaluating Large Language Models on Sarcasm Understandingcited by 20
  18. 2024Pragmatic Metacognitive Prompting Improves LLM Performance on Sarcasm Detectioncited by 19
  19. 2021A Dual-Channel Framework for Sarcasm Recognition by Detecting Sentiment Conflictcited by 14
  20. 2020Fact or Factitious? Contextualized Opinion Spam Detectioncited by 6
  21. 2025BBPOS: BERT-based Part-of-Speech Tagging for Uzbekcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.