On the existence of powerful p-values and e-values for composite hypotheses

Zhenyuan Zhang, Aaditya Ramdas, Ruodu Wang

Abstract

Given a composite null $\mathcal{P}$ and composite alternative $\mathcal{Q}$, when and how can we construct a p-value whose distribution is exactly uniform under the null, and stochastically smaller than uniform under the alternative? Similarly, when and how can we construct an e-value whose expectation exactly equals one under the null, but its expected logarithm under the alternative is positive? We answer these basic questions, and other related ones, when $\mathcal{P}$ and $\mathcal{Q}$ are convex polytopes (in the space of probability measures). We prove that such constructions are possible if and only if $\mathcal{Q}$ does not intersect the span of $\mathcal{P}$. If the p-value is allowed to be stochastically larger than uniform under $P\in \mathcal{P}$, and the e-value can have expectation at most one under $P\in \mathcal{P}$, then it is achievable whenever $\mathcal{P}$ and $\mathcal{Q}$ are disjoint. More generally, even when $\mathcal{P}$ and $\mathcal{Q}$ are not polytopes, we characterize the existence of a bounded nontrivial e-variable whose expectation exactly equals one under any $P \in \mathcal{P}$. The proofs utilize recently developed techniques in simultaneous optimal transport. A key role is played by coarsening the filtration: sometimes, no such p-value or e-value exists in the richest data filtration, but it does exist in some reduced filtration, and our work provides the first general characterization of this phenomenon. We also provide an iterative construction that explicitly constructs such processes, and under certain conditions it finds the one that grows fastest under a specific alternative $Q$. We discuss implications for the construction of composite nonnegative (super)martingales, and end with some conjectures and open problems.

Introduction

In statistical hypothesis testing, p-values are the standard tool for decision-making. However, researchers often settle for "conservative" p-values—those that are merely stochastically larger than or equal to the uniform distribution under the null hypothesis. This research explores a more rigorous question: under what conditions can we construct exact p-values and e-values for composite hypotheses?

An exact p-value has a distribution that is precisely uniform under every distribution in the null set, while an exact e-value has an expectation of exactly one. While conservative versions are easily found when the null and alternative are disjoint, exact versions are notoriously elusive for composite sets.

Geometric Conditions for Exactness

The core contribution of this research is characterizing the geometric relationship between the null hypothesis $\mathcal{P}$ and the alternative hypothesis $\mathcal{Q}$, specifically when these are convex polytopes of probability measures.

A critical finding is the "Span" Condition. While simple disjointness between $\mathcal{P}$ and $\mathcal{Q}$ is sufficient for conservative tests, exact tests require that the alternative $\mathcal{Q}$ does not intersect the linear span of the null $\mathcal{P}$. This implies that for an exact test to exist, the alternative must be fundamentally "outside" the space generated by the composite null.

Methodology: Simultaneous Optimal Transport and Filtration Coarsening

The paper utilizes Simultaneous Optimal Transport (SOT) to address these questions. The goal is to find a mapping that transports an entire set of null distributions $\mathcal{P}$ into a single target distribution (e.g., $U[0,1]$ for p-values) simultaneously. If you can map all $P \in \mathcal{P}$ to the same target, you have created an exact test statistic.

Visual representation of mapping multiple distributions (top) to a common target (bottom) via filtration coarsening.

A key technique introduced is filtration coarsening. The authors demonstrate that an exact p-value might not exist in the original, "rich" data filtration. However, by strategically reducing the information (coarsening the $\sigma$-algebra), one can make the distributions in the composite null appear identical, thereby enabling the construction of an exact test statistic. This "power of ignorance" allows the signal from the alternative to be preserved while washing away the internal variances of the null set.

The SHINE Algorithm

To explicitly construct these variables, the authors propose SHINE (Separating Hyperplanes Iteration for Nontrivial and Exact e/p-variables). This iterative algorithm uses geometric separating hyperplanes to build a powerful e-variable that grows under the alternative while maintaining exactness under the null. SHINE is proven to converge exponentially fast to the optimal e-power under certain moment conditions.

Key Results and Discussion

The theoretical framework provides a "clean" solution for convex polytopes. These results extend beyond static tests to sequential settings, offering conditions for the existence of composite non-negative (super)martingales that grow to infinity under the alternative while remaining a martingale under the entire composite null.

Limitations and Future Work

While the framework is robust for finite sets and polytopes, extending these results to infinite collections of measures remains a subject of ongoing research (Conjecture 6.8). Additionally, while SHINE effectively constructs e-values, developing a similarly efficient iterative algorithm for the "most powerful" exact p-values is an open challenge. The computational complexity of finding optimal separating hyperplanes in high-dimensional spaces also presents a practical hurdle for scaling the SHINE algorithm to very large null sets.

Summary updated

Abstract

Given a composite null $ \mathcal P$ and composite alternative $ \mathcal Q$, when and how can we construct a p-value whose distribution is exactly uniform under the null, and stochastically smaller than uniform under the alternative? Similarly, when and how can we construct an e-value whose expectation exactly equals one under the null, but its expected logarithm under the alternative is positive? We answer these basic questions, and other related ones, when $ \mathcal P$ and $ \mathcal Q$ are convex polytopes (in the space of probability measures). We prove that such constructions are possible if and only if $ \mathcal Q$ does not intersect the span of $ \mathcal P$. If the p-value is allowed to be stochastically larger than uniform under $P\in \mathcal P$, and the e-value can have expectation at most one under $P\in \mathcal P$, then it is achievable whenever $ \mathcal P$ and $ \mathcal Q$ are disjoint. More generally, even when $ \mathcal P$ and $ \mathcal Q$ are not polytopes, we characterize the existence of a bounded nontrivial e-variable whose expectation exactly equals one under any $P \in \mathcal P$. The proofs utilize recently developed techniques in simultaneous optimal transport. A key role is played by coarsening the filtration: sometimes, no such p-value or e-value exists in the richest data filtration, but it does exist in some reduced filtration, and our work provides the first general characterization of this phenomenon. We also provide an iterative construction that explicitly constructs such processes, and under certain conditions it finds the one that grows fastest under a specific alternative $Q$. We discuss implications for the construction of composite nonnegative (super)martingales, and end with some conjectures and open problems.
BibTeX
@article{zhang2024existence,
  author = {Zhenyuan Zhang and Aaditya Ramdas and Ruodu Wang},
  title = {{On the existence of powerful p-values and e-values for composite hypotheses}},
  journal = {The Annals of Statistics},
  year = {2024},
  doi = {10.1214/24-aos2434},
}
Figure