In machine learning, features rarely operate in isolation. Consider a sentiment analysis model: the word "good" carries a positive weight, but when paired with the word "not," the interaction completely flips the meaning. Capturing these synergies—whether they are pairs, triplets, or arbitrary-order combinations—is essential for building accurate predictive models and explaining their decisions.
However, moving from individual features to feature interactions triggers a fundamental mathematical barrier: the combinatorial explosion. As we attempt to model or explain high-order relationships, the computational complexity scales exponentially, creating a severe bottleneck for both model training and post-hoc interpretability.
The Combinatorial Wall
To understand why high-order interactions are so difficult to scale, we can look at the size of the feature space. If a model contains $d$ input features, the number of possible pairwise (second-order) interactions is given by the binomial coefficient $\binom{d}{2}$. For a modest dataset with 100 features, that means evaluating nearly 5,000 pairs. If we want to capture three-way interactions, the space expands to $\binom{100}{3} \approx 161,700$.
If we wish to evaluate interactions of any arbitrary order, we must consider the entire power set of features, which scales at $2^d$.
Features (d) │ Any-Order Subsets (2^d)
──────────────┼─────────────────────────
10 │ 1,024
20 │ 1,048,576
50 │ 1,125,899,906,842,624 <-- Computationally Intractable
In early statistical natural language processing, Alexander Franz demonstrated that abandoning feature independence assumptions to capture these complex relationships immediately causes training costs to skyrocket, making models difficult to scale (Independence Assumptions Considered Harmful). Similarly, Jeffrey C. Jackson et al. showed that an exhaustive search for optimal high-order feature conjunctions scales exponentially with the interaction order, rendering brute-force approaches completely prohibitive for large-scale problems (Learning Sparse Perceptrons).
The Bottleneck in Explainable AI
This scalability crisis is acutely felt in game-theoretic interpretability frameworks like Shapley values. While standard Shapley values allocate importance to individual features, truly understanding a black-box model requires calculating Shapley interaction indices. These indices quantify how much a specific subset of features cooperates to change a model's prediction, over and above their individual impacts.
To compute the exact interaction score for a group of features, an algorithm must evaluate the model's output across an exponential number of feature subsets to see how the group's marginal contribution changes depending on the context. As Fabian Fumagalli et al. explain in their work on SHAP-IQ, this creates a severe trade-off between mathematical rigor and practical feasibility.
To bypass this exhaustive computation, researchers have developed specialized approximation and factorization techniques:
- Polynomial Arithmetic and Structural Exploitation: For specific model classes like tree ensembles, the internal structure of the model can be exploited. Maximilian Muschalik et al. developed TreeSHAP-IQ, which leverages polynomial arithmetic to compute any-order interactions up to 10,000x faster than traditional sampling (Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles).
- Stratification and Sampling: For model-agnostic settings, algorithms like SVARM-IQ use stratified sampling to approximate high-order relationships efficiently without evaluating every possible subset. Similarly, Che-Ping Tsai et al. propose Faith-Shap to optimize subset sampling for faithful interaction attribution (Faith-Shap: The Faithful Shapley Interaction Index).
Without these efficient approximations, game-theoretic interpretability tools remain computationally locked out of high-dimensional settings, such as evaluating cross-modal interactions across dozens of distinct data sources (Laura Wenderoth et al. in Measuring Cross-Modal Interactions in Multimodal Models).
Taming Complexity in Deep Architectures
The combinatorial explosion doesn't just hinder our ability to explain models; it also restricts our ability to train models that can natively learn high-order relationships.
In fields like Click-Through Rate (CTR) prediction or recommendation systems, cross-features (e.g., User_Age × Item_Category × Time_of_Day) are the lifeblood of predictive accuracy. However, explicitly computing these combinations becomes impossible in industrial settings with large feature spaces.
To address this, Yanqiao Zhu et al. introduced DESTINE, which explicitly separates "unary" feature importance from "pairwise" interactions using a disentangled self-attention mechanism, allowing the model to remain expressive yet computationally viable for real-time applications (Disentangled Self-Attentive Neural Networks for Click-Through Rate Prediction).
Taking this a step further, Zhen Tian et al. proposed EulerNet, which maps feature embeddings into a complex vector space (EulerNet: Adaptive Feature Interaction Learning via Euler's Formula for CTR Prediction). By leveraging Euler's formula, the model converts complex, high-order feature multiplications into simple linear combinations of modulus and phase:
$$\prod_{i \in S} x_i \implies \sum_{i \in S} \log(x_i)$$
This mathematical transformation allows the network to adaptively learn arbitrary-order (and even fractional) feature interactions with high efficiency, bypassing the exponential growth in computational complexity.
Physical and Geometric Constraints
The scaling problem becomes even more concrete in physical systems, such as molecular property prediction. In a molecule, atoms interact not just in pairs (bonds), but in triplets (angles) and quartets (torsional angles).
Directly modeling these $k$-body interactions means the computational complexity scales at $O(N^k)$, where $N$ is the number of atoms. For four-body interactions, an exhaustive approach scales at $O(N^4)$, which quickly crashes memory and processing limits for large molecules.
To solve this, Jiahua Rao et al. designed a geometric "Quadruple Attention" mechanism (Quadruple Attention in Many-body Systems for Accurate Molecular Property Predictions). Instead of computing all possible atom quartets, the architecture facilitates direct communication among atomic quartets while maintaining physical equivariance, allowing the model to capture high-order geometric features with minimal computational overhead.
Core Strategies for Scalability
Across explainability, recommendation systems, and physical modeling, the research community relies on three core paradigms to tame the combinatorial explosion of feature interactions:
- Sparsity and Selection: Restricting the search space to a small subset of highly informative elements or primitive interactions rather than the entire input space (e.g., Huilin Zhou et al. in Explaining How a Neural Network Play the Go Game; Jie Ren et al. in Monitoring Primitive Interactions During the Training of DNNs).
- Mathematical Transformation: Changing the representation space (such as EulerNet's complex space or polynomial arithmetic in TreeSHAP-IQ) to turn exponential multiplications into scalable additions or linear combinations.
- Factorization and Decoupling: Separating low-order effects from high-order effects (e.g., DESTINE) or factorizing global objectives into sequential, local decisions (e.g., Ilan Tchernowitz et al. in Effective Greedy Inference for Graph-based Non-Projective Dependency Parsing).
Key Foundational Work
Learning Sparse Perceptrons (1995) — contributed 1 concept elements to this direction.
Fuzzy If-Then Rules with Certainty Factors using Multilayer Model of GMDH (1995) — contributed 1 concept elements to this direction.
Independence Assumptions Considered Harmful (1997) — contributed 1 concept elements to this direction.