NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A general framework for formulating structured variable selection

Guanbo Wang, Mireille Schnitzer, Tom Chen, Rui Wang, Robert W. Platt

Introduction

In modern data science, variable selection is rarely a blank slate. Domain knowledge often dictates that certain variables must be selected together—for instance, main effects must accompany interaction terms, or all levels of a categorical variable should be included as a group. While specialized methods like the Group Lasso exist for specific cases, a unified language to describe any arbitrary structural constraint has been missing. This paper introduces a universal mathematical framework to formalize these "selection rules," bridging the gap between clinical expertise and statistical modeling.

The Core Pillars: Dictionaries and Unit Rules

The framework rests on the concept of the Selection Dictionary ($\mathbb{D}_\tau$), which represents the set of all possible variable subsets that satisfy a given rule $\tau$. By defining the "legal" subspace of models first, the logic of the model structure is decoupled from the optimization process.

The building blocks of this system are Unit Rules ($u_C(F)$). These "atoms" specify that a certain number of variables ($C$) must be selected from a specific set ($F$). For example, a rule might require selecting exactly zero or all variables from a set of dummy indicators.

Selection dependencies and their corresponding dictionaries

A Grammar for Selection: Logical Operations

The true power of the framework lies in its logical composition. The authors prove (Theorem 3) that any complex selection rule can be decomposed into unit rules combined via standard logical operators: AND ($\wedge$), OR ($\vee$), NOT ($\neg$), and IF-THEN ($\rightarrow$). This "grammar" allows for the formalization of hierarchical relationships and nested constraints.

Logical operations for rule composition

Clinical Application: Predicting Major Bleeding

To demonstrate the framework's utility, the authors apply it to a clinical scenario: predicting major bleeding in patients with atrial fibrillation. This complex model involves nine distinct rules, including nested drug types (e.g., Apixaban as a subset of DOACs) and strong heredity constraints for interactions. The framework successfully reduces the search space of models to only those that are clinically interpretable. In a simplified example, the authors demonstrated how a complex selection dictionary could reduce 64 possible subsets to just 8 "legal" models.

Key Insights and Future Directions

This formalization reveals that variable selection is essentially a search within a constrained subspace. By providing a "recipe" for variable grouping, the framework allows existing tools like the Overlapping Group Lasso to enforce complex rules they weren't originally designed for. Furthermore, the connection to $\ell_0$ norms suggests that modern mixed-integer optimization could be used to solve these structured problems natively.

While computationally intensive for very large variable sets, the framework offers a path toward high-dimensional scaling by merging dictionaries for independent subsets of variables. Future work focuses on developing software that can directly incorporate these logical constraints into penalized regression algorithms.

Summary updated

BibTeX
@article{wang2024general,
  author = {Guanbo Wang and Mireille Schnitzer and Tom Chen and Rui Wang and Robert W. Platt},
  title = {{A general framework for formulating structured variable selection}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
}
Figure