arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.12704cs.LGcs.CL
收藏

低资源语言中的反讽检测

Sarcasm Detection in a Less-Resourced Language

University of Ljubljana(卢布尔雅那大学);Faculty of Computer and Information Science(计算机与信息科学学院)

Lazar Đoković, Marko Robnik-Šikonja

AI总结:

本文针对斯洛文尼亚语等低资源语言构建反讽检测数据集,利用机器翻译中型transformer模型和超大型生成语言模型生成数据,训练检测模型集成并评估性能,发现大模型及集成方法能提升检测效果,最佳集成F1达0.765。

摘要:

自然语言处理中的反讽检测任务试图分类一个话语是否具有反讽性。它与情感分析相关,因为反讽通常会反转表面情感。由于反讽句子高度依赖上下文,且常伴随各种非语言线索,该任务具有挑战性。大多数相关工作聚焦于英语等高资源语言。为了为斯洛文尼亚语等低资源语言构建反讽检测数据集,我们利用两种现代技术:一个特定于机器翻译的中型 transformer 模型,以及一个超大型生成式语言模型。我们探索了翻译数据集的可行性,以及预训练 transformer 的规模如何影响其检测反讽的能力。我们训练了检测模型的集成模型并评估了模型性能。结果表明,较大的模型通常优于较小的模型,且集成可以略微提升反讽检测性能。我们最佳的集成方法实现了0.765的F1分数,接近源语言中标注者之间的一致性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