Elamur Research

Sarcasm Target Identification: Dataset and An Introductory Approach

Paper · 2018 · Aditya Joshi, Pranav Goel, Pushpak Bhattacharyya et al.

Summary

A sarcastic compliment can make its subject sound admirable while inviting the reader to see what is wrong with it. Detecting the sarcasm tells us how to read the compliment. The paper asks a further question about where to direct that reading. If a speaker praises a phone while calling attention to how quickly its battery runs out, the battery is the part being criticized. The authors define sarcasm target identification as finding the words that point to the person, thing, or situation under ridicule. Several targets can appear in the same passage. When the ridicule concerns something the passage leaves unnamed, the expected answer is Outside. Locating the target could help assign the criticism to the right aspect in sentiment analysis.

The authors release target labels for 224 sarcastic passages from books and 506 sarcastic tweets. Experienced annotators selected words from each passage, marked all identifiable targets, and favored a specific entity when a situation could also serve as the answer. The resulting targets were generally short and carried less sentiment, on average, than the surrounding words. In a separate agreement exercise, fresh annotators gave exactly the same answer on 28% of the sampled book snippets and 38% of the sampled tweets. The reported partial match was 66% for each sample. Selecting the wording of a target could therefore be difficult even with the sarcasm already established and a human reader making the decision. Linguistic annotation

The automatic approach takes evidence from hand-written rules and a classifier that decides, word by word, whether a token belongs to the target. The rules look for cues such as a possessive phrase, a named person or organization, a positive verb with an object, or subjects placed on either side of a comparison. The classifier learns from annotated examples using cues that include grammatical category and the sentiment of nearby words. The authors try keeping words proposed by either extractor and keeping only words proposed by both. They compare those combinations with a heuristic that selects neutral words and with a sequence-labeling approach adapted from opinion target extraction.

The strongest result depends on how the output is scored. Keeping either extractor’s suggestions produced the best Dice scores, which give partial credit for shared words. The scores were 32.68 for book snippets and 39.63 for tweets. Requiring both extractors to agree produced the highest exact-match accuracy, at 16.51 for snippets and 13.45 for tweets. The broader combination struggled when the target had no wording in the passage. The experiments establish a benchmark with measurable gains over the chosen comparisons. They also show how readily a system can identify some relevant words while missing the complete answer. The authors propose using a better account of the target to give response generation more context, an application relevant to dialogue systems.

Deep dive: Sarcasm Target Identification: Dataset and An Introductory Approach

Learn how sarcasm target identification finds who or what a remark mocks, and how rules and a word classifier fare on tweets and book snippets. · about 36 minutes to read

The problem and its context

What the speaker is making fun of

When a phone is so hot that a speaker jokingly recommends it as a cooking appliance, several nouns look plausible as targets in isolation. The intended customers of the imaginary appliance may be mentioned. So may the kind of equipment the phone supposedly replaces. What makes the remark a criticism is the mismatch between what a phone should do and what this phone is doing. The suggested use helps express the ridicule, and the phone receives it. The target is a role that a phrase plays in the remark. Grammatical importance, unusual wording, and proximity to praise may all supply clues, while the role itself depends on the reading of the passage.

The authors start from an account of sarcasm as verbal irony used to ridicule or express contempt. In formulating the task, they assume that every sarcastic text has a target in this sense and reserve the term sarcasm target for sarcastic texts. The input is a text already taken to be sarcastic. A system is asked to extract the words that indicate the object of the ridicule, or to return Outside if the relevant wording is absent. The assumption that a target exists concerns the speaker’s meaning. The output convention concerns whether the reader can point to words in the passage that name or indicate it.

This distinction becomes concrete when someone reacts to an unpleasant incident with a cheerful remark about the start of the day. The line can contain a description of the time and a favorable evaluation while leaving the incident unstated. Under the paper’s formulation, a reader may understand that the speaker is reacting to something specific and still have no suitable phrase to extract. Outside is the answer for that case. It records the absence of a textual target expression without requiring a description of the incident that prompted the remark. The wider interpretive issue is how the words support an inference about what the speaker means. Implicature

An explicit target can be a person or organization, including one referred to by a pronoun. A situation can have its own wording too. A speaker who feigns enthusiasm about being ignored has named the experience in the words describing it. This is different from a remark that simply praises the way things are going while leaving those things unspecified. The extraction task accommodates both forms by allowing phrases for situations alongside expressions for entities. Its answer depends on the wording that happens to be available in each input.

Several explicit expressions can also be correct at once. In one of the paper’s cases, a comparison sets one person’s supposed skill at a task alongside another person’s supposed skill at a different task. The joke can diminish both. Annotating only the first person would preserve part of the interpretation and lose the other part. This is a different difficulty from selecting a target among distracting mentions. A remark about an overheating phone has several candidate expressions, while the comparison can have several valid answers. The authors’ annotation convention asks readers to mark all targets in the latter case.

From detecting sarcasm to assigning sentiment

The literature the authors review mostly asks whether a text is sarcastic. In that setup, a detector assigns a category to a passage. The paper’s survey of earlier approaches identifies recurring strategies, including discovering sarcastic patterns with limited initial supervision, treating hashtags as evidence for labeling examples, and drawing on context. Those strategies offer ways of recognizing a sarcastic reading across different sources. Target identification changes the required answer from a passage-level judgment to an extraction from inside a passage, with an explicit option for an unstated target. The paper situates itself against this earlier account of automatic sarcasm detection.

The distinction matters when the detector has already done its job. A favorable-looking word in a recognized sarcastic remark can still leave a system uncertain about which part of the passage receives the implied criticism. Consider the paper’s phone battery example. A favorable adjective would fit an ordinary compliment about battery quality. The reference to a short running time gives the compliment a sarcastic reading. To attribute the criticism to a product aspect, a system must associate that reading with the battery. Assigning a negative judgment to the entire message leaves that finer question unresolved.

