稀疏子网络增强用于大型语言模型中资源匮乏语言
Sparse Subnetwork Enhancement for Underrepresented Languages in Large Language Models
AI总结:
本文提出通过稀疏子网络增强方法,提升大型语言模型在资源匮乏语言上的性能,同时保持通用能力,并展示了其在多个语言模型上的有效性。
摘要:
大型语言模型(LLMs)在不同语言之间表现出显著的性能差异,特别是在高资源和低资源设置之间。我们提出了一种框架,通过针对稀疏、语言相关的子网络进行定向微调,以在保持通用能力的同时提高资源匮乏语言的性能。我们的方法利用语言激活概率熵(LAPE),这是一种信息论度量,能够可靠地捕捉语言特定的激活模式,以识别语言相关的神经元,并仅微调相应的权重。在Llama-3.1-8B、Mistral-Nemo-12B和Aya-Expanse-8B模型上,针对12种中等和低资源语言的实验表明,我们的方法在仅更新0.2-1%的模型参数时,始终优于全微调、FFN-only微调、LoRA、IA^3和随机子集基线。我们进一步表明,稀疏、神经元定向微调可以在不造成灾难性遗忘的情况下注入新的语言能力,对其他模型能力也有潜在的应用价值。对权重更新和内部表示的机理分析揭示了FFN投影在语言适应和改进跨语言对齐中的不对称作用。最后,我们发布了超过100种语言的语言神经元集,以及我们的适应流程,为扩展LLM到资源匮乏语言提供了一条成本效益高且可行的路径。
英文摘要:
Large language models (LLMs) exhibit substantial performance disparities across languages, particularly between high- and low-resource settings. We propose a framework for improving performance in underrepresented languages while preserving general-purpose capabilities via targeted fine-tuning of sparse, language-associated subnetworks. Our approach identifies language-relevant neurons using Language Activation Probability Entropy (LAPE), an information-theoretic metric that reliably captures language-specific activation patterns, and fine-tunes only the corresponding weights. Experiments on Llama-3.1-8B, Mistral-Nemo-12B, and Aya-Expanse-8B across 12 mid- and low-resource languages show that our method consistently outperforms full fine-tuning, FFN-only fine-tuning, LoRA, IA^3, and random-subset baselines while updating only 0.2-1% of model parameters. We further show that sparse, neuron-targeted fine-tuning can inject new language capabilities without catastrophic forgetting, with potential applicability to other model capabilities. Mechanistic analyses of weight updates and internal representations reveal asymmetric roles of FFN projections in language adaptation and improved cross-lingual alignment. Finally, we release language neuron sets for over 100 languages together with our adaptation pipeline, enabling a cost-effective path for extending LLMs to underrepresented languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。