[论文解读] Contextual Feature Extraction Hierarchies Converge in Large Language Models and the Brain
该研究分析了12个开源 ~7B-parameter LLMs,显示更高的基准性能与更强的脑部类预测能力以及更符合脑部层级特征提取之间的相关性,尤其在可获得长上下文信息时。
Recent advancements in artificial intelligence have sparked interest in the parallels between large language models (LLMs) and human neural processing, particularly in language comprehension. While prior research has established similarities in the representation of LLMs and the brain, the underlying computational principles that cause this convergence, especially in the context of evolving LLMs, remain elusive. Here, we examined a diverse selection of high-performance LLMs with similar parameter sizes to investigate the factors contributing to their alignment with the brain's language processing mechanisms. We find that as LLMs achieve higher performance on benchmark tasks, they not only become more brain-like as measured by higher performance when predicting neural responses from LLM embeddings, but also their hierarchical feature extraction pathways map more closely onto the brain's while using fewer layers to do the same encoding. We also compare the feature extraction pathways of the LLMs to each other and identify new ways in which high-performing models have converged toward similar hierarchical processing mechanisms. Finally, we show the importance of contextual information in improving model performance and brain similarity. Our findings reveal the converging aspects of language processing in the brain and LLMs and offer new directions for developing models that align more closely with human cognitive processing.
研究动机与目标
- 调查在语言处理过程中驱动脑–LLM对齐的计算原理。
- 评估LLM性能如何与来自各层及脑区的LLM嵌入对神经可预测性的关系。
- 研究LLMs与大脑之间的分层处理对齐,以及情境信息如何影响这种对齐。
- 比较不同LLM的特征提取路径,以识别向脑样处理的趋同。
提出的方法
- 在八名患者中记录颅内脑电(intracranial EEG)在他们聆听讲话时。
- 将相同的语音输入给12个开源 LLMs (~7B 参数) 并从所有32层提取嵌入。
- 使用PCA将嵌入降至500个分量,并使用岭回归从层嵌入预测神经反应。
- 计算脑相似性为神经反应与LLM嵌入在电极上的预测相关性。
- 使用距离pmHG作为分层脑代理来评估层级脑对齐。
- 通过限制注意力在变化的上下文窗口(1 token到100 tokens)并通过CKA差异衡量上下文内容,评估情境效应。
实验结果
研究问题
- RQ1LLM基准性能与从LLM嵌入对神经反应的脑部可预测性之间的关系如何?
- RQ2更好的LLMs是否展现出更接近大脑的分层特征提取?这与解剖脑区有何关系?
- RQ3LLM的逐层特征提取如何与大脑语言处理的层级结构对齐?
- RQ4情境信息在提升脑对齐和模型性能中的作用是什么?
- RQ5是否存在不同模型间在分层处理路径上的差异,这些差异与总体模型性能相关?
主要发现
- 更高性能的LLMs在对神经反应的预测中达到更高的峰值脑相似性(Pearson r = 0.92, p = 2.24×10^-5)。
- 更好的模型在脑相似性方面的峰值出现在比比较差模型更早的层(Pearson r = -0.81, p = 0.0013)。
- LLMs与大脑之间的脑层级对齐与LLM性能相关(r = 0.79, p = 0.0021)。
- 前5个模型显示高度对角线状的CKA相似性并趋向于相似的逐层特征提取;较差模型表现出更延迟的特征。
- 情境信息至关重要;较长的上下文窗口(50+ token)显著提升脑对齐并与基准性能相关(Spearman r = 0.66, p = 0.020;脑相似性 r = 0.84, p = 0.0006)。
- 情境内容(全上下文对比1 token)强烈预测模型性能与脑相似性(分别为 r = 0.66 和 r = 0.84)。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。