Skip to main content
QUICK REVIEW

[Paper Review] Purifying Interaction Effects with the Functional ANOVA: An Efficient Algorithm for Recovering Identifiable Additive Models

Benjamin J. Lengerich, Sarah Tan|arXiv (Cornell University)|Nov 12, 2019
Fault Detection and Control SystemsEngineering44 references8 citations
TL;DR

This paper proposes a novel, exact algorithm to purify interaction effects in additive models using Functional ANOVA decomposition, resolving identifiability issues by isolating variance attributable solely to interactions. The method transforms piecewise-constant models (e.g., tree-based) into a canonical, identifiable form, revealing that prior interpretations of main and interaction effects can be misleading due to arbitrary redistribution of variance.

ABSTRACT

Models which estimate main effects of individual variables alongside interaction effects have an identifiability challenge: effects can be freely moved between main effects and interaction effects without changing the model prediction. This is a critical problem for interpretability because it permits "contradictory" models to represent the same function. To solve this problem, we propose pure interaction effects: variance in the outcome which cannot be represented by any smaller subset of features. This definition has an equivalence with the Functional ANOVA decomposition. To compute this decomposition, we present a fast, exact algorithm that transforms any piecewise-constant function (such as a tree-based model) into a purified, canonical representation. We apply this algorithm to Generalized Additive Models with interactions trained on several datasets and show large disparity, including contradictions, between the effects before and after purification. These results underscore the need to specify data distributions and ensure identifiability before interpreting model parameters.

Motivation & Objective

  • Address the fundamental identifiability problem in additive models where main and interaction effects can be arbitrarily redistributed without changing predictions.
  • Resolve contradictory interpretations of model effects—especially in tree-based models—by defining and computing 'pure' interaction effects.
  • Develop an efficient, exact algorithm to compute the Functional ANOVA decomposition for piecewise-constant functions, enabling canonical representation of model effects.
  • Demonstrate that model interpretations are highly sensitive to data distribution and estimation procedure, necessitating purification before interpretation.
  • Reveal that main effects and interaction effects can be significantly distorted before purification, with strong implications for model interpretability and fairness in ML.

Proposed method

  • Define pure interaction effects as variance not explainable by any subset of main effects, aligning with the Functional ANOVA (fANOVA) decomposition.
  • Propose an exact, fast algorithm to compute the fANOVA decomposition for piecewise-constant functions, such as those produced by tree-based models.
  • Transform any given additive model with interactions into a canonical form where main and interaction effects are mutually orthogonal and identifiable.
  • Use the algorithm to re-express models trained on real datasets, revealing that original effect estimates often conflate main and interaction signals.
  • Apply the purification to data generators from prior work (e.g., genetic interaction studies), showing that main effect strengths vary drastically pre- and post-purification.
  • Use the purified form to analyze inductive biases of models like random forests, showing they favor recovering interactions with stronger main effects.

Experimental results

Research questions

  • RQ1To what extent do standard additive models with interactions produce contradictory interpretations due to non-identifiability?
  • RQ2Can a canonical, identifiable decomposition of main and interaction effects be computed exactly for piecewise-constant models like tree ensembles?
  • RQ3How do data distribution and model estimation procedure affect the interpretation of main and interaction effects before and after purification?
  • RQ4What impact does purification have on the perceived strength and structure of interaction effects in real-world and synthetic datasets?
  • RQ5Does purification reveal hidden variance in main effects that were previously masked by interaction terms, and can this inform regularization for robustness?

Key findings

  • The same function can be represented by multiple additive models with identical predictions but contradictory interpretations, as demonstrated with Boolean and continuous variables.
  • The interaction effect in the 'AND' and 'OR' operations on Boolean variables is equivalent to a centered XOR interaction modified by main effects, proving that these are not distinct interaction types.
  • After purification, the 'synergistic' genetic interaction model has main effects three times stronger than the 'interaction only' model, despite identical interaction strength.
  • The 'No Interaction' model still shows non-zero main effects after purification, indicating that original models can misrepresent the absence of interaction.
  • Purification reveals that high variance in main effects—previously hidden in interactions—can be reduced via post-hoc regularization, improving interpretability and potentially test accuracy.
  • Random forest models preferentially recover interactions when main effects are strong, as shown by purified data generators, indicating that model inductive biases depend on effect structure.

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.