Aspect-based sentiment analysis provides a practical reason to make the distinction. An entity such as a phone can be evaluated along different dimensions, including its weight, color, or battery. In the authors’ account of earlier work, some techniques use probabilistic representations of recurring topics to discover aspects, and some estimate aspect and sentiment together. A method of that kind addresses how evaluations can be organized by what they concern. The sarcasm paper isolates a more local question, asking which words in this particular passage name the aspect or other object at which the ridicule is directed. One example of the earlier joint treatment comes from Titov and McDonald’s work on aspect ratings.

Opinion target extraction supplies another close precedent. It seeks the entity at which an expressed evaluation is directed. The approach by Qiu and colleagues, as described in the paper, identifies opinion expressions and their targets together. The authors draw on this related area both to motivate a sequence-labeling comparison and to suggest that grammatical relations might be useful in future work. The relation between evaluative wording and its target is relevant to both tasks. Sarcasm makes the connection harder to read from the literal tone, particularly where a favorable expression refers to an event that the speaker plainly dislikes. Opinion Word Expansion and Target Extraction through Double Propagation

A more specific precedent is the analysis of sarcasm as a contrast between a positive sentiment and a negative situation. A verb of enjoyment can signal how an utterance is framed, while what follows it describes the experience that makes the positive framing implausible. This observation gives the authors a way to move from detection to extraction. If the contrast helps explain the sarcasm, the constituent describing the situation is a plausible place to look for the target. The authors use this reasoning for particular rules, while their task definition also covers cases without that construction. Riloff and colleagues’ study of sentiment contrast in sarcasm

The authors present the task as new to computational work on sarcasm to the best of their knowledge. The novelty they claim is the combination of an explicit output definition, a labeled collection for that output, and an initial automatic system evaluated against it. They also see a possible use beyond sentiment attribution. A system generating a response would have more context if it could tell what prompted a sarcastic judgment. The paper makes that case as motivation for the extraction work. Its experiments focus on the extraction itself, leaving the effect on text generation as a proposed application.

The method, step by step

Creating the target labels

The authors start with material whose sarcasm had already been labeled in earlier studies. They take the sarcastic book passages from the collection associated with their earlier study of word-embedding features and the sarcastic tweets from the collection used by Riloff and colleagues. They then add the target labels needed for their new task. Every unit in the resulting resource contains a text paired with an answer that identifies wording from that text or gives the special label Outside. One source of the book material was the study Are Word Embedding-based Features Useful for Sarcasm Detection?

Three annotators with experience in linguistic labeling produced the reference answers. Each had more than 5 years of experience on tasks that included sentiment and word sense. They discussed what constitutes a sarcasm target before doing the work. For each item, the starting point was that the text was sarcastic. Their decision concerned which words, if any, indicated what the writer was ridiculing. The use of a shared definition gives the annotators an instruction they can apply across texts with different kinds of ridicule.

A phrase could refer to a situation, but the instructions favored a specific entity when the passage supported that reading. Consider an action that a speaker dislikes and a person performing it. Describing the action and pointing to the person can be plausible ways of accounting for the sarcasm. The preference helps constrain what to mark by directing attention to the specific entity where possible. The instructions also require complete coverage when there are several targets. An annotator who judges that a comparison attacks both of its subjects is expected to include both.

The labels preserve the form used in the passage. Annotators retain the wording and capitalization and leave punctuation at the edges of a target phrase out of the label. These details matter because extraction is scored against the text the annotators selected. An explanation of what the speaker meant may be apt while using words that are absent from the passage or adding a descriptive detail. A useful answer for this benchmark must also conform to the way the target is represented. The authors released the resulting book and tweet data in the Sarcasm-Target-Detection repository.

Turning a passage into candidate words

The automatic procedure has parallel paths. One applies written rules to the sarcastic input. The other uses a classifier to estimate target membership separately for each word. Both paths express their proposals in terms of words in the passage. The integrator then compares those proposals and produces the answer. The system can keep suggestions from either source or require support from both, depending on which configuration is being run.

From sarcastic text to a target prediction

The steps in order.

From sarcastic text to a target predictionStep 1: Start with a text labeled sarcastic1. Start with a text labeled sarcasticStep 2: Apply grammatical and sentiment rules2. Apply grammatical and sentiment rulesStep 3: Combine rule votes by word3. Combine rule votes by wordStep 4: Classify words independently in a parallel path4. Classify words independently in a parallel pathStep 5: Merge the two sets of candidate words5. Merge the two sets of candidate wordsStep 6: Return selected words or Outside6. Return selected words or Outside

The shared word representation is what lets the paths interact. A rule may recognize an entire phrase in a single operation. The classifier decides whether each of its words belongs in the output, with no requirement that it make the same decision for neighboring words. Once both proposals are expressed as word selections, the integrator can retain just the points of agreement or collect wording selected in either path. It does not need a common account of why a particular word was chosen.

For the reader of a sarcastic passage, a target frequently looks like a coherent answer to a question about the speaker’s intent. The implementation takes a more local route to that answer. The rules use recognizable pieces of language and the classifier uses measurable word attributes. Across both paths, selection rests on cues observable in the input, such as whether a noun follows a positive adjective or whether a verb denotes a favorable attitude. The final output can consist of a single word, several words that form a phrase, or words referring to separate objects of ridicule.

What the rules recognize

The hand-written extractor has nine rules. Each asks whether a known form appears in the passage and proposes the words associated with it. Some rules go after likely references to people or things. Some use grammatical structures that can describe a situation. Others look for where praise and its subject come together. The paper uses Natural Language Toolkit tools where necessary for rule implementation. NLTK

R1 looks for personal pronouns and for possessive expressions that include what is possessed. The pronoun in a complaint aimed at the person being addressed can point directly to the target. A possessive expression can refer to something associated with the speaker or addressee, such as a job. The paper’s example involving exaggerated affection for a job illustrates why these are candidates. The first-person pronoun and the possessive phrase can both be proposed by the rule. Their appearance makes them available to the extractor, while the broader remark determines whether the job, the speaker, or something else is under ridicule.

