通过浅层未训练多头注意力网络实现类脑语言处理
Brain-Like Language Processing via a Shallow Untrained Multihead Attention Network
AI总结:
本研究探究未训练大语言模型与大脑数据对齐的关键架构组件,识别出分词策略与多头注意力为核心驱动因素,提出兼具脑与行为对齐性的浅层未训练注意力模型,在语言建模效率和阅读时间行为对齐上取得突破。
摘要:
大语言模型(Large Language Models, LLMs)已被证实是模拟人类语言系统的有效模型,部分模型可预测现有数据集中大脑活动的大部分可解释方差。即便在未训练的模型中,由架构先验诱导产生的表征也能与大脑数据呈现出合理的对齐效果。本研究探究了驱动未训练模型产生这种惊人对齐效果的关键架构组件。为评估LLM与大脑的相似性,我们首先在LLM内筛选语言选择性单元,这一过程类似于神经科学家识别人类大脑中语言网络的方式。随后,我们在5个不同的大脑记录数据集上对这些LLM单元的脑对齐效果进行基准测试。通过分离Transformer架构的关键组件,我们确定分词策略与多头注意力是驱动脑对齐的两大核心组件,而一种简单的循环形式可进一步提升对齐效果。我们还通过复现语言神经科学领域的里程碑式研究,进一步验证了模型的量化脑对齐效果:研究显示,局部化的模型单元与人类大脑中通过经验测量得到的语言体素一样,对词汇差异的区分可靠性高于对句法差异的区分,且在相同实验条件下表现出相似的响应模式。最后,我们验证了模型表征在语言建模中的实用性:与同类架构相比,该模型实现了更优的样本效率与参数效率。我们的模型给出的惊奇度估计在与人类阅读时间的行为对齐方面创下了新的最优水平(state-of-the-art, SOTA)。综上,我们提出了一种高度符合脑活动与行为表现的模型,该模型将人类语言系统概念化为一个带有结构先验的未训练浅层特征编码器,并结合一个经过训练的解码器,以实现高效且高性能的语言处理。
英文摘要:
Large Language Models (LLMs) have been shown to be effective models of the human language system, with some models predicting most explainable variance of brain activity in current datasets. Even in untrained models, the representations induced by architectural priors can exhibit reasonable alignment to brain data. In this work, we investigate the key architectural components driving the surprising alignment of untrained models. To estimate LLM-to-brain similarity, we first select language-selective units within an LLM, similar to how neuroscientists identify the language network in the human brain. We then benchmark the brain alignment of these LLM units across five different brain recording datasets. By isolating critical components of the Transformer architecture, we identify tokenization strategy and multihead attention as the two major components driving brain alignment. A simple form of recurrence further improves alignment. We further demonstrate this quantitative brain alignment of our model by reproducing landmark studies in the language neuroscience field, showing that localized model units -- just like language voxels measured empirically in the human brain -- discriminate more reliably between lexical than syntactic differences, and exhibit similar response profiles under the same experimental conditions. Finally, we demonstrate the utility of our model's representations for language modeling, achieving improved sample and parameter efficiency over comparable architectures. Our model's estimates of surprisal sets a new state-of-the-art in the behavioral alignment to human reading times. Taken together, we propose a highly brain- and behaviorally-aligned model that conceptualizes the human language system as an untrained shallow feature encoder, with structural priors, combined with a trained decoder to achieve efficient and performant language processing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。