大而不倒:大型语言模型对诱导痴呆相关语言异常具有不成比例的韧性
Too Big to Fail: Larger Language Models are Disproportionately Resilient to Induction of Dementia-Related Linguistic Anomalies
AI总结:
本研究提出双向注意力头消融方法,发现大型GPT-2模型需消融更多注意力头才会出现与小型模型同等程度的性能退化,表明注意力机制可作为认知和脑储备的类比,为模拟神经退行性疾病提供新视角。
摘要:
随着人工神经网络复杂度的增加,理解其内部机制变得愈发困难,这在医疗应用中尤为重要。自回归神经语言模型(NLMs)的内在评估指标困惑度(PPL),能够反映NLM模型对新输入的“惊讶”程度。PPL已被广泛用于理解NLMs的行为。先前发现表明,在预训练的基于transformer的NLMs中,当掩码注意力层时PPL的变化反映了与阿尔茨海默病痴呆相关的语言异常。在此基础上,我们探索了一种新颖的双向注意力头消融方法,该方法展现出人类大脑研究中认知储备和脑储备概念所具备的属性,这些概念假设大脑中拥有更多神经元且处理更高效的人对神经退行性变更具韧性。结果表明,更大的GPT-2模型需要掩码/消融不成比例的更大份额的注意力头,才能表现出与较小模型中掩码相似幅度的性能退化。这些结果表明,transformer模型中的注意力机制可能为认知和脑储备的概念提供了一种类比,并可能被用于模拟神经退行性疾病和衰老进展的某些方面。
英文摘要:
As artificial neural networks grow in complexity, understanding their inner workings becomes increasingly challenging, which is particularly important in healthcare applications. The intrinsic evaluation metrics of autoregressive neural language models (NLMs), perplexity (PPL), can reflect how "surprised" an NLM model is at novel input. PPL has been widely used to understand the behavior of NLMs. Previous findings show that changes in PPL when masking attention layers in pre-trained transformer-based NLMs reflect linguistic anomalies associated with Alzheimer's disease dementia. Building upon this, we explore a novel bidirectional attention head ablation method that exhibits properties attributed to the concepts of cognitive and brain reserve in human brain studies, which postulate that people with more neurons in the brain and more efficient processing are more resilient to neurodegeneration. Our results show that larger GPT-2 models require a disproportionately larger share of attention heads to be masked/ablated to display degradation of similar magnitude to masking in smaller models. These results suggest that the attention mechanism in transformer models may present an analogue to the notions of cognitive and brain reserve and could potentially be used to model certain aspects of the progression of neurodegenerative disorders and aging.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。