NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Interpreting Shared Deep Learning Models via Explicable Boundary Trees

Huijun Wu, Chen Wang, Jie Yin, Kai Lu, Liming ZhuarXiv 2017

TL;DR

Researchers have developed Explicable Boundary Trees (EB-trees), a method to interpret complex deep learning models by disclosing a tiny, carefully selected subset of training data (less than 0.3%). By organizing these points into a tree structure that mimics the model's decision boundaries, users can gain high-fidelity insights into how a "black-box" model makes predictions without compromising the privacy of the entire dataset.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are notoriously opaque. While they excel at tasks like image recognition, their "black-box" nature creates a trust gap, especially in model sharing scenarios where a third party provides a pre-trained model.

Ideally, a provider would share their training data to build trust, but privacy policies and business competition usually make this impossible. Existing interpretability methods often require access to the model's internal structure or the full training set, or they rely on "perturbing" inputs (changing pixels to see what happens), which can be computationally expensive and misleading if the data shifts over time. The authors address the challenge of providing transparency and building trust using only a minimal, privacy-preserving slice of data.

Methods

The core innovation is the Explicable Boundary Tree (EB-tree). It builds upon the basic "boundary tree" algorithm—originally designed for fast online learning—and optimizes it for interpretability and fidelity.

  1. Model Translation: Instead of using raw data, the EB-tree uses the DNN’s own internal representations (specifically, the output of the softmax layer) to calculate distances between data points.
  2. Max-Margin Selection: Borrowing logic from Support Vector Machines (SVMs), the authors identify training points that lie closest to the decision boundaries between classes. These "edge cases" are the most informative for understanding where one class ends and another begins.
  3. Boundary Stitching Algorithm: To ensure the tree is actually readable by humans, the authors developed a "stitching" algorithm. It prioritizes adding pairs of points that are close to each other but have different labels. This creates short edges that cross the decision boundary, providing a clear "local explanation" of the model's logic.
  4. Efficiency via LSH: To keep the construction fast, they use Locality Sensitive Hashing (LSH) to quickly find nearest neighbors in high-dimensional space.
Figure 1: Architecture of Explicable Boundary Tree.

Datasets

The authors evaluated their approach using two standard computer vision benchmarks:

  • MNIST: A dataset of 60,000 handwritten digits (0-9).
  • CIFAR-10: A more complex dataset of 50,000 color images across 10 categories (e.g., airplanes, birds, cats).

Key Insights and Ideas

  • Fidelity with Minimal Data: You don't need the whole dataset to understand a model. The EB-tree achieves over 99% fidelity to the original DNN while disclosing only ~0.2% of the training data.
  • Traversal as Explanation: When a user queries a new image, the EB-tree shows the "path" it took through the training examples to reach a decision. Seeing the specific training images the model considers "similar" helps humans spot why a model might be confused (e.g., an airplane with a long tail being classified as a bird).
  • Debugging and Cleaning: The EB-tree is a powerful tool for model providers. It can highlight mislabeled training data (points that sit deep in the "wrong" side of a boundary) and detect emerging new classes in a data stream by identifying inputs that don't fit the existing tree structure.
Figure 4: Samples of the nodes on boundary tree and EB- tree.

Key Results

  • High Accuracy & Fidelity: On MNIST, the EB-tree matched the LeNet-5 model with 99.72% fidelity using just 102 nodes. On the tougher CIFAR-10 dataset, it achieved 99.56% fidelity with 119 nodes.
  • Human-Centric Validation: In a pilot study with 10 users, participants agreed that the EB-tree traversal paths provided significantly better insight into model decisions (96-97% agreement ratio) compared to random paths or slightly modified ones.
  • New Class Detection: The system was able to detect a completely new class (the digit '9') in a stream with 99.1% accuracy, reducing the computational cost of such detection by 97.1% compared to previous state-of-the-art methods.

Limitations and Future Work

While the paper demonstrates impressive results for image classification, the authors note that the interpretability of the tree still depends on the quality of the DNN's transformed representation. If the DNN itself has not learned a meaningful feature space, the resulting tree may still be difficult for a human to parse.

Future work could involve exploring how EB-trees perform on non-image data (like text or structured logs) and investigating further privacy-preserving techniques to ensure that even the small set of disclosed training points cannot be used to reconstruct sensitive information.

Summary updated

BibTeX
@misc{wu2017interpreting,
  author = {Huijun Wu and Chen Wang and Jie Yin and Kai Lu and Liming Zhu},
  title = {{Interpreting Shared Deep Learning Models via Explicable Boundary Trees}},
  year = {2017},
  eprint = {1709.03730},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.03730},
}
Figure