R2 proposes names of people, organizations, and other named entities found in the input. In the example involving a spelling correction, the named organization is a plausible target because its software is described as correcting the writer’s own name. The rule itself is broad and offers every recognized name. A name could also identify the person used for comparison or someone who merely appears in the story. The recognition of a name supplies a candidate whose relevance still depends on the sentence. Named entity recognition

R3 uses the sentiment of a verb and the grammatical relation between the verb and the possible target. The rule takes the object of a positive sentiment verb as a candidate. The paper illustrates it with a declaration of enjoyment about a speaker’s experience of being ignored. The expression for that experience gives the content of the supposed enjoyment and becomes the rule’s proposal. A negative sentiment verb instead leads this rule to propose Outside. That is a candidate at the rule level. The system can still have words available from other rules or from the statistical path.

R4 applies when the verb used as the pivot carries no sentiment. It compares the sentiment scores of the subject side and the object side and takes the portion with the lower score. The example concerns an unwelcome test scheduled for the speaker’s birthday. The verb of deciding is neutral, even though the remark expresses excitement. The candidate returned by the rule is the portion describing the test. R3 and R4 use related intuitions, but they locate the clue differently. R3 starts with a positive evaluation expressed by the verb, while R4 uses a neutral verb to identify parts of the sentence whose sentiment can be compared.

R5 proposes verbal phrases headed by a gerund or an infinitive. The paper uses an example in which a speaker calls the experience of developing a rash enjoyable. The phrase that describes being affected is the candidate. An example with an infinitive involves supposed eagerness to get up early for babysitting. The rule proposes the infinitival expression describing that activity. Both constructions allow the target to be a described experience or event, even when no person or named object offers a good answer.

R6 looks for nouns modified by praise. Its general pattern is a positive adjective with a noun, and its implementation inspects the 1-3 words before a noun for positive sentiment. It returns the noun. In the paper’s example, a speaker draws attention to walls in a video game by exaggerating their realism. The target proposal retains the name of the objects being assessed. The favorable description serves as the cue that leads the rule to them. Keeping the noun also fits the annotation preference for a specific entity when one is identifiable.

R7 extracts the subject of a question. The motivating example places a remark about life in a rhetorical question following a reference to being stalked. The subject of the question is the candidate in that construction. A question can present its subject as the object of exaggerated praise, which is what makes the cue plausible for sarcasm. The rule relies on being able to distinguish that grammatical subject from other words in the question or the surrounding text.

R8 handles similes and comparisons of the kind introduced by expressions such as as if. It proposes the subjects or noun phrases on both sides. The paper’s comparison between someone’s coding ability and a public figure’s ability to avoid controversy illustrates the purpose of retaining both sides. The sentence can mock the person whose skill is being described and the figure to whom that person is compared. The cue comes from the structure of the comparison, an approach the authors connect to earlier work on sarcastic similes.

R9 proposes a noun together with the demonstrative that identifies it. In the example about a jacket, a favorable verb is used with a phrase containing the equivalent of this and the name of the garment. A demonstrative directs attention to something, and the rule retains that identifying word as part of the proposed target phrase. This differs from the output of R6, which takes the noun from a pattern involving positive adjectival context. Even if both fire around the same object, they can produce different boundaries.

Reconciling rule proposals

The rules can nominate overlapping pieces of text. An object picked out with a demonstrative could also occur as the object of a positive verb. Conversely, a sentence can carry a pronoun, a name, and a gerund phrase whose roles have little overlap. The authors combine the proposals through a weighted vote at the word level. A rule contributes its weight to each word it marks, and the extractor sums the weights contributed to that word. Words whose total is maximal are retained as the rule extractor’s candidates.

The weight is the rule’s overall accuracy as assessed on its own. The distinction between overall performance and performance where the rule applies is important here. A narrow rule may be apt whenever its construction appears, but its overall score reflects how it fares across the full collection. The weighting makes the contributions of rules with higher overall accuracy larger. The paper describes this weight and the vote that uses it. It leaves open some operational details, including how a rule’s Outside proposal is represented within a vote over words.

The maximum-score decision also shapes the response when there are several targets. If rules give equal highest support to words from separate targets, those words can survive together. If the support differs, a word with a lower sum can be left out even when a rule has identified a real target. The same happens within a phrase when one of its words receives additional support from another rule. A ranking of words is a straightforward way to reconcile proposals, and its output need not preserve the full phrase that first motivated a proposal.

Learning from individual words

The statistical extractor translates the reference answers into binary labels for training. The paper denotes the number of words in a text by n, so that text supplies n classification instances. A word belonging to a labeled target is assigned 1, and any other word is assigned 0. For a text whose reference answer is Outside, every word receives 0. If the target describes an unpleasant condition that the speaker calls enjoyable, the words naming the condition get the positive training label. Here positive means membership in the target. The sentiment of the word is a separate property.

The classifier’s inputs mix lexical identity, grammatical tags, sentiment scores, and a capitalization count. Its lexical feature is a unigram, the identity of the word considered individually. A word that occurs in many target expressions can therefore provide lexical evidence. The feature also allows the system to learn associations specific to the vocabulary it has seen. Words with similar roles can be spelled differently, so the authors also include cues that apply across vocabulary. N-gram

The grammatical cues give the category of the current word and those of the immediately preceding and following words. These features can distinguish a noun from an adjective and supply a small amount of syntactic context. For example, the tag of a neighboring word can help indicate that the current word is part of a phrase denoting an entity. Every prediction still concerns one position. The neighboring tags provide evidence used in that decision, without imposing a constraint that adjacent predictions form a well-formed span. Part-of-speech tagging

The sentiment features likewise work at the current word and its immediate surroundings. The word receives its own polarity value, and the local phrase receives a polarity value for the previous, current, and next words in order. The paper gives the range of these features as [-1,+1]. The inclusion of scores for both units reflects the corpus observation that target expressions tend to have lower sentiment strength than nearby text. A relatively neutral noun surrounded by strong evaluative language can therefore be distinguishable from the wording used to express the evaluation.

