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

乌尔都语文本中的讽刺检测:基于机器学习模型与大语言模型的比较研究

Irony Detection in Urdu Text: A Comparative Study Using Machine Learning Models and Large Language Models

The University of Central Punjab (UCP)(旁遮普中央大学);Instituto Politécnico Nacional (IPN)(墨西哥国立理工学院)

Fiaz Ahmad, Nisar Hussain, Amna Qasim, Momina Hafeez, Muhammad Usman Grigori Sidorov, Alexander Gelbukh

AI总结:

本研究通过翻译英文讽刺语料库,比较机器学习与大型语言模型在乌尔都语讽刺检测中的性能,发现LLaMA 3 (8B)以94.61%的F1分数最优,验证了音译与现代NLP结合的有效性。

摘要:

讽刺识别是自然语言处理中的一项具有挑战性的任务,尤其是在处理句法和文化背景不同的语言时。在本工作中,我们旨在通过将英文讽刺语料库翻译成乌尔都语来检测乌尔都语中的讽刺。我们使用GloVe和Word2Vec嵌入评估了十种最先进的机器学习算法,并将其性能与经典方法进行了比较。此外,我们微调了先进的基于Transformer的模型,包括BERT、RoBERTa、LLaMA 2 (7B)、LLaMA 3 (8B)和Mistral,以评估大规模模型在讽刺检测中的有效性。在机器学习模型中,梯度提升取得了最佳性能,F1分数为89.18%。在基于Transformer的模型中,LLaMA 3 (8B)取得了最高性能,F1分数为94.61%。这些结果表明,将音译技术与现代NLP模型相结合,能够实现对乌尔都语(一种历史上资源匮乏的语言)中讽刺的稳健检测。

英文摘要:

Ironic identification is a challenging task in Natural Language Processing, particularly when dealing with languages that differ in syntax and cultural context. In this work, we aim to detect irony in Urdu by translating an English Ironic Corpus into the Urdu language. We evaluate ten state-of-the-art machine learning algorithms using GloVe and Word2Vec embeddings, and compare their performance with classical methods. Additionally, we fine-tune advanced transformer-based models, including BERT, RoBERTa, LLaMA 2 (7B), LLaMA 3 (8B), and Mistral, to assess the effectiveness of large-scale models in irony detection. Among machine learning models, Gradient Boosting achieved the best performance with an F1-score of 89.18%. Among transformer-based models, LLaMA 3 (8B) achieved the highest performance with an F1-score of 94.61%. These results demonstrate that combining transliteration techniques with modern NLP models enables robust irony detection in Urdu, a historically low-resource language.

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

↑