AdaFDR: a Fast, Powerful and Covariate-Adaptive Approach to Multiple Hypothesis Testing

Martin Jinye Zhang, Fei Xia, James Zou

Abstract

Multiple hypothesis testing is an essential component of modern data science, aiming to maximize discoveries while controlling the fraction of false positives. In many settings, additional information—or covariates—is available for each hypothesis. For example, in eQTL studies, we may know the genomic location, conservation, and chromatin status of a variant. However, traditional methods like the Benjamini-Hochberg (BH) procedure ignore these covariates, and existing adaptive methods are often limited to univariate data or are computationally prohibitive for large-scale datasets. We introduce AdaFDR, a fast and flexible method that adaptively learns optimal p-value thresholds from multi-dimensional covariates. On GTEx genomic data, AdaFDR discovers up to 32% more associations than BH at the same false discovery rate. AdaFDR is computationally efficient, capable of processing over 100 million hypotheses within an hour, and provides exploratory tools to interpret how covariates influence significance.

Introduction

In the era of high-throughput biology and large-scale data science, researchers frequently encounter the "multiple testing problem." When testing millions of hypotheses simultaneously—such as correlations between genetic variants and gene expression—the probability of encountering false positives increases dramatically. The standard solution, the Benjamini-Hochberg (BH) procedure, controls the False Discovery Rate (FDR) but treats every test as an isolated p-value, ignoring the wealth of "side information" often available.

Intuitively, a genetic variant in a highly functional region is more likely to be a true discovery than one in a "junk" DNA region, even if their p-values are similar. AdaFDR addresses this by treating covariates as a budget, "investing" more of the FDR allowance into hypotheses that the side information suggests are more likely to be true.

The AdaFDR Framework

AdaFDR models the p-value threshold not as a single number, but as a function of the covariates. The method is built on several key technical innovations:

1. Adaptive Modeling

AdaFDR uses a mixture model to learn the relationship between covariates and the likelihood of a hypothesis being a true discovery. It combines a Generalized Linear Model (GLM) to capture global trends with Gaussian mixtures to identify local patterns in the covariate space where discoveries are concentrated.

2. The Mirror Estimator

To estimate the number of false discoveries without knowing the ground truth, AdaFDR utilizes a "mirror" property: under the null hypothesis, p-values are uniformly distributed between 0 and 1. By observing the density of p-values near 1 (which are highly likely to be null), the method can accurately estimate the expected number of null p-values that would appear near 0 by chance.

3. Rigorous FDR Control

To prevent overfitting and ensure statistical validity, AdaFDR employs hypothesis splitting (cross-fitting). The data is divided into folds; the threshold function is learned on one fold and applied to the other, ensuring that the model does not "learn" noise.

4. Computational Efficiency at Scale

Modern datasets like the Genotype-Tissue Expression (GTEx) project generate hundreds of millions of hypotheses. AdaFDR is optimized for this scale, using the EM algorithm for initialization and the Adam optimizer for fine-tuning. The authors also provide AdaFDR-fast, which can process 100 million hypotheses in approximately 5 minutes on a standard laptop—a task that takes other covariate-adaptive methods hours or days.

Empirical Performance and Validation

The paper evaluates AdaFDR across a diverse range of biological datasets, including RNA-Seq, proteomics, and fMRI data. Key results include:

  • Discovery Power: In eQTL mapping across 17 human tissues in the GTEx dataset, AdaFDR discovered 32% more associations than the standard BH procedure and 27% more than the state-of-the-art Independent Hypothesis Weighting (IHW).
  • Biological Validation: Discoveries made by AdaFDR on GTEx data showed higher replication rates on the independent MuTHER dataset compared to other methods, proving that the additional discoveries are biologically meaningful rather than statistical noise.
  • Multi-Dimensionality: Unlike previous tools, AdaFDR handles many covariates simultaneously, including both numeric (e.g., distance to a gene) and categorical (e.g., chromatin state) data.

Interpretability

AdaFDR includes a FeatureExplore tool that visualizes how each covariate affects the likelihood of discovery. This helps researchers understand the underlying biology, such as confirming that SNPs closer to a gene's start site are indeed more likely to regulate it, thereby making the statistical model more transparent and useful for hypothesis generation.

Conclusion and Limitations

AdaFDR represents a significant advancement in multiple hypothesis testing, offering a rare combination of power, speed, and flexibility. It is specifically designed for "big data" contexts and requires a large number of hypotheses (ideally >10,000) to accurately learn the covariate-dependent thresholds. While the theoretical proof assumes independent null p-values, extensive simulations demonstrate that AdaFDR is robust to the correlations typically found in real-world biological data. By leveraging side information, AdaFDR allows researchers to maximize the utility of their datasets while maintaining rigorous error control.

Summary updated

BibTeX
@inproceedings{zhang2019adafdr,
  author = {Martin Jinye Zhang and Fei Xia and James Zou},
  title = {{AdaFDR: a Fast, Powerful and Covariate-Adaptive Approach to Multiple Hypothesis Testing}},
  booktitle = {RECOMB},
  year = {2019},
}
Figure