AraModernBERT:阿拉伯语的转令牌初始化和长上下文编码器建模
AraModernBERT: Transtokenized Initialization and Long-Context Encoder Modeling for Arabic
AI总结:
AraModernBERT通过转令牌初始化和长上下文建模提升了阿拉伯语的编码器性能,验证了其在多种自然语言理解任务中的有效性。
摘要:
仅编码器的transformer模型仍然广泛用于判别NLP任务,但最近的架构进展主要集中在英语上。在本工作中,我们介绍了AraModernBERT,即ModernBERT编码器架构对阿拉伯语的适应,并研究了转令牌嵌入初始化和本地长上下文建模对8192个令牌的影响。我们证明转令牌化对于阿拉伯语建模至关重要,相较于非转令牌化初始化,在掩码语言建模性能上带来了显著提升。我们进一步展示了AraModernBERT支持稳定有效的长上下文建模,能够在扩展序列长度时获得改进的内在语言建模性能。在阿拉伯语自然语言理解任务上的下游评估,包括推理、侮辱语言检测、问题-问题相似性和命名实体识别,证实了其在判别和序列标注设置中的强大迁移能力。我们的结果突显了将现代编码器架构适应阿拉伯语和其他阿拉伯衍生脚本语言的实践考虑。
英文摘要:
Encoder-only transformer models remain widely used for discriminative NLP tasks, yet recent architectural advances have largely focused on English. In this work, we present AraModernBERT, an adaptation of the ModernBERT encoder architecture to Arabic, and study the impact of transtokenized embedding initialization and native long-context modeling up to 8,192 tokens. We show that transtokenization is essential for Arabic language modeling, yielding dramatic improvements in masked language modeling performance compared to non-transtokenized initialization. We further demonstrate that AraModernBERT supports stable and effective long-context modeling, achieving improved intrinsic language modeling performance at extended sequence lengths. Downstream evaluations on Arabic natural language understanding tasks, including inference, offensive language detection, question-question similarity, and named entity recognition, confirm strong transfer to discriminative and sequence labeling settings. Our results highlight practical considerations for adapting modern encoder architectures to Arabic and other languages written in Arabic-derived scripts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。