English

Activation Matching for Explanation Generation

Computer Vision and Pattern Recognition 2025-10-30 v2 Machine Learning

Abstract

In this paper we introduce an activation-matching--based approach to generate minimal, faithful explanations for the decision-making of a pretrained classifier on any given image. Given an input image xx and a frozen model ff, we train a lightweight autoencoder to output a binary mask mm such that the explanation e=mxe = m \odot x preserves both the model's prediction and the intermediate activations of xx. Our objective combines: (i) multi-layer activation matching with KL divergence to align distributions and cross-entropy to retain the top-1 label for both the image and the explanation; (ii) mask priors -- L1 area for minimality, a binarization penalty for crisp 0/1 masks, and total variation for compactness; and (iii) abductive constraints for faithfulness and necessity. Together, these objectives yield small, human-interpretable masks that retain classifier behavior while discarding irrelevant input regions, providing practical and faithful minimalist explanations for the decision making of the underlying model.

Cite

@article{arxiv.2509.23051,
  title  = {Activation Matching for Explanation Generation},
  author = {Pirzada Suhail and Aditya Anand and Amit Sethi},
  journal= {arXiv preprint arXiv:2509.23051},
  year   = {2025}
}
R2 v1 2026-07-01T06:00:10.582Z