The capitalization feature counts the capital letters in the current word. The authors drew that cue from earlier work on sarcasm recognition. It can register a visible property of a token that its grammatical tag alone does not express. The paper describes it as a pragmatic feature, in the sense that a writer’s choice of capitalization can contribute to how a message comes across. In this system, the count is one source of evidence among the lexical, grammatical, and sentiment features. Davidov and colleagues’ work on semi-supervised sarcasm recognition

The classifiers are trained with SVM Perf and optimized for F-score. A support vector machine learns a decision boundary that separates examples labeled as targets from other words using their features. The radial basis function kernel, abbreviated RBF, lets the decision depend on nonlinear relationships among those features. The reported optimization setting is e=0.5. The classifier parameter C is set to 1000 for tweets and 1500 for snippets. The paper reports that the RBF kernel performed better than a linear kernel. It gives no kernel comparison scores.

For prediction, the extractor gathers the words whose labels are 1. In a short passage with a pronoun, a linking verb, and an approving adjective, a prediction of 1 for the pronoun alone yields that pronoun as the candidate. A run of 0 labels yields Outside. The same procedure handles contiguous words and words separated in the input. This is how an approach trained on individual words returns an answer at the level of a whole text.

Combining the extractors

Hybrid OR takes the union of the proposed word sets. A word from a written rule can survive even when the classifier omits it, and a word recognized only by the classifier can also be retained. If there are no words to take from either set, the system returns Outside. The authors motivate this arrangement by the limited coverage any collection of written patterns can have. A candidate can survive based on whichever extractor recognizes the local evidence.

Hybrid AND takes the intersection. A word becomes part of the prediction only when both extractors select it. The special output Outside is used whenever the intersection is empty. This includes cases where the extractors nominate different words, even if each has returned a candidate. The two configurations can therefore produce different final answers simply because they impose different standards of evidence. The authors trace the choice to try both operations to earlier work using an author’s history for sarcasm prediction. Your Sentiment Precedes You

Experiments and results

The collections and the agreement exercise

The two datasets contain sarcastic examples and have different length and vocabulary profiles. Across the 224 book snippets, the average text length is 28.47 words, the reported vocabulary size is 1710, and the collection contains 6377 words. Across the 506 tweets, the corresponding average is 13.06 words, the vocabulary size is 1458, and the total is 6610 words. The book collection is smaller in textual units and has longer units on average. The totals are also the instance counts used for the word classifier.

The target lengths show a different ordering from the full texts. The average target in the book snippets is 1.6 words. In the tweets it is 2.08 words. Thus, the collection with shorter texts has the longer average target expression. This matters for understanding the task at the word level. A typical decision is about a short portion of a passage, and the passage length and target length describe different properties of that decision. The reported means give a general sense of size while leaving variation across cases, including multiple targets, unresolved.

The corpus analysis uses a sentiment word list from McAuley and Leskovec to get word polarity values. The paper defines polarity strength for a piece of text by summing its words’ polarities. For book snippets, the reported mean is 0.0087 for the targets and 0.027 for the portion apart from them. For tweets, the corresponding values are 0.035 and 0.53. In both collections the words selected as targets have lower mean strength by this measure. That observation motivates a sentiment feature and the neutral-word baseline. The comparison is about the reported aggregate scores, so an individual target can still contain language with sentiment.

A separate agreement experiment asked two undergraduate computer science students to annotate 50 snippets and 50 tweets. They worked independently of each other and of the experts who had produced the benchmark labels. The students had studied with English as the main language of instruction. They received the same guiding question about which words indicate the target of an already sarcastic input. The comparison is between the students’ answers. It measures how similarly those readers carried out the extraction assignment.

The students matched each other exactly for 28% of the book snippets and 38% of the tweets. Partial match was reported as 66% for each dataset. The authors suggest that the targets in tweets may be stated more directly and specifically, making it easier to choose the same wording. The partial agreement tells a complementary story. Readers can agree on some words while making different choices about the full span, about which entity should receive priority, or about whether another target deserves a label. The figures give a measure of annotation difficulty separate from the scores of the automatic systems.

Validation and comparisons

The authors use four-fold cross-validation in both domains. They describe creating the folds over the word instances, numbering 6377 for snippets and 6610 for tweets. The classifier is trained to make decisions on those instances. The resulting decisions are assembled into target predictions and evaluated at the sentence level. This distinction between the training unit and the scoring unit is essential. One training example asks about membership of a word, while one scored answer compares the system’s selection for the text with the reference selection for the text.

The first baseline selects all neutral words after excluding stop words. Stop words in this setup are words filtered out before the polarity test is used to form the output. The baseline takes the corpus observation that targets tend to be neutral and applies it directly. A neutral noun denoting the object of ridicule is eligible, as are any other eligible neutral words in the passage. It therefore tests whether the association with neutrality has enough specificity to recover the annotated wording on its own. The authors call it All Objective Words.

The other baseline treats the task as sequence labeling, an approach the authors encountered in opinion target extraction. Sequence labeling assigns a label to each position in an ordered input and can make use of dependencies between local labels. The authors use SVM-HMM with default settings. The name refers to a support vector approach for labeling sequences with a Markov structure. This baseline supplies a comparison with a technique already considered suitable for related extraction problems, whereas the learning-based branch of the authors’ system makes its classifications separately for each word.

The comparisons also include the rule and learning branches on their own. This makes it possible to ask what changes when both contribute to the final prediction. Because each hybrid uses the same kinds of candidate output, a comparison between the hybrids tells us about their selection criteria. A comparison with each branch alone tells us whether combining the available evidence helps under a particular metric. The comparisons with the neutral-word heuristic and sequence labeling address whether those gains are substantial enough to improve on distinct alternatives.

What counts as a match

Exact match accuracy reports the share of evaluated texts for which the prediction agrees completely with the reference target list. Omitting a word of a longer target breaks the exact match. Adding an extra word also breaks it. Exact match is demanding when there are several targets because the output must account for all of them as annotated. This metric addresses whether the whole answer can be used as the complete reference extraction.

