Lune

NeurIPS2024Top-tier venue

How do Large Language Models Handle Multilingualism?

Yiran Zhao, Wenxuan Zhang, Guizhen Chen, Kenji Kawaguchi, Lidong Bing

2024Year
196Citations
33Top-tier citations

Abstract

Large language models (LLMs) have demonstrated impressive capabilities across diverse languages. This study explores how LLMs handle multilingualism. Based on observed language ratio shifts among layers and the relationships between network structures and certain capabilities, we hypothesize the LLM's multilingual workflow (MWork\texttt{MWork}): LLMs initially understand the query, converting multilingual inputs into English for task-solving. In the intermediate layers, they employ English for thinking and incorporate multilingual knowledge with self-attention and feed-forward structures, respectively. In the final layers, LLMs generate responses aligned with the original language of the query. To verify MWork\texttt{MWork}, we introduce Parallel Language-specific Neuron Detection (PLND\texttt{PLND}) to identify activated neurons for inputs in different languages without any labeled data. Using PLND\texttt{PLND}, we validate MWork\texttt{MWork} through extensive experiments involving the deactivation of language-specific neurons across various layers and structures. Moreover, MWork\texttt{MWork} allows fine-tuning of language-specific neurons with a small dataset, enhancing multilingual abilities in a specific language without compromising others. This approach results in an average improvement of 3.6%3.6\% for high-resource languages and 2.3%2.3\% for low-resource languages across all tasks with just 400400 documents.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 89cd7fd9-b3bb-4b6d-a651-8f4505ace15d

Cited by top-tier papers33

Ask how each one uses it

Builds on17

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines