arXiv:2510.13255cs.CLcs.NE2025-10NeurIPS被引 3

用频域分析法揭示大模型与人脑处理语法的异同。

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

  • 通过频域分析识别模型神经元与大脑皮层中编码语法的成分。
  • 发现大模型各层与人脑不同区域分别处理语法层级,左脑与模型更相似。
  • 新模型如Gemma 2更像人脑,而Llama 3.1反而差距变大。

大型语言模型(LLMs)表现出接近或超越人类的语言能力,能有效建模语法结构,但其内部负责此类能力的具体计算模块仍不明确。一个关键问题是:这些模型的行为能力是否源于与人脑相似的机制?为此,我们提出层次化频率标记探测器(HFTP),利用频域分析识别模型中的神经元组件(如MLP神经元)和人脑皮层区域(通过颅内记录)对语法结构的编码。结果显示,GPT-2、Gemma、Gemma 2、Llama 2、Llama 3.1和GLM-4等模型在相似层级处理语法,而人脑则依赖不同皮层区域处理不同语法层次。表征相似性分析显示,模型表示与大脑左半球(语言主导区)有更强一致性。值得注意的是,升级模型呈现不同趋势:Gemma 2比Gemma更接近人脑,而Llama 3.1相比Llama 2与人脑的对齐度反而下降。这些发现为理解模型行为提升的可解释性提供了新视角,引发关于进步是否源自类人机制的思考,并确立了HFTP作为连接计算语言学与认知神经科学的重要工具。

原文摘要 · Abstract (English)

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.

大模型语法结构人脑对比频域分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。