Abstract
This paper introduces a blackbox "model extraction" technique to interpret complex machine learning models by approximating them with highly interpretable decision trees. By using active learning to sample synthetic data from the original model, the approach avoids overfitting issues typical of decision trees, enabling developers to debug fairness, invalid features, and policy logic without sacrificing performance.
Introduction
As machine learning models are increasingly deployed in high-stakes areas like healthcare and autonomous vehicles, understanding the logic behind their decisions is critical. However, high-accuracy models such as random forests and deep neural networks are notoriously opaque. While simpler models like decision trees offer interpretability, they often suffer from overfitting and lower predictive power on limited datasets. This paper addresses this challenge by proposing a universally applicable, blackbox interpretability method that creates a global explanation of any complex model's reasoning process without requiring access to its internal architecture.
Methodology
The core of the approach is a model extraction algorithm that approximates a complex blackbox model $f$ with an interpretable decision tree $T$. The process consists of three main stages:
- Input Distribution Modeling: The algorithm fits a mixture of axis-aligned Gaussian distributions to the training data using Expectation Maximization to capture the data's underlying shape.
- Active Learning and Synthetic Sampling: To prevent overfitting, the algorithm generates a massive volume of synthetic input samples from the learned Gaussian mixture. These samples are then labeled by querying the blackbox model $f$.
- Greedy Tree Construction: A decision tree is built using these synthetic $(x, f(x))$ pairs. With a near-infinite supply of data, the sampling error is minimized, allowing the tree to converge to an "exact greedy decision tree" that accurately reflects the blackbox model's decision boundaries.
Experimental Setup
The authors evaluated the extraction method across diverse tasks using datasets from the UCI Machine Learning Repository and OpenAI Gym:
- Breast Cancer: Classification task with 569 samples and 32 features.
- Student Grade: Regression task with 382 samples and 33 features.
- Wine Origin: Classification task with 178 samples and 13 features.
- Cartpole: Reinforcement learning control policy with 100 samples and 4 features.
Results and Discussion
The proposed active learning extraction method demonstrated superior approximation capabilities compared to standard CART decision tree baselines across all evaluated datasets. As shown in Table 1, the extracted tree $T$ consistently achieved higher fidelity to the original blackbox model $f$ than the baseline $T_{base}$.
In the breast cancer classification task, the extracted tree reached a relative $F_1$ score of 0.957. In the student grade regression task, it achieved a significantly lower relative Mean Squared Error of 0.40 compared to 0.64 for the baseline. Notably, in the Cartpole reinforcement learning environment, the extracted tree not only mimicked the neural network policy with 86.8% accuracy but also functioned as a highly effective control policy itself, yielding a reward of 190.0 compared to the baseline's 35.6.
Beyond quantitative performance, the extracted trees provided critical qualitative insights. They successfully exposed "data leakage" (e.g., an invalid feature in the breast cancer dataset) and uncovered hidden biases, such as the model's reliance on gender for specific subgroups in the student grade dataset. These global insights are often invisible to local interpretability methods like LIME.
Conclusion
Model extraction via active learning provides a powerful framework for interpreting blackbox models. By leveraging synthetic data, the method produces decision trees that are both interpretable and highly faithful to the original complex models. Future work will focus on improving input distribution modeling for more complex feature spaces and automating the extraction of actionable insights from the resulting trees.
Summary updated