How do Large Language Models Handle Multilingualism?

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 ($\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 $\texttt{MWork}$, we introduce Parallel Language-specific Neuron Detection ($\texttt{PLND}$) to identify activated neurons for inputs in different languages without any labeled data. Using $\texttt{PLND}$, we validate $\texttt{MWork}$ through extensive experiments involving the deactivation of language-specific neurons across various layers and structures. Moreover, $\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\%$ for high-resource languages and $2.3\%$ for low-resource languages across all tasks with just $400$ documents.

Paper

Similar papers

Peer review

Reviewer NLiQ7/10 · confidence 3/52024-07-13

Summary

This paper delves deeper into how LLMs handle multilingualism. The authors hypothesized a three-stage multilingual workflow called MWork: understanding, task-solving, and generating and which language(s) become essential in each stage. To verify their proposed workflow, they experimentally identify language-specific parameters and selectively deactivate them within different structures so this allows to assess the functionality of corresponding structures and enables the hypothesis. To do so, the authors develop a novel approach called Parallel Language-specific Neuron Detection (PLND). Without requiring labeled data, PLND can identify the language specific neurons. Following the PLND, the authors successfully identify the language-specific neurons which account for only 0.13% of all neurons. Their extensive results report that, by deactivating those neurons, the multilingual task performance could significantly dropped. This paper tackles an important research question of LLMs: how do large language models handle multilingualism? To address this, they deliberately design a new approach of PLND and successfully identifies a language-specific neurons in the LLM models. Along with their MWork hypothesis, they carefully conducted experiments with multiple languages with different scrips and verified their hypothesized three-stage multilingual workflow. This paper develops a useful model analysis tool of PLND. Their hypothesis is well explored in multiple languages. Technically well sound.

Strengths

- well-organized paper. clear presentation. - Technically sound by extensive experiments with different natural language understanding tasks with diverse language sets

Weaknesses

- no major weakness though

Questions

- Regarding those language-specific neuron, are there any patterns or trends related to language family grouping or similarity? Such analysis or findings would be interesting to NLP researchers. - Have you ever tried this approach against bigger models with > 7B parameters? - Since language-specific neurons are identified via the proposed framework, can we do model compression by preserving those specific parameters without losing multilingual capability? If you have examined this perspective, can you please share the results?

Rating

7

Confidence

3

Soundness

3

Presentation

4

Contribution

4

Limitations

N/A

Authorsrebuttal2024-08-11

Initial findings for your suggested future directions

Dear Reviewer NLiQ, I'm writing to express our gratitude for the time and effort you've dedicated to reviewing our paper. Your insightful questions have truly illuminated new directions for exploration. Please kindly refer to our first response for some preliminary results. As the discussion period nears its end, we would be delighted to receive any further comments or discussions you might have. Your input would be invaluable in enhancing our work and inspiring further research ideas. Thank you once again for your thoughtful review and support. Warm regards, Authors

Reviewer NLiQ2024-08-13

Thank you for the clarification and the additional experimental results. This paper presents extensive experiments with interesting findings. I have read all the reviews and the corresponding authors' responses, and I don't see any major concerns. Therefore, I will keep my score as it is (7: accept).

Reviewer TbKY6/10 · confidence 4/52024-07-13

Summary

The paper presents two key contributions. One is Parallel Language-specific Neuron Detection, a method of identifying elements of multilingual LLMs that are responsible for handling particular languages; the method only requires unlabeled text data in each language in order to detect these neurons, which makes it cheap and efficient. The second contribution is an insight into the workflow of multilingual LLMs (referred to in the paper as MWork), claiming that LLMs process input in three steps: understanding, task solving and output generation; task solving further splits into retrieval and thinking. Also, the thinking step is shown to be happening in English, while understanding, knowledge retrieval and generation are handled multilingually / specifically to the language of the input. Authors use PLND to verify that the models chosen for the experiments actually follow this workflow and conduct thorough experiments on two models about a dozen languages other than English, including high-resource and low-resource examples.

Strengths

- Both key contributions (PLND and MWork) are of fundamental relevance to the field of LLM interpretability and analysis - Presented experiments are rigorous and thorough - The paper is written clearly and although the subject is complex and multi-faceted, the authors do a good job of introducing the necessary concepts and definitions and explaining the rationale behind their work as well as the conducted experiments and analysis of their results.

Weaknesses

W1. Most importantly, the claims are very broad ("LLMs are this / LLMs do that"), however this is verified on two very similar models: the included Mistral and Vicuna models both have 7 billion parameters, which puts them on the modest end of modern LLMs. How can we be sure that models with more parameters (13 / 30 / 70 / ...) behave in a similar manner without testing?, what about the influence of the context length on the performance? This is even mentioned in the limitations section of the paper: I am not suggesting that the authors run an additional set of expensive experiments -- I am suggesting that the paper text should be adjusted to reflect the actual findings of the presented experiments and would avoid bold claims about "all LLMs". W2. Another weakly supported claim is that 400 documents was enough for language-specific neuron tuning, simply because tuning on 800 documents did not yield better results. I find that this is a single instance and without running more comparisons and more thorough comparisons this claim does not hold and should be adjusted in the text. This is especially important since improvements of 2.3% (low-resource) and 3.6% (high-resource) are small-scaled improvements and bigger amounts of language-specific data could be expected to yield bigger improvements. Again, rather than running tons of more experiments for a single paper I instead suggest that the paper text should be adjusted (e.g. calling it a "pilot study" or "preliminary indications/results" -- PLND and MWork themselves are already worthy contributions). W3. Not a strong weakness, but minor typos: - row 101: "With a set of n corpus" --> "With a set of n corpora", same on row 103 ('corpus' in plural is 'corpora') - row 319: "one brunch of work" --> "one branch of work"

Questions

Q1. There seems to be a leap from the experimental results to conclusions about how LLMs behave. Are the presented conclusions (about understanding->thinking->generating) the only possible explanation of the obtained results, or could there be other explanations? Q2. In your work the language-specificity is defined via that language only (importance is higher than a threshold). Would you expect a stronger performance of PLND if the language-specificity were defined contrastively, that is high impact on one language and low impact on other languages?, in other words, could a neuron be important to several languages?, and what would be the repercussions of such neurons on your work. Q3. In this work you focus on the "English / non-English" setting. Is this driven by the fact that English is the most abundant language in the training data?, and what would you expect the behavior of the models to be if another language were the most frequent, would the thinking be done in that language?, what about a more balanced setting where more than one language are dominant in the data (for example 40% English, 40% Chinese and other less frequent languages)? Q4. Concerning language-specific tuning, hypothetically, is multilingual performance of LLMs bound by English-centerdness? that is, can one achieve better performance of an LLM in a non-English language if that language's data is included into pre-training from the start, rather than being English-centered and tuned to a non-English language? Q5. Modern language models are often trained with programming code added to natural language texts. What would you expect your analysis to show in case the input is programming code or comments? Q6. Could full fine-tuning to a non-English language achieve better results than just tuning that language's language-specific neurons?

Rating

6

Confidence

4

Soundness

3

Presentation

4

Contribution

4

Limitations

All good.

Authorsrebuttal2024-08-11

Follow-up on Our Rebuttal Submission

Dear Reviewer TbKY, I hope this message finds you well. We are grateful for your valuable feedback on our submission and are pleased to see your positive score. We have addressed the points you raised in detail in our responses. As the discussion period is coming to a close soon, we kindly ask if you could review our responses at your earliest convenience. We are eager to know if our explanations have alleviated your concerns. If there are still areas needing improvement, your insights would be greatly appreciated and instrumental in enhancing our work. Thank you once again for your thoughtful review and support. Warm regards, Authors

Reviewer Nru95/10 · confidence 4/52024-07-14

Summary

This paper proposes MWork, a workflow to study how large language models handle multilingual inputs. The main idea is to detect English and non-English neurons by probing their value differences and performance gaps. Based on the results, they argue that there are three steps in the workflow: understanding, task solving, and generating. They also use experiments to support their hypothesis.

Strengths

- They propose an interesting way to understand the mechanism of large language models.

Weaknesses

- The authors classify neurons based on English and non-English, which is not very convincing to me. I believe that, beyond these two categories, there should be some neurons that are helpful for **all** languages. These neurons can be used for general understanding and logical reasoning. However, this paper ignores this aspect. See more explanations below. - For neuron detection, when computing the impact, I am curious why you do not remove the overlapping neurons. In this way, you can detect the real language-specific ones. Specifically, in Appendix C, although the authors argue that the intersection with English from other languages is relatively limited based on rows, if we look at the columns, it seems that all the language-specific neurons are covered by English ones, suggesting that they are actually not language-specific. It is very likely that these neurons are essential for general understanding and are language-agnostic. - It is not clear how English and non-English tokens are detected in Figure 1. Do you determine this by applying a decoder to decode from the hidden representations? - The authors argue that large language models will use English tokens for task solving with multilingual inputs based on the interpretation of Figure 1. However, Figure 1 also shows that models will use non-English tokens for task solving with English. I don’t think this is reasonable. From my perspective, the way to classify tokens or neurons is not accurate, and the ignorance of language-agnostic neurons makes this figure unreasonable. - From the experimental results, deactivating language-specific neurons sometimes causes a performance drop for both English and non-English, suggesting the existence of general neurons.

Questions

See above.

Rating

5

Confidence

4

Soundness

3

Presentation

3

Contribution

2

Limitations

Yes.

Authorsrebuttal2024-08-11

Rebuttal Review Required for Accurate Assessment

Dear Reviewer Nru9, I hope this message finds you well. The discussion period is ending soon, I am writing to emphasize the importance of your review for our submission. Your score is significantly lower than the other three reviewers, and we believe this discrepancy may indicate a misunderstanding or oversight. We have addressed all the concerns in our detailed rebuttal and would appreciate your prompt attention to it. A thorough reassessment is crucial to ensure a fair evaluation. Your expertise is highly valued, and we trust that a reconsidered review will reflect the true merit of our work. Thank you for your immediate attention to this matter. Best regards, Authors

Reviewer Nru92024-08-11

Thank you for your response. I would like to clarify my concerns. **Regarding language-agnostic neurons:** When I mention "language-agnostic neurons," I'm referring to the "overlapping neurons" found across language-specific neurons. As you show in Appendix C, there is a certain degree of overlap among neurons across different languages, indicating that they are not entirely language-specific. I believe it would be more appropriate to exclude these neurons from the language-specific category, as they may play a crucial role in reasoning and task-solving. If these neurons are not removed, the performance drop observed when removing English-specific or non-English-specific neurons could primarily be due to the loss of these important task-solving neurons rather than actual language differences. This is why I am not fully convinced by the experimental results.

Authorsrebuttal2024-08-11

Dear Reviewer Nru9, Thanks for further clarifying your concern. We acknowledge and value your observation regarding the potential language-agnostic nature of overlapped language-specific neurons and their significance in managing multilingualism. As detailed in our rebuttal, it is important to note that language-agnostic neurons primarily constitute those that are not identified as language-specific, encompassing approximately 99% of all neurons. As evidenced in Figure 5 and Figure 6 in Appendix C, while certain languages exhibit overlaps, most language pairs share only a small fraction of neurons (less than 0.5). Furthermore, upon calculating the neurons overlapped across all languages, they represent a mere 0.02% of the total neuronal population. These shared neurons between two or more languages merely denote multifunctionality, such as in an individual proficient in both French and Spanish concurrently, rather than being language-agnostic. We are grateful for your feedback and are currently conducting a related experiment to provide empirical evidence. We will provide you with our findings once we get the results during the ongoing discussion phase. Best Regards, Author

Reviewer Nru92024-08-12

Thanks for the reply. I personally think 0.4~0.5 overlapping ratio is not a small number and can potentially affect the results a lot. Also, I believe even a small amount of neurons can contribute a lot to the model behavior, as the importance of neurons in language models are not equally distributed. It would be great if you can provide the experiments with excluding those overlapping neurons. I am looking forward to the new empirical evidence you will have. Thanks.

Authorsrebuttal2024-08-13

Dear Reviewer Nru9, We appreciate your concern about the language-agnostic property of overlapped neurons among language-specific neurons across different languages. To address this, we have conducted the following experiments. We initially implement a radical deactivation approach, wherein we specifically deactivate overlapping elements between each language and English. These elements precisely correspond to the intersecting neurons in the first column of Figure 5. Presented below are the comprehensive findings pertaining to Mistral. Our evaluation is centered around the reasoning task, recognized as the most indicative and challenging assessment for the model. We compare under the optimal "deactivating" method, which involves deactivating all language-specific neurons except those in S-ATTN. | | Eng | n-Eng | $\Delta_{Eng}$ | $\Delta_{n-Eng}$ | $\Delta\uparrow$ | | -------------------------------------- | ---- | ----- | -------------- | ---------------- | ---------------- | | All LSN | 46.2 | 18.3 | +0.2 | -8.0 | +8.2 | | LSN without overlapped between English | 45.8 | 20.2 | -0.2 | -6.1 | +5.9 | As evident, the performance of English remains stable, contrasting sharply with the significant decline in the performance of multilingual. Removing overlapped neurons, as opposed to deactivating all language-specific neurons, leads to a less pronounced drop, yet the impact remains noteworthy. This demonstrates that overlapped neurons are not language-agnostic; they are not utilized for general comprehension and logical reasoning. Otherwise, the fundamental reasoning capacity and performance in multilingual contexts would remain unaffected. In addition, we retained the language-specific neurons that overlapped in all languages, meaning that we removed them from the language-specific neurons to be deactivated. Detailed results follow. | | Eng | n-Eng | $\Delta_{Eng}$ | $\Delta_{n-Eng}$ | $\Delta\uparrow$ | | ------------------------------------ | ---- | ----- | -------------- | ---------------- | ---------------- | | All LSN | 46.2 | 18.3 | +0.2 | -8.0 | +8.2 | | LSN without all languages overlapped | 45.6 | 18.7 | -0.4 | -7.6 | +7.2 | As we explained in our previous rebuttal, the neurons that overlap across all languages only account for 0.02% of the total number of neurons. From the results, we can see that the performance is almost the same as deactivating all language-specific neurons. This further proves that these neurons are not language-agnostic neurons, but only a subset of language-specific neurons. Furthermore, if we extend the overlapping neurons to languages including real low-source languages such as Vietnamese, Thai, Arabic, and Swahili (as shown in Table 6), the overlapping neurons account for less than 1 in 100,000. We agree that the importance of neurons in a language model is not evenly distributed, as neurons in a specific language account for only 0.1% of all neurons. However, it is hard to believe that 1 in 100,000 neurons can bear such important responsibilities such as basic reasoning and understanding, and this proportion will further decrease as the number of languages increases.

Reviewer Nru92024-08-13

Thanks for the additional results. This provides more insight regarding how those neurons contribute to the performance. Please include them in the final version. I've modify my score accordingly.

Reviewer 2b8J7/10 · confidence 5/52024-07-17

Summary

This paper examines how LLMs handle multilingualism. The author proposes a hypothetic workflow (MWork), which suggests that LLMs understand the multilingual query, think in English, and than generate results in the input language. A neuron detection method is proposed to detect language specific neurons. By deactivation some of the neurons, the authors validates the above workflow, and show that the ability for a specific language could be improved by finetuning only language specific neurons.

Strengths

The paper presents an interesting hypothesized workflow and validate it with neuron analysis. The analysis with neuron deactivation is sound enough.

Weaknesses

The analysis of this paper is based on the understanding of layers. However, it might be possible that different tasks or even different instances may have different splitting of layers for different stages in the workflow. How would this affect the analysis? It is still strange to know that 400 documents could improve the language ability of a low-resource languages, especially when 800 documents will not be more helpful.

Questions

See the weakness part.

Rating

7

Confidence

5

Soundness

3

Presentation

3

Contribution

3

Limitations

N/A

Authorsrebuttal2024-08-11

Regarding why 400 documents yield good performance

Dear Reviewer 2b8J, I hope this message finds you well. We are grateful for the time and effort you have put into reviewing our paper. Your concern regarding why only 400 documents can yield satisfactory performance indeed motivated us to do an additional experiment, kindly refer to the later part of our first response. As the discussion period is coming to a close soon, we are eager to know if our explanations have alleviated your concerns. If there are still areas needing improvement, your insights would be greatly appreciated and instrumental in enhancing our work. Thank you once again for your thoughtful review and support. Warm regards, Authors

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC