Capability Localization: Capabilities Can be Localized rather than Individual Knowledge

Xiusheng Huang, Jiaxiang Liu, Yequan Wang, Jun Zhao, Kang Liu

TL;DR

This paper challenges the prevailing assumption in mechanistic interpretability that large language models (LLMs) store individual factual knowledge in specific, localized parameters. Through rigorous fidelity and reliability tests, the authors demonstrate that existing knowledge localization methods fall short. Instead, they propose that broad capabilities—such as mathematical reasoning or coding—are what actually get localized. They introduce a novel Commonality Neuron Localization (CNL) method that can isolate and fine-tune just 0.15% of a model's parameters to significantly boost specific skills.

The Problem: Facts vs. Capabilities

As LLMs become more capable, researchers are increasingly trying to peek inside the "black box" to understand how they work. A major sub-field focuses on knowledge localization—trying to find exactly which parameters or layers store a specific fact (e.g., "Paris is the capital of France"). Previous methods like Knowledge Neurons (KN), ROME, and Knowledge Chains (KC) claim to have found where these individual facts live.

However, this paper asks a critical question: Are these methods actually reliable, or are they just overfitting to the specific phrasing of the prompt? The authors identify a major gap in the literature regarding the fidelity (does rephrasing the prompt find the same parameters?) and reliability (does editing these parameters actually change the fact predictably?) of existing methods. They hypothesize that models don't localize individual facts, but rather broader capabilities.

Methodology

The authors tackle the problem in three distinct phases:

  1. Evaluating Existing Methods: They designed fidelity tests by rewriting prompts that query the exact same fact. If a method truly locates a fact, the identified parameters should overlap perfectly across rephrasings. They also tested reliability by artificially increasing or zeroing out the localized activations to see if the model's output changed as expected.
  2. Decoupling Experiments: To separate "facts" from "capabilities," they created a clever comparative dataset. They used the same core fact (e.g., "1+1=?") but framed it as different tasks (e.g., a direct math question vs. a request to write a Python script solving it).
Decoupling datasets to separate facts from capabilities
  1. Commonality Neuron Localization (CNL): Having proved facts aren't localized, they introduced CNL to locate capabilities. CNL extends the gradient-attribution approach of Knowledge Neurons. Instead of looking at a single prompt, CNL aggregates gradient scores across an entire dataset representing a specific capability. It uses a variance-based threshold to isolate a small subset of neurons that consistently fire for that specific skill.

Key Insights

  • Facts are a moving target: The evaluation phase revealed that existing methods fail spectacularly at finding facts. If you ask a model the same fact in five different ways, existing methods find completely different parameters.
  • Capabilities, not facts, live in specific neighborhoods: The decoupling experiment proved that the model routes information based on the task (math vs. coding) rather than the data ("1+1").
  • Skills are highly localized: While a single fact is smeared across the network, a broad capability like "sentiment analysis" relies heavily on a very specific, consistent set of neurons.
  • Cross-pollination of skills: Neurons localized for one dataset (e.g., GSM8K) naturally overlap with and enhance related datasets (e.g., MetaMath). This proves the authors are finding true, generalized capability centers, not just memorized dataset statistics.

Key Results

  • Poor baseline fidelity: When locating the same fact with rephrased prompts, existing methods showed dismal parameter overlap: KN (37.3%), ROME (32.7%), and KC (7.2%).
  • High capability overlap: Using the new CNL method, the authors found massive neuron overlap for capabilities across different subsets of data.
High capability overlap across different models and datasets

As shown in the results above, CNL achieved an impressive 96.42% overlap on GSM8K and 97.93% on the Emotion dataset for Llama2-7B.

  • Surgical Enhancement: By fine-tuning only the identified capability neurons (which account for a mere 0.15% of the model's total parameters), they achieved significant performance boosts. For example, Llama2-7B saw an average performance increase of 5.17% across tasks, and GPTJ-6B saw a 9.87% boost on the Emotion dataset.
  • Surgical Erasure: Conversely, zeroing out these specific neurons crippled the model's capabilities, causing up to an 18.68% performance drop on Llama2-13B for targeted tasks.

Limitations and Future Work

The authors acknowledge that their experiments were conducted on relatively small models by today's standards (GPT-J 6B, Llama2 7B, and Llama2 13B). It remains to be seen if these exact localization dynamics hold perfectly in massive, state-of-the-art models (e.g., 70B+ parameters) where capabilities might be more distributed or layered differently.

For future work, this paper suggests a massive pivot for the field of mechanistic interpretability: researchers should move away from the frustrating pursuit of "individual knowledge editing" and instead focus on mapping and manipulating the broader capability centers of LLMs.

Summary updated

BibTeX
@inproceedings{huang2025capability,
  author = {Xiusheng Huang and Jiaxiang Liu and Yequan Wang and Jun Zhao and Kang Liu},
  title = {{Capability Localization: Capabilities Can be Localized rather than Individual Knowledge}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=f6r1mYwM1g},
}
Figure