Abstract
Understanding the internal reasoning behind the predictions of machine learning systems is increasingly vital, given their rising adoption and acceptance. While previous approaches, such as LIME generate algorithmic explanations by attributing importance to input features for individual examples, recent research indicates that practitioners prefer examining language explanations that explain sub-groups of examples (Lakkaraju et al., 2022). In this paper, we introduce MaNtLE, a model-agnostic natural language explainer that analyzes a set of classifier predictions and generates faithful natural language explanations of classifier rationale for structured classification tasks. MaNtLE uses multi-task training on thousands of synthetic classification tasks to generate faithful explanations. Our experiments indicate that, on average, MaNtLE-generated explanations are at least 11% more faithful compared to LIME and Anchors explanations across three tasks. Human evaluations demonstrate that users can better predict model behavior using explanations from MaNtLE compared to other techniques.
Introduction: The Interpretability Gap
As machine learning models are increasingly deployed in high-stakes fields like healthcare and law, their "black box" nature becomes a significant liability. We need to know why a model made a specific prediction to ensure fairness and safety.
Existing tools like LIME or Anchors typically provide "feature attribution"—essentially a list of which input variables were most important for a single specific case. However, practitioners often find these individual snapshots hard to aggregate into a big-picture understanding of how the model behaves. MaNtLE addresses this by generating natural language explanations that describe the rationale for sub-groups of data, bridging the gap between individual predictions and systemic model behavior.
The MaNtLE Framework
MaNtLE frames explanation generation as a sequence-to-sequence problem, utilizing a T5-Large model as its base architecture. To make the explainer model-agnostic, it is trained on approximately 200,000 synthetic classification tasks, each paired with ground-truth natural language explanations.
To process structured data, input-prediction pairs are "linearized" into text strings (e.g., "feature_a equal to 10. label equal to True"). A key innovation is the PerFeat (Per Feature) decoding strategy, which prompts the model to generate sequences for each feature individually and then selects the most faithful one, preventing the model from getting stuck repeating the same feature in a single explanation.
Experimental Results
The researchers evaluated MaNtLE using both synthetic benchmarks and real-world datasets, including the Adult (income prediction), Recidivism, and Travel Insurance datasets. The system was tested on its ability to generalize to entirely new datasets it had never seen before (zero-shot generalization).
Key findings from the evaluation include:
- Superior Faithfulness: MaNtLE-generated explanations were found to be 37% more faithful than LIME and 11% more faithful than Anchors on average across multiple tasks.
- Improved Human Prediction: In user studies, participants were able to predict model behavior correctly in 46% of cases after reading a MaNtLE explanation, compared to only 15% for LIME and 19% for Anchors.
- User Preference: On a 5-point Likert scale, users gave MaNtLE an overall preference score of 3.44, significantly higher than LIME’s 2.16. Users specifically praised MaNtLE for using "layman terms" and clearly defining information.
Limitations and Future Work
While MaNtLE represents a significant step forward, it currently focuses on structured/tabular data and is limited by the T5 encoder's token limit (1024 tokens), which restricts the number of examples it can analyze simultaneously. Additionally, the model can occasionally struggle with highly complex, nested logic or numerical "hallucinations."
Future work aims to expand MaNtLE to other modalities like vision and text, and to develop methods that allow the explainer to handle even larger sets of input examples for more comprehensive sub-group analysis.
Summary updated