Towards Interrogating Discriminative Machine Learning Models

Wenbo Guo, Kaixuan Zhang, Lin Lin, Sui Huang, Xinyu XingarXiv 2017

Introduction

As machine learning models, particularly deep neural networks (DNNs), grow in complexity, they increasingly function as "black boxes." While these models achieve state-of-the-art performance, their decision-making processes remain opaque, posing significant risks in high-stakes domains like healthcare and finance. This paper introduces a novel framework designed to "interrogate" these models by approximating their decision boundaries using a Bayesian non-parametric regression mixture model enhanced by multiple elastic nets. Unlike local explanation methods, this approach provides a global understanding of model behavior, enabling the identification of systemic biases and vulnerabilities.

The Challenge of Model Opacity

Current interpretability research generally falls into two categories:

  1. Deep Explanation: Methods like gradient-based saliency maps often require internal access to the model and are architecture-specific.
  2. Model Induction: Tools such as LIME approximate a model locally around specific data points. While useful for individual predictions, they fail to provide a comprehensive "global" view, making it difficult to predict overall model failure modes or identify general strengths and weaknesses.

Methodology: Global Interrogation via Bayesian Mixtures

The proposed framework approximates the decision surface of any discriminative model using a Bayesian Non-parametric Regression Mixture Model. The core innovation lies in the integration of multiple elastic nets within a mixture modeling framework:

  • Mixture Modeling: The complex target model is treated as a collection of simpler linear regression models. A "stick-breaking" Dirichlet process prior is employed to automatically determine the optimal number of linear components needed for the approximation.
  • Elastic Nets: To handle the high-dimensional and highly correlated nature of data like image pixels, the framework incorporates Elastic Nets ($l_1$ and $l_2$ penalties). This allows for sparse feature selection and the grouping of correlated variables.
  • Global Perspective: By learning from the entire dataset rather than local perturbations, the model constructs a global map of the decision boundary.
Visual explanation (heatmap) of a digit '6' generated by the interrogation framework.

Experimental Evaluation

The framework was evaluated on two benchmark datasets:

  • MNIST: Grayscale images of handwritten digits used to test the interpretation of image recognition DNNs.
  • 20 Newsgroups ('comp.sys'): A text classification task involving posts about computer systems, used to evaluate Random Forest and SVM models.

Key Results and Insights

The interrogation framework demonstrated significant advantages over existing local methods:

  • Superior Accuracy: On the MNIST dataset, the proposed approach achieved a Root Mean Square Error (RMSE) of 0.0040 for digit '0', vastly outperforming LIME's RMSE of 0.4284.
  • Enhanced Feature Selection: Qualitative analysis showed that the framework produced cleaner, more intuitive heatmaps and keyword lists. In text classification, the extracted features were more faithful to the underlying model's logic.
Comparison of top features identified by the proposed approach versus LIME for text classification.
  • Discovering Model Bias: The global analysis revealed that the target MNIST DNN relied heavily on the center of the canvas. Consequently, digits that were slightly shifted or rotated caused the model to fail—a systemic vulnerability that local tools might overlook.
  • Vulnerability Testing: By identifying "high energy" patterns critical to the model, the authors created "pathological" examples—random noise that the DNN classified as specific digits with nearly 100% confidence.

Conclusion and Future Work

This research provides a powerful tool for scrutinizing complex machine learning models. By moving beyond local explanations to global interrogation, researchers can better understand model biases and improve robustness. A current limitation is the assumption of feature independence, which restricts the model's effectiveness for temporal or sequential data (e.g., RNNs). Future work will focus on extending the framework to account for temporal dependencies, allowing for the "dissection" of sequence-based learning models.

Summary updated

BibTeX
@misc{guo2017towards,
  author = {Wenbo Guo and Kaixuan Zhang and Lin Lin and Sui Huang and Xinyu Xing},
  title = {{Towards Interrogating Discriminative Machine Learning Models}},
  year = {2017},
  eprint = {1705.08564},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.08564},
}
Figure