arXiv:2502.10140cs.CL2025-02ACL被引 8

用小模型+轻量适配器,让低资源语言的NLP效果大幅提升

Small Models, Big Impact: Efficient Corpus and Graph-Based Adaptation of Small Multilingual Language Models for Low-Resource Languages

  • 用文本和知识图谱数据,通过适配器微调小多语模型
  • 仅1GB文本或几MB知识图谱就显著提升语言建模和下游任务
  • 小模型比大模型更适合低资源语言,适配器省参数还高效

低资源语言(LRLs)因数据稀缺在自然语言处理中面临巨大挑战。尽管当前主流大语言模型(LLMs)仍难以有效支持LRLs,但容量更匹配小规模训练数据的小型多语言模型(mLMs)如mBERT和XLM-R展现出更大潜力。本研究系统评估了三种参数高效的适配器方法:序列瓶颈、可逆瓶颈和低秩适配。利用GlotCC的非结构化文本与ConceptNet的结构化知识,结果表明,仅需最多1GB自由文本或数MB知识图谱数据,即可在掩码语言建模等内在任务及话题分类、情感分析、命名实体识别等外在任务上取得显著提升。序列瓶颈适配器在语言建模中表现最优,而可逆瓶颈适配器因更好的嵌入对齐和更大参数量,在下游任务中略胜一筹。适配方法在性能上媲美甚至超越全量微调,且参数消耗极低;小mLMs在处理LRLs时优于大型LLMs如LLaMA-3、GPT-4及基于DeepSeek-R1的蒸馏模型。尽管适配有效,预训练数据量仍是决定性能的关键因素,尤其对预训练覆盖充分的语言而言。

原文摘要 · Abstract (English)

Low-resource languages (LRLs) face significant challenges in natural language processing (NLP) due to limited data. While current state-of-the-art large language models (LLMs) still struggle with LRLs, smaller multilingual models (mLMs) such as mBERT and XLM-R offer greater promise due to a better fit of their capacity to low training data sizes. This study systematically investigates parameter-efficient adapter-based methods for adapting mLMs to LRLs, evaluating three architectures: Sequential Bottleneck, Invertible Bottleneck, and Low-Rank Adaptation. Using unstructured text from GlotCC and structured knowledge from ConceptNet, we show that small adaptation datasets (e.g., up to 1 GB of free-text or a few MB of knowledge graph data) yield gains in intrinsic (masked language modeling) and extrinsic tasks (topic classification, sentiment analysis, and named entity recognition). We find that Sequential Bottleneck adapters excel in language modeling, while Invertible Bottleneck adapters slightly outperform other methods on downstream tasks due to better embedding alignment and larger parameter counts. Adapter-based methods match or outperform full fine-tuning while using far fewer parameters, and smaller mLMs prove more effective for LRLs than massive LLMs like LLaMA-3, GPT-4, and DeepSeek-R1-based distilled models. While adaptation improves performance, pre-training data size remains the dominant factor, especially for languages with extensive pre-training coverage.

小模型低资源语言适配器多语言

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。