Dice score measures the amount of overlap relative to the sizes of both lists. The paper gives the overlap calculation in terms of the predicted and actual lists. Written with explicit length notation, it is

Dice = (2 × |X ∩ Y|) / (|X| + |Y|)

Dice is the overlap score. X denotes the predicted list and Y denotes the reference list. ∩ identifies what the two lists share, and the vertical bars give the size of the enclosed list or overlap. 2 is the multiplier on the overlap count, × denotes multiplication, and + adds the two list lengths. / divides the weighted overlap count by that total. The parentheses group the numerator and denominator, and = identifies the expression as the score. An extra predicted word increases the prediction size without adding to the overlap. A missing reference word reduces the overlap the system could otherwise receive.

The different scores matter because a partially correct extraction can still tell a reader a great deal about what is being mocked. A system that selects the name of the correct object along with some neighboring words has found part of the answer. Exact match gives the entire prediction the same outcome as a selection with no relevant word. Dice distinguishes these cases through their different overlap. For a reference answer of Outside, the paper says exact and partial success coincide. The system either returns that answer or gives words in its place.

How the systems scored

Hybrid OR leads the Dice comparison on both datasets. The charts report the values from the four-fold evaluation, with each collection displayed separately. The separation matters because the corpora have different kinds of text, different target length averages, and different frequencies of cases with no explicit target words.

Dice scores for target identification in book snippets

Hybrid OR leads the comparison, with sequence labeling close behind.

Dice scores for target identification in book snippetsAll Objective Words: 16.14All Objective Words16.14Sequence labeling: 31.44Sequence labeling31.44Rule-based extractor: 26.02Rule-based extractor26.02Learning-based extractor: 31.2Learning-based extractor31.2Hybrid OR (this paper): 32.68Hybrid OR (this paper)32.68Hybrid AND: 21.28Hybrid AND21.28
The numbers
System or settingDice score
All Objective Words16.14
Sequence labeling31.44
Rule-based extractor26.02
Learning-based extractor31.2
Hybrid OR (this paper)32.68
Hybrid AND21.28

Dice scores for target identification in tweets

Hybrid OR has the highest overlap score, ahead of sequence labeling and either extractor alone.

Dice scores for target identification in tweetsAll Objective Words: 27.16All Objective Words27.16Sequence labeling: 33.41Sequence labeling33.41Rule-based extractor: 29.13Rule-based extractor29.13Learning-based extractor: 31.8Learning-based extractor31.8Hybrid OR (this paper): 39.63Hybrid OR (this paper)39.63Hybrid AND: 20.82Hybrid AND20.82
The numbers
System or settingDice score
All Objective Words27.16
Sequence labeling33.41
Rule-based extractor29.13
Learning-based extractor31.8
Hybrid OR (this paper)39.63
Hybrid AND20.82

The sequence-labeling baseline is a meaningful comparator. On snippets it slightly exceeds the learning branch’s Dice score, and on tweets it again scores above either individual branch. The broader hybrid reaches the highest value in both collections. The more restrictive hybrid falls below both individual branches on Dice in both datasets. In tweets it also falls below the neutral-word heuristic. The tables therefore support an advantage for a specific way of combining the candidates when the evaluation rewards overlap.

Exact match changes the ranking. The table gives the paper’s reported exact-match accuracy for each system in the same evaluation.

ApproachBook snippets, exact matchTweets, exact match
All Objective Words0.01.38
Sequence labeling12.0512.26
Rule-based extractor9.829.48
Learning-based extractor12.0510.48
Hybrid OR7.019.09
Hybrid AND16.5113.45

Hybrid AND has the highest exact-match accuracy. On book snippets the learning branch ties the sequence baseline, and on tweets the sequence baseline is ahead of both branches. Hybrid OR’s exact-match accuracy is below that baseline on both datasets. Its strength is that it captures more of the annotated wording in the overlap evaluation, even though complete agreement is relatively uncommon. The results do not give a single ordering independent of the intended use of the predicted words.

The paper’s discussion makes a broad claim that the proposed approaches outperform the baseline on both scores. The tables support a more specific conclusion. The best configuration beats both baselines on each metric, with the winning configuration changing by metric. The individual approaches have different outcomes against sequence labeling, and the restrictive hybrid falls below the simpler heuristic on tweet Dice. Reading the figures by dataset, metric, and configuration preserves the experimental result without assigning a gain to every proposed system.

What the ablations show

What the two extractors contribute

The paper compares each extractor alone with each combination and evaluates every written rule individually. The branch comparisons isolate what happens when the candidate sets are combined, and the single-rule comparisons show how extensively particular cues apply. The experiments also examine an especially difficult reference category and test an interpretation of the differences between the corpora with human readers.

The rule and learning branches have distinct routes to a possible answer. A rule can recognize the object of a positive verb through the construction the authors specify. The learning branch can select a word based on its features even where the rules make no supported proposal for it. On both datasets the learning branch scores above the rule branch on the reported exact-match and Dice measures. For the overlap metric, adding the rule proposals through Hybrid OR then brings the score above the learning branch alone. The result is consistent with some of the rule proposals supplying useful words that the classifier would otherwise omit.

The behavior of Hybrid AND shows what can happen when both sources must agree. Exact extraction can benefit when one source removes an extra word proposed by the other. The same restriction can turn a useful partial answer into a short fragment or an empty selection. The authors attribute the higher exact match in part to the restrictive word selection. The reported totals show the effect on the two scores, while leaving the frequency of those individual mechanisms unmeasured. In particular, the tables do not break the exact matches into explicit spans and Outside outputs for each variant.

These comparisons establish complementarity at the level of aggregate overlap. They do not identify which learning features produced the gains or which rules supplied the useful marginal words after combination. The authors report their choice of kernel and list the feature families, but they give no measurements for removing capitalization, polarity, grammatical tags, or lexical identity one family at a time. The data therefore let a reader compare complete branches and selection strategies. Assigning the result to a specific feature would require a different comparison.

