arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.11023cs.CL
收藏

探究语言自适应微调对使用AfriBERTa进行豪萨语情感分析的影响

Investigating the Impact of Language-Adaptive Fine-Tuning on Sentiment Analysis in Hausa Language Using AfriBERTa

University of the Witwatersrand(金山大学);Imperial College London(伦敦帝国学院)

Sani Abdullahi Sani, Shamsuddeen Hassan Muhammad, Devon Jarvis

AI总结:

本研究探讨语言自适应微调(LAFT)对豪萨语情感分析的影响,使用AfriBERTa模型,发现LAFT带来适度改进,且预训练模型显著优于非豪萨语专门模型,强调低资源场景下预训练和多样数据源的重要性。

摘要:

情感分析(SA)在自然语言处理(NLP)中扮演着至关重要的角色,通过识别文本中表达的情感来发挥作用。尽管在广泛使用的语言的情感分析方面已取得显著进展,但像豪萨语这样的低资源语言面临着独特的挑战,主要源于数字资源的匮乏。本研究探讨了语言自适应微调(LAFT)在提升豪萨语情感分析性能方面的有效性。我们首先整理了一个多样化的未标注语料库,以扩展模型的语言能力,随后应用LAFT使AfriBERTa专门适应豪萨语的细微差别。然后,在标注的NaijaSenti情感数据集上对适应后的模型进行微调,以评估其性能。我们的研究结果表明,LAFT带来了适度的改进,这可能归因于使用了正式的豪萨语文本而非非正式的社交媒体数据。尽管如此,预训练的AfriBERTa模型显著优于未专门针对豪萨语训练的模型,凸显了在低资源环境中使用预训练模型的重要性。这项研究强调了多样化数据源对于推进低资源非洲语言NLP应用的必要性。我们已发布代码和数据集,以鼓励进一步研究并促进低资源NLP的可复现性,详见:https://github.com/Sani-Abdullahi-Sani/Natural-Language-Processing/blob/main/Sentiment%20Analysis%20for%20Low%20Resource%20African%20Languages

英文摘要:

Sentiment analysis (SA) plays a vital role in Natural Language Processing (NLP) by ~identifying sentiments expressed in text. Although significant advances have been made in SA for widely spoken languages, low-resource languages such as Hausa face unique challenges, primarily due to a lack of digital resources. This study investigates the effectiveness of Language-Adaptive Fine-Tuning (LAFT) to improve SA performance in Hausa. We first curate a diverse, unlabeled corpus to expand the model's linguistic capabilities, followed by applying LAFT to adapt AfriBERTa specifically to the nuances of the Hausa language. The adapted model is then fine-tuned on the labeled NaijaSenti sentiment dataset to evaluate its performance. Our findings demonstrate that LAFT gives modest improvements, which may be attributed to the use of formal Hausa text rather than informal social media data. Nevertheless, the pre-trained AfriBERTa model significantly outperformed models not specifically trained on Hausa, highlighting the importance of using pre-trained models in low-resource contexts. This research emphasizes the necessity for diverse data sources to advance NLP applications for low-resource African languages. We published the code and the dataset to encourage further research and facilitate reproducibility in low-resource NLP here: https://github.com/Sani-Abdullahi-Sani/Natural-Language-Processing/blob/main/Sentiment%20Analysis%20for%20Low%20Resource%20African%20Languages

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

↑