arXiv:2506.01042cs.CLcs.AI2025-06被引 6

通过神经拓扑分析揭示大模型性能的秘密,只需1%连接就能预测语言能力。

Probing Neural Topology of Large Language Models

  • 用图结构探测神经元间功能连接,构建模型拓扑关系。
  • 仅靠拓扑信息即可预测生成与理解性能,保留1%连接仍有效。
  • 拓扑比激活更富含性能信息,适合模型压缩与幻觉检测应用。

探测大语言模型(LLM)的内部机制已揭示其神经激活与可解释语义之间的关联。然而,神经元功能协同激活与模型涌现能力之间的复杂机制仍不明确,制约了对大模型的深入理解与安全开发。本文提出图探测方法,用于揭示大模型神经元的功能连接性,并将其与语言生成性能关联。在多种大模型家族与规模下进行探测,发现仅依赖神经拓扑即可普遍预测语言生成与理解性能,即使仅保留1%的神经元连接也保持有效性。令人惊讶的是,基于拓扑的探测在困惑度和时空语义回归任务上分别优于基于激活的探测达130.4%和67.7%,表明神经拓扑蕴含远超神经激活的信息量,且可通过简单线性或MLP探测器高效提取。为解释拓扑与语言性能的关系,我们识别出大模型中的默认网络与枢纽神经元,并通过多基准干预实验提供因果证据,证明大模型实际利用了这些拓扑信息。进一步分析表明,图探测可有效应用于模型剪枝与幻觉检测,提升效率与可靠性。代码与数据已开源于 https://github.com/DavyMorgan/llm-graph-probing。

原文摘要 · Abstract (English)

Probing large language models (LLMs) has yielded valuable insights into their internal mechanisms by linking neural activations to interpretable semantics. However, the complex mechanisms that link neuron's functional co-activation with the emergent model capabilities remains largely unknown, hindering a deeper understanding and safer development of LLMs. In this work, we introduce graph probing, a method for uncovering the functional connectivity of LLM neurons and relating it to language generation performance. By probing models across diverse LLM families and scales, we discover a universal predictability of language generation and understanding performance using only neural topology, which persists even when retaining just 1% of neuron connections. Strikingly, probing on topology outperforms probing on activation by up to 130.4% and 67.7% on perplexity and space/time semantic regression respectively, suggesting that neural topology contains orders of richer information of LLM performance than neural activation, which can be easily extracted with simple linear or MLP probes. To explain the dependence between neural topology and language performance, we identify default networks and hub neurons in LLMs and provide causal evidence by interventional experiments on multiple benchmarks, showing that LLMs actually exploit these topological information. Further analyses suggest that graph probing can be effectively leveraged to improve the efficiency and reliability of LLMs through proof-of-concept applications in model pruning and hallucination detection. Codes and data for the graph probing toolbox are available at https://github.com/DavyMorgan/llm-graph-probing.

大模型神经拓扑可解释性图探测

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