We employ new tools from mechanistic interpretability in order to ask whether the internal structure of large language models (LLMs) shows correspondence to the linguistic structures which underlie the languages on which they are trained. In particular, we ask (1) when two languages employ the same morphosyntactic processes, do LLMs handle them using shared internal circuitry? and (2) when two languages require different morphosyntactic processes, do LLMs handle them using different internal circuitry? Using English and Chinese multilingual and monolingual models, we analyze the internal circuitry involved in two tasks. We find evidence that models employ the same circuit to handle the same syntactic process independently of the language in which it occurs, and that this is the case even for monolingual models trained completely independently. Moreover, we show that multilingual models employ language-specific components (attention heads and feed-forward networks) when needed to handle linguistic processes (e.g., morphological marking) that only exist in some languages. Together, our results provide new insights into how LLMs trade off between exploiting common structures and preserving linguistic differences when tasked with modeling multiple languages simultaneously.
Structural Similarities Between Language Models and Neural Response Measurements
Pioneer Centre for AI, Denmark(丹麦先锋人工智能中心);Center for Philosophy of AI, Denmark(丹麦人工智能哲学中心);University of Copenhagen(哥本哈根大学);Princeton University(普林斯顿大学);Technical University of Denmark(丹麦技术大学)
Lost in Reordering: Structural Sensitivity of Multilingual LLMs under Semantics-Preserving Perturbations
Indian Institute of Technology Bombay(印度理工学院孟买分校);Indian Institute of Technology Mandi(印度理工学院曼迪分校);Indian Institute of Technology Hyderabad(印度理工学院海得拉巴分校)
Multilingual and Explainable Text Detoxification with Parallel Corpora
Technical University of Munich(慕尼黑工业大学);Universidade de Santiago de Compostela(圣地亚哥-德孔波斯特拉大学);Shenkar College(申卡尔学院);University of Hamburg(汉堡大学);Bahir Dar University(巴达尔大学);IIT Kharagpur(印度理工学院克勒格布尔分校);Skoltech(斯科尔科沃科技学院);AIRI(人工智能研究所);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Sharjah(沙迦大学)
Copy First, Translate Later: Interpreting Translation Dynamics in Multilingual Pretraining
MaiNLP, Center for Information and Language Processing, LMU Munich(MaiNLP,信息与语言处理中心,慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Department of Mathematics, LMU Munich(数学系,慕尼黑大学);Department of Physics and Technology, University of Tromsø(物理与技术系,特罗姆瑟大学);DLR-German Aerospace Center(德国航空航天中心)
Unraveling Babel: Exploring Multilingual Activation Patterns of LLMs and Their Applications
Liangzhu Laboratory, Zhejiang University(浙江大学良渚实验室);AI Research Center, WeDoctor Cloud(微医云AI研究中心);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);School of Public Health, Zhejiang University(浙江大学公共卫生学院)
Multilingual LAMA: Investigating Knowledge in Multilingual Pretrained Language Models
Center for Information and Language Processing (CIS), LMU Munich(慕尼黑大学信息与语言处理中心(CIS))
近年来,人们发现单语英语语言模型可以作为知识库。代替结构化知识库查询,使用诸如“Paris is the capital of [MASK]”之类的掩码语句作为探测。我们将已建立的基准TREx和GoogleRE翻译成53种语言。通过与mBERT合作,我们研究了三个问题。(i)mBERT可以用作多语言知识库吗?大多数以前的工作只考虑英语。将研究扩展到多种语言对于多样性和可访问性非常重要。(ii)mBERT作为知识库的性能是独立于语言的,还是因语言而异?(iii)多语言模型在更多文本上训练,例如,mBERT在104个维基百科上训练。mBERT能利用这一点来提高性能吗?我们发现,使用mBERT作为知识库会产生不同的语言和语言之间的池预测性能提高不同的性能。相反,mBERT表现出语言偏见;例如,当用意大利语查询时,它倾向于预测意大利是原产国。
mPLM-Sim: Better Cross-Lingual Similarity and Transfer in Multilingual Pretrained Language Models
Center for Information and Language Processing, LMU Munich(慕尼黑大学信息与语言处理中心);Munich Center for Machine Learning(慕尼黑机器学习中心);Institute of Informatics, LMU Munich(慕尼黑大学信息学研究所);Konrad Zuse School of Excellence in Reliable AI(康拉德·祖斯可靠人工智能卓越学院);Instituto Superior Técnico, Universidade de Lisboa(里斯本大学高级技术学院);Unbabel(Unbabel公司);Instituto de Telecomunicações(电信研究所)
Multilingual LLMs Struggle to Link Orthography and Semantics in Bilingual Word Processing
Department of Electrical Engineering, Indian Institute of Technology Delhi(印度理工学院德里电气工程系);Yardi School of Artificial Intelligence, Indian Institute of Technology Delhi(印度理工学院德里人工智能学院)
Less, but Better: Efficient Multilingual Expansion for LLMs via Layer-wise Mixture-of-Experts
Key Laboratory of Big Data & Artificial Intelligence in Transportation, (Beijing Jiaotong University), Ministry of Education(大数据与人工智能交通大数据实验室,北京交通大学,教育部);School of Computer Science and Technology, Beijing Jiaotong University, Beijing, China(计算机科学与技术学院,北京交通大学,北京,中国);Pattern Recognition Center, WeChat AI, Tencent Inc, China(模式识别中心,微信AI,腾讯公司,中国)
Large Language Models for Mental Health: A Multilingual Evaluation
George Mason University(乔治·马歇尔大学);Interdisciplinary School of Doctoral Studies, University of Bucharest(布加勒斯特大学跨学科博士研究学院);PRHLT Research Center, Universitat Politècnica de València(瓦伦西亚理工大学PRHLT研究中心);University of Minnesota(明尼苏达大学)
BIASEDTALES-ML: A Multilingual Dataset for Analyzing Narrative Attribute Distributions in LLM-Generated Stories
School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,中国沈阳);NiuTrans Research, Shenyang, China(NiuTrans研究院,中国沈阳)