Efficiently Democratizing Medical LLMs for 50 Languages via a Mixture of Language Family Experts

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zheng, Guorui, Wang, Xidong, Liang, Juhao, Chen, Nuo, Zheng, Yuping, Wang, Benyou
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909484789530624
author Zheng, Guorui
Wang, Xidong
Liang, Juhao
Chen, Nuo
Zheng, Yuping
Wang, Benyou
author_facet Zheng, Guorui
Wang, Xidong
Liang, Juhao
Chen, Nuo
Zheng, Yuping
Wang, Benyou
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_10626
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficiently Democratizing Medical LLMs for 50 Languages via a Mixture of Language Family Experts
Zheng, Guorui
Wang, Xidong
Liang, Juhao
Chen, Nuo
Zheng, Yuping
Wang, Benyou
Computation and Language
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.
title Efficiently Democratizing Medical LLMs for 50 Languages via a Mixture of Language Family Experts
topic Computation and Language
url https://arxiv.org/abs/2410.10626