When building predictive models in high-dimensional settings—such as genomics, where datasets track tens of thousands of genes—the search space grows exponentially if we consider how features interact. For $p$ base features, there are $O(p^2)$ possible pairwise interactions, and $O(p^k)$ higher-order combinations.
Standard sparse regression techniques like the Lasso treat every interaction as an independent candidate feature. This "flat" perspective leads to severe statistical and computational challenges: models can easily overfit to spurious noise, leading to high variance and uninterpretable discoveries where a complex interaction is selected without its underlying main effects.
To ground these models in logical and physical reality, researchers leverage structural priors known as hierarchical interaction constraints or the heredity principle.
The Intuition: The Heredity Principle
In its strongest form, the strong heredity principle dictates that a higher-order interaction term (such as the product $X_i X_j$) can only be included in a model if both of its constituent main effects ($X_i$ and $X_j$) are also selected. A weaker variant requires at least one main effect to be present.
Why does this work? Intuitively, it mirrors how the physical and biological world operates. As noted by Weijuan Liang et al. in Hierarchical false discovery rate control for high-dimensional survival analysis with interactions, biological systems follow a "main effects first" hierarchy. An interaction between two genes or an environment-gene pair is rarely meaningful if the individual components have zero baseline effect.
By enforcing this logical hierarchy, we drastically prune the search space. This multi-level filtering reduces false positives and ensures that discovered interactions are statistically robust across different organizational layers, as shown by Xing Qin et al. in Gene-gene interaction analysis incorporating network information via a structured Bayesian approach.
Flat Selection (Unconstrained):
[X₁] [X₂] [X₃] ... [X₁X₂] [X₁X₃] [X₂X₃] --> Search space explodes quadratically
Hierarchical Selection (Strong Heredity):
Step 1: Select Main Effects --> [X₁] and [X₂] are active (X₃ is zero)
Step 2: Allow Interactions --> Only [X₁X₂] is considered; [X₁X₃] and [X₂X₃] are blocked
Mathematical Mechanisms for Enforcing Hierarchy
How do we mathematically force an interaction coefficient to zero when its constituent main effects are absent? Researchers have developed several elegant frameworks to embed this structural awareness directly into optimization objectives.
Coefficient Decomposition
One direct approach is to explicitly link the magnitude of the interaction to the magnitudes of the main effects. As explored by Qingzhao Zhang et al. in Structured gene-environment interaction analysis, an interaction coefficient $\beta_{ij}$ can be reparameterized as a product of its primary main effects and an interaction-specific weight:
$$\beta_{ij} = \gamma_{ij} \cdot \beta_i \cdot \beta_j$$
If either main effect coefficient ($\beta_i$ or $\beta_j$) drops to zero via regularization, the interaction term $\beta_{ij}$ automatically vanishes, satisfying the strong hierarchy constraint natively.
Overlapping Group Regularization
Another mechanism leverages structured sparsity penalties. By grouping an interaction term together with its constituent main effects into a shared penalty structure, optimization algorithms can enforce structured sparsity.
Mark Schmidt et al. demonstrated this in Convex Structure Learning in Log-Linear Models: Beyond Pairwise Potentials, using overlapping group $\ell_1$-regularization to ensure that higher-order interactions are only activated if all their constituent subsets are present. Similarly, Francis Bach et al. in Exploring Large Feature Spaces with Hierarchical Multiple Kernel Learning organized kernels into a Directed Acyclic Graph (DAG) to penalize complex feature interactions unless their simpler components are active.
Bypassing the Combinatorial Wall
Even with a theoretical constraint, explicitly iterating over $O(p^2)$ or higher combinations to check the hierarchy is computationally crushing. To solve this, recent breakthroughs leverage kernel reparameterizations to evaluate interactions implicitly.
Raj Agrawal et al. introduced the Kernel Interaction Trick (KIT) in The Kernel Interaction Trick: Fast Bayesian Discovery of Pairwise Interactions in High Dimensions. They demonstrated that hierarchical models can be reparameterized as Gaussian Processes, reducing the computational complexity of interaction discovery from quadratic $O(p^2)$ to linear $O(p)$.
Building on this, the authors developed the SKIM-FA kernel in The SKIM-FA Kernel: High-Dimensional Variable Selection and Nonlinear Interaction Discovery in Linear Time, enforcing variable-level sparsity constraints recursively. If a primary variable is excluded, all its associated higher-order interactions vanish automatically in linear time relative to the number of covariates.
Bi-Level and Network-Structured Hierarchies
The concept of hierarchical constraints extends beyond individual variables to broader structural layers, such as biological pathways, functional clusters, or multiway networks.
Bi-Level Variable Selection
In many applications, features are naturally grouped (e.g., genes belonging to the same metabolic pathway). In this scenario, a model must perform a two-tiered selection: choosing both the relevant group and the specific features within that group.
Younès Youssfi in Scalable Bayesian bi-level variable selection in generalized linear models implemented a hierarchical sparsity constraint where individual predictors can only enter the model if their parent group is selected. To scale this to massive datasets, the author combined Sequential Monte Carlo with an Approximate Laplace Approximation.
Network Gatekeepers
At the network level, Jiayi Fan et al. in Bilevel Network Learning via Hierarchically Structured Sparsity utilized a gatekeeper mechanism where a high-level group vector is multiplied by lower-level variable interaction parameters:
$$\text{Connection}_{k} = \text{Group Gatekeeper} \times \text{Variable Weight}$$
This architecture ensures that individual connections can only exist if their parent groups are active. This multi-level filtering is crucial for survival analysis; Xing Qin et al. in Two-level Bayesian interaction analysis for survival data incorporating pathway information demonstrated that respecting this natural hierarchy prevents the selection of unstable or biologically irrelevant predictors.
Optimization and Interpretability Benefits
Enforcing these constraints during training is traditionally a difficult combinatorial optimization problem that is hard to solve using standard gradient-based methods. As noted by Han Li et al. in Hierarchical Interactions Model for Predicting Mild Cognitive Impairment (MCI) to Alzheimer's Disease (AD) Conversion, models often default to weaker constraints to maintain tractability, leaving the benefits of stricter structural priors unexplored.
However, modern frameworks have found creative relaxations to bridge this gap:
- Smooth-Step Relaxation: Shibal Ibrahim et al. developed GRAND-SLAMIN' in GRAND-SLAMIN’ Interpretable Additive Modeling with Structural Constraints, which uses a "smooth-step" relaxation and a customized sparse backpropagation algorithm to enforce structural hierarchy in Generalized Additive Models (GAMs), matching black-box accuracy while maintaining strict interpretability.
- Boolean Relaxation: For group models, Yijie Wang et al. in Learning Sparse Group Models Through Boolean Relaxation treated feature selection as a cardinality-constrained problem with Boolean variables, applying a convex relaxation to ensure models respect intersection-closed group properties.
- Heuristic Filtering: In perturbation screens, Kieran Elmes et al. in Learning epistatic gene interactions from perturbation screens used the strong hierarchy constraint as a powerful heuristic to narrow down the search space for epistatic gene interactions, maintaining high precision in identifying functional relationships.
From a theoretical perspective, this constraint is more than just a computational trick. Darius Afchar et al. formalized this in Towards Rigorous Interpretations: a Formalisation of Feature Attribution via a "dependence hierarchy," proving that if a model output is functionally dependent on a specific subset of features, it is logically dependent on any superset containing them.
Ultimately, as Ming Yuan demonstrates in Imposing the 'Right' Structural Constraints in High-Dimensional Regression, imposing the heredity principle shrinks the feasible set of models to produce results that are significantly more stable, parsimonious, and logically sound without sacrificing predictive power.
Key Foundational Work
Exploring Large Feature Spaces with Hierarchical Multiple Kernel Learning (2008) — contributed 2 concept elements to this direction.
Support vector machines with disease-gene-centric network penalty for high dimensional microarray data (2009) — contributed 1 concept elements to this direction.