Unveiling Linguistic Regions in Large Language Models

Zhihao Zhang, Jun Zhao, Qi Zhang, Tao Gui, Xuanjing Huang
2/22/2024
cs.CL

No official code found. Best implementation: zzhang0179/Unveiling-Linguistic-Regions-in-LLMs (34 stars, Apache-2.0, last commit 2024-06-09).

Abstract

Large Language Models (LLMs) have demonstrated considerable cross-lingual alignment and generalization ability. Current research primarily focuses on improving LLMs' cross-lingual generalization capabilities. However, there is still a lack of research on the intrinsic mechanisms of how LLMs achieve cross-lingual alignment. From the perspective of region partitioning, this paper conducts several investigations on the linguistic competence of LLMs. We discover a core region in LLMs that corresponds to linguistic competence, accounting for approximately 1% of the total model parameters. Removing this core region by setting parameters to zero results in a significant performance decrease across 30 different languages. Furthermore, this core region exhibits significant dimensional dependence, perturbations to even a single parameter on specific dimensions leading to a loss of linguistic competence. Moreover, we discover that distinct monolingual regions exist for different languages, and disruption to these specific regions substantially reduces the LLMs' proficiency in those corresponding languages. Our research also indicates that freezing the core linguistic region during further pre-training can mitigate the issue of catastrophic forgetting (CF), a common phenomenon observed during further pre-training of LLMs. Overall, exploring the LLMs' functional regions provides insights into the foundation of their intelligence.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ACL 2024] Unveiling Linguistic Regions in Large Language Models

341Shell, PythonMay 28, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2024unveiling,
  title  = {Unveiling Linguistic Regions in Large Language Models},
  author = {Zhihao Zhang and Jun Zhao and Qi Zhang and Tao Gui and Xuanjing Huang},
  year   = {2024},
  eprint = {2402.14700},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.14700v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.14700.svg)](https://codeofpaper.com/paper/2402.14700)

Discussion