Figurative speech comes in several kinds. Some statements exaggerate ("I've waited an eternity"), some minimize ("it's just a scratch" about a totaled car), and some say the opposite of what is meant ("love waking up at 4 AM to a flat tire"). Today's classifiers can often tell that a tweet is non-literal, but they almost entirely fail to say which kind it is. On the six-way irony-category task of SemEval-2022 (Subtask B), the best system reached a macro F-score of only 0.1630, and fine-tuned RoBERTa reached 0.0380. We argue the reason is simple. Each category is defined by how the literal claim relates to reality: overstated, understated, or reversed. Reality is not in the text. Models that read only the words fall back on word overlap and stylistic cues, and those cues are shared across categories.
We propose to make that relation explicit. For each utterance, the model first estimates, from commonsense or retrieved knowledge, what the situation actually is. It then computes a signed gap between the literal claim and that estimate: whether the polarity agrees, and how far the stated magnitude is from the plausible one. Finally, it classifies the irony type from this gap. We train the gap estimator with free supervision that already exists: the authors' own non-sarcastic rephrases in iSarcasmEval state the intended meaning, so comparing each original with its rephrase labels the direction and size of the distortion. We test the approach on a new contrast set in which the utterance is held word-for-word fixed while the described situation changes, so the correct label changes and the words do not. Any model leaning on lexical overlap must fail this test by construction.
Core Claim
Fine-grained irony categories are determined mainly by the sign and magnitude of the gap between the literal proposition and the situation it describes. We make two predictions. First, a model that predicts this gap from external knowledge and classifies on it will separate hyperbole, understatement, and sarcasm better than models that classify from text directly. Second, the advantage will be largest on context-swap pairs, where surface-only models are forced into a single answer for both members of a pair.
The second prediction is the decisive one. On standard Subtask B data, gains could come from better class balancing. On context-swap pairs, they can only come from using knowledge about the situation.
Positioning Against Prior Work
The literature motivates this from three sides.
On the fine-grained side, the collapse of Subtask B is documented by the shared-task organizers (SemEval-2022 Task 6: iSarcasmEval) and by participants. Singh attributes RoBERTa's failure to near-identical vocabulary across categories. Krishnan et al. show that TF-IDF with Naive Bayes does no better (0.0387). Neither paper uses any knowledge beyond the text.
On the lexical-bias side, Vahtola et al. show that general sentence encoders prefer high-overlap antonyms over true paraphrases. In their study all-MiniLM-L6-v2 scored 1.9% against a 33.3% chance rate, while NLI-tuned models reached 93.6%. Schlegel and Nenadic find that 82% of reading-comprehension errors under meaning-altering edits are "Ignore" errors, where the model answers as if the edit were absent. We borrow two things from this line of work. We use NLI-tuned models for the polarity component of the gap, which Vahtola et al. show handles negation. We also adapt the Ignore-rate idea as a metric for irony.
On the knowledge side, three systems ground sarcasm in commonsense, but all predict only a binary label. CSDGCN injects COMET-generated sentiment nodes into dependency graphs. EICR uses retrieval-backed commonsense and adversarial contrastive learning to suppress word–label shortcuts. Sarcasm-R1 trains a reasoning policy that mentions rhetorical devices only as an intermediate step. These papers supply our retrieval and generation machinery. None of them asks which way the literal claim departs from reality, and that question is what separates the categories.
The closest work is RedSD. It annotates nine rhetorical devices in sitcom dialogue and uses GPT-4o counterfactual minimal pairs, reporting an average 17% macro-F1 gain for sarcasm detection. We differ in three ways. RedSD's pairs edit the text to flip sarcastic versus non-sarcastic; ours hold the text fixed and edit the situation, so they flip among subtypes. RedSD supplies no external grounding. And RedSD's own error analysis says models fail on "Unexpected Twist" and "Innuendo" for lack of situational context, which is exactly what our gap variable represents.
Van Hee et al. set a constraint on what will not work. Removing intensifiers and swapping synonyms left their held-out F1 flat at about 0.72. Lexical debiasing alone cannot supply the missing fact, so our design does not rely on it.
Research Program
The model has three stages.
The first stage extracts the literal claim. A small instruction-tuned model rewrites the utterance as a proposition with a scalar slot, for example wait duration = eternity or damage = a scratch.
The second stage estimates the reference reality. When context is given, it comes from that context. When it is not, the model generates a commonsense estimate of the plausible value, using COMET in the style of CSDGCN or retrieval in the style of EICR.
The third stage computes the gap,
$$g = \big(\,p,\; \log(m_{\text{lit}} / m_{\text{ref}})\,\big),$$
where $p$ is the NLI-model probability that the literal proposition contradicts the reference situation in polarity, $m_{\text{lit}}$ is the magnitude asserted by the utterance, and $m_{\text{ref}}$ is the estimated real magnitude. Both magnitudes are placed on a shared ordinal scale by the extractor. The classification head sees the encoder representation together with $g$. We expect a large positive log-ratio to indicate overstatement, a negative one understatement, and high $p$ with a small ratio to indicate sarcasm or irony.
The gap estimator needs training labels, and iSarcasmEval provides them. Its 867 English sarcastic training tweets each come with an author-written non-sarcastic rephrase. Running the extractor on the rephrase gives the intended proposition. Comparing it with the original yields a silver label for $p$ and for the direction of the magnitude ratio. At test time no rephrase is available, so the gap must come from the utterance plus knowledge. RedSD's GPT-4o counterfactual pairs supply additional silver pairs in dialogue.
Evaluation Data
We will build a scalar contrast set. Starting from iSarcasmEval Subtask B instances labeled overstatement, understatement, sarcasm, or irony, and from RedSD instances labeled hyperbole or irony, annotators write a short situation description for each utterance that preserves its gold label. They then write two or three alternative situations under which the identical utterance becomes literal, an overstatement, an understatement, or a reversal. For example, "I've waited an eternity" becomes literal-adjacent after three hours at a government office and hyperbole after ten minutes at a café.
A second annotator labels every utterance–situation pair blind to the intended label. We keep only pairs where both annotators agree. Our target is about 1,000 utterances with roughly three situations each. We also include a smaller utterance-side set, where the situation is fixed and a single scalar modifier is edited, in the style of SAM.
We report three metrics. Macro-F1 is computed over the subtype labels. Pair consistency, adapted from the DICE metric, is the fraction of utterance groups in which every member is labeled correctly. The Ignore rate is the fraction of erroneous groups in which the model gave the same label across all situations.
Baselines
The naive reference is fine-tuned RoBERTa-base on Subtask B, matching Singh (reported macro F1 0.0380). A majority-per-class and prior-matched random labeler sits alongside it so that tiny F1 values are interpretable. On the contrast set, any text-only model has an upper bound on pair consistency set by the fraction of groups whose members share a label. We will report that bound.
The strongest reported result on the standard task is the Subtask B winner, at 0.1630 macro F-score (Abu Farha et al.). Its system is not described in the file. We will therefore re-implement the strongest reproducible encoder recipe from the file: RoBERTa with the class-balanced losses of Abdel-Salam, checked against the cited work. Beating 0.1630 on the official Subtask B test set is our minimum bar.
The strongest knowledge-grounded competitor is EICR with its binary head replaced by a multi-label head. EICR reports 70.4% binary macro-F1 on iSarcasm; there is no reported Subtask B result for it. It gets the same backbone, the same retrieval budget, and the same hyperparameter-search trials as our model.
The strongest LLM competitor is a GPT-4o-class model and an open Qwen2.5-7B, each prompted zero-shot and few-shot with chain-of-thought for subtype labels. A Sarcasm-R1-style policy trained with the same reward on the subtype label is included where compute allows. For context, Sarcasm-R1 reports GPT-4o zero-shot at 59.4% binary macro-F1. No reported result was found for LLM prompting on Subtask B or on RedSD per-device labels beyond GPT-4-turbo's roughly 88% overall accuracy.
Three ablations isolate the key ingredient. In the first, $g$ is replaced by the same LLM's free-text rationale, which tests structure versus verbalization. In the second, the reference reality is deleted so the gap is computed against nothing, which tests whether the knowledge matters. In the third, the rephrase-derived silver supervision is removed, which tests whether the free labels matter. "Beating" means a statistically significant gain under paired bootstrap over five seeds in both contrast-set pair consistency and Subtask B macro-F1. Gains on Subtask B alone do not count.
Why not just…?
Why not just prompt a frontier LLM with chain-of-thought for the subtype? This is the real threat. Large models already hold the world knowledge that $g$ encodes. The file offers partial evidence against relying on prompting alone: GPT-4o zero-shot trails a trained reasoner on iSarcasm by 13 macro-F1 points (Sarcasm-R1), and GPT-4-turbo fails on Innuendo and Unexpected Twist (Hong et al.). Neither result addresses subtypes directly. The free-rationale ablation settles the question. If prompted chain-of-thought matches the structured gap on contrast-set consistency, we will report that the contrast set and the rephrase supervision are the contribution and the scalar representation is not.
Why not just extend RedSD-style counterfactual augmentation to subtypes? Text-side counterfactuals teach the model which words to watch. On context-swap pairs, though, the words are identical, so augmentation cannot help with those. We will run it as a baseline, combined with our model and on its own. If it already lowers the Ignore rate, that would mean models do use the situation text when they are trained to, and grounding would matter less than we claim.
Why not just rebalance classes? Imbalance is real, and loss reweighting (Abdel-Salam) and SMOTE (Ajayan et al.) are cheap. We include rebalancing in every arm, our own model included. Rebalancing can raise Subtask B F1 but cannot change a prediction when only the context differs. The contrast set separates the two effects.
Why not just use an NLI model on utterance versus context? An NLI model captures reversal, which is the $p$ component, but it has no notion of which direction a magnitude was distorted. Including it as a baseline tests whether polarity alone accounts for the gains.
Proposed Experiments
The first experiment is the decisive check. Every system is evaluated on the scalar contrast set. Our prediction is that text-only and text-augmented models show Ignore rates above 70%, comparable to the 82% reported for reading comprehension, while the grounded model lowers the Ignore rate substantially and keeps pair consistency well above the text-only bound. If removing the reference reality does not hurt our model, the core claim is false.
The second experiment is official Subtask B. Here the target is to clear 0.1630 macro-F1, with per-class breakdowns for understatement and rhetorical question, the sparsest classes.
The third experiment transfers to RedSD's hyperbole, irony, and Unexpected Twist devices, training on tweets and testing on dialogue. It checks whether the gap representation generalizes beyond author-written tweets.
The fourth experiment is a diagnostic one. We compare each predicted gap against the rephrase-derived silver gap on held-out pairs and measure, by magnitude bin, how often the direction is right. This also covers the numerical cases, such as four hours of travel for a 15-minute meeting, that Joshi et al. and Yu et al. leave unsolved. A model that classifies correctly while getting the gap direction wrong would mean the gap is not doing the work we claim.
References
- SemEval-2022 Task 6: iSarcasmEval, Intended Sarcasm Detection in English and Arabic
- niksss at SemEval-2022 Task 6: Are Traditionally Pre-Trained Contextual Embeddings Enough for Detecting Intended Sarcasm ?
- GetSmartMSEC at SemEval-2022 Task 6: Sarcasm Detection using Contextual Word Embedding with Gaussian model for Irony Type Identification
- It Is Not Easy To Detect Paraphrases: Analysing Semantic Similarity With Antonyms and Negation Using the New SemAntoNeg Benchmark
- Semantics Altering Modifications for Evaluating Comprehension in Machine Reading
- Commonsense Knowledge Enhanced Sentiment Dependency Graph for Sarcasm Detection
- Detecting Emotional Incongruity of Sarcasm by Commonsense Reasoning
- Sarcasm-R1: Enhancing Sarcasm Detection through Focused Reasoning
- Rhetorical Device-Aware Sarcasm Detection with Counterfactual Data Augmentation
- A Fine Line Between Irony and Sincerity: Identifying Bias in Transformer Models for Irony Detection
- reamtchka at SemEval-2022 Task 6: Investigating the effect of different loss functions for Sarcasm detection for unbalanced datasets
- Amrita_CEN at SemEval-2022 Task 6: A Machine Learning Approach for Detecting Intended Sarcasm using Oversampling
- Harnessing Context Incongruity for Sarcasm Detection