[Paper Review] Choose Your Neuron: Incorporating Domain Knowledge through Neuron-Importance
This paper proposes Neuron Importance-Aware Weight Transfer (NIWT), a zero-shot learning method that maps domain knowledge (e.g., attributes, captions) to salient neurons in a pretrained CNN, enabling accurate classification of unseen classes by optimizing classifier weights to align with predicted neuron importances. The approach achieves state-of-the-art performance on CUB and AWA2 benchmarks while providing interpretable visual and textual explanations via learned neuron names and activation maps.
Individual neurons in convolutional neural networks supervised for image-level classification tasks have been shown to implicitly learn semantically meaningful concepts ranging from simple textures and shapes to whole or partial objects - forming a "dictionary" of concepts acquired through the learning process. In this work we introduce a simple, efficient zero-shot learning approach based on this observation. Our approach, which we call Neuron Importance-AwareWeight Transfer (NIWT), learns to map domain knowledge about novel "unseen" classes onto this dictionary of learned concepts and then optimizes for network parameters that can effectively combine these concepts - essentially learning classifiers by discovering and composing learned semantic concepts in deep networks. Our approach shows improvements over previous approaches on the CUBirds and AWA2 generalized zero-shot learning benchmarks. We demonstrate our approach on a diverse set of semantic inputs as external domain knowledge including attributes and natural language captions. Moreover by learning inverse mappings, NIWT can provide visual and textual explanations for the predictions made by the newly learned classifiers and provide neuron names. Our code is available at https://github.com/ramprs/neuron-importance-zsl.
Motivation & Objective
- To address the challenge of zero-shot learning where deep networks fail to generalize to unseen classes without labeled examples.
- To ground abstract class descriptions (e.g., attributes, captions) in semantically meaningful, interpretable neurons within a deep network.
- To enable effective weight transfer for unseen classes by predicting which neurons should be most important for classification.
- To provide interpretable explanations—visual, textual, and neuron-named—by learning inverse mappings from neuron importance to language concepts.
- To improve performance in the generalized zero-shot learning (GZSL) setting, where both seen and unseen classes are evaluated simultaneously.
Proposed method
- The method learns a mapping from class-specific domain knowledge (e.g., attributes, captions) to neuron importance scores using images and corresponding knowledge from seen classes.
- Neuron importance is computed using gradient-based saliency maps (e.g., Grad-CAM) to identify which neurons contribute most to the prediction of a given class.
- A learned function $ W_{a\rightarrow{\cal K}} $ maps attribute vectors $ \mathbf{a}_c $ to top-k relevant neuron names $ \mathbf{k}_c $, enabling automatic neuron naming without human annotation.
- For unseen classes, domain knowledge is used to predict the set of important neurons, and classifier weights are optimized to maximize activation of these neurons for the target class.
- The inverse mapping from neuron importance to language concepts enables textual explanations by retrieving the most relevant attributes for a given prediction.
- The approach leverages a pretrained CNN and fine-tunes only a new classifier head, making it efficient and transferable.
Experimental results
Research questions
- RQ1Can domain knowledge such as attributes or free-form captions be effectively mapped to individual neurons in a deep network to enable zero-shot classification?
- RQ2Can the importance of neurons be used as a bridge between linguistic descriptions and classifier weights for unseen classes?
- RQ3Does grounding predictions in neuron-level semantics improve zero-shot generalization performance on standard benchmarks?
- RQ4Can the learned mapping provide faithful, interpretable explanations—visual, textual, and neuron-named—for predictions on unseen classes?
- RQ5How does the method perform in the more realistic generalized zero-shot learning (GZSL) setting compared to prior approaches?
Key findings
- NIWT achieves state-of-the-art performance on the CUBirds and AWA2 generalized zero-shot learning benchmarks, outperforming existing methods.
- The method captures 83.9% of ground-truth attributes in the top-k textual explanations on CUB using a VGG-16 network, demonstrating high fidelity in explanation generation.
- Qualitative results show that Grad-CAM visualizations and neuron activation maps focus precisely on the discriminative attributes (e.g., 'red crown', 'white breast') corresponding to the predicted class.
- Neuron names are automatically generated and well-grounded in visual concepts, with high-impact neurons activating on specific, semantically meaningful image regions such as beaks, wings, or color patches.
- Failure cases reveal that misclassifications often stem from incorrect focus on non-discriminative attributes or mismatched neuron activations, indicating that explanations can help diagnose model errors.
- The inverse mapping from neuron importance to language concepts enables reliable textual explanations that reflect the model’s reasoning process for unseen class predictions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.