When a rule applies and when it helps

The authors give each rule an overall score across the collection and a conditional score on texts that match its trigger. The conditional comparison asks whether the rule is useful when the relevant linguistic form is present. It addresses a weakness of looking only at the full collection. A rule for a question, for example, cannot contribute its characteristic evidence to passages with no such question. An overall score combines how broadly a rule can be used with how well its output works where it can be used.

In the snippets, the question-subject rule R7 has an overall exact match of 3.12 and a conditional exact match of 9.46. Those numbers describe the same rule on different sets of texts. Its higher score in the conditional column indicates why the authors find the distinction useful. The rule’s full-dataset result is low, while the question construction gives it a better opportunity to produce the exact target on the subset where it applies.

Which rule comes out ahead also depends on which type of score is being read. In book snippets, R2 has the highest overall exact match among individual rules, at 8.48. R1 has the highest overall Dice score, at 32.8. The conditional columns identify different cues. The comparison rule R8 reaches 35.02 for conditional exact match, while the demonstrative rule R9 reaches 53.67 for conditional Dice. An abundant reference type can contribute useful overlap throughout the collection. A narrower construction can be a stronger clue when it appears. These are different grounds for valuing a rule.

In tweets, the rule using the object of a positive sentiment verb, R3, reaches 55.77 for conditional Dice. It has the highest overall exact-match score among the tweet rules, at 12.45, while R5 leads overall Dice at 23.87. R8 reaches 50 for conditional exact match in tweets, the highest individual-rule value in that column. The results support taking patterns of sentiment contrast and comparison seriously as extraction cues. The conditional subsets are defined by the rules’ different triggers, so their scores characterize the rules in their own settings. They do not compare all of them on an identical group of texts.

The rule weighting can also be understood in light of this distinction. The method gives votes according to overall accuracy, while the conditional analysis reveals settings where a specialized rule has stronger results. The paper does not report an alternative hybrid in which those conditional scores replace the overall weights. What it shows is the presence of this difference in rule behavior. Any claim that weighting by conditional performance would improve final predictions would go beyond the experiment.

How direct the ridicule seems to readers

The authors wondered whether the differences between the tweet and book results might reflect a difference in directness. To explore that idea, they selected tweets containing man, which gave them 13 tweets. They randomly chose 13 book snippets containing the same word and randomly paired the texts across sources. The shared word gave the authors a way to produce comparable pairs for a small judgment exercise. It did not prescribe what the target would be in each text.

An engineer and a linguist, who had not produced the target annotations, judged which item in each pair expressed its ridicule more directly. They were unaware of the hypothesis and were not informed that each pair combined a tweet and a snippet. The engineer chose the tweet in 10 out of 13 pairs, and the linguist chose the tweet in 11 out of 13 pairs. The shared tendency supports the proposed interpretation for these selected pairs. Their question concerned how direct the ridicule sounded, rather than asking them to agree on the words that an extractor should return.

The comparison helps explain why the authors took the genre difference seriously. Some automatic overlap results are higher for tweets, and the independent agreement exercise also gives tweets a higher exact match. The directness judgments give a separate observation consistent with those patterns. Some other results, including the winning exact-match accuracy, favor the snippets. Directness is one possible explanation for a portion of the contrast, and the paired exercise leaves its relationship to each system’s performance open.

What happens when the target is outside the text

The authors isolate cases labeled Outside and evaluate Hybrid OR on them. The annotations contain 11 such book snippets, reported as 5%, and 53 such tweets, reported as 10%. This slice tests a decision that extraction systems can get wrong by being too ready to select visible words. A remark still has an interpretation in which something is ridiculed. The system succeeds by returning the special label when none of the available words specifies it.

For book snippets, the reported Outside scores are 6.81 for exact match and Dice. The overall exact-match accuracy is 7.01, and overall Dice is 32.68. For tweets, the Outside scores are both 4.71, alongside 9.09 exact match and 39.63 Dice overall. A substantial portion of the difference in what the metrics express comes from the scoring convention. The special label admits full agreement or failure, while a reference with explicit words can give partial credit. Exact match also falls on this subset, which independently points to difficulty in returning the expected label.

The paper gives examples in which the system proposed a pronoun from a text whose human answer was Outside. In one, the speaker dismissively suggests an absurd explanation involving fruit and cheese. The prediction picks the speaker’s pronoun while the disputed circumstance is left unstated. In another, the system identifies the pronoun for the person who says they are being ignored, while the reference answer concerns an unexpressed situation. These errors illustrate how a word can be prominent in the utterance and still fail to name the object of ridicule.

The authors also give a successful Outside prediction for a remark expressing sarcastic approval of the way an interaction is being handled. The juxtaposition of successes and failures shows that the broader hybrid can sometimes decline to extract words. Its empty-output condition remains demanding. For that hybrid to return Outside, neither source may supply any word it can pass to the union. The paper evaluates this behavior for Hybrid OR and leaves open how frequently the other configurations correctly decline an explicit extraction in the same cases.

Limitations

Difficulties identified by the authors

The authors’ error analysis distinguishes between what provokes sarcasm and what receives it. A speaker exaggerating enjoyment of being ignored may be mocking the experience. If the remark adds who is doing the ignoring, it may be directed at that person, with the experience explaining the criticism. Both readings can be intelligible, and each gives a different answer under the extraction rules. This is especially troublesome for recurring patterns. A phrase that is itself a target in one sentence can help explain a target elsewhere without being the selected target there.

A similar ambiguity occurs in the authors’ example about people taking an elevator at a gym. The behavior is incongruous enough to supply the joke, and the people who engage in it can also be understood as its object. Giving annotators a preference for specific entities helps them make a decision for the dataset. It cannot make every speaker’s intention equally clear from the words. A classifier can learn that a particular expression frequently accompanies a target and still have difficulty determining which role it has in a particular use.

