[Paper Review] xGEMs: Generating Examplars to Explain Black-Box Models
xGEMs introduces a framework that generates manifold-guided exemplars to explain black-box classifiers by perturbing data points along the underlying data manifold, enabling detection of model bias, visualization of decision boundary shifts during training, and improved model comparison beyond accuracy metrics. The method uses an unsupervised implicit generative model as a proxy for the data manifold and leverages confidence manifolds to quantify model behavior across decision boundaries.
This work proposes xGEMs or manifold guided exemplars, a framework to understand black-box classifier behavior by exploring the landscape of the underlying data manifold as data points cross decision boundaries. To do so, we train an unsupervised implicit generative model -- treated as a proxy to the data manifold. We summarize black-box model behavior quantitatively by perturbing data samples along the manifold. We demonstrate xGEMs' ability to detect and quantify bias in model learning and also for understanding the changes in model behavior as training progresses.
Motivation & Objective
- To address the lack of reliable, realistic explanations for black-box model decisions in high-stakes domains like criminal justice and healthcare.
- To overcome limitations of existing explanation methods that rely on existing training/test samples or adversarial examples.
- To provide a diagnostic tool that probes model behavior across the data manifold without assuming a trade-off between performance and explainability.
- To enable detection of bias, especially with respect to protected attributes like gender or race, and to compare model calibration and decision boundary dynamics.
Proposed method
- Train an unsupervised implicit generative model to serve as a proxy for the underlying data manifold.
- Use gradient-based perturbations along the manifold to generate exemplars that cross the decision boundary of a black-box classifier.
- Construct 'confidence manifolds' by measuring the classifier’s predicted probability as a function of distance from the original sample to the decision boundary.
- Fit logistic functions to confidence manifolds to quantify decision boundary steepness and confidence shifts during training.
- Use 2D histograms of logistic fit parameters stratified by class and protected attributes (e.g., gender) for group-level model comparison.
- Visualize and analyze confidence manifolds and reliability diagrams to assess model calibration and detect misclassification patterns.
Experimental results
Research questions
- RQ1Can manifold-guided exemplars detect and quantify bias in black-box models with respect to protected attributes like gender or race?
- RQ2How do confidence manifolds along the data manifold reveal changes in model behavior during training, particularly in decision boundary sharpness and confidence shifts?
- RQ3Can confidence manifolds and logistic fit parameters provide more informative model comparisons than standard metrics like accuracy or reliability diagrams?
- RQ4How do different model architectures (e.g., ResNet vs. CNN+lrn) exhibit distinct decision boundary dynamics when probed via manifold-guided exemplars?
- RQ5To what extent can manifold-guided exemplars serve as a diagnostic tool for model calibration and robustness without relying on local approximations or adversarial examples?
Key findings
- The confidence manifold for a given sample varies significantly across different models, even with comparable overall accuracy, indicating differences in decision boundary behavior.
- Model 2 (CNN+lrn) showed a steeper confidence manifold than Model 1 (ResNet), suggesting a more abrupt transition in prediction confidence across the decision boundary.
- For blond-haired males, both models exhibited a low $x_0$ value in logistic fits, indicating lower confidence in predictions, which may signal calibration issues.
- A decrease in $x_0$ over training time for both models suggests the decision boundary shifts closer to certain samples, such as Sample 2 (blond-haired face), indicating dynamic boundary learning.
- The 2D histogram of logistic fit parameters revealed stratified differences in decision boundary behavior across gender and class groups, enabling bias detection.
- Reliability diagrams combined with confidence manifold analysis provided complementary insights into model calibration, especially where accuracy metrics alone were insufficient for comparison.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.