TL;DR
When running thousands of hypothesis tests, scientists often mistake $p$-values or $q$-values for the actual probability that a null hypothesis is true—a classic recipe for miscalibrated expectations. Normally, fixing this requires ground-truth labels, which we obviously don’t have in scientific discovery. This paper pulls off a neat statistical sleight of hand: by turning the gaps between sorted $p$-values into "pseudo-labels," it unlocks the entire toolkit of supervised machine learning calibration for multiple testing—no ground truth required.
What Problem Does This Paper Address?
Imagine a weather forecaster says there is a 10% chance of rain. If they are calibrated, it actually rains on about 10% of the days they make that claim. In large-scale hypothesis testing—like scanning thousands of genes or aggregating psychology studies—we want that same concrete, honest guarantee: among experiments assigned a 0.10 score, the null hypothesis (i.e., "nothing is actually happening here") should be true about 10% of the time.
In statistics, the true probability that a specific null hypothesis holds given its $p$-value is called the local false discovery rate ($\text{lfdr}$). If we view multiple testing as a binary classification problem—where the $p$-value is our input feature and the truth of the null hypothesis ($Y \in \{0, 1\}$) is the target label—then $\text{lfdr}$ is the ideal, perfectly calibrated predictor.
Here is the catch: in supervised machine learning, checking or enforcing calibration is easy because you eventually observe whether it rained ($Y$). In hypothesis testing, nature never hands you the answer key; the true labels $Y$ remain hidden forever. Without labels, standard tools like reliability diagrams or post-hoc calibration seem completely out of reach.
Methods
How do you supervise a model without labels? You lean on a known quirk of the universe: if a null hypothesis is true, its $p$-value is uniformly distributed between 0 and 1. The authors call this stochastically supervised classification, substituting partial knowledge of the data-generating process for missing labels.
- Novel Pseudo-Labels from Spacings: The authors sort all $m$ observed $p$-values from smallest to largest and look at the gaps (spacings) between neighbors: $p_{(r)} - p_{(r-1)}$. Multiplying these gaps by $m$ and an estimate of the overall null proportion ($\hat{\pi}_{\text{null}}$) yields continuous "pseudo-labels" $\widetilde{Y}_i$. Even though $\widetilde{Y}_i$ isn't binary (it can even exceed 1!), classical order-statistic theory guarantees its expected value given $p_i$ matches the hidden binary label's expected value: $\text{lfdr}(p_i)$.
- Importing Standard Calibration: Because weighted averages of $\widetilde{Y}_i$ converge to the exact same limits as weighted averages of the true hidden labels $Y_i$, you can use $\widetilde{Y}_i$ as a drop-in replacement. The authors apply standard isotonic regression (a fast, $O(m \log m)$ pooling algorithm that forces predictions to be non-decreasing so smaller $p$-values always mean stronger evidence against the null) directly to these pseudo-labels. They also plug $\widetilde{Y}_i$ into standard histogram binning to build label-free reliability diagrams.
Datasets
- Synthetic Simulations: Two-groups mixture models combining Uniform$(0,1)$ null $p$-values and $\text{Beta}(\alpha, \beta)$ alternative $p$-values across up to $m = 50,000$ tests, covering settings where the true $\text{lfdr}$ is both monotone and non-monotone.
- Cognitive Neuroscience & Psychology Corpus: A real-world meta-science dataset curated by Szucs and Ioannidis (2017), featuring $m \approx 27,000$ $t$-statistics and degrees of freedom scraped from 18 journals published between 2011 and 2014.
- (Note: The authors also mention an evaluation in the appendix using a smaller real-data benchmark where ground-truth null labels are actually known, used to verify their pseudo-label reliability diagrams against bona fide ones).
Key Insights and Ideas
- A Surprise Equivalence: The authors show that three completely different philosophies yield the exact same mathematical estimator: (1) minimizing squared error (Brier score) via isotonic regression on pseudo-labels, (2) maximum likelihood estimation using an exponential noise model on $p$-value spacings, and (3) classical empirical Bayes $\text{lfdr}$ estimation using the Grenander monotone density estimator. Supervised post-hoc calibration and nonparametric empirical Bayes were secretly doing the same thing all along.
- Robustness Without Assumptions: If the true underlying $\text{lfdr}$ isn't strictly monotone, forcing monotonicity via isotonic projection ($\text{lfdr}_\uparrow$) still yields a perfectly calibrated predictor. Furthermore, their estimator achieves vanishing regret relative to this best monotone predictor without ever assuming the true data-generating process is monotone.
- $p$-values and $q$-values Are Terrible Forecasters: While statisticians constantly warn that $p$-values and Benjamini-Hochberg/Storey $q$-values aren't individual error probabilities, seeing them plotted on a reliability diagram drives the point home visually: they stray wildly from the diagonal, whereas isotonic pseudo-label calibration hugs it tightly.
Key Results
- Finite-Sample Guarantees: The authors prove that the expected Brier regret of their isotonic calibrator is bounded by $\sqrt{\frac{2\pi}{m}} + \mathbb{E}|\hat{\pi}_{\text{null}} - \pi_{\text{null}}|$. This cleanly separates the error of learning the $p$-value distribution (which vanishes at a $1/\sqrt{m}$ rate) from the error of estimating the overall proportion of nulls. A similar bound holds when making hard reject/accept decisions, scaling favorably with the false-negative cost $\alpha$.
- Simulation Performance: Across all 9 synthetic scenarios ($m = 500$ to $50,000$), the Brier regret of the isotonic calibrator steadily drops toward zero on a log-log scale—even when $\alpha = 1.5$ violates monotonicity. Meanwhile, raw $p$-values and Storey’s $q$-values flatline at high regret.
- Meta-Science Calibration: On the 27,000 psychology/neuroscience tests, held-out reliability diagrams reveal that raw $p$-values and $q$-values severely underestimate the true rate of null hypotheses in every bin (e.g., bins with mean $q$-values around $0.2$ have an estimated null proportion above $0.8$). The isotonic calibrator $\widehat{\text{lfdr}}_\uparrow$ aligns closely with the $y=x$ ideal calibration line, offering trustworthy probability forecasts for individual studies.
Limitations and Future Work
- The $\pi_{\text{null}}$ Bottleneck: Everything hinges on having a good estimate of the overall null proportion $\pi_{\text{null}}$, which isn't identifiable from data without strong extra assumptions (like assuming most hypotheses are null, or that $p$-values near 1 are purely null).
- Exact Uniformity Required: Using $p$-value gaps as pseudo-labels relies strictly on null $p$-values being exact and uniformly distributed on $[0, 1]$.
- Next Steps: Future work will need to figure out how to build pseudo-labels when test statistics are multivariate, when the null distribution has to be estimated empirically rather than assumed uniform, and how standard ML workflows like cross-validation interact with these correlated order-statistic spacings.
Summary updated