Analyzing Individual Neurons in Pre-trained Language Models
Qatar Computing Research Institute(卡塔尔计算研究所);HBKU Research Complex(哈马德·本·哈利法大学研究中心);MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室)
Nadir Durrani, Hassan Sajjad, Fahim Dalvi, Yonatan Belinkov
While a lot of analysis has been carried to demonstrate linguistic knowledge captured by the representations learned within deep NLP models, very little attention has been paid towards individual neurons.We carry outa neuron-level analysis using core linguistic tasks of predicting morphology, syntax and semantics, on pre-trained language models, with questions like: i) do individual neurons in pre-trained models capture linguistic information? ii) which parts of the network learn more about certain linguistic phenomena? iii) how distributed or focused is the information? and iv) how do various architectures differ in learning these properties? We found small subsets of neurons to predict linguistic tasks, with lower level tasks (such as morphology) localized in fewer neurons, compared to higher level task of predicting syntax. Our study also reveals interesting cross architectural comparisons. For example, we found neurons in XLNet to be more localized and disjoint when predicting properties compared to BERT and others, where they are more distributed and coupled.
Establishing Trustworthy LLM Evaluation via Shortcut Neuron Analysis
The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences, Beijing, China(认知与决策智能复杂系统重点实验室,自动化研究所,中国科学院,北京,中国);School of Artificial Intelligence, University of Chinese Academy of Sciences(人工智能学院,中国科学院大学);Tsinghua University(清华大学)
Neuron-Aware Data Selection In Instruction Tuning For Large Language Models
NLP;CT Lab, Department of Computer and Information Science, University of Macau(计算机与信息科学系,澳门大学CT实验室);Artificial Intelligence Research Institute, Shenzhen University of Advanced Technology(深圳先进技术大学人工智能研究院);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究所);Provable Responsible AI and Data Analytics Lab, KAUST(可证明责任AI与数据分析实验室,卡尔斯兰大学);National Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学)
NeuroX: A Toolkit for Analyzing Individual Neurons in Neural Networks
Qatar Computing Research Institute, HBKU Research Complex(卡塔尔计算研究所,哈马德·本·哈利法大学研究中心);MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室)
Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons
Department of Computer Science and Technology, BNRist(计算机科学与技术系,BNRist);Shenzhen International Graduate School(深圳国际研究生院);KIRC, Institute for Artificial Intelligence, Tsinghua University(人工智能研究院,清华大学)
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)。
The Compositional Architecture of Regret in Large Language Models
Provable Responsible AI and Data Analytics (PRADA) Lab(可证明负责任的人工智能与数据分析实验室);King Abdullah University of Science and Technology(卡瓦尔大学科学与技术大学);State Key Laboratory of Cognitive Neuroscience and Learning, Beijing Normal University(认知神经科学与学习国家重点实验室,北京师范大学);University of Exeter(埃克塞特大学);The Hong Kong Polytechnic University(香港理工大学)
Analyzing Redundancy in Pretrained Transformer Models
Qatar Computing Research Institute(卡塔尔计算研究所);HBKU Research Complex(哈马德·本·哈利法大学研究中心);MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室)
Ask Your Neurons: A Deep Learning Approach to Visual Question Answering
Max Planck Institute for Informatics(马克斯·普朗克信息学研究所);UC Berkeley(加州大学伯克利分校);ICSI(国际计算机科学研究所)
我们解决了一个问答任务,对现实世界的图像,是作为一个视觉图灵测试。通过结合图像表示和自然语言处理的最新进展,我们提出了Ask Your Neurons,一个可扩展的,联合训练的,端到端的公式来解决这个问题。与以前的努力相比,我们正面临着一个多模态的问题,其中的语言输出(答案)的视觉和自然语言输入(图像和问题)的条件。我们提供了额外的见解,通过分析有多少信息只包含在语言部分,我们提供了一个新的人类基线的问题。为了研究人类的共识,这是与在这个具有挑战性的任务中固有的模糊性,我们提出了两个新的指标,并收集额外的答案,扩展原来的DAQUAR数据集DAQUAR-Consensus。此外,我们还将我们的分析扩展到VQA,一个关于图像数据集的大规模问答,在那里我们研究了一些特定的设计选择,并显示了更强大的视觉模型的重要性。与此同时,我们实现了我们的模型的强大性能,仍然使用全局图像表示。最后,基于这样的分析,我们在DAQUAR上改进了我们的Ask Your Neurons,这也导致了这项具有挑战性的任务的更好性能。