The authors also identify a lack of context. In an example about a couple compared with neighbors, the people being addressed are mocked. The interpretation of the named neighbors depends on what the speaker and listeners know about them. If the neighbors really exemplify a favorable reputation, the comparison can be used to heighten the apparent praise. If their reputation is unfavorable, the comparison can implicate the neighbors in the ridicule too. The raw mention is present in both interpretations. Deciding whether it is a second target requires information beyond having recognized its words or category.

Cases with an unstated target raise another kind of context problem. The system can find several plausible-looking expressions in a reaction even when the situation being judged is never named. More precise selection among the visible expressions would still leave the need to recognize when the answer lies beyond the text. The authors propose closer attention to this category. They also suggest expanding the written rules, adding statistical features, and investigating discourse relations and grammatical dependencies as sources of evidence. Their proposed use of relations among words draws on earlier results for opinion extraction. Dependency parsing

Limits of the benchmark and evaluation

The benchmark starts with text already labeled as sarcastic. Its scores therefore describe the extraction stage given that premise. A system working with ordinary incoming messages would also have to identify when the task applies. Errors in deciding whether a message is sarcastic would change the set of inputs reaching the target extractor. The paper evaluates neither this joint setting nor the effect of attaching predictions to product aspects in a downstream sentiment system. The suggested benefits in sentiment analysis and response generation are motivations for studying the target.

Both datasets also inherit their sources from earlier collections. Cross-validation within the two datasets shows how the systems fare under the reported partitions of those collections. It gives no transfer result from training on book snippets and predicting on tweets, or in the opposite direction. A genre may change the length of the passages, the language used to express ridicule, and how often the target is explicit. The experiments give a useful comparison on these corpora, while generalization across new domains remains an empirical question.

The fold description raises a particular issue for interpreting the reported accuracy. The authors say that the folds are created over word instances while evaluation takes place over texts. They do not state that all instances belonging to a given text are kept in one fold. If instances from the same text enter different partitions, the evaluation differs from holding out complete unseen passages, especially because neighboring words contribute to the features. The protocol as described leaves the degree of separation by text unclear. The paper also gives no detailed account of how the data used to estimate rule weights relate to the evaluation folds.

Some measurements are easier to interpret at the scale of the published comparison than at the level of reconstructing individual predictions. For example, the paper reports both the number of Outside items and the scores on the subset, but gives no underlying success counts or explanation of how the subset scores are pooled. The reported figures warrant treating those cases as difficult for Hybrid OR. They do not give a complete accounting of how often each kind of error occurred. Likewise, the tables give point estimates. Close rankings, such as the book-snippet Dice scores for Hybrid OR and sequence labeling, should be read as reported orderings under this evaluation.

The agreement exercise reveals difficulty while leaving the stability of the reference labels partly open. The additional annotators were different from the experienced readers who created the benchmark, and the paper measures agreement between the additional annotators. Those percentages are therefore neither a direct estimate of agreement among the original annotators nor a ceiling for performance against the reference labels. The paper describes the original annotators’ shared discussion and instructions, but does not detail an adjudication process or report how frequently the original experts independently chose identical spans.

The output representation also constrains what can be evaluated. Outside collapses cases where the speaker mocks something beyond the words into a single answer. Correctly emitting that label gives no further information about which absent person, circumstance, or prior event the speaker meant. Word overlap can identify partial success among explicit targets, but it cannot represent the semantic relation between an explanation and an entity in the cases where the two compete. The benchmark captures an important piece of interpretation by testing what wording a system can point to. An account of what the speaker is doing can remain incomplete after that wording is selected.

The directness exercise has a correspondingly narrow basis. Its participants judged a selected group of pairs containing a shared word. They answered a question about the comparative directness of ridicule, and source identities were withheld in the instructions. Nothing in the results establishes whether stylistic cues let them infer the source or whether another sampling criterion would produce the same pattern. The observations support the authors’ interpretation for those pairs. A general claim about how directly each genre expresses ridicule would require broader evidence.

What came after

The later papers continue to use a task focused on the object of sarcasm. The earliest of these works makes the change in approach explicit in its title. It presents a deep-learning framework for detecting sarcasm targets. The continuity is in the question the system answers. The natural unit of interest remains the target of the sarcasm, even as a learned framework takes the place of the earlier paper’s emphasis on writing patterns and combining their proposals with a word classifier. The cited work dates to 2019. A deep-learning framework to detect sarcasm targets

A 2022 paper takes target identification into a multimodal setting and names tweets as its domain. In the original study, tweets are among the input texts and each extraction depends on words and their features. The later title retains the tweet as the kind of item being interpreted and makes the range of input evidence broader through multimodal target identification. This extends the setting of the task while keeping the target question recognizable. The title establishes the change in scope without specifying which original annotations, baselines, or scoring conventions it carries forward. Multimodal Sarcasm Target Identification in Tweets

CofiPara, from 2024, also addresses multimodal sarcasm target identification and presents its approach as coarse-to-fine. At the level expressed by that description, the work organizes identification around moving from a broader judgment towards a more specific one. The original paper had organized the problem around separate sources of candidate words and a choice of how to merge them. These descriptions distinguish the approaches by the structure of the identification process, while leaving the stages and their effects dependent on the later paper’s own experiments. CofiPara

The progression visible in these works is from an initial benchmark and hybrid extractor to a deep-learning approach and then to multimodal formulations. The original benchmark made a specific part of sarcastic interpretation measurable by separating the detection of sarcasm from the identification of what it attacks. The later works preserve that question while changing how the system tries to answer it and what evidence the task can accommodate.

 Institutions

 Fields, topics and concepts

 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works

 Topics 1Research subjects and languages the work is about.Sentiment & emotion · 1,037 works

Cite

Cite as Aditya Joshi, Pranav Goel, Pushpak Bhattacharyya and Mark Carman. 2018. Sarcasm Target Identification: Dataset and An Introductory Approach. Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{joshi2018sarcasm,
  title = {{Sarcasm Target Identification: Dataset and An Introductory Approach}},
  author = {Aditya Joshi, Pranav Goel, Pushpak Bhattacharyya and Mark Carman},
  booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018)},
  year = {2018},
  doi = {10.63317/2xck5kccxygt},
  url = {https://doi.org/10.63317/2xck5kccxygt}
}

