arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.17823cs.LGcs.CL
收藏

在大型语言模型中发现解耦的功能模块

Discovering Decoupled Functional Modules in Large Language Models

Yanke Yu, Jin Li, Ying Sun, Ping Li, Zhefeng Wang, Yi Zheng

AI总结:

研究通过提出ULCMOD框架,解耦LLM中的神经元并发现输入样本的主题模块,提升模型可解释性和性能。

摘要:

理解大型语言模型(LLMs)内部功能组织对提高其可信度和性能至关重要。然而,LLMs如何将不同功能组织成模块仍鲜有研究。为此,我们提出了一个功能模块发现问题,并提出了一种无监督的LLM跨层模块发现(ULCMOD)框架,该框架同时将整个LLM中的大量神经元解耦为模块,并发现与这些模块相关的输入样本主题。我们的框架引入了新的目标函数和高效的迭代解耦(IterD)算法。大量实验表明,我们的方法发现高质量、解耦的模块,能够捕捉更丰富的语义信息,并在各种下游任务中取得优越表现。此外,我们的定性分析揭示,发现的模块表现出语义一致性,对应于可解释的专门化,并在LLM中显示出清晰的空间和层次组织。我们的工作为解释LLM的功能模块提供了新的工具,填补了LLM可解释性研究中的关键空白。

英文摘要:

Understanding the internal functional organization of Large Language Models (LLMs) is crucial for improving their trustworthiness and performance. However, how LLMs organize different functions into modules remains highly unexplored. To bridge this gap, we formulate a functional module discovery problem and propose an Unsupervised LLM Cross-layer MOdule Discovery (ULCMOD) framework that simultaneously disentangles the large set of neurons in the entire LLM into modules while discovering the topics of input samples related to these modules. Our framework introduces a novel objective function and an efficient Iterative Decoupling (IterD) algorithm. Extensive experiments show that our method discovers high-quality, disentangled modules that capture more meaningful semantic information and achieve superior performance in various downstream tasks. Moreover, our qualitative analysis reveals that the discovered modules show semantic coherence, correspond to interpretable specializations, and a clear spatial and hierarchical organization within the LLM. Our work provides a novel tool for interpreting the functional modules of LLMs, filling a critical blank in LLM's interpretability research.

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

↑