Introduction: The Problem with Static Baselines
To understand why a neural network makes a specific prediction, researchers often use gradient-based saliency methods. These methods identify which input features (e.g., pixels) most influence the model's output. However, to avoid mathematical saturation—where gradients become zero even for important features—these methods require a baseline, a reference point representing "no information."
Traditionally, researchers have used static baselines like completely black, blurred, or random noise images. However, these choices are not neutral. A black baseline assumes that "darkness" is inherently uninformative, which can lead to color bias: if a model identifies a black swan, a black baseline might fail to highlight its features because they are too similar to the reference. Similarly, blurred baselines introduce texture bias. These human-chosen anchors often result in noisy, fragile attribution maps that do not accurately reflect the model's internal logic.
The UNI Framework: Adaptive, Model-Specific Baselines
We introduce UNI (Unlearning-based Neural Interpretations), a method that generates baselines tailored to both the specific input and the model's internal state. Instead of guessing what "empty" looks like, UNI asks: What input would this specific model consider featureless?
The UNI process operates in two main stages:
- Unlearning in Model Space: The algorithm performs a single gradient step in the direction of steepest loss ascent. This creates a temporary "unlearned" model that has effectively discarded the predictive features of the input image.
- Baseline Matching in Input Space: UNI then optimizes a new input (the baseline) such that its activations in the original model match the activations of the original input in the unlearned model.
By interpolating between this adaptive baseline and the original input, UNI ensures a smooth path through the model's decision manifold, leading to more robust and faithful interpretations.
Key Results and Performance
UNI was evaluated across diverse architectures (ResNet, ViT, Swin Transformer) and domains (Vision and NLP). Key findings include:
- Faithfulness: In MuFidelity tests, UNI significantly outperformed Integrated Gradients (IG). For instance, on ResNet-18, UNI achieved a score of 0.12, doubling IG's 0.06.
- Causal Robustness: UNI showed superior performance in Deletion and Insertion AUC metrics, indicating that the pixels it identifies as "important" are truly critical to the model's decision.
- Adversarial Resilience: Saliency maps generated by UNI remained consistent even when inputs were subjected to adversarial perturbations, whereas traditional methods often produced wildly different explanations for nearly identical images.
Conclusion
UNI moves away from biased, human-defined baselines toward a more principled, model-centric approach to interpretability. By leveraging machine unlearning, it provides a surgical way to identify salient features, resulting in explanations that are more faithful to the model and robust to noise. Future work will explore scaling UNI to higher-level semantic concepts and utilizing second-order unlearning techniques for even greater precision.
Summary updated