Neural machine translation (NMT) models learn representations containing substantial linguistic information. However, it is not clear if such information is fully distributed or if some of it can be attributed to individual neurons. We develop unsupervised methods for discovering important neurons in NMT models. Our methods rely on the intuition that different models learn similar properties, and do not require any costly external supervision. We show experimentally that translation quality depends on the discovered neurons, and find that many of them capture common linguistic phenomena. Finally, we show how to control NMT translations in predictable ways, by modifying activations of individual neurons.
Importance-based Neuron Allocation for Multilingual Neural Machine Translation
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing Language and Culture University(北京语言大学)
Neuron Interaction Based Representation Composition for Neural Machine Translation
The Chinese University of Hong Kong(香港中文大学);Shenzhen Research Institute, The Chinese University of Hong Kong(香港中文大学深圳研究院);Tencent AI Lab(腾讯人工智能实验室);University of Macau(澳门大学)
What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Models
Qatar Computing Research Institute, HBKU Research Complex(卡塔尔计算研究所,哈马德·本·哈利法大学研究中心);MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室)
尽管深度神经网络在自然语言处理(NLP)中取得了显著的进步,但其可解释性仍然是一个挑战。以前的工作主要集中在这些模型在表示级别上学习什么。我们进一步分解这种分析,并研究NLP任务中端到端神经模型学习的向量表示中的各个维度(神经元)。我们提出两种方法:语言相关性分析,基于监督方法提取与外部任务最相关的神经元,以及跨模型相关性分析,一种无监督方法提取与外部任务最相关的突出神经元。模型本身。我们通过消融识别出的神经元并重新评估两项任务的网络性能来评估我们的技术的有效性:神经机器翻译(NMT)和神经语言建模(NLM)。我们进一步提出了一个全面的神经元分析,旨在解决以下问题:i)如何本地化或分布的模型中的不同的语言属性?ii)某些神经元是否只具有某些特性而不具有其他特性?iii)信息在NMT和NLM中的分布是否更大或更小?以及iv)通过语言相关方法识别的神经元对整体任务有多重要?我们的代码作为NeuroX工具包的一部分公开提供(Dalvi et al. 2019)。
It's Easier to Translate out of English than into it: Measuring Neural Translation Difficulty by Cross-Mutual Information
University of Copenhagen(哥本哈根大学);Johns Hopkins University(约翰斯·霍普金斯大学);Carnegie Mellon University(卡内基梅隆大学);University of Cambridge(剑桥大学);ETH Zürich(苏黎世联邦理工学院);Tokyo Institute of Technology(东京工业大学)
On the Complementarity between Pre-Training and Random-Initialization for Resource-Rich Machine Translation
College of Control Science and Engineering, China University of Petroleum (East China)(中国石油大学(华东)控制科学与工程学院);JD Explore Academy(京东探索研究院);The University of Sydney(悉尼大学)
MNAFT: modality neuron-aware fine-tuning of multimodal large language models for image translation
School of Computer Science and Technology, Tianjin University, Tianjin, China(天津大学计算机科学与技术学院);School of Software, Tsinghua University, Beijing, China(清华大学软件学院);School of Information Resource Management, Renmin University of China,Beijing, China(中国人民大学信息资源管理学院);School of Artificial Intelligence, Shanghai Jiao Tong University, Shanghai, China(上海交通大学人工智能学院);Baidu Inc., Beijing, China(百度公司)
Evaluating the Efficacy of Length-Controllable Machine Translation
Academy for Advanced Interdisciplinary Studies, Peking University(北京大学前沿交叉学科研究院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Artificial Intelligence Application Research Center, Huawei Technologies(华为技术有限公司人工智能应用研究中心);School of Mathematical Sciences, Peking University(北京大学数学科学学院)
WASD: Locating Critical Neurons as Sufficient Conditions for Explaining and Controlling LLM Behavior
Key Lab of High Confidence Software Technologies (Peking University), Ministry of Education(高可信软件技术教育部重点实验室(北京大学));School of Computer Science, Peking University(北京大学计算机学院)
Mitigating the Language Mismatch and Repetition Issues in LLM-based Machine Translation via Model Editing
City University of Hong Kong(香港城市大学);City University of Hong Kong Shenzhen Research Institute(香港城市大学深圳研究院);University of Science and Technology of China(中国科学技术大学);Zhejiang University(浙江大学)
Densifying Assumed-sparse Tensors: Improving Memory Efficiency and MPI Collective Performance during Tensor Accumulation for Parallelized Training of Neural Machine Translation Models
NeuroX: A Toolkit for Analyzing Individual Neurons in Neural Networks
Qatar Computing Research Institute, HBKU Research Complex(卡塔尔计算研究所,哈马德·本·哈利法大学研究中心);MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室)
Your AI, On a Dial: Controlling Investment Bias in LLMs with a Single Neuron
Hankuk University of Foreign Studies(韩国外国语大学);UNIST(蔚山科学技术院);LG AI Research(LG AI研究院);Hanwha Life(韩华生命保险);University of Florida(佛罗里达大学);Massachusetts Institute of Technology(麻省理工学院);LinqAlpha
Fine-grained Gender Control in Machine Translation with Large Language Models
LG AI Research(LG AI研究院);Seoul National University(首尔大学);IPAI, Seoul National University(首尔大学IPAI);Institute of Engineering Research, Seoul National University(首尔大学工程研究所)
Assessing the Impact of Typological Features on Multilingual Machine Translation in the Age of Large Language Models
Data & Knowledge Engineering, Heinrich Heine University(海因里希·海因大学数据与知识工程系);Center for Language and Cognition (CLCG), University of Groningen(格罗宁根大学语言与认知中心)