Skip to main content
QUICK REVIEW

[Paper Review] Interpreting Classifiers through Attribute Interactions in Datasets

Andreas Henelius, Kai Puolamäki|arXiv (Cornell University)|Jul 24, 2017
Imbalanced Data Classification TechniquesComputer Science16 references31 citations
TL;DR

This paper introduces astrid, a novel method for interpreting black-box classifiers by identifying attribute interactions through data factorization. It automatically discovers the maximum-cardinality grouping of attributes such that a classifier trained on reshuffled (factorized) data performs indistinguishably from one trained on original data, revealing how classifiers exploit joint attribute dependencies without assuming data distribution or model type.

ABSTRACT

In this work we present the novel ASTRID method for investigating which attribute interactions classifiers exploit when making predictions. Attribute interactions in classification tasks mean that two or more attributes together provide stronger evidence for a particular class label. Knowledge of such interactions makes models more interpretable by revealing associations between attributes. This has applications, e.g., in pharmacovigilance to identify interactions between drugs or in bioinformatics to investigate associations between single nucleotide polymorphisms. We also show how the found attribute partitioning is related to a factorisation of the data generating distribution and empirically demonstrate the utility of the proposed method.

Motivation & Objective

  • To develop a method for interpreting opaque classifiers by revealing how they exploit interactions among input attributes.
  • To identify the maximum-cardinality grouping of attributes such that the classifier's performance remains statistically indistinguishable after data factorization.
  • To provide a generic, assumption-free approach applicable to any classifier and data distribution.
  • To enable practical discovery of attribute groupings that reflect the true interaction structure exploited by a classifier.
  • To support real-world applications in domains like pharmacovigilance and bioinformatics where multi-attribute interactions are critical.

Proposed method

  • The method evaluates whether a proposed attribute grouping $\mathcal{S}$ is valid by training a classifier on original data and on data reshuffled according to $\mathcal{S}$, then comparing their performance.
  • It uses a confidence interval (CI) over multiple random samples of factorized data to assess whether the original classifier's accuracy is statistically distinguishable from the factorized one.
  • A grouping $\mathcal{S}$ is considered valid if the original classifier's accuracy lies within the CI of the factorized classifier's performance.
  • The algorithm searches for the maximum cardinality grouping by iteratively testing groupings and validating them via the CI-based hypothesis test.
  • The approach relies on the assumption that if the factorization $P(X|C; \mathcal{S}) = \prod_{S \in \mathcal{S}} P(X(\cdot,S)|C)$ captures the true class-conditional structure, then the classifier should not lose accuracy when trained on shuffled data.
  • The method is computationally efficient and runs in polynomial time, making it scalable to moderate-sized datasets.

Experimental results

Research questions

  • RQ1Can we determine whether a given grouping of attributes reflects the true interaction structure exploited by a classifier?
  • RQ2What is the maximum-cardinality grouping of attributes such that the classifier's performance remains statistically indistinguishable after data factorization?
  • RQ3How does the proposed method compare to existing approaches in identifying attribute interactions in supervised learning?
  • RQ4To what extent does the method reveal meaningful, non-trivial attribute interactions in real-world datasets?
  • RQ5How robust is the method to variations in data size, classifier type, and interaction strength?

Key findings

  • For the synthetic dataset with four attributes, astrid correctly identified the grouping $\mathcal{S} = \{\{1,2\}, \{3\}, \{4\}\}$ as valid for both SVM and random forest, with original accuracy above the CI of the factorized model.
  • In the Naïve Bayes experiment, the method correctly identified the trivial grouping $\mathcal{S} = \{\{1\}, \{2\}, \{3\}, \{4\}\}$, as the classifier's accuracy remained unchanged across all factorizations.
  • On the UCI balance-scale dataset, astrid found a grouping of size 3 with a largest group of size 2, and the p-value from Ojala & Garriga (2010) test was 0.03, indicating marginal significance.
  • For the mushroom dataset, astrid identified a grouping of size 15 with a largest group of size 7, and the classifier achieved 99.5% accuracy, with a p-value of 0.00, suggesting strong evidence of interaction structure.
  • In the kr-vs-kp dataset, the method found a grouping of size 33 with a largest group of size 4, and the p-value was 0.00, indicating that the factorization was invalid, consistent with high interaction complexity.
  • The method demonstrated robustness across different classifiers: SVM, random forest, and Naïve Bayes, with consistent results on both synthetic and real-world datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.