Sarcasm Detection in a Less-Resourced Language

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Đoković, Lazar, Robnik-Šikonja, Marko
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913548957908992
author Đoković, Lazar
Robnik-Šikonja, Marko
author_facet Đoković, Lazar
Robnik-Šikonja, Marko
contents The sarcasm detection task in natural language processing tries to classify whether an utterance is sarcastic or not. It is related to sentiment analysis since it often inverts surface sentiment. Because sarcastic sentences are highly dependent on context, and they are often accompanied by various non-verbal cues, the task is challenging. Most of related work focuses on high-resourced languages like English. To build a sarcasm detection dataset for a less-resourced language, such as Slovenian, we leverage two modern techniques: a machine translation specific medium-size transformer model, and a very large generative language model. We explore the viability of translated datasets and how the size of a pretrained transformer affects its ability to detect sarcasm. We train ensembles of detection models and evaluate models' performance. The results show that larger models generally outperform smaller ones and that ensembling can slightly improve sarcasm detection performance. Our best ensemble approach achieves an $\text{F}_1$-score of 0.765 which is close to annotators' agreement in the source language.
format Preprint
id arxiv_https___arxiv_org_abs_2410_12704
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Sarcasm Detection in a Less-Resourced Language
Đoković, Lazar
Robnik-Šikonja, Marko
Machine Learning
Computation and Language
I.2.6; I.2.7
The sarcasm detection task in natural language processing tries to classify whether an utterance is sarcastic or not. It is related to sentiment analysis since it often inverts surface sentiment. Because sarcastic sentences are highly dependent on context, and they are often accompanied by various non-verbal cues, the task is challenging. Most of related work focuses on high-resourced languages like English. To build a sarcasm detection dataset for a less-resourced language, such as Slovenian, we leverage two modern techniques: a machine translation specific medium-size transformer model, and a very large generative language model. We explore the viability of translated datasets and how the size of a pretrained transformer affects its ability to detect sarcasm. We train ensembles of detection models and evaluate models' performance. The results show that larger models generally outperform smaller ones and that ensembling can slightly improve sarcasm detection performance. Our best ensemble approach achieves an $\text{F}_1$-score of 0.765 which is close to annotators' agreement in the source language.
title Sarcasm Detection in a Less-Resourced Language
topic Machine Learning
Computation and Language
I.2.6; I.2.7
url https://arxiv.org/abs/2410.12704