Introduction
As machine learning models grow in complexity, the gap between their predictive power and our ability to explain their decisions has widened. Traditional interpretability tools, such as Shapley values, typically assign importance scores to individual features. While useful, these methods often fail to capture interactions—the synergistic ways in which features work together. For example, in sentiment analysis, the words "never" and "fails" are both negative in isolation, but their interaction creates a strong positive sentiment.
The Möbius transform is a mathematical framework that perfectly captures these higher-order synergies. However, computing it for $n$ features traditionally requires $2^n$ model evaluations, making it computationally impossible for modern neural networks. This paper introduces the Sparse Möbius Transform (SMT), a novel algorithm that overcomes this "curse of dimensionality" to identify complex feature interactions with unprecedented efficiency.
The SMT Framework
The Sparse Möbius Transform (SMT) leverages the observation that most real-world models are "sparse" (only a few interactions matter) and "low-degree" (interactions involve only a few features at a time). The algorithm's architecture draws from three distinct fields to achieve linear-time complexity ($O(Kn)$):
- Functional Subsampling & Aliasing: Similar to the Fast Fourier Transform (FFT), SMT subsamples the input space, causing different feature interactions to "alias" or overlap into specific buckets.
- Group Testing: To identify which specific features are interacting within a bucket, the authors use group testing—a method originally designed to identify a few sick individuals in a large population by pooling samples. This allows the algorithm to isolate $K$ significant interactions using only a fraction of the possible samples.
- Graph Peeling: Once a "singleton" (a bucket containing only one interaction) is identified, its value is "peeled" (subtracted) from other buckets. This iterative process resolves collisions where multiple interactions overlap, eventually uncovering the full set of significant features.
Crucially, SMT is non-adaptive, meaning all model queries can be executed in parallel, and it is noise-tolerant, making it robust for real-world applications where model outputs may be inconsistent.
Experimental Validation
The researchers evaluated SMT across three distinct learning tasks to test its versatility and accuracy:
- Tabular Data: An XGBoost model trained on the Wisconsin Breast Cancer dataset (30 features).
- Sentiment Analysis: A BERT language model fine-tuned on the IMDb Movie Reviews dataset.
- Reading Comprehension: A RoBERTa model fine-tuned on the RACE dataset.
Key Results
- Efficiency and Scalability: SMT achieved perfect reconstruction of interactions for models with $n=1000$ features using only a tiny fraction ($10^{-294}\%$) of the total possible samples. While competing methods like SHAP-IQ become computationally intractable as the number of features or interaction order increases, SMT's runtime scales polynomially.
- Faithfulness: The authors defined "faithfulness" ($R^2$) as how well an explanation model matches the original black-box model. They found that Möbius-based explanations are often twice as faithful as Shapley or Banzhaf values when using the same number of terms.
- Nuanced Interpretation: In sentiment analysis, SMT correctly identified that the interaction between "never" and "fails" shifts sentiment from negative to positive, a nuance that individual feature scores completely missed.
Discussion and Future Work
SMT uncovers a surprising mathematical link between feature interaction identification and the combinatorial problem of group testing. This connection allows researchers to apply decades of information theory research to the field of model interpretability.
However, some limitations remain. The current theoretical proofs assume that interactions are sampled uniformly at random, whereas features in language or images are often highly correlated (e.g., "New" and "York"). Future iterations of SMT could exploit these correlations to improve speed further. Additionally, the authors aim to apply SMT to multi-billion parameter large language models (LLMs) to determine if emergent properties can be traced back to specific high-order feature interactions.
Summary updated