Have We Learned to Explain?: How Interpretability Methods Can Learn to Encode Predictions in their Interpretations

Neil Jethani, Mukund Sudarshan, Yindalon Aphinyanaphongs, Rajesh Ranganath

Introduction

In the pursuit of explainable AI, researchers frequently employ Instance-Wise Feature Selection (IWFS) to identify the specific inputs—such as pixels or words—that drive a model's prediction. A common framework for this is Joint Amortized explanation Methods (JAMs), which simultaneously train a "selector" to identify important features and a "predictor" to classify based on those features. However, this co-training creates a significant vulnerability known as "prediction encoding."

The Problem: Prediction Encoding and Control Flow Neglect

The authors identify two primary failures in existing JAMs like L2X and INVASE:

  1. Prediction Encoding: The selector and predictor can co-adapt. The selector learns to encode the final prediction into a seemingly arbitrary feature (e.g., a specific pixel). The predictor then decodes this "secret signal" to achieve high accuracy without processing semantically relevant information.
  2. Control Flow Neglect: These methods often fail to identify "control flow" features—variables that dictate which other features are relevant, much like branching nodes in a decision tree.

Proposed Solutions: EVAL-X and REAL-X

To address these flaws, the paper introduces two novel components:

EVAL-X: A Robust Evaluation Framework

EVAL-X prevents "cheating" during evaluation by using a separate evaluator model trained on random feature subsets. Since this evaluator never encounters the co-adapted "secret codes" used during the training of the original JAM, it can only achieve high accuracy if the selected features are truly informative.

REAL-X: Honest Explanations

REAL-X decouples the selector from the predictor to ensure integrity. It first trains a predictor on random feature subsets to approximate the true data distribution. Subsequently, a selector is trained to find the minimal feature subset that maximizes the likelihood of the target under this independent, "honest" predictor.

Experimental Results

The methods were tested across synthetic datasets, MNIST, and the NIH ChestX-ray8 dataset.

MNIST and the "Single-Pixel" Proof

On the MNIST dataset, previous methods like L2X appeared highly successful, but visual inspection revealed they often selected only a single, non-descriptive pixel to "whisper" the answer to the predictor.

Comparison of explanation masks on MNIST. L2X and INVASE often select scattered or single pixels, while REAL-X identifies semantically meaningful digit shapes.

Quantitative analysis using EVAL-X confirmed this: L2X's accuracy plummeted from 96% to 11.4% when evaluated honestly, whereas REAL-X maintained a robust 86.7% accuracy.

Clinical Utility in Radiology

In medical imaging, identifying the correct features is critical. For cardiomegaly (enlarged heart) detection, REAL-X consistently identified the heart's margins, whereas other methods produced scattered, unhelpful masks.

Comparison of explanation masks on Chest X-rays for cardiomegaly. REAL-X identifies clinically relevant regions (heart margins), whereas other methods produce unhelpful, scattered masks.

In blind evaluations, board-certified radiologists significantly preferred REAL-X, giving it an average rank of 1.08 (where 1 is best), compared to 3.57 for L2X and 2.85 for INVASE.

Synthetic Performance

REAL-X achieved a 100% Control Flow Selection Rate (CFSR) across all synthetic tasks, while previous methods hovered between 24% and 61%, failing to capture the underlying logic of the data.

Conclusion

REAL-X and the EVAL-X framework provide a necessary correction to the field of amortized interpretability. By decoupling feature selection from prediction and accounting for control flow, REAL-X produces high-fidelity, semantically meaningful explanations that align with human expertise and clinical requirements.

Summary updated

BibTeX
@inproceedings{jethani2021have,
  author = {Neil Jethani and Mukund Sudarshan and Yindalon Aphinyanaphongs and Rajesh Ranganath},
  title = {{Have We Learned to Explain?: How Interpretability Methods Can Learn to Encode Predictions in their Interpretations}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure