AfroXLMR-Social:面向非洲语言社交媒体文本的自适应预训练语言模型
AfroXLMR-Social: Adapting Pre-trained Language Models for African Languages Social Media Text
AI总结:
本文提出AfriSocial语料库,探索DAPT与TAPT持续预训练方法,在覆盖19种非洲语言的社交媒体主观任务上显著提升性能,并公开数据与模型资源。
摘要:
基于多种来源构建的语言模型是当今自然语言处理进步的基础。然而,对于许多低资源语言而言,领域多样性往往有限,且更偏向宗教领域,这影响了它们在社交媒体等距离较远且快速演变的领域上的评估表现。领域自适应预训练(DAPT)和任务自适应预训练(TAPT)是通过对基于BERT的模型进行持续预训练来减少这种偏差的常用技术,但尚未在非洲多语言编码器上得到探索。本文探索了面向非洲语言社交媒体领域的DAPT和TAPT持续预训练方法。我们引入了AfriSocial,这是一个大规模社交媒体和新闻领域语料库,用于对多种非洲语言进行持续预训练。利用AfriSocial,我们表明DAPT在三个主观任务上持续提升性能(F1分数提升1%至30%):情感分析、多标签情绪和仇恨言论分类,覆盖19种语言。类似地,利用来自一个任务的数据进行TAPT可以提升其他相关任务的性能。例如,使用未标注的情感数据(源任务)针对细粒度情绪分类任务(目标任务)进行训练,将基线结果的F1分数提升了0.55%至15.11%。将这两种方法结合(即DAPT + TAPT)进一步提升了整体性能。数据和模型资源可在HuggingFace上获取。
英文摘要:
Language models built from various sources are the foundation of today's NLP progress. However, for many low-resource languages, the diversity of domains is often limited, more biased to a religious domain, which impacts their performance when evaluated on distant and rapidly evolving domains such as social media. Domain adaptive pre-training (DAPT) and task-adaptive pre-training (TAPT) are popular techniques to reduce this bias through continual pre-training for BERT-based models, but they have not been explored for African multilingual encoders. In this paper, we explore DAPT and TAPT continual pre-training approaches for African languages social media domain. We introduce AfriSocial, a large-scale social media and news domain corpus for continual pre-training on several African languages. Leveraging AfriSocial, we show that DAPT consistently improves performance (from 1% to 30% F1 score) on three subjective tasks: sentiment analysis, multi-label emotion, and hate speech classification, covering 19 languages. Similarly, leveraging TAPT on the data from one task enhances performance on other related tasks. For example, training with unlabeled sentiment data (source) for a fine-grained emotion classification task (target) improves the baseline results by an F1 score ranging from 0.55% to 15.11%. Combining these two methods (i.e. DAPT + TAPT) further improves the overall performance. The data and model resources are available at HuggingFace.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。