Unveiling Multilinguality in Transformer Models: Exploring Language Specificity in Feed-Forward Networks
Not on the map. Why?
Abstract (arXiv)
Recent research suggests that the feed-forward module within Transformers can be viewed as a collection of key-value memories, where the keys learn to capture specific patterns from the input based on the training examples. The values then combine the output from the 'memories' of the keys to generate predictions about the next token. This leads to an incremental process of prediction that gradually converges towards the final token choice near the output layers. This interesting perspective raises questions about how multilingual models might leverage this mechanism. Specifically, for autoregressive models trained on two or more languages, do all neurons (across layers) respond equally to all languages? No! Our hypothesis centers around the notion that during pretraining, certain model parameters learn strong language-specific features, while others learn more language-agnostic (shared across languages) features. To validate this, we conduct experiments utilizing parallel corpora of two languages that the model was initially pretrained on. Our findings reveal that the layers closest to the network's input or output tend to exhibit more language-specific behaviour compared to the layers in the middle.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 16 of its 23 references that are in the map. First posted on arXiv 24 Oct 2023.
Builds on
16 of 23 references.
References · 16
- 2017Attention Is All You Needcited by 59,932
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
- 2022Lifting the Curse of Multilinguality by Pre-training Modular Transformerscited by 145
- 2019Investigating Multilingual NMT Representations at Scalecited by 68
- 2019How Language-Neutral is Multilingual BERT?cited by 51
- 2021When is BERT Multilingual? Isolating Crucial Ingredients for Cross-lingual Transfercited by 41
4 more
- 2022Kformer: Knowledge Injection in Transformer Feed-Forward Layerscited by 37
- 2022Analyzing the Mono- and Cross-Lingual Pretraining Dynamics of Multilingual Language Modelscited by 32
- 2020Rethinking the Value of Transformer Componentscited by 24
- 2020Announcing CzEng 2.0 Parallel Corpus with over 2 Gigawordscited by 17
Built on by
Citing papers per year: 2024: 5; 2025: 6; 2026: 1.
12 papers.
- 2024Sharing Matters: Analysing Neurons Across Languages and Tasks in LLMscited by 33
- 2024Exploring Multilingual Concepts of Human Value in Large Language Models: Is Value Alignment Consistent, Transferable and Controllable across Languages?cited by 23
- 2024Multilingual Knowledge Editing with Language-Agnostic Factual Neuronscited by 18
- 2025Language-specific Neurons Do Not Facilitate Cross-Lingual Transfercited by 11
- 2025From Neurons to Semantics: Evaluating Cross-Linguistic Alignment Capabilities of Large Language Models via Neurons Alignmentcited by 9
- 2025Are Knowledge and Reference in Multilingual Language Models Cross-Lingually Consistent?cited by 5
- 2025ReCoVeR the Target Language: Language Steering without Sacrificing Task Performancecited by 5
- 2025How Programming Concepts and Neurons Are Shared in Code Language Modelscited by 4
- 2024Understanding the role of FFNs in driving multilingual behaviour in LLMscited by 3
- 2024Unraveling Babel: Exploring Multilingual Activation Patterns of LLMs and Their Applicationscited by 2
- 2025Semantic Pivots Enable Cross-Lingual Transfer in Large Language Modelscited by 1
- 2026An Analysis of Residual-Stream Geometry Across Transformer Depthcited by 1
- 2026An Analysis of Residual-Stream Geometry Across Transformer Depth20 Jul 2026
- 2025ReCoVeR the Target Language: Language Steering without Sacrificing Task Performance18 Sep 2025
- 2025From Neurons to Semantics: Evaluating Cross-Linguistic Alignment Capabilities of Large Language Models via Neurons Alignment20 Jul 2025
- 2025Are Knowledge and Reference in Multilingual Language Models Cross-Lingually Consistent?17 Jul 2025
- 2025How Programming Concepts and Neurons Are Shared in Code Language Models1 Jun 2025
- 2025Semantic Pivots Enable Cross-Lingual Transfer in Large Language Models22 May 2025
- 2025Language-specific Neurons Do Not Facilitate Cross-Lingual Transfer21 Mar 2025
- 2024Multilingual Knowledge Editing with Language-Agnostic Factual Neurons24 Jun 2024
- 2024Sharing Matters: Analysing Neurons Across Languages and Tasks in LLMs13 Jun 2024
- 2024Understanding the role of FFNs in driving multilingual behaviour in LLMs22 Apr 2024
- 2024Exploring Multilingual Concepts of Human Value in Large Language Models: Is Value Alignment Consistent, Transferable and Controllable across Languages?28 Feb 2024
- 2024Unraveling Babel: Exploring Multilingual Activation Patterns of LLMs and Their Applications26 Feb 2024