References

26 references, 11 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Altun, Y., Tsochantaridis, I., and Hofmann, T. (2003). Hidden markov support vector machines. In Proceedings of the 20th International Conference on Machine Learning (ICML-03), pages 3–10. OpenAlex ↗ · Scholar ↗
  2. Bird, S. (2006). Nltk: the natural language toolkit. In Proceedings of the COLING/ACL on Interactive presentation sessions, pages 69–72. Association for Computational Linguistics.
  3. Campbell, J. D. and Katz, A. N. (2012). Are there necessary conditions for inducing a sense of sarcastic irony? Discourse Processes, 49(6):459–480. OpenAlex ↗ · Scholar ↗
  4. Davidov, D., Tsur, O., and Rappoport, A. (2010). Semi-supervised recognition of sarcastic sentences in twitter and amazon. In Proceedings of the fourteenth conference on computational natural language learning, pages 107– 116. Association for Computational Linguistics.
  5. González-Ibánez, R., Muresan, S., and Wacholder, N. (2011). Identifying sarcasm in twitter: a closer look. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies: Short Papers-Volume 2, pages 581–586. Association for Computational Linguistics.
  6. Jin, W., Ho, H. H., and Srihari, R. K. (2009). Opinionminer: a novel machine learning system for web opinion mining and extraction. In Proceedings of the 15th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 1195–1204. ACM. OpenAlex ↗ · Scholar ↗
  7. Joachims, T. (2006). Training linear svms in linear time. In Proceedings of the 12th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 217–226. ACM. OpenAlex ↗ · Scholar ↗
  8. Joshi, A., Sharma, V., and Bhattacharyya, P. (2015). Harnessing context incongruity for sarcasm detection. In ACL (2), pages 757–762.
  9. Joshi, A., Bhattacharyya, P., and Carman, M. J. (2016a). Automatic sarcasm detection: A survey. arXiv preprint arXiv:1602.03426.
  10. Joshi, A., Tripathi, V., Patel, K., Bhattacharyya, P., and Carman, M. (2016b). Are word embedding-based features useful for sarcasm detection? arXiv preprint arXiv:1610.00883.
  11. Khattri, A., Joshi, A., Bhattacharyya, P., and Carman, M. (2015). Your sentiment precedes you: Using an author’s historical tweets to predict sarcasm. In Proceedings of the 6th workshop on computational approaches to subjectivity, sentiment and social media analysis, pages 25– 30.
  12. Lu, B., Ott, M., Cardie, C., and Tsou, B. K. (2011). Multi-aspect sentiment analysis with topic models. In Data Mining Workshops (ICDMW), 2011 IEEE 11th International Conference on, pages 81–88. IEEE. OpenAlex ↗ · Scholar ↗
  13. McAuley, J. J. and Leskovec, J. (2013). From amateurs to connoisseurs: modeling the evolution of user expertise through online reviews. In Proceedings of the 22nd international conference on World Wide Web, pages 897– 908. ACM. OpenAlex ↗ · Scholar ↗
  14. Michelson, M. and Knoblock, C. A. (2007). Unsupervised information extraction from unstructured, ungrammatical data sources on the world wide web. International Journal on Document Analysis and Recognition, 10(3):211–226. OpenAlex ↗ · Scholar ↗
  15. Mukherjee, A. and Liu, B. (2012). Aspect extraction through semi-supervised modeling. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics: Long Papers-Volume 1, pages 339– 348. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  16. Pang, B. and Lee, L. (2005). Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In Proceedings of the 43rd annual meeting on association for computational linguistics, pages 115– 124. Association for Computational Linguistics.
  17. Pang, B., Lee, L., et al. (2008). Opinion mining and sentiment analysis. Foundations and Trends R in Information Retrieval, 2(1–2):1–135. OpenAlex ↗ · Scholar ↗
  18. Qiu, G., Liu, B., Bu, J., and Chen, C. (2011). Opinion word expansion and target extraction through double propagation. Computational linguistics, 37(1):9–27.
  19. Rajadesingan, A., Zafarani, R., and Liu, H. (2015). Sarcasm detection on twitter: A behavioral modeling approach. In Proceedings of the Eighth ACM International Conference on Web Search and Data Mining, pages 97– 106. ACM. OpenAlex ↗ · Scholar ↗
  20. Riloff, E., Qadir, A., Surve, P., De Silva, L., Gilbert, N., and Huang, R. (2013). Sarcasm as contrast between a positive sentiment and negative situation. In EMNLP, volume 13, pages 704–714.
  21. Shamay-Tsoory, S. G., Tomer, R., and Aharon-Peretz, J. (2005). The neuroanatomical basis of understanding sarcasm and its relationship to social cognition. Neuropsychology, 19(3):288. OpenAlex ↗ · Scholar ↗
  22. Sørensen, T. (1948). A method of establishing groups of equal amplitude in plant sociology based on similarity of species and its application to analyses of the vegetation on danish commons. Biol. Skr., 5:1–34. OpenAlex ↗ · Scholar ↗
  23. Tan, C., Lee, L., Tang, J., Jiang, L., Zhou, M., and Li, P. (2011). User-level sentiment analysis incorporating social networks. In Proceedings of the 17th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 1397–1405. ACM. OpenAlex ↗ · Scholar ↗
  24. Titov, I. and McDonald, R. (2008). A joint model of text and aspect ratings for sentiment summarization. proceedings of ACL-08: HLT, pages 308–316.
  25. Tsur, O., Davidov, D., and Rappoport, A. (2010). Icwsm-a great catchy name: Semi-supervised recognition of sarcastic sentences in online product reviews. In ICWSM, pages 162–169. OpenAlex ↗ · Scholar ↗
  26. Veale, T. and Hao, Y. (2010). Detecting ironic intent in creative comparisons. In ECAI, volume 215, pages 765– 770. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/joshi-2018-sarcasm-target-identification-dataset-introductory/