2025-10-16 · 专家 · 计算机视觉 · 自然语言处理 · 机器学习 · 认知神经科学

Hierarchical Frequency Tagging Probe (HFTP): A Unified Approach to Investigate Syntactic Structure Representations in Large Language Models and the Hu...

本文提出了层次频率标记探测(HFTP)方法,通过频率域分析来识别大型语言模型(LLM)和人类大脑中编码句法结构的神经元和脑区,为LLM行为解释和模型脑对齐提供了新的视角。

更新于 2025-10-17。作者:Jingmin An、Yilong Song、Ruolin Yang、Nai Ding、Lingxi Lu、Yuxuan Wang、Wei Wang、Chu Zhuang、Qian Wang、Fang Fang。

中文摘要

大型语言模型(LLMs)展现出与人类甚至更高级别的语言能力,能够有效模拟句法结构,但负责这些功能的特定计算模块仍然不明确。一个关键问题是LLMs的行为能力是否源自与人类大脑相似的机制。为了回答这些问题,我们引入了分层频率标记探测(HFTP),这是一种利用频域分析来识别LLMs(例如,单个多层感知器(MLP)神经元)和通过颅内记录编码句法结构的皮层区域的工具。我们的结果显示,GPT-2、Gemma、Gemma 2、Llama 2、Llama 3.1和GLM-4等模型在类似层中处理句法,而人脑则依赖于不同的皮层区域来处理不同的句法层次。表征相似性分析揭示了LLMs的表征与大脑左半球(在语言处理中占主导地位)之间更强的对齐。值得注意的是,升级后的模型表现出不同的趋势:Gemma 2比Gemma显示出更大的脑相似性,而Llama 3.1与Llama 2相比,与大脑的对齐度较低。这些发现为LLMs行为改进的可解释性提供了新的见解,引发了关于这些进步是否由类似人类或非人类机制驱动的疑问,并将HFTP确立为连接计算语言学和认知神经科学的有价值工具。该项目可在https://github.com/LilTiger/HFTP找到。

英文摘要

Large Language Models (LLMs) demonstrate human-level or even superior language abilities, effectively modeling syntactic structures, yet the specific computational modules responsible remain unclear. A key question is whether LLM behavioral capabilities stem from mechanisms akin to those in the human brain. To address these questions, we introduce the Hierarchical Frequency Tagging Probe (HFTP), a tool that utilizes frequency-domain analysis to identify neuron-wise components of LLMs (e.g., individual Multilayer Perceptron (MLP) neurons) and cortical regions (via intracranial recordings) encoding syntactic structures. Our results show that models such as GPT-2, Gemma, Gemma 2, Llama 2, Llama 3.1, and GLM-4 process syntax in analogous layers, while the human brain relies on distinct cortical regions for different syntactic levels. Representational similarity analysis reveals a stronger alignment between LLM representations and the left hemisphere of the brain (dominant in language processing). Notably, upgraded models exhibit divergent trends: Gemma 2 shows greater brain similarity than Gemma, while Llama 3.1 shows less alignment with the brain compared to Llama 2. These findings offer new insights into the interpretability of LLM behavioral improvements, raising questions about whether these advancements are driven by human-like or non-human-like mechanisms, and establish HFTP as a valuable tool bridging computational linguistics and cognitive neuroscience. This project is available at https://github.com/LilTiger/HFTP.

解读

一句话总结

本文提出了层次频率标记探测(HFTP)方法,通过频率域分析来识别大型语言模型(LLM)和人类大脑中编码句法结构的神经元和脑区,为LLM行为解释和模型脑对齐提供了新的视角。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源