用语言家族专家让医疗大模型高效支持50种语言
Efficiently Democratizing Medical LLMs for 50 Languages via a Mixture of Language Family Experts
- 用语言家族专家和稀疏路由,让模型跨语言迁移更高效
- 在50种语言上实现医疗问答性能提升,且不增加参数量
- 适合想低成本部署多语言医疗AI的研究者与开发者
将医疗大模型适配本地语言可降低医疗获取门槛,但低资源语言数据稀缺仍是主要挑战。为此,我们构建高质量医疗数据集并进行质量分析。为利用多语言大模型的泛化能力,我们从多语言视角探索大模型内部信息流,采用混合专家(MoE)模块化结构。技术上,提出一种基于语言特异性专家与跨语言路由的新路由方法。受电路理论启发,路由分析揭示了‘终局分散’机制:早期层集中跨语言信息,后期层呈现语言特异性分化。这一发现直接催生了后置MoE架构,仅在后期层使用稀疏路由,保持其他层密集连接。实验表明,该方法提升了多语言模型对新语言的泛化能力,同时保留可解释性。最后,为高效扩展至50种语言,引入语言家族专家概念,结合语言学先验,实现语言数量扩展而不增加额外参数。
原文摘要 · Abstract (English)
Adapting medical Large Language Models to local languages can reduce barriers to accessing healthcare services, but data scarcity remains a significant challenge, particularly for low-resource languages. To address this, we first construct a high-quality medical dataset and conduct analysis to ensure its quality. In order to leverage the generalization capability of multilingual LLMs to efficiently scale to more resource-constrained languages, we explore the internal information flow of LLMs from a multilingual perspective using Mixture of Experts (MoE) modularity. Technically, we propose a novel MoE routing method that employs language-specific experts and cross-lingual routing. Inspired by circuit theory, our routing analysis revealed a Spread Out in the End information flow mechanism: while earlier layers concentrate cross-lingual information flow, the later layers exhibit language-specific divergence. This insight directly led to the development of the Post-MoE architecture, which applies sparse routing only in the later layers while maintaining dense others. Experimental results demonstrate that this approach enhances the generalization of multilingual models to other languages while preserving interpretability. Finally, to efficiently scale the model to 50 languages, we introduce the concept of language family experts, drawing on linguistic priors, which enables scaling the number of languages without adding additional parameters.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。