stat.MLMar 3, 2026

Exact Functional ANOVA Decomposition for Categorical Inputs Models

Authors: Baptiste Ferrere, Nicolas Bousquet, Fabrice Gamboa, Jean-Michel Loubes, Joseph Muré

Organizations: IMT, SINCLAIR AI Lab · EDF R&D, SINCLAIR Lab · Université de Toulouse · SINCLAIR AI Lab · 

Abstract

Functional ANOVA offers a principled framework for interpretability by decomposing a model's prediction into main effects and higher-order interactions. For independent features, this decomposition is well-defined, strongly linked with SHAP values, and serves as a cornerstone of additive explainability. However, the lack of an explicit closed-form expression for general dependent distributions has forced practitioners to rely on costly sampling-based approximations. We completely resolve this limitation for categorical inputs. By bridging functional analysis with the extension of discrete Fourier analysis, we derive a closed-form decomposition without any assumption. Our formulation is computationally very efficient. It seamlessly recovers the classical independent case and extends to arbitrary dependence structures, including distributions with non-rectangular support. Furthermore, leveraging the intrinsic link between SHAP and ANOVA under independence, our framework yields a natural generalization of SHAP values for the general categorical setting.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Generalized Functional ANOVA in Closed-Form: A Unified View of Additive Explanations

    May 18, 2026Baptiste Ferrere, Nicolas Bousquet, Fabrice Gamboa +1Feature AttributionInterpretable ML

  2. Beyond Additive Decompositions: Interpretability Through Separability

    May 29, 2026Jinyang Liu, Munir Eberhardt HiabuInterpretable MLStatistical Learning Theory

  3. Statistical Inference and Learning for Shapley Additive Explanations (SHAP)

    Feb 11, 2026Justin Whitehouse, Ayush Sawarni, Vasilis SyrgkanisSHAP Feature AttributionShapley Value Attribution