[论文解读] RoBERTuito: a pre-trained language model for social media text in Spanish
RoBERTuito 是一个基于 RoBERTa 的模型,在 5 亿条西班牙语推文上训练,以提升西班牙语社交媒体 NLP 任务,具备有竞争力的跨语言与代码切换能力,并在 HuggingFace 上发布。
Since BERT appeared, Transformer language models and transfer learning have become state-of-the-art for Natural Language Understanding tasks. Recently, some works geared towards pre-training specially-crafted models for particular domains, such as scientific papers, medical documents, user-generated texts, among others. These domain-specific models have been shown to improve performance significantly in most tasks. However, for languages other than English such models are not widely available. In this work, we present RoBERTuito, a pre-trained language model for user-generated text in Spanish, trained on over 500 million tweets. Experiments on a benchmark of tasks involving user-generated text showed that RoBERTuito outperformed other pre-trained language models in Spanish. In addition to this, our model achieves top results for some English-Spanish tasks of the Linguistic Code-Switching Evaluation benchmark (LinCE) and has also competitive performance against monolingual models in English tasks. To facilitate further research, we make RoBERTuito publicly available at the HuggingFace model hub together with the dataset used to pre-train it.
研究动机与目标
- 为西班牙语社媒文本的领域特定预训练模型需求提供动机。
- 开发并发布一个大规模西班牙语 Twitter 语言模型(RoBERTuito)及其变体。
- 在西班牙语社媒分类任务和代码切换基准上评估 RoBERTuito。
- 提供透明的数据和模型以实现可重复性和进一步的西语 NLP 研究。
提出的方法
- 在 ~500M 条西班牙语推文上训练 RoBERTa-base 架构(有大小写、无大小写与去重音变体)。
- 使用归一化策略和 SentencePiece 标记化(词汇表大小 30k)对推文进行预处理。
- 在西班牙语、英语和西班牙语-英语代码切换任务上使用标准分类头对句子和标记进行微调。
- 在任务 A: Hate、任务 B: Sentiment、Emotion、Irony;任务 LinCE 的代码切换;以及 SemEval2017 的英语任务上,与西班牙基线(BETO、RoBERTa-BNE、BERTin)和多语言模型进行基准比较。
- 分析输入大小写和重音的影响,并评估与多语言模型相比的代码切换性能。
实验结果
研究问题
- RQ1RoBERTuito 是否在西班牙语社媒分类任务上优于通用领域的预训练模型?
- RQ2无大小写、大小写和去重音版本对西班牙语社媒任务的影响如何?
- RQ3与多语言模型相比,RoBERTuito 在西班牙语-英语代码切换任务中的表现如何?
- RQ4相对于单语英语模型,RoBERTuito 在英语 Twitter 任务上的表现如何?
- RQ5RoBERTuito 在西班牙语-英语等代码切换基准(如 LinCE)中是否有效?
主要发现
- RoBERTuito 无大小写版本在西班牙语仇恨言论(80.1)和情感(70.7)上取得顶尖表现,总分为 69.9,超过 BETO 和 RoBERTa-BNE。
- 去重音的 RoBERTuito 在仇恨 79.8、情绪 70.2、情感 54.3、讽刺 74.0、总分 69.6,与无去重音版本接近。
- 有大小写的 RoBERTuito 在若干西班牙语任务上也很强,但在仇恨 79.0、情感 70.1、情绪 51.9、讽刺 71.9、总分 68.2 等方面略逊于无大小写/去重音版本。
- 在英语任务上,RoBERTuito 一般超越 mBERT 和 XLM-R BASE 在情感、情绪和仇恨言论方面;在某些任务(如情感任务,分数 70.3)中,BERTweet 仍领先。
- 在 LinCE 代码切换基准(西班牙语-英语)中,RoBERTuito 的开发集结果(无大小写:情感 53.2、NER 67.2、POS 97.0)与多语言基线具有竞争力;在官方 LinCE 排行榜中,RoBERTuito 的情感得分最高(60.6),NER/POS 排名第二(68.5、97.2)。
- RoBERTuito 模型在参数效率方面优于 XLM-R LARGE(108M 参数)并在西班牙语任务上显示出有利的词汇效率。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。