On the Multilingual Ability of Decoder-based Pre-trained Language Models: Finding and Controlling Language-Specific Neurons. Kojima, T., Okimura, I., Iwasawa, Y., Yanaka, H., & Matsuo, Y. April, 2024. arXiv:2404.02431 [cs]
Paper doi abstract bibtex Current decoder-based pre-trained language models (PLMs) successfully demonstrate multilingual capabilities. However, it is unclear how these models handle multilingualism. We analyze the neuron-level internal behavior of multilingual decoder-based PLMs, Specifically examining the existence of neurons that fire ``uniquely for each language'' within decoder-only multilingual PLMs. We analyze six languages: English, German, French, Spanish, Chinese, and Japanese, and show that language-specific neurons are unique, with a slight overlap (\textless 5%) between languages. These neurons are mainly distributed in the models' first and last few layers. This trend remains consistent across languages and models. Additionally, we tamper with less than 1% of the total neurons in each model during inference and demonstrate that tampering with a few language-specific neurons drastically changes the probability of target language occurrence in text generation.
@misc{kojima_multilingual_2024,
title = {On the {Multilingual} {Ability} of {Decoder}-based {Pre}-trained {Language} {Models}: {Finding} and {Controlling} {Language}-{Specific} {Neurons}},
shorttitle = {On the {Multilingual} {Ability} of {Decoder}-based {Pre}-trained {Language} {Models}},
url = {http://arxiv.org/abs/2404.02431},
doi = {10.48550/arXiv.2404.02431},
abstract = {Current decoder-based pre-trained language models (PLMs) successfully demonstrate multilingual capabilities. However, it is unclear how these models handle multilingualism. We analyze the neuron-level internal behavior of multilingual decoder-based PLMs, Specifically examining the existence of neurons that fire ``uniquely for each language'' within decoder-only multilingual PLMs. We analyze six languages: English, German, French, Spanish, Chinese, and Japanese, and show that language-specific neurons are unique, with a slight overlap ({\textless} 5\%) between languages. These neurons are mainly distributed in the models' first and last few layers. This trend remains consistent across languages and models. Additionally, we tamper with less than 1\% of the total neurons in each model during inference and demonstrate that tampering with a few language-specific neurons drastically changes the probability of target language occurrence in text generation.},
urldate = {2025-03-18},
publisher = {arXiv},
author = {Kojima, Takeshi and Okimura, Itsuki and Iwasawa, Yusuke and Yanaka, Hitomi and Matsuo, Yutaka},
month = apr,
year = {2024},
note = {arXiv:2404.02431 [cs]},
keywords = {Computer Science - Computation and Language},
}
Downloads: 0
{"_id":"TuLfg2MTKpYD4JLqf","bibbaseid":"kojima-okimura-iwasawa-yanaka-matsuo-onthemultilingualabilityofdecoderbasedpretrainedlanguagemodelsfindingandcontrollinglanguagespecificneurons-2024","author_short":["Kojima, T.","Okimura, I.","Iwasawa, Y.","Yanaka, H.","Matsuo, Y."],"bibdata":{"bibtype":"misc","type":"misc","title":"On the Multilingual Ability of Decoder-based Pre-trained Language Models: Finding and Controlling Language-Specific Neurons","shorttitle":"On the Multilingual Ability of Decoder-based Pre-trained Language Models","url":"http://arxiv.org/abs/2404.02431","doi":"10.48550/arXiv.2404.02431","abstract":"Current decoder-based pre-trained language models (PLMs) successfully demonstrate multilingual capabilities. However, it is unclear how these models handle multilingualism. We analyze the neuron-level internal behavior of multilingual decoder-based PLMs, Specifically examining the existence of neurons that fire ``uniquely for each language'' within decoder-only multilingual PLMs. We analyze six languages: English, German, French, Spanish, Chinese, and Japanese, and show that language-specific neurons are unique, with a slight overlap (\\textless 5%) between languages. These neurons are mainly distributed in the models' first and last few layers. This trend remains consistent across languages and models. Additionally, we tamper with less than 1% of the total neurons in each model during inference and demonstrate that tampering with a few language-specific neurons drastically changes the probability of target language occurrence in text generation.","urldate":"2025-03-18","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Kojima"],"firstnames":["Takeshi"],"suffixes":[]},{"propositions":[],"lastnames":["Okimura"],"firstnames":["Itsuki"],"suffixes":[]},{"propositions":[],"lastnames":["Iwasawa"],"firstnames":["Yusuke"],"suffixes":[]},{"propositions":[],"lastnames":["Yanaka"],"firstnames":["Hitomi"],"suffixes":[]},{"propositions":[],"lastnames":["Matsuo"],"firstnames":["Yutaka"],"suffixes":[]}],"month":"April","year":"2024","note":"arXiv:2404.02431 [cs]","keywords":"Computer Science - Computation and Language","bibtex":"@misc{kojima_multilingual_2024,\n\ttitle = {On the {Multilingual} {Ability} of {Decoder}-based {Pre}-trained {Language} {Models}: {Finding} and {Controlling} {Language}-{Specific} {Neurons}},\n\tshorttitle = {On the {Multilingual} {Ability} of {Decoder}-based {Pre}-trained {Language} {Models}},\n\turl = {http://arxiv.org/abs/2404.02431},\n\tdoi = {10.48550/arXiv.2404.02431},\n\tabstract = {Current decoder-based pre-trained language models (PLMs) successfully demonstrate multilingual capabilities. However, it is unclear how these models handle multilingualism. We analyze the neuron-level internal behavior of multilingual decoder-based PLMs, Specifically examining the existence of neurons that fire ``uniquely for each language'' within decoder-only multilingual PLMs. We analyze six languages: English, German, French, Spanish, Chinese, and Japanese, and show that language-specific neurons are unique, with a slight overlap ({\\textless} 5\\%) between languages. These neurons are mainly distributed in the models' first and last few layers. This trend remains consistent across languages and models. Additionally, we tamper with less than 1\\% of the total neurons in each model during inference and demonstrate that tampering with a few language-specific neurons drastically changes the probability of target language occurrence in text generation.},\n\turldate = {2025-03-18},\n\tpublisher = {arXiv},\n\tauthor = {Kojima, Takeshi and Okimura, Itsuki and Iwasawa, Yusuke and Yanaka, Hitomi and Matsuo, Yutaka},\n\tmonth = apr,\n\tyear = {2024},\n\tnote = {arXiv:2404.02431 [cs]},\n\tkeywords = {Computer Science - Computation and Language},\n}\n\n\n\n\n\n\n\n","author_short":["Kojima, T.","Okimura, I.","Iwasawa, Y.","Yanaka, H.","Matsuo, Y."],"key":"kojima_multilingual_2024","id":"kojima_multilingual_2024","bibbaseid":"kojima-okimura-iwasawa-yanaka-matsuo-onthemultilingualabilityofdecoderbasedpretrainedlanguagemodelsfindingandcontrollinglanguagespecificneurons-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2404.02431"},"keyword":["Computer Science - Computation and Language"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/SimonOst","dataSources":["tFvQtGDPkqnJa6Fbq"],"keywords":["computer science - computation and language"],"search_terms":["multilingual","ability","decoder","based","pre","trained","language","models","finding","controlling","language","specific","neurons","kojima","okimura","iwasawa","yanaka","matsuo"],"title":"On the Multilingual Ability of Decoder-based Pre-trained Language Models: Finding and Controlling Language-Specific Neurons","year":2024}