Deep learning models are notoriously opaque "black boxes." While Explainable AI (XAI) has produced many methods to highlight important features—like specific words in a sentence or pixels in an image—these explanations often fall short. They frequently disagree with one another, fail to help humans predict model failures, and are usually evaluated qualitatively based on what "looks right" to a researcher.
The authors of this paper argue that a primary goal of an explanation should be simulability: the ability of a "student" (whether human or machine) to accurately predict the model’s output on new examples after seeing explanations for previous ones. Instead of treating explanations as static, post-hoc outputs, this paper asks: Can we directly optimize the explanation process itself to make the model more "teachable"?
Scaffold-Maximizing Training (SMaT)
To answer this, the authors introduce Scaffold-Maximizing Training (SMaT). SMaT reframes XAI through the lens of "instructional scaffolding," treating explanations as active tools to help a learner build a mental model of the teacher. It utilizes a bi-level optimization (meta-learning) approach:
- The Inner Loop (Student Learning): A "student" model is trained to mimic a "teacher" model's predictions. Crucially, the student is also regularized to match the explanations provided by the teacher's explainer.
- The Outer Loop (Explainer Optimization): The parameters of the teacher's explainer are updated based on how well the trained student performs on a held-out test set (where explanations are hidden). If the student struggles to simulate the teacher, the explainer is adjusted to provide better scaffolding.
To implement this, the authors developed a Parameterized Attention Explainer. Instead of using ad-hoc strategies like averaging all attention heads in a Transformer, they learn a weighted combination of heads across all layers. They use a sparsemax function to ensure the explainer picks only a small, relevant subset of attention heads, making the resulting saliency maps cleaner and more interpretable.
Experimental Results and Insights
The framework was evaluated across three distinct modalities and tasks: text classification (IMDB), image classification (CIFAR-100), and text-based regression (MLQE-PE for translation quality).
Superior Simulability: Across all tasks, students trained with SMaT explanations were significantly better at predicting the teacher's behavior than those trained with standard methods like Integrated Gradients or simple attention averaging. By turning simulability into an objective function, XAI moves from passive observation to active optimization.
Emergent Plausibility and Human Preference: Surprisingly, even though the model was only optimized to help a machine student, the resulting explanations were rated as more "human-like" by actual people. On the IMDB dataset, SMaT achieved an AUC of 0.73 for alignment with human-annotated rationales, outperforming all other unsupervised baselines.
In a user study for image classification, humans ranked SMaT explanations as the most helpful for understanding the model's decisions, significantly outperforming gradient-based methods. The optimization process also revealed that different tasks require different attention layers for effective teaching, suggesting that "one-size-fits-all" explanation methods are sub-optimal.
Limitations and Future Work
While promising, the authors acknowledge several areas for future growth:
- Scope of Explainers: The current implementation focuses on attention-based explainers for Transformers. It has not yet been applied to gradient-based or model-agnostic explainers like LIME or SHAP.
- Defining Interpretability: Simulability is a powerful proxy, but interpretability is multifaceted. High simulability doesn't guarantee a model is "safe" or "fair" in a broader societal context.
- Shortcut Learning: There is a risk in bi-level optimization that the explainer might find "shortcuts" (e.g., leaking the label through a specific punctuation mark) to help the student. While mitigated by hiding explanations at test time, it remains a challenge.
Future directions include exploring non-saliency map explanations, such as natural language justifications, within the SMaT framework.
Summary updated