Binarizer at SemEval-2018 Task 3: Parsing dependency and deep learning for irony detection
Paper · 2018 · Nishant Nikhil and Muktabh Mayank Srivastava
Summary
The paper describes team Binarizer's entry to SemEval-2018 Task 3, Subtask A: a binary decision on whether an English tweet is ironic. The authors assume that irony often arises when different parts of a tweet carry clashing emotions. Each tweet is parsed with TweeboParser, a dependency parser for tweets trained on Tweebank. Its output is frequently a multi-rooted graph, and the words under each root are grouped into one phrase. Every phrase is encoded with the pretrained DeepMoji emoji-prediction model, taking its 2,304-dimensional attention output in place of the softmax. Up to nine phrase vectors are concatenated and passed to a fully connected classifier. One variant adds an embedding of the whole tweet. Trained on 3,833 tweets, the system placed ninth of 43 by accuracy and seventeenth by F1. A submission glitch meant only 446 of the 784 test tweets were scored. The work matters because it treats syntactic segmentation as a way to expose sentiment contrast inside a short text.
Key points
- Parser: TweeboParser produces unlabelled dependencies and tends to leave hashtags, URLs and emoticons out of the tree. It was trained on a subset of Tweebank (929 tweets, 12,318 tokens).
- Encoder: DeepMoji was trained on 1.2 billion emoji-bearing tweets. Its feature vector concatenates three layers: 256 embedding dimensions plus two BiLSTM layers of 1,024 each, giving 2,304.
- Classifier: Phrase slots are fixed at nine, with zero-padding or truncation. The fully connected layers run 20,736 → 9,216 → 2,304 → 256 → 2, all with tanh, trained by SGD with learning rate 0.01 and momentum 0.5.
- Variants:
- System α uses phrase vectors only and gave higher precision.
- System β also includes a whole-tweet vector and gave higher recall.
- Data: Tweets were collected via the #irony, #sarcasm and #not hashtags, then manually cleaned. The split was 3,833 for training and 784 for testing, scored by accuracy, precision, recall and F1.
Interesting ideas
- I1. Each root of a multi-rooted parse is treated as its own utterance, so a parser's fragmentation becomes a free segmentation of noisy text. This could help wherever texts mix several sentences or fragments.
- I2. Irony is modelled as contrast between the emotional colouring of separate segments, not as a property of the whole text. This gives an inspectable signal for where the mismatch lies.
- I3. A model pretrained on a cheap proxy label (emoji prediction) is used as a sentiment feature extractor for a scarce target label. This transfers well to any task with little annotated data.
- I4. Comparing segment-only and segment-plus-whole-text inputs showed a precision/recall trade-off. Context therefore changes which errors a system makes, not just how many.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (tree): The tree stage could expose disconnected roots as explicit utterance units, rather than forcing a single tree, and pass each unit separately downstream.
- I2 (frames): The irony component in prag could compare the polarity of frames from different utterances and flag a clash, naming the two conflicting segments as its explanation.
- I3 (learn): Abundant weak signals such as emoji, punctuation or hashtags could serve as silver supervision for evaluative-stance features, which are then checked against a small gold set.
- I4 (learn): Evaluation could run paired ablations with and without global context and report precision and recall separately, so the operating point fits the downstream use.
Institutions
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 9,086 worksArtificial Intelligence · 8,889 worksArts and Humanities · 9,296 worksLanguage and Linguistics · 9,206 works
🧭 Topics 2Research subjects and languages the work is about.English · 1,373 worksSentiment & emotion · 608 works
Cite
Cite as Nishant Nikhil and Muktabh Mayank Srivastava. 2018. Binarizer at SemEval-2018 Task 3: Parsing dependency and deep learning for irony detection. Proceedings of the 12th International Workshop on Semantic Evaluation.
@inproceedings{nikhil2018binarizer,
title = {{Binarizer at SemEval-2018 Task 3: Parsing dependency and deep learning for irony detection}},
author = {Nishant Nikhil and Muktabh Mayank Srivastava},
booktitle = {Proceedings of the 12th International Workshop on Semantic Evaluation},
year = {2018},
doi = {10.18653/v1/s18-1102},
eprint = {1805.01112},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/s18-1102}
}References
- Francesco Barbieri, Horacio Saggion, and Francesco Ronzano. 2014. Modelling sarcasm in twitter, a novel approach. In Proceedings of the 5th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, pages 50–58.
- Soujanya Poria, Erik Cambria, and Alexander Gelbukh. 2016. Aspect extraction for opinion mining with a deep convolutional neural network. Knowledge-Based Systems, 108:42–49. ↗
- Paula Carvalho, Luı́s Sarmento, Mário J Silva, and Eugénio De Oliveira. 2009. Clues for detecting irony in user-generated contents: oh...!! it’s so easy;-. In Proceedings of the 1st international CIKM workshop on Topic-sentiment analysis for mass opinion, pages 53–56. ACM. find
- Federico Alberto Pozzi, Elisabetta Fersini, Enza Messina, and Bing Liu. 2016. Sentiment analysis in social networks. Morgan Kaufmann Publishers Inc., San Francisco, CA. ↗
- Dmitry Davidov, Oren Tsur, and Ari Rappoport. 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.
- Tomáš Ptáček, Ivan Habernal, and Jun Hong. 2014. Sarcasm detection on czech and english twitter. In Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers, pages 213–223.
- Bjarke Felbo, Alan Mislove, Anders Søgaard, Iyad Rahwan, and Sune Lehmann. 2017. Using millions of emoji occurrences to learn any-domain representations for detecting sentiment, emotion and sarcasm. In Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1615– 1625.
- Ellen Riloff, Ashequl Qadir, Prafulla Surve, Lalin-dra De Silva, Nathan Gilbert, and Ruihong Huang. 2013. Sarcasm as contrast between a positive sentiment and negative situation. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pages 704–714.
- Oren Tsur, Dmitry Davidov, and Ari Rappoport. 2010. Icwsm-a great catchy name: Semi-supervised recognition of sarcastic sentences in online product reviews. In Proceedings of International AAAI Conference on Web and Social Media, pages 162–169. find
- Cynthia Van Hee, Els Lefever, and Vronique Hoste. 2018. Semeval-2018 task 3: Irony detection in english tweets. In Proceedings of the 12th International Workshop on Semantic Evaluation (SemEval-2018), New Orleans, LA, USA.
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/nikhil-2018-binarizer-semeval-2018-task-3/