arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.13255cs.CLcs.NE
收藏

分层频率标记探针(HFTP):一种研究大语言模型和人脑中句法结构表示的统一方法

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

Peking University(北京大学);Zhejiang University(浙江大学);Beijing Language and Culture University(北京语言大学);Beijing Institute for General Artificial Intelligence(北京通用人工智能研究院)

Jingmin An, Yilong Song, Ruolin Yang, Nai Ding, Lingxi Lu, Yuxuan Wang, Wei Wang, Chu Zhuang, Qian Wang, Fang Fang

AI总结:

提出分层频率标记探针(HFTP),通过频域分析识别LLM和大脑中编码句法结构的组件,发现LLM与左脑表征对齐,且模型升级对大脑相似性影响不一,为可解释性提供新视角。

摘要:

大语言模型(LLMs)展示了人类水平甚至更优越的语言能力,能够有效地建模句法结构,但负责这一能力的具体计算模块仍不清楚。一个关键问题是,LLM的行为能力是否源于与人类大脑相似的机制。为了解决这些问题,我们引入了分层频率标记探针(HFTP),这是一种利用频域分析来识别编码句法结构的LLM神经元级组件(例如,单个多层感知机(MLP)神经元)和皮层区域(通过颅内记录)的工具。我们的结果表明,GPT-2、Gemma、Gemma 2、Llama 2、Llama 3.1和GLM-4等模型在相似的层中处理句法,而人类大脑则依赖不同的皮层区域来处理不同的句法层级。表征相似性分析显示,LLM表征与大脑左半球(语言处理主导区)之间存在更强的对齐。值得注意的是,升级模型表现出不同的趋势:Gemma 2比Gemma显示出更高的大脑相似性,而Llama 3.1与大脑的对齐程度低于Llama 2。这些发现为LLM行为改进的可解释性提供了新的见解,提出了这些进步是由类人还是非类人机制驱动的问题,并将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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