Deep neural networks (DNNs) are incredibly powerful, yet they are frequently criticized for being opaque "black boxes." While we can observe their final predictions, understanding why they arrived at those decisions remains a critical challenge, especially in high-stakes domains. One promising approach to this problem is Rationale Extraction (RE). RE provides an "interpretable-by-design" framework where a model must first select a subset of input features—a rationale—before making a prediction based solely on those features.
The Challenge: The "Chicken and Egg" Dilemma
Standard RE relies on a "select-predict" architecture involving two components: a generator that picks the most important features (e.g., specific words in a text or patches in an image), and a predictor that makes a decision based only on that selection.
However, training these models is notoriously difficult due to a "chicken and egg" dilemma: the generator needs a competent predictor to know which features are useful, while the predictor needs a competent generator to provide meaningful features. This cycle often breaks down when using smaller, lightweight neural networks designed for efficient deployment. These models struggle to navigate the massive search space of feature combinations, frequently getting stuck in sub-optimal states and yielding poor accuracy.
The Solution: REKD
To bridge this gap, researchers from the University of Alberta introduced REKD (Rationale Extraction with Knowledge Distillation). REKD allows a smaller, more efficient "student" model to learn how to "think" like a larger, highly capable "teacher" model (the "Rationalist"). By transferring the wisdom of a pre-trained RE model, REKD significantly boosts the performance and stability of lightweight networks.
How It Works
REKD enhances standard Rationale Extraction by introducing two specific distillation losses:
- Rationale Distillation: The student generator learns to match the feature-selection probability distributions of the teacher. Instead of blindly guessing which features matter, it receives "soft" hints from the teacher.
- Predictor Distillation: The student predictor aligns its final output probabilities with those of the teacher.
The Curriculum Secret Sauce: The researchers utilized the Straight-Through Gumbel-Softmax estimator to make the discrete choice of feature selection differentiable. Crucially, they paired this with a temperature annealing scheduler. Early in training (high temperature), the student receives broad, "soft" knowledge, encouraging exploration. As the temperature drops, the signals become sharper, forcing the student to commit to precise, high-confidence selections. This creates an implicit curriculum, guiding the student from a general understanding to highly specific rationale extraction.
Experimental Setup & Key Results
The authors validated REKD across both text and vision domains using variants of BERT and Vision Transformer (ViT) models:
- Vision (CIFAR-10 & CIFAR-100): On CIFAR-10, a ViT-Small student jumped from 88.9% accuracy (standard RE) to 96.8% with REKD, even slightly outperforming the average teacher model (96.4%).
- Text (IMDB Movie Reviews): A BERT-Mini student improved its accuracy from 86.3% to 89.2%. Remarkably, this outperformed the BERT-Mini's baseline performance when given the entire text (87.7%).
- Stability: REKD models demonstrated significantly lower variance across training runs compared to standard RE, overcoming the typically difficult optimization landscape.
Insights & Future Directions
- Rationales as a Universal Interface: Because a rationale is essentially a binary mask of selected features (0s and 1s), it acts as a model-agnostic bridge. Knowledge can be distilled from a massive Transformer to a tiny one because both process the exact same input features.
- Surpassing the Black Box: The fact that REKD students can outperform their own "black-box" baselines (models that see the whole input) suggests that the teacher's rationales actively help the student ignore noise and focus on the most predictive patterns.
- Limitations and Next Steps: While theoretically model-agnostic, experiments were conducted within the same model families (e.g., ViT to ViT). Future work could explore cross-architecture distillation. Additionally, while REKD improves faithfulness (accuracy based on the rationale), ensuring these rationales align with human intuition (plausibility) remains an important next step for real-world trust. Finally, mitigating "covert communication"—where models cheat by encoding information in the pattern of the mask rather than the features themselves—remains an ongoing challenge, though REKD's strong regularization helps.
Summary updated