NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

How Important is a Neuron

Kedar Dhamdhere, Mukund Sundararajan, Qiqi Yan

Introduction

Most research in explainable AI (XAI) focuses on input attribution—identifying which pixels in an image or words in a sentence caused a model to make a specific prediction. However, to truly understand the internal logic of a model, we must look "under the hood" at the hidden layers.

Existing methods for measuring neuron importance, such as evaluating a neuron's activation value or the product of its gradient and activation, have significant flaws. For example, a neuron might have a high activation but zero influence on the final output due to saturation, or it might have a positive activation but a negative influence on the result. This paper introduces conductance, a formal, mathematically grounded method to measure the importance of hidden neurons in deep networks, identifying which internal filters and units truly drive a model's predictions.

The Conductance Method

The authors build upon Integrated Gradients (IG), a popular technique that attributes a model's output to its inputs by integrating the gradient along a path from a "baseline" (like a black image) to the actual input.

Their novel contribution, conductance, "lifts" these input attributions to the hidden layers. Formally, the conductance of a neuron is the flow of the Integrated Gradients attribution through that specific unit. By applying the chain rule to the IG formula, the authors quantify how much of the total prediction change is "conducted" through a specific neuron or filter.

This method is justified through a partial axiomatization, proving that conductance is the only method satisfying three desirable properties:

  1. Linearity: If a network is a sum of two sub-networks, the importance is the sum of their importances.
  2. Insensitivity: If a neuron does not affect the output, its importance is zero.
  3. Completeness: The sum of conductances of all neurons in a layer equals the total difference between the prediction and the baseline.

Key Insights and Applications

Unlike simple gradient methods, conductance accounts for the "non-saturated" regions of a network. If a neuron's gradient is currently zero because it resides in a flat region of a ReLU or Sigmoid function, conductance still captures its importance by evaluating the path it took to get there. Furthermore, the authors argue that many backpropagation-based methods are sensitive to how a network is implemented, whereas conductance focuses on the underlying mathematical function.

Attribution maps generated for various ImageNet classes.

The researchers evaluated their method using several large-scale models and datasets, including ImageNet (using the Inception architecture), the Stanford Sentiment Treebank, and WikiTableQuestions.

A major advantage of conductance is its ability to identify human-interpretable concepts:

  • Visual Filters: In image models, conductance can identify specific filters dedicated to high-level concepts. For instance, they found filters in the Inception mixed3a layer that act as "glare" detectors across many different object classes.
  • Linguistic Logic: In sentiment analysis models, conductance successfully identified specific neurons dedicated to negation, pinpointing units that "flipped" the sentiment when words like "not" or "never" appeared.

Quantitative Results

To quantitatively prove that conductance identifies the most "predictive" neurons, the authors used a feature selection task. They selected the top $k$ neurons based on different importance measures and used only those neurons as features for a simple linear classifier.

The results demonstrated a significant accuracy boost. On the ImageNet "Water vessels" task, using the top 20 neurons identified by conductance yielded 79.27% accuracy, vastly outperforming neurons selected by activation values (54.88%) or internal influence (68.29%). Across four different image tasks, conductance consistently provided the highest aggregate accuracy (87.79% vs. 60.45% for activations), proving that the neurons it identifies carry the most useful information for the task.

Limitations and Future Work

While powerful, conductance has limitations. Calculating it requires computing gradients at multiple points along an interpolation path (typically 50–100 steps), making it computationally expensive compared to a single backpropagation pass. Additionally, like Integrated Gradients, conductance depends heavily on the choice of a "baseline" input (e.g., a black image or zero-vector), which can influence the resulting importance scores.

Finally, the authors note a gap between mathematical importance and human interpretability. While a neuron might have high conductance, its function isn't always easy for a human to name or understand. Future work will likely focus on bridging this gap to make highly conductive neurons more interpretable.

Summary updated

BibTeX
@inproceedings{dhamdhere2019how,
  author = {Kedar Dhamdhere and Mukund Sundararajan and Qiqi Yan},
  title = {{How Important is a Neuron}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
}
Figure