Searching for subgroup-specific associations while controlling the false discovery rate

Matteo Sesia, Tianshu SunarXiv 2022 · DOI

Abstract

This paper introduces an innovative method for conducting conditional independence testing in high-dimensional data, facilitating the automated discovery of significant associations within distinct subgroups of a population, all while controlling the false discovery rate. This is achieved by expanding upon the model-X knockoff filter to provide more informative inferences. Our enhanced inferences can help explain sample heterogeneity and uncover interactions, making better use of the capabilities offered by modern machine learning models. Specifically, our method is able to leverage any model for the identification of data-driven hypotheses pertaining to interesting population subgroups. Then, it rigorously test these hypotheses without succumbing to selection bias. Importantly, our approach is efficient and does not require sample splitting. We demonstrate the effectiveness of our method through simulations and numerical experiments, using data derived from a randomized experiment featuring multiple treatment variables.

Introduction

In modern data science, populations are rarely homogeneous. A "population-wide" average effect often masks critical nuances: a marketing strategy might resonate with one demographic while failing another, or a genetic variant might only pose a risk under specific environmental conditions. Standard statistical tools, such as the model-X knockoff filter, excel at identifying significant variables across an entire population but struggle to pinpoint these interactions.

When researchers manually search for subgroups (e.g., "unmarried women") and test hypotheses on the same data used for discovery, they encounter selection bias, often leading to a high rate of false positives. To mitigate this "double-dipping," researchers typically resort to sample splitting—using half the data for discovery and half for testing. However, this approach significantly reduces statistical power. The Subgroup-Selective Knockoff Filter (SSKF) addresses this dilemma by allowing for data-driven hypothesis generation and rigorous testing on the same dataset.

Methodology: The Subgroup-Selective Knockoff Filter

SSKF builds upon the model-X framework to test for conditional independence without assuming a specific functional form for the outcome. The core innovation lies in the creation of knockoff-invariant subgroups.

The process involves three key stages:

  1. Masking: The analyst generates "knockoffs"—synthetic, noise-like versions of the real variables. A modified dataset is created where the identities of the real variables and their knockoffs are randomly swapped using Bernoulli variables.
  2. Learning: Any machine learning model (e.g., Lasso with interaction terms or deep learning) is trained on this masked data to identify interesting subgroups. Because the model cannot distinguish between real variables and knockoffs, the resulting subgroups are "knockoff-invariant."
  3. Testing: Once subgroups are defined, the method uses the original, unswapped data to calculate importance statistics. This careful masking ensures that the subsequent testing phase avoids selection bias while maintaining rigorous False Discovery Rate (FDR) control.
Table 1: Illustration of how SSKF partitions a population into data-driven subgroups based on interactions between variables and covariates.

Experimental Evaluation

The authors evaluated SSKF using both synthetic and semi-synthetic datasets. The synthetic setup involved a high-dimensional environment (20 binary variables, 80 covariates) with complex ground-truth interactions. The semi-synthetic blood donation data utilized a real-world randomized experiment involving 80,000 donors in China to test the recovery of causal interactions.

Key Results

In synthetic experiments, SSKF significantly outperformed "vanilla" knockoffs and data-splitting benchmarks. While vanilla knockoffs control the FDR, they fail to provide "informative" results, as the homogeneity of their discoveries remains low. In contrast, SSKF becomes increasingly precise as sample size grows, identifying subgroups with near-perfect homogeneity while maintaining power.

Figure 1: Performance comparison of SSKF against Naive, Split, and Vanilla methods. SSKF (blue) maintains FDR control while achieving higher power and significantly better informativeness (homogeneity) as sample size increases.

In the blood donation case study, SSKF successfully identified that a "friends request" incentive was particularly effective for unmarried females. This specific insight would likely have been diluted or missed entirely by a population-wide test.

Discussion and Limitations

SSKF demonstrates that researchers do not need to sacrifice half their data to achieve valid subgroup inferences. The "masking" technique provides sufficient blindness to the learning algorithm to prevent overfit-driven false discoveries. Furthermore, the framework is highly flexible, allowing the "learning" module to be any black-box model.

However, some limitations remain. Like all model-X methods, SSKF assumes the distribution of explanatory variables ($X$) given covariates ($Z$) is known or accurately estimable. Additionally, the computational cost of fitting multiple models for learning and testing can be a bottleneck for extremely large datasets. Future work may extend this framework to transfer learning settings to identify associations that are robust across different environments.

Summary updated

BibTeX
@misc{sesia2022searching,
  author = {Matteo Sesia and Tianshu Sun},
  title = {{Searching for subgroup-specific associations while controlling the false discovery rate}},
  year = {2022},
  eprint = {2205.08653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.08653},
}
Figure