---
title: "Sarcasm Identification and Detection in Conversion — A 2020"
description: "This paper describes a system built for the FigLang 2020 shared task, which challenges participants to identify sarcasm within conversations taking place…"
authors: ["Kalaivani A.", "Thenmozhi D."]
year: 2020
venue: "Proceedings of the Second Workshop on Figurative Language Processing"
source: "https://aclanthology.org/2020.figlang-1.10/"
doi: "10.18653/v1/2020.figlang-1.10"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/papers/a-2020-sarcasm-identification-detection-conversion-context/"
---
[Elamur Research](https://md.research.elamur.ai/) · [this page in HTML](https://research.elamur.ai/free/papers/a-2020-sarcasm-identification-detection-conversion-context/)

[home](https://md.research.elamur.ai/) / [papers](https://md.research.elamur.ai/free/papers/) / [2020](https://md.research.elamur.ai/free/papers/2020/page/4/) / Sarcasm Identification and Detection in Conversion Context using BERT

# Sarcasm Identification and Detection in Conversion Context using BERT

**Authors:** Kalaivani A., Thenmozhi D. · **Year:** 2020 · **Venue:** Proceedings of the Second Workshop on Figurative Language Processing · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/2020.figlang-1.10/) · [PDF](https://aclanthology.org/2020.figlang-1.10.pdf) · [DOI 10.18653/v1/2020.figlang-1.10](https://doi.org/10.18653/v1/2020.figlang-1.10) · [OpenAlex](https://openalex.org/W3046194722)

**Citations:** 26 citations (openalex-snapshot · 2026-10-14) · [5](#cited-by) in our library, of the 140673 papers whose bibliographies we read

## Summary

This paper describes a system built for the FigLang 2020 shared task, which challenges participants to identify sarcasm within conversations taking place on social media. Each instance is a reply (response) to a dialogue thread (context), and the goal is to label it SARCASM or NOT_SARCASM. The authors also examine how much of the preceding conversation actually helps the decision.

They work with the organisers' Twitter and Reddit datasets. The pipeline cleans social-media noise: user mentions, URLs, hashtags, elongated words, censored profanity, contractions and run-together words. Three families of models are then compared:

* classical classifiers on Doc2Vec or TF-IDF features;
* an RNN-LSTM with Word2Vec embeddings;
* a fine-tuned uncased BERT model.

Each is fed different combinations of context and response.

BERT trained on the response alone gives the best scores on both forums. Adding the conversation context did not improve results. The LSTM struggled on such small training sets. For anyone building sarcasm or offensive-language classifiers, the takeaway is practical: with little data, a pretrained transformer on the target utterance is a strong baseline, and longer dialogue context is not automatically useful.

## Key points

- **Data:** Twitter train has 5,000 balanced instances (2,500 per class), and Reddit train has 4,400 (2,200 per class). Each test set contains 1,800 items.
- **Best results:** the system scored macro-F1 0.722 on Twitter and 0.679 on Reddit, both with BERT on the isolated response (R). On Twitter, combining context with the response (CR) dropped F1 to 0.671.
- **Classical baselines:** LR, RF, XGBoost, linear SVC and Gaussian NB were tested. TF-IDF features clearly beat Doc2Vec, which stayed near chance (about 0.50 cross-validation accuracy). The authors attribute this to ungrammatical text.
- **LSTM:** the RNN-LSTM performed poorly (F1 0.361 on Twitter CR), which the authors blame on the small dataset size.
- **BERT setup:** uncased model with batch size 32, learning rate 2e-5, 3 epochs and warmup proportion 0.1.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

Fields: [Linguistics & languages](https://md.research.elamur.ai/free/shelves/linguistics/)

## Cited by

Cited by

5 papers of our library cite it (of the 140673 whose bibliographies we read); 1 of them have a page here, 4 not yet.

- [A Report on the 2020 Sarcasm Detection Shared Task](https://md.research.elamur.ai/free/papers/ghosh-2020-report-2020-sarcasm-detection-shared/)

## Cite

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

```bibtex
@inproceedings{a2020sarcasm,
  title = {{Sarcasm Identification and Detection in Conversion Context using BERT}},
  author = {A and D},
  booktitle = {Proceedings of the Second Workshop on Figurative Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.figlang-1.10},
  url = {https://doi.org/10.18653/v1/2020.figlang-1.10}
}
```

- [← previous Sarcasm Detection using Context Separators in Online Discourse](https://md.research.elamur.ai/free/papers/dadu-2020-sarcasm-detection-context-separators-online/)
- [next → Scalable Zero-shot Entity Linking with Dense Entity Retrieval](https://md.research.elamur.ai/free/papers/wu-2020-scalable-zero-shot-entity-linking/)
- [↑ back to papers of 2020](https://md.research.elamur.ai/free/papers/2020/page/4/)

## References

6 references, 4 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Joshi, A., Bhattacharyya, P., and Carman, M. J. 2017. Automatic sarcasm detection: A survey. ACM Computing Surveys (CSUR), 50(5), 73. [↗](https://doi.org/10.48550/arxiv.1602.03426) [our card](https://md.research.elamur.ai/free/papers/joshi-2016-automatic-sarcasm-detection-survey/)
2. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805. [↗](https://arxiv.org/abs/1810.04805)
3. Ghosh, D., Fabbri, A. R., and Muresan, S. 2018. Sarcasm analysis using conversation context. Computational Linguistics, 44(4), 755-792. [↗](https://doi.org/10.1162/coli_a_00336) [our card](https://md.research.elamur.ai/free/papers/ghosh-2018-sarcasm-analysis-conversation-context/)
4. Khodak, M., Saunshi, N., and Vodrahalli, K. 2017. A large self-annotated corpus for sarcasm. arXiv preprint arXiv:1704.05579. [↗](https://arxiv.org/abs/1704.05579) [our card](https://md.research.elamur.ai/free/papers/khodak-2018-large-self-annotated-corpus-sarcasm/)
5. Aniruddha Ghosh, and Tony Veale. 2016. Fracking Sarcasm using Neural Network”, research gate publication, Conference Paper. DOI: 10.13140/RG.2.2.16560.15363. [↗](https://doi.org/10.13140/rg.2.2.16560.15363) [our card](https://md.research.elamur.ai/free/papers/ghosh-2016-fracking-sarcasm-neural-network/)
6. Keith Cortis, Andre Freitas, Tobias Daudert, Manuela Hurlimann, Manel Zarrouk, Siegfried Handschuh, and Brian Davis. 2017. SemEval-2017 Task 5: Fine-Grained Sentiment Analysis on Financial Microblogs and News”, Proceedings of the 11th [find](https://scholar.google.com/scholar?q=Keith+Cortis%2C+Andre+Freitas%2C+Tobias+Daudert%2C+Manuela+Hurlimann%2C+Manel+Zarrouk%2C+Siegfried+Handschuh%2C+and+Brian+Davis%2E+2017%2E+SemEval%2D2017+Task+5%3A+Fine%2DGrained+Sentiment+Analysis+on+Financial+Microblogs+)
