Discovering Decoupled Functional Modules in Large Language Models
Yanke Yu, Jin Li, Ying Sun, Ping Li, Zhefeng Wang, Yi Zheng
摘要
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 function 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 function comprehensiveness, function hierarchy, and clear function spatial arrangement within LLMs. Our work provides a novel tool for interpreting LLMs' function modules, filling a critical gap in LLMs' interpretability research.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 Locating and Editing Factual Associations in GPT
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model
- Editing Large Language Models: Problems, Methods, and Opportunities 引用了 Locating and Editing Factual Associations in GPT
- How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model 引用了 Locating and Editing Factual Associations in GPT
- Task-Specific Skill Localization in Fine-tuned Language Models 引用了 Locating and Editing Factual Associations in GPT
它引用的 Paper15
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
- How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelMichael Hanna, Ollie Liu, Alexandre VariengienNeurIPS 2023 · 251 次引用
- Towards Best Practices of Activation Patching in Language Models: Metrics and MethodsFred Zhang, Neel NandaICLR 2024 · 233 次引用
- Task-Specific Skill Localization in Fine-tuned Language ModelsAbhishek Panigrahi, Nikunj Saunshi, Haoyu Zhao, Sanjeev AroraICML 2023 · 100 次引用
- Editing Large Language Models: Problems, Methods, and OpportunitiesYunzhi Yao, Peng Wang, Bozhong Tian, Siyuan Cheng 等EMNLP 2023 · 83 次引用
相关 Paper
- Probing LLMs for Joint Encoding of Linguistic CategoriesGiulio Starace, Konstantinos Papakostas, Rochelle Choenni, Apostolos Panagiotopoulos 等EMNLP Findings 2023 · 4 次引用
- Heads up! Large Language Models Can Perform Tasks Without Your Instruction via Selective Attention Head MaskingSenyu Han, Hongchuan Zeng, Kai Yu, Lu ChenICML 2025
- A Concept-Based Explainability Framework for Large Multimodal ModelsJayneel Parekh, Pegah Khayatan, Mustafa Shukor, Alasdair Newson 等NeurIPS 2024 · 48 次引用
- Disentangling Transformer Language Models as Superposed Topic ModelsJia Peng Lim, Hady W. LauwEMNLP 2023 · 2 次引用
- Attribution and Application of Multiple Neurons in Multimodal Large Language ModelsFeiyu Wang, Ziran Zhao, Dong Yu, Pengyuan LiuEMNLP Findings 2025 · 1 次引用
