In high-dimensional statistics, we often search for a "needle in a haystack"—a few relevant predictors among thousands of candidates. This challenge compounds exponentially when we consider interactions. If a dataset has $p$ variables, there are $O(p^2)$ possible pairwise interactions and $O(p^3)$ three-way interactions. Without constraints, a model might select a complex interaction term (like $X_1 \cdot X_2 \cdot X_3$) while ignoring the individual variables that compose it.
This leads to models that are mathematically valid but physically or biologically "orphan"—they lack the baseline context of their constituent parts. To solve this, researchers have converged on a structural framework known as the Heredity Principle (or the Marginality Principle).
The Intuition of Heredity
The core idea is that complex interactions are rarely "spontaneous." In most natural systems, if two variables interact to produce an effect, they usually have an individual (main) effect as well. Ming Yuan argues in Imposing the 'Right' Structural Constraints in High-Dimensional Regression that enforcing this structure is not just a matter of taste; it is essential for model stability and interpretability.
There are two primary flavors of this constraint:
- Strong Heredity: An interaction term can only enter the model if all of its constituent main effects are also present.
- Weak Heredity: An interaction term can enter the model if at least one of its constituent main effects is present.
By enforcing these rules, we effectively prune the search space. Instead of looking at all $p^2$ interactions simultaneously, we only "unlock" the possibility of an interaction once its "parents" have proven their significance.
Mechanisms for Enforcing Structure
Enforcing hierarchy is difficult because it turns a standard regression problem into a combinatorial optimization nightmare. Researchers have developed several clever workarounds to make this computationally tractable.
1. Reparameterization
One elegant approach is to redefine the interaction coefficient. In Structured gene-environment interaction analysis, Qingzhao Zhang and Shuangge Ma decompose an interaction coefficient into a product of the primary effect and an interaction-specific weight. If the primary effect is zero, the interaction term is mathematically forced to zero. This same logic is used in the HiGLASSO framework by Jonathan Boss and colleagues to analyze environmental "chemical soups" Boss et al..
2. Overlapped Group Penalties
Another method uses the Group Lasso. By placing a main effect and all its associated interactions into a single "group," we can penalize them together. However, since an interaction like $X_1 X_2$ belongs to the "family" of both $X_1$ and $X_2$, these groups must overlap. Francis Bach pioneered this in Hierarchical Multiple Kernel Learning (HKL), organizing kernels into a Directed Acyclic Graph (DAG) to explore exponential feature spaces in polynomial time Bach.
3. Proximal Screening and Scaling
To handle truly massive data, Hussein Hazimeh and Rahul Mazumder developed hierScale. Their framework uses proximal screening rules to discard irrelevant interactions before the optimization even begins. In Learning Hierarchical Interactions at Scale, they demonstrated a 4900x speedup, fitting models with 1 billion interactions on a single machine by strictly enforcing strong hierarchy.
Why Hierarchy Improves Discovery
Beyond speed and math, hierarchical constraints act as a powerful filter for noise. In genomics, Ali Jalali and Pradeep Ravikumar show that even simple pairwise estimators can recover complex higher-order interactions if the underlying model follows a hierarchical structure Jalali et al..
This is particularly vital in clinical settings. For example, when predicting the conversion from Mild Cognitive Impairment to Alzheimer’s, Han Li and Jieping Ye found that hierarchical constraints prevent the performance degradation typically caused by the high dimensionality of interaction terms Li et al.. By requiring that an interaction term only be included if its constituent main effects are significant, the model filters out spurious correlations that lack biological grounding.
Beyond Linear Models
The principle is now moving into non-parametric and deep learning spaces. PrAda-net, developed by Oskar Allerbo and Rebecka Jörnsten, uses adaptive lasso to "snap" unimportant neural connections to zero, enforcing a hierarchy that prioritizes simpler functional forms before exploring complex dependencies Allerbo & Jörnsten. Similarly, the GRAND-SLAMIN’ framework by Shibal Ibrahim and Rahul Mazumder brings these constraints to Generalized Additive Models (GAMs), ensuring that shape functions remain stable and interpretable Ibrahim et al..
By treating the relationship between variables not as a flat list but as a structured genealogy, these methods transform high-dimensional regression from a search for random patterns into a reconstruction of logical, hierarchical systems.