Learning Qualitatively Diverse and Interpretable Rules for Classification

Andrew Slavin Ross, Weiwei Pan, Finale Doshi-VelezarXiv 2018

Abstract

In many real-world classification tasks, multiple distinct rules can accurately predict the target label. Standard machine learning models typically conflate these redundant rules into a single, complex, and often uninterpretable function. We introduce local independence training, a novel ensemble method that forces models to learn geometrically orthogonal decision rules by penalizing input gradient alignment. Our experiments on synthetic and benchmark datasets demonstrate that this approach successfully isolates diverse, interpretable hypotheses, providing a "menu" of options for human experts in high-stakes domains.

Introduction

In high-risk fields like healthcare or criminal justice, the interpretability of a machine learning model is as important as its accuracy. A model might achieve high performance by relying on non-causal correlations or confounding factors present in the training data. When multiple valid "rules" exist—for instance, diagnosing a disease based on either a specific lab value or a redundant clinical symptom—standard algorithms tend to learn a dense combination of all available features. This "conflation" results in models that are harder to audit and may fail unpredictably if one of the redundant correlations breaks down in the real world.

Methodology: Local Independence Training

To address this, we propose finding a maximal set of diverse classifiers. Rather than training a single model, we jointly train an ensemble of $M$ models using a specialized objective function that balances predictive accuracy with rule diversity.

The objective function consists of two primary components:

  1. Predictive Loss: A standard cross-entropy loss ensures each model in the ensemble is highly accurate on the training data.
  2. Local Independence Penalty: This term penalizes the squared cosine similarity of the models' input gradients.

The authors demonstrate that for two functions to make statistically independent predictions under infinitesimal input perturbations (a property termed "local independence"), their input gradients must be geometrically orthogonal. By forcing gradient orthogonality, the models are pressured to rely on different local features or functional forms. For high-dimensional data, this penalty is applied to the gradients of a latent representation (e.g., learned via a $\beta$-VAE) to prevent models from trivially picking alternate pixels.

Experimental Datasets

We evaluated our method on several datasets designed to test rule isolation:

  • 2D Toy Datasets: Three synthetic environments (A, B, and C) where labels are determined by pairs of redundant 2D functions (e.g., linear vs. quadratic rules).
  • 8D Feature Selection: A dataset where four different functions, each using a unique pair of axes, redundantly determine the label.
  • dSprites: A benchmark of 64x64 images with five independent latent factors (shape, scale, rotation, x-position, y-position), used to test performance on learned representations.
Overview of synthetic 2D datasets (A, B, C) and the training distribution for (A) used to evaluate rule isolation.

Key Results and Insights

Our findings suggest that "dense conflation" is the default behavior for most models. Even traditionally interpretable models like decision trees or logistic regression failed to isolate individual rules, instead learning complex mixtures of all available predictive features.

Rule Isolation in Synthetic Data

On the 8D dataset, standard MLPs and Random Forests learned a single rule dependent on all features. In contrast, local independence training successfully recovered four distinct neural networks, each corresponding to one of the ground-truth functions. This allows the user to see the different ways the data can be classified rather than a single "black box" average.

Visualizing four qualitatively diverse decision boundaries ($f_1$ to $f_4$) isolated by the ensemble on a redundant classification task.

Enhancing Representation Learning

On the dSprites dataset, we found a powerful synergy between our method and representation learning. While $\beta$-VAEs are intended to disentangle factors, they often leave factors "entangled" in the classification task. Applying local independence training on the VAE's latent space significantly improved disentanglement, allowing the ensemble to separate scale, x-position, and y-position into specialized models with up to 98.4% accuracy on single-factor variations, compared to 50-72% for standard models.

Conclusion and Future Work

Local independence training provides a principled way to tease apart redundant classification rules, offering a significant step forward for interpretability in complex datasets. However, several challenges remain. The number of rules $M$ must currently be specified as a hyperparameter, and the method requires a robust dimensionality reduction step for raw high-dimensional inputs. Future research will focus on dynamically determining $M$ and conducting user studies to confirm that these mathematically diverse rules align with human notions of interpretability.

Summary updated

BibTeX
@misc{ross2018learning,
  author = {Andrew Slavin Ross and Weiwei Pan and Finale Doshi-Velez},
  title = {{Learning Qualitatively Diverse and Interpretable Rules for Classification}},
  year = {2018},
  eprint = {1806.08716},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.08716},
}
Figure