Skip to main content

A transformer approach to contextual sarcasm detection in twitter

Publication ,  Conference
Gregory, H; Li, S; Mohammadi, P; Tarn, N; Draelos, R; Rudin, C
Published in: Proceedings of the Annual Meeting of the Association for Computational Linguistics
January 1, 2020

Understanding tone in Twitter posts will be increasingly important as more and more communication moves online. One of the most difficult, yet important tones to detect is sarcasm. In the past, LSTM and transformer architecture models have been used to tackle this problem. We attempt to expand upon this research, implementing LSTM, GRU, and transformer models, and exploring new methods to classify sarcasm in Twitter posts. Among these, the most successful were transformer models, most notably BERT. While we attempted a few other models described in this paper, our most successful model was an ensemble of transformer models including BERT, RoBERTa, XLNet, RoBERTa-large, and ALBERT. This research was performed in conjunction with the sarcasm detection shared task section in the Second Workshop on Figurative Language Processing, co-located with ACL 2020.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

Proceedings of the Annual Meeting of the Association for Computational Linguistics

DOI

ISSN

0736-587X

ISBN

9781952148125

Publication Date

January 1, 2020

Start / End Page

270 / 275
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Gregory, H., Li, S., Mohammadi, P., Tarn, N., Draelos, R., & Rudin, C. (2020). A transformer approach to contextual sarcasm detection in twitter. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 270–275). https://doi.org/10.18653/v1/P17
Gregory, H., S. Li, P. Mohammadi, N. Tarn, R. Draelos, and C. Rudin. “A transformer approach to contextual sarcasm detection in twitter.” In Proceedings of the Annual Meeting of the Association for Computational Linguistics, 270–75, 2020. https://doi.org/10.18653/v1/P17.
Gregory H, Li S, Mohammadi P, Tarn N, Draelos R, Rudin C. A transformer approach to contextual sarcasm detection in twitter. In: Proceedings of the Annual Meeting of the Association for Computational Linguistics. 2020. p. 270–5.
Gregory, H., et al. “A transformer approach to contextual sarcasm detection in twitter.” Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2020, pp. 270–75. Scopus, doi:10.18653/v1/P17.
Gregory H, Li S, Mohammadi P, Tarn N, Draelos R, Rudin C. A transformer approach to contextual sarcasm detection in twitter. Proceedings of the Annual Meeting of the Association for Computational Linguistics. 2020. p. 270–275.

Published In

Proceedings of the Annual Meeting of the Association for Computational Linguistics

DOI

ISSN

0736-587X

ISBN

9781952148125

Publication Date

January 1, 2020

Start / End Page

270 / 275