Manuscript Offprint
arXiv:2610.18336Strategic Multi-Agent Resource Allocation via Statistical Contracts
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study a class of strategic hypothesis testing problems in which a principal aims to allocate resources among competing agents who possess data or data-generating mechanisms that may be relevant to the principal's goals. Each agent can pay a participation cost to opt into a statistical contract, in which case they generate data from a private distribution and receive an allocation based on a predetermined (and publicly known) mechanism. Each agent is either “null” or “non-null” and the principal’s goal is to design the contract to limit the allocation to the former while maximizing transactions with the latter.
Using e-values, we define a “continuous-closure,” a set of allocations which prevents null agents from profiting in expectation and provides post-hoc risk control for general loss functions under arbitrary dependence. When the loss is the fraction of resources allocated to null agents, the region admits polynomial-time linear optimization. We also give explicit, interpretable closed-form approximations, and we analyze participation from a non-null agent’s perspective, giving conditions under which entry into the contract is profitable. Finally, we extend the framework to support online arrival of the agents, in which case the principal has to make irrevocable on-the-fly decisions, and provide a method which gives time-uniform error-control in this setting.
1 Introduction
We consider allocation problems in which a principal must distribute resources among competing agents. Each agent is associated with a distribution , where is partitioned into “nulls” and “non-nulls” . Each agent’s distribution is unknown to the principal (but may be known to the agent), whose goal is to distribute resources to the non-null agents while avoiding null agents. To motivate such problems, consider the following scenarios.
Example 1. Large pharmaceutical companies (principals) often rely on independent startups (agents) for drug discovery and early-stage clinical trials [43]. Startups approach the company if they have a promising result. They conduct a pilot study to demonstrate the promise of their drug, and the company allocates revenue (e.g., for further experimentation) based on the result.
*Carnegie Mellon University, benchugg@cmu.edu
UC Berkeley, ÉNS, & Inria
Stanford University
Example 2. A digital platform (the principal) allocates user traffic among competing ads, app-store listings, or product variants. Advertisers, developers, or internal product teams (agents) propose candidate interventions and evaluate them through the platform's experimentation infrastructure. The platform then uses the resulting evidence to decide on traffic share. Real-world examples include app-store optimization [2, 17] and advertising experiments [33, 26].
Our approach falls under the purview of statistical contract theory [6]. As in classical contract theory [29], the goal of statistical contract theory is to solve problems involving information asymmetry—where a principal interacts with an agent who has problem-relevant knowledge that the principal does not possess, where the principal accordingly needs to incentivize the agent to participate in the solution of the problem, and where the overall social welfare reflects both the principal's goals and the agent's goals. Statistical contracts focus in particular on problems of information asymmetry involving data analysis, where the principal and the agent have different levels of access to statistical quantities such as parameters, distributions, and data.
When designed well, a statistical contract should allow the principal to solve an inferential problem—such as controlling false positives in a hypothesis test—via a protocol whereby an agent can verify that it is in their interest to contribute their private knowledge in the interaction with the principal. Previous work in statistical contract theory has focused on the core problem of hypothesis testing in the interaction between a principal and a single agent [6, 5, 9]. The current paper expands the scope of the theory to consider principal-agent hypothesis testing in the more general setting of multiple agents.
Let us briefly sketch the details of a contract here, which is defined by an allocation mechanism . Each agent with private distribution can pay a fixed, publicly known cost to enter the contract. Upon entry, data is drawn from the agent's distribution. The principal gathers data from all agents who opted into the contract and feeds them into which provides a final allocation for each (e.g., a share of the total budget, a profit license, or how widely to disseminate an agent's product). See Figure 1. We assume that the mechanism to decide on the allocation given the data is publicly known. The goal of this paper is to design mechanisms that yield controllable incentive structures.
The main challenge is in designing a contract which ensures that the allocation to null agents is “small” (as determined by some loss function), even when the principal does not know the underlying distribution of each agent or which agents are null. The interaction between the principal and the agents is thus strategic: Agents may have private information concerning their own distribution , and can decide to enter the contract based on , , and perhaps their beliefs about the other agents.
Contributions. After formalizing the multi-agent statistical contract in Section 3, we introduce several desiderata that we would like a “well-designed” contract to satisfy. Following Bates et al. [6], we say that a contract satisfies null deterrence if the expected allocation to each null agent i is at most their participation cost . We then introduce the null allocation rate—the expected fraction of the payout to null agents—and various other loss functions that the principal might like to control. We also introduce post-hoc risk control, which is control of a loss function at data-dependent significance levels (thus strictly generalizing the notion
Perhaps the data is drawn by the agent themselves, by the agent supervised by the principal, or by a trusted third-party. We remain agnostic to these details.

Figure 1: Strategic multi-agent resource allocation. The principal publicly announces the mechanism , an optional budget , and the costs . Each agent can enter the contract, at which point they pay and generate data from their private distribution. The mechanism then computes an allocation for each agent.
of controlling the expected loss at a predetermined level) and simultaneously over several loss functions. From here, our main contributions are the following:
-
In Section 4, we introduce the continuous-closure for arbitrary loss functions, a set of allocations which satisfy null deterrence and post-hoc risk control. The principal is able to freely maximize any objective function over this set. We then focus on the null allocation rate specifically, showing that one can optimize linear objectives over its continuous-closure in polynomial time. We then give three simple mechanisms which provide explicit, interpretable approximations to this optimum. We characterize the tradeoffs both analytically and experimentally.
-
In Section 6, we turn to studying non-null agents, aiming to provide conditions under which it is beneficial to opt into the contract. We show that strong evidence alone need not make entry profitable, since competitors with faster evidence growth can absorb nearly all of the budget. However, a simple strategy of truncating the evidence yields explicit lower bounds for a non-null agent's payout. Moreover, we show that such truncation is necessary—in a particular formal sense—to provide such guarantees.
-
Finally, Section 7 considers sequential allocation. When agents arrive over time and allocations are irrevocable, we establish time-uniform control of the null allocation rate, while permitting the principal to allocate risk incrementally through a predictable policy. We also show how the allocation can fund another round of experimentation. Appendix B.4 separately treats agents who observe their data before deciding whether to enter the contract.
The allocations of all our mechanisms are based on e-values, a statistical cousin of the p-value [34, 20]. Just as in the single-agent setting of Bates et al. [6], e-values are necessary tools for designing contracts that satisfy null deterrence. They are also very natural here: E-values are often considered as measures of evidence against the null hypothesis [12], designed to be small under P and large under Q. Thus, allocations based on e-values will naturally favor agents in Q. One consequence of e-value-based allocations is that our batch mechanisms are robust under arbitrary dependence across agents, and can easily be extended to support online allocation.
Setting and preliminaries. As stated above, we consider a universe of distributions partitioned into null distributions and non-null distributions . Each agent, which we identify with a number , is associated with a distribution unknown to the principal (and perhaps not even fully known to the agent). Null agents have . An e-value for is a nonnegative random variable such that for all .
Throughout, we enumerate the set of agents who opted into the contract as , and we let be the set of null agents. Agent has a fixed, publicly known participation cost . For each , define , and write for the total participation cost. We will always take the set of null agents to be unknown but fixed. Thus, , , and are treated as constants in our analyses and results. We write as a shorthand for the worst-case expectation over joint distributions such that is the set of null agents.
Statistical contract theory. The field of statistical contract theory was kickstarted by the original paper of Bates et al. [6] on principal-agent hypothesis testing, sometimes also called strategic hypothesis testing [9]. This work builds on the earlier analysis of Tetenov [42], who was concerned with drug approval after phase III clinical trials and studied how to set the significance level to deter null agents. There have been several follow-up works in this area, each providing a different perspective [3, 5]. A recent line of work studies the optimality properties of statistical contracts, including instance-specific and minimax characterizations of optimal tests [38, 39, 9].
Algorithmic contract theory. There is a distinct literature on algorithmic contract theory which studies how to design optimal contracts under a model of moral hazard [14, 49, 35, 36]. There, an agent takes a hidden, costly action that shapes the distribution of outcomes and the principal designs payments to maximize its expected utility. In our setting, by contrast, the agent's only action (whether to participate) is observed and does not change its data distribution. Still, algorithmic contract theory has been applied to multi-agent systems, so connections between the two subfields may be worth further investigation [13].
Contract theory and mechanism design. Both statistical contract theory and algorithmic contract theory are computational perspectives on the more general area of contract theory, a rich area of economics [41, 8]. Standard questions in contract theory include how to design incentives under asymmetric information, how to induce agents to take costly actions, how to screen agents with heterogeneous private types, and how to structure rewards when the
More formally, let denote the class of joint laws under which precisely the agents in are null, that is, the marginal law of the data generated by agent belongs to for each and to for each . Unless stated otherwise, imposes no independence assumptions among the agents’ data. Then is the supremum of expectations over all such joint laws.
principal observes only noisy signals of agent quality. Our setting shares these concerns, but differs in that the data are generated by formal statistical experiments and the principal seeks risk guarantees on the resulting allocation.
Likewise, principal-agent frameworks have also long been studied outside of statistics [18]. Classical principal-agent models study incentives under asymmetric information, moral hazard, or hidden action and thus differ from the hypothesis testing perspective that we adopt here.
Multiple testing and e-values. Our methods have much in common with the multiple-testing literature. This is perhaps unsurprising, given that multiple testing can be seen as a form of binary resource allocation, where each hypothesis is an agent and we are making yes/no decisions. Indeed, the continuous-closure introduced in Section 4 can be seen as a generalization of the e-closure principle [48], and our e-BH mechanism in Section 5.2 draws inspiration from the e-BH procedure of Wang and Ramdas [46]. Our online mechanism is based on the e-LOND procedure of Xu and Ramdas [47]. Viviano et al. [44] recently studied multiple testing via an economic lens, asking how the error budget should be set as a function of research costs.
Resource allocation. Many other frameworks are broadly focused on the question of resource allocation, including multi-armed and contextual bandits, portfolio optimization, auction design, and network optimization. Bandit algorithms allocate samples or traffic across alternatives while balancing exploration and exploitation [30, 40], though they do not typically take into account the strategic behavior on the part of the alternatives. Variants such as bandits with knapsacks [4] take into account budget constraints, as we do here. Auction theory [32] also studies allocation under uncertainty and strategic behavior, but does not impose statistical guarantees on the behavior of null agents.
3 Multi-Agent Statistical Contracts
Here we introduce the statistical contract which governs the interaction between the principal and the agents. We consider two scenarios: That of a finite budget, in which the total allocation across all agents must be bounded by a known constant , and that of an infinite budget . We emphasize that we use the term “infinite budget” for convenience only—it should not be taken literally as an infinite financial budget. Instead, it corresponds to situations in which there is no natural bound on the allocations produced by the principal. This arises, for example, when the principal is granting licenses to profit [6, 5], market access, or exposure multipliers (e.g., in the case of ads in Example 2). In such settings, allocating to one agent does not reduce what can be allocated to another and yet, the principal would still like to optimize its allocation portfolio as a whole (not allocate very much to nulls).
Multi-agent statistical contract
-
The principal announces mechanism , publicly known participation costs with , and budget .
-
Each agent with private distribution decides whether to enter the contract. If they enter, they pay cost and then collect their data .
-
The data from the agents that opted into the contract are fed into the mechanism which produces allocations . The allocations must satisfy .
Next we consider various desiderata that one might like the mechanism to satisfy.
Null deterrence. A first natural goal for the principal, following in the footsteps of Bates et al. [6], is to construct the mechanism to de-incentivize null agents from participating. That is, the expected allocation for a null agent should not exceed the cost of entry. Formally, let us say that the mechanism satisfies null deterrence (ND) if, for each null agent ,
(ND)
Since allocations are always nonnegative, an easy consequence is that satisfies ND if and only if is an e-value for joint distributions such that .
Risk control. In addition to designing mechanisms satisfying ND, which is a constraint on each individual agent, the principal may be interested in controlling more general loss functions which take into account the portfolio of allocations. Formally, a loss is an indexed family of nonnegative functions , where is the loss at allocation when is the null set. Thus is the member of this family indexed by the true null set . For simplicity, when the null set is clear from context, we may omit the subscript and we will sometimes write for the loss evaluated at the allocation produced by mechanism .
Given a fixed loss function (we provide concrete examples below), we define two objectives. The first is risk control, or expected loss control, at a prespecified level :
We call the risk. We have introduced the subscript on to indicate that the mechanism will take as a parameter.
The second objective is more stringent. It draws inspiration from recent work on post-hoc inference [25, 46, 21, 28, 11], the goal of which is to allow the error parameter to be data-dependent. Practically speaking, we would like to enable the principal to gather the data from the agents, compute the allocations with a prespecified error target in mind, but then change its mind based on the result and compute the allocations with a different . Such behavior is implicitly prohibited by (3.1), which treats as a data-independent constant.
This motivates the notion of post-hoc risk control. Throughout, we assume that all allocation selections and all suprema appearing in risk bounds and certificates are measurable. Given a family of losses let us say that the family of mechanisms is post-hoc risk safe with respect to if
We call the quantity the post-hoc risk. Post-hoc risk control allows both the error bound and the loss to be data-dependent, thus enabling the principal to change both and recompute the allocations as many times as desired. It is perhaps worth emphasizing that in (3.2), the set of null agents is fixed. The loss function itself may vary (and alongside it), but is not a function of the data as each agent is either null or non-null before entering the contract. In other words, choosing a family determines how behaves for all , and denotes the member corresponding to the fixed null set .
Observe that (3.2) is a stricter condition than (3.1). Indeed, the former recovers the latter if we fix and take to be a singleton. Many of the mechanisms we provide will be post-hoc risk safe; we will not continually belabor the point that this also means that they control . Table 1 in Appendix C lists several loss functions that would be sensible to consider. We turn to a particularly relevant loss next.
Null allocation rate. Section 4 presents allocation regions whose selections yield post-hoc risk-safe families of mechanisms for arbitrary losses. Thereafter, however, we will primarily be concerned with a specific loss—the null allocation proportion (NAP). The motivation is that the principal might be concerned with the share of the total allocation going to null agents. We thus define the NAP, and its expectation, the null allocation rate (NAR):
We use the convention so that NAP and NAR are always well-defined and in . We will often drop the subscript when it is clear from context. If for any we say that controls the NAR at level , or more generally that exhibits NAR control.
The reader familiar with multiple testing will recognize parallels to false discovery rate (FDR) control. In particular, if we enforce , then NAR control is equivalent to FDR control, albeit with the strategic entry of hypotheses (i.e., agents). Indeed, let , in which case is the false discovery proportion. This should give some hint that multiple testing is a particular instance of our framework.
Note that neither null deterrence nor NAR control implies the other. If one allocates, say, to each agent , then the mechanism does not satisfy ND, but the NAR can be arbitrarily small when is small. Conversely, allocating to each agent satisfies ND but yields NAP , which can be large.
Beyond these guarantees, the principal may wish to maximize an objective reflecting the value of the allocations (e.g., perhaps or for weights ; see Section 5.3). Section 4 therefore constructs allocation regions over which the principal can optimize while preserving null deterrence and post-hoc risk control, while Section 5 studies when this optimization is computationally tractable.
In addition to the principal’s utility, we might also consider an agent’s utility. In particular, a well-constructed contract should incentivize the entry of non-null agents. This will be the subject of Section 6.
4 Continuous-Closure for General Losses
We begin with a general principle for constructing post-hoc risk-safe families of mechanisms for arbitrary nonnegative losses. In particular, we introduce the continuous-closure region, whose selections satisfy ND and post-hoc risk control. Optimizing over this can be computationally challenging, however, as it imposes a constraint for every subset of agents. This motivates the specializations and approximations developed in Section 5.
To introduce the continuous-closure, we require the concept of an e-collection [37, 45, 21] which is a collection of nonnegative random variables such that is an e-value under every joint law for which all agents in are null. Thus whenever consists entirely of null agents. We write for its singleton elements. Given an e-collection, define the set
which is simply a set of allocations which satisfy ND and the budget constraint, given a particular e-collection. Note that for any measurable selection and we have . To obtain post-hoc risk control in addition to null deterrence, given a loss , define the continuous-closure of ,
The superscript specifies the loss family to be used in the subset constraints. The continuous-closure might appear unintuitive at first glance, but it is in fact close to the first thing one might try when attempting to control the expected loss. Indeed, note that for any , we have by taking . Hence .
To control multiple losses simultaneously we simply gather the set of allocations which work for each loss. This gives the following result.
Theorem 1. Fix an e-collection and a family of losses . Every measurable selection satisfies null deterrence. Moreover, for every null set ,
where is understood as an outer expectation if the supremum is not measurable. In particular, if is a measurable selection from for each and , then
As in (3.2), we emphasize that in both (4.3) and (4.4), the set N of null agents remains fixed throughout the suprema and the expectation.
Proof of Theorem 1. For any measurable selection we have , which implies null deterrence after taking expectations. Moreover, for any , , and , the constraint indexed by the true null set gives . Since the right-hand side does not depend on , , or , taking the supremum over all three gives
for every realization of . Taking expectations and using gives (4.3). Finally, is bounded by the inner supremum in (4.3) for every and , which proves (4.4).
Remark 1. In the post-hoc case, using the same for every and is essential in Theorem 1. If each loss instead uses a separately valid collection , for example, the bound defining becomes , and need not be at most one. The allocation , on the other hand, can (and typically will) change with these parameters.
The continuous-closure region is so named because it can be seen as a generalization of the closure principle in multiple testing [48], in which we select a rejection set whose loss is bounded by an e-value for every possible null set. Of course, the choice in multiple testing is a binary one—we either reject the hypothesis or not. Here we need to decide how much to allocate to every agent, which significantly enlarges the decision space.
While Theorem 1 provides allocation regions whose selections yield post-hoc risk-safe families of mechanisms, these regions are not efficiently computable in general. The next step is thus to provide tractable approximations for specific loss functions. Going forward, we consider the null allocation rate.
Remark 2 (On the choice of e-value). Following Bates et al. [6], the principal could allow each agent to select from a menu of e-values for P before observing their data, with all guarantees unchanged. Non-null agents could then choose an e-value suited to their data-generating process if they know it; powerful e-values are available for a wide range of settings [34]. We emphasize, however, that this choice must be made before the data are generated, following Remark 1.
5 Optimal and Approximate Allocations for NAP
In this section we focus specifically on . Section 5.1 shows that, for a suitable e-collection, the continuous-closure region is a polytope over which the principal can optimize in polynomial time, using a separation oracle based on max-flow/min-cut arguments. The resulting optimal allocation cannot generally be written in closed form, so Section 5.2 complements this procedure with simpler explicit mechanisms. Arguably, such mechanisms are more suitable for public protocols, since legibility engenders trust. Section 5.3 compares the two approaches experimentally.
5.1 Exact optimization in polynomial time
Our goal is to turn the region into a convex region over which linear objectives can be optimized via linear programming. To do this, we will need to consider a particular e-collection. Let be an e-value for agent , and define the cost-weighted e-collection by
It's clear that is an e-collection after taking expectations. We define .
Fix a set of e-values and . For allocations , write for the total. The constraint defining can be written as
(5.2) which is linear in the allocations. Thus, for realized e-values , is a convex polytope, which we denote by :
where for all . Note that is convex because all its defining constraints are linear in for fixed and . Further, since allocating zero satisfies all the constraints, the polytope is nonempty.
Now, by Theorem 1, the principal can choose any allocation in and it will be post-hoc risk safe and satisfy (ND). But, as we mentioned in Section 3, the principal may also have an objective function that it wishes to optimize over the polytope:
If is linear (e.g., ) then this optimization problem is a linear program. A concave objective (e.g., ) gives a convex optimization problem.
At first glance (5.4) may appear intractable since has one constraint for every subset of agents, and thus cannot be written down explicitly in polynomial time. Nevertheless, if V is linear, polynomial-time optimization is possible:
Proposition 1. For fixed E and , the polytope admits a polynomial-time separation oracle. Consequently, linear optimization over is polynomial-time solvable.
The proof is in Appendix A. The separation oracle finds a subset maximizing the violation of (5.2). The intuition is as follows: The negative of this violation is a submodular function, which can be represented as an cut objective [27]. Thus a maximum-flow computation yields a minimum cut identifying a violated constraint, or else certifies that all subset constraints hold (see Ahuja et al. [1] for background on max-flow/min-cut algorithms). The graph has vertices and edges, so the maximum-flow algorithm gives a bound of arithmetic operations per separation call. For rational input data, the resulting linear optimization guarantee is polynomial in and the input bit length.
More generally, maximizing a concave objective over is a convex optimization problem, and approximate optimization is possible via the ellipsoid method. We omit a longer discussion here, but suffice it to say that under standard assumptions, the running time is polynomial in the input size and for an -optimal solution.
Finally, let us provide necessary and sufficient conditions on when contains any nonzero allocation.
Proposition 2. The polytope contains a nonzero allocation if and only if
Proof. If is nonzero, constraint (5.2) with reads , and dividing by gives (5.5). Conversely, suppose (5.5) holds and let , so that and . For every nonempty , , so satisfies every subset constraint. These constraints are invariant under positive scaling, so satisfies them for , which also satisfies the coordinate caps and the budget. Hence is a nonzero element of .
5.2 Approximate-but-explicit policies for NAR control
As we’ve just seen, the polytope allows the principal to choose allocations by solving an optimization problem. The mechanisms in this subsection instead provide explicit policies which base allocations on simple greedy or threshold rules. Each nevertheless corresponds to optimizing a particular objective or imposing a particular constraint, which we make precise in Proposition 5. All three policies are built around a simple sufficient condition for membership in , formalized by defining the following subset:
where and again, . The polytope can be seen as replacing the exponentially many subset constraints (i.e., one constraint for every subset ) with a single constraint per agent. Note that need not be defined by an e-collection, but simply by an e-value for each agent. Following Remark 2, each agent can choose the functional form of their e-value from a menu of e-values for , as long as the realized statistic is computed after this choice is made.
Since , it's clear that selecting allocations from these regions yields a family of mechanisms satisfying the post-hoc risk guarantee of Theorem 1. However, the nature of allows us to give the following more precise bound on the post-hoc risk. The proof is in Appendix A.
Proposition 3. For every and , . Any mechanism that selects an allocation from for every satisfies and , where is the total cost of null agents, and is the total cost of all agents.
We now give several mechanisms based on . The cumulative-evidence, all-or-nothing, and e-BH policies introduced below each select a particular point of . Alternatively, of course, the principal can optimize a linear objective directly over , which requires a single linear program with constraints. Section 5.3 shows that this loses little relative to optimizing over . Still, there are reasons to present explicit mechanisms as well. For one, they are more interpretable. Second, as we'll see in Section 6, they allow for an analysis of the expected utility of non-null agents who opt into the contract.
The cumulative-evidence mechanism. Call agent 's potential allocation. It is the maximum allocation allowed by . We begin with a policy that funds the smallest number of agents whose aggregate potential allocation reaches the global evidence threshold in (5.5). (Note that if this threshold is not met, then .)
Cumulative-evidence mechanism
-
Given , compute and , and sort the potential allocations as , breaking ties arbitrarily.
-
If , set for every agent. Otherwise, define
Set for , and . Set all remaining allocations to zero.
- Write . If , set ; otherwise set .
The final step rescales the raw allocations when they exceed the budget. Since , such rescaling preserves null deterrence, and multiplying everything by a common factor leaves the NAP unchanged. Appendix B.1 discusses an alternative scaling method.
The all-or-nothing mechanism. For comparison, we next give a very simple mechanism which either allocates every agent their potential allocation or allocates to no one. We call this the all-or-nothing mechanism, .
All-or-nothing mechanism
-
Given , compute and .
-
If , set for all . Otherwise set .
-
Write . If , set ; otherwise set .
Note that the activation condition is the same as and is exactly condition (5.5). This may seem surprising at first glance. Isn't allocating to every agent demanding? One might expect the threshold to be much stronger than the minimum one. But allocates in proportion to the potential allocations, so agents with weak evidence receive correspondingly little.
The simplicity of comes with downsides. In particular, since all agents receive an allocation once the threshold is met, in situations where there are a few agents with extremely large potential allocations and a large number of agents with small to moderate potential allocations, all agents in the latter group receive an allocation. If mistaken allocations are especially costly, we might wish to be more conservative.
Motivated by this possible downside, we now present a more selective mechanism which, in these situations, would allocate only to agents with larger potential allocations.
The e-BH mechanism. This mechanism draws on the e-BH procedure of Wang and Ramdas [46], which in turn adapts the Benjamini–Hochberg (BH) procedure [7] to e-values.
e-BH mechanism
-
Given , compute and .
-
Let be the order statistics. Define
-
For all , set . For all other , set .
-
Write . If , set ; otherwise set .

Figure 2: The polytopes (blue) and (red) for agents with , , , and , along with the allocations selected by , , and . Both regions satisfy the caps and the budget. funds all three agents, drops agent 1, whose evidence is weakest, and funds agent 2 fully and gives agent 3 the remainder needed to reach .
When all participation costs are equal, the selection condition becomes , exactly the threshold used by the e-BH multiple-testing procedure at level . Thus, in this case, the funded agents coincide with the rejected hypotheses. For unequal costs, selection corresponds to weighted e-BH with weights [46]. The difference, of course, lies in the allocation: multiple testing returns binary rejection decisions, whereas our mechanism assigns each selected agent , followed by budget rescaling if necessary.
Neither nor uniformly dominates the other. The AoN mechanism always activates when e-BH does, but e-BH withholds allocation from agents whose potential allocations are too small to satisfy the threshold. Whether this is preferable depends on the principal's objective.
Now let’s turn to formal guarantees provided by these three mechanisms. We begin by observing that they do indeed belong to , thereby inheriting the ND and post-hoc risk guarantees of Proposition 3. The proof is in Appendix A. Figure 2 illustrates Proposition 4 for three agents.
Proposition 4. For every realization , level , and budget , the final allocations produced by , , and belong to , and hence to .
We stated above that the mechanisms , , and are all optimal for a particular objective. To formalize this, we need to introduce two pieces of notation. First, let us call a set self-consistent if for every . Intuitively, each element of a self-consistent set must contribute at least an equal share of the threshold (5.5), so larger sets permit smaller individual potential allocations. Second, define
(5.8) which measures the smallest allocation-to-potential-allocation ratio among agents with positive potential allocations. We set when for every , in which case the only feasible allocation is zero.
Proposition 5. Fix E and
-
The allocation of is the unique maximizer of over and . Furthermore, when , it maximizes every coordinate-wise nondecreasing objective over both regions.
-
Whenever activates, its final allocation has minimum support size among all nonzero elements of . Otherwise, . It activates if and only if activates. Moreover, whenever activates, , but the converse activation implication need not hold.
-
The raw allocation of is , where is the largest self-consistent set. In particular, every self-consistent satisfies . Consequently, the allocation maximizes every coordinate-wise nondecreasing objective over .
The proof is in Appendix A. It’s perhaps worth elaborating slightly on the above result. It shows that AoN is itself an instance of (5.4), with the concave objective , whose optimum happens to be available in closed form. The cumulative rule instead minimizes the number of funded agents. This objective is not concave, and the result holds over but not over . Finally, e-BH optimizes under a self-consistency constraint rather than a different objective. Moreover, when , its allocation is coordinate-wise dominated by that of AoN, so its justification lies in excluding agents whose evidence is weak on its own.
5.3 Experimental comparison
We compare five mechanisms: optimization over , optimization over , and the three explicit policies , , and . We measure their performance on two objective functions: the linear objective and the concave objective , where are observed positive weights. We sample these weights independently from a log-normal distribution with mean one and log-scale standard deviation . (The weights are, of course, held fixed during the optimization.) We vary from 0 (equal weights) to 1.2, reusing the same evidence and participation costs at each value. We generate costs independently from log-normal distributions and use likelihood-ratio e-values. Details and further experiments are in Appendix D.
Figure 3 shows that optimization over loses little relative to optimizing over at every level of dispersion. Its median relative gap grows with , but is at most 4.7% for the linear objective and 8.7% for the concave objective. At , for instance, its median and 90th-percentile gaps are 2.9% and 19.6% for the linear objective, and 6.2% and 11.6% for the concave objective. The explicit policies do not use the weights (they are maximizing their own implicit objectives, as per Proposition 5) and their gaps grow more quickly as the weights become more dispersed. At , their median gaps range from 57.0% to 65.4% for the linear objective and from 54.3% to 85.6% for the concave objective.
When , the linear objective depends only on the total allocation. Whenever a nonzero allocation is feasible, attains , the largest total allowed by the budget and coordinate bounds, so it is optimal over both and . Every other feasible allocation spending the full budget is also optimal, even if it distributes resources

Optimizing over Q Cumulative AoN e-BH
Figure 3: The relative optimality gap of various mechanisms compared with optimizing over the full continuous-closure region , as the dispersion of the weights varies, for linear utility (left) and logarithmic utility (right). Lines show medians and shaded bands show interquartile ranges over 150 independently generated active instances with , , and . The same instances are used at every value of , and corresponds to equal weights.
very differently. In our instances, every mechanism is optimal in this case, except on a single instance on which does not activate. Heterogeneous weights are what make these differences matter for the linear objective. For the concave objective, by contrast, substantial gains from optimization remain even with equal weights. Optimization over has a median gap of 3.3% and a 90th-percentile gap of 4.8%, while the median gaps of the explicit policies range from 46.6% to 77.8%.
Intriguingly, the optimizers allocate more to null agents than the explicit policies do, but the amounts remain small. Across all values of , the average realized null allocation proportion over these instances is at most 3.9% when optimizing over and 2.9% when optimizing over , compared with at most 0.22% for the explicit policies. All of these are well below .
Figure 4 examines how allocation quality changes with the number of agents, fixing . As increases from 10 to 100, optimizing over has a median gap remaining below 8% for both objectives, rising from 3.7% to 6.8% for linear utility and from 5.1% to 7.5% for concave utility. The explicit policies' gaps generally increase more substantially, reaching 67.7%–73.2% for linear utility and 64.5%–91.7% for concave utility at . These comparisons keep fixed, so increasing the number of agents also increases competition for the same resources.
Overall, we find that optimizing over loses little relative to optimizing over . The explicit mechanisms lose more, including under equal weights for the logarithmic objective. This is to be expected given Proposition 5, since each is maximizing a specific objective that is distinct from that of the principal.

Optimizing over Q Cumulative AoN e-BH
Figure 4: Relative optimality gap as the number of agents varies, for linear utility (left) and logarithmic utility (right). Lines show medians and shaded bands show interquartile ranges over 150 independently generated active instances at each size, with , , and fixed. As in Figure 3, the gap is measured relative to optimization over .
6 Non-Null Participation
Null deterrence ensures that null agents cannot profit in expectation from entering the contract. At the same time, we also want to encourage the participation of non-null agents. One might hope that any non-null agent with a large e-value will be incentivized to participate, but this need not be the case, as the following example shows.
Example 3. Consider two agents, each collecting iid observations , with null hypothesis . The likelihood ratios
are valid e-values under the relevant distributions. If and , then and . Both agents' evidence diverges, and both are selected by and with probability tending to one. Nevertheless, . In other words, with a finite budget , almost surely.
In other words, strong evidence need not make participation in the contract profitable, as the total allocation can be dominated by an agent with even stronger evidence. There are several reasons we might like to avoid this scenario. For one, the principal may wish to avoid putting all its eggs in one basket if it can avoid it. In Example 1, for instance, the pharmaceutical company may wish to fund multiple startups in the interest of diversifying its risk. Second, it may be rational for each non-null agent to opt out of the contract, out of fear that another agent has a larger e-value.
We can address this problem by truncating each agent’s e-value. The details are given in Section 6.1. They apply only to two of the three explicit mechanisms for reasons which will be discussed below. Section 6.2 discusses how the principal can optimize over the polytopes or while maintaining a floor on each agent’s allocation.
6.1 Participation under truncated evidence
For a truncation level , consider replacing each by before running or . Since , the resulting allocations still belong to , still satisfy ND, and still bound post-hoc risk at . While we are permitted to choose a measurable truncation level based on the data, the analysis is cleaner if we consider deterministic truncation levels.
Our first result gives a sufficient condition for an agent to profit, in expectation, from the contract. The proof is in Appendix A.
Proposition 6. Fix a deterministic truncation level and a non-null agent with . Write , where is any joint law over the agents' data. Running or with truncated -values gives allocations satisfying
Consequently, a sufficient condition for strictly profitable entry is
Note that while an agent does not know the joint law , depends only on the distribution of their own e-value. Thus, if , , and are public, an agent may calculate whether (6.3) holds. As usual, this result holds under arbitrary dependence between the agents. The condition in Proposition 6 is necessary. Indeed, suppose we fund an agent as soon as they reach the truncation level . In the event that all other agents are null and have e-values of 0, (5.5) gives .
Proposition 6 gives a lower bound on an agent's allocation. In the asymptotic regime, meanwhile, we can give a precise characterization of the expected allocation.
Theorem 2. Fix , , , and a finite budget , and suppose that (the set of non-null agents) is nonempty. Let be any joint law over the agents' data under which is the set of null agents. Let be the number of observations in each agent's dataset. Suppose is a valid -value for every and , and let be deterministic with . Run or on . For any agent satisfying
the expected net payoff satisfies
In particular, guarantees eventually strictly profitable entry for this agent. Moreover, if (6.4) holds for every , then
and .
The proof is in Appendix A. It’s useful to observe that condition (6.4) holds for agent i if converges in H-probability to a positive constant and satisfies . Returning to Example 3, if we truncate the agents’ e-values appropriately, then by (6.6), agent 1 receives expected allocation in the limit despite agent 2’s e-value growing at a faster exponential rate.
Remark 3. As is made clear by (6.6) but also apparent in , , and , allocations scale with the entry cost . In other words, two agents with identical e-values can receive substantially different payoffs if their participation costs differ. We might consider this only fair: a larger upfront investment results in a potentially larger payoff.
On the other hand, the principal might prefer that allocations reflect evidence alone. In this case, one could choose weights , replacing by in the coordinate caps and the cost-weighted e-collection, and by . Equal weights make allocations depend on evidence alone. Since , null deterrence is preserved, and the post-hoc risk bound of Proposition 3 becomes . Payments then scale with while entry still costs , however, which changes the participation and payment guarantees.
Proposition 6 and Theorem 2 hold only for and . The mechanism need not obey their conclusions. For instance, if two agents both reach the truncation level (i.e., ) and , then funds only agent 1 once . In this case, agent 2 receives zero despite also reaching the truncation level.
Appendix B.3 shows that there is a formal sense in which truncating the e-value is necessary to ensure that a non-null agent's payout is not diluted. In particular, if we do not want the limiting allocation to depend on the agent's rate of growth, then we must truncate the e-value. However, if we are prepared to allow those growth rates into the final allocation, then we can consider sublinear transformations of the e-values. The following remark gives an example.
Remark 4. As alluded to above, instead of truncating the e-value consider replacing by . Since , this also preserves null deterrence and the post-hoc risk bound. Fix , , , , and as in Theorem 2, and suppose in -probability for every . Running or on the transformed evidence gives
Indeed, for non-null agents, while for null agents. Thus every non-null agent is selected with probability tending to one. Consequently, logarithms prevent the vanishing share in Example 3, but they cannot escape the dependence on the limiting growth rates. Returning to Example 3, agent 1's limiting payment in this scenario is , reflecting that and .
We next ask how the principal can optimize its own objective (over the safe allocation region ) while preserving incentives for sufficiently powerful non-null agents to participate.
6.2 Optimizing with payment floors
For e-values and a level , let be the allocations produced by with truncated e-values. We consider the allocation of the “baseline payment.” To protect a fraction of this baseline while optimizing the principal’s objective, consider
The following result bounds the loss in the principal's objective from imposing these payment floors.
Proposition 7. If is continuous and concave, let maximize over and let solve (6.8). For every and ,
The proof is in Appendix A, and shows that may be data-dependent. But to obtain a simple lower bound on expected net payoffs, let us suppose that is fixed. Under the setup of Theorem 2, with fixed costs and a fixed finite budget , using its truncated AoN allocations as the baselines gives, for any agent satisfying (6.4),
Together, these bounds quantify the price of protecting participation. If , choosing guarantees eventual strict profitability for this agent, while sacrificing at most a fraction of the gap between the baseline and the optimum.
7 Extensions to Online Arrival and Two-Stage Contracts
We next consider two steps toward a fully sequential allocation theory. First, agents approach the principal over time and receive irrevocable allocations. Second, funded agents use their allocations to conduct another round of experimentation and return with fresh evidence. Selective entry, in which agents observe their data before deciding whether to approach the principal, is treated separately in Appendix B.4.
7.1 Online multi-agent statistical contracts
We begin with the online setting. We allow a given agent to enter the contract based on what has happened thus far, including which other agents have entered, the data they’ve generated, and the allocations that have been made. The principal must decide on-the-fly how much to allocate to each agent that enters—it cannot decide to allocate later, nor revoke any allocation that has been made previously. We also allow the principal’s budget to increase at every timestep.
Online multi-agent statistical contract
-
The principal announces mechanism , a sequence of publicly known participation costs with , and initial budget .
-
For
(a) An agent with private distribution P decides whether to pay to enter the contract. The agent has access to all prior information, including which agents have entered and what they’ve been allocated.
(b) Upon entry, data is generated from P. The principal feeds into M which determines an allocation for the agent.
(c) At all times , the allocations must satisfy .
(d) The total budget gets updated to .
The guarantees introduced in Section 3 need to be modified somewhat in the online setting. In particular, since agents enter strategically, the set of times at which a null agent enters may be random. Null deterrence is therefore conditional on agent entering the contract, and becomes
which collapses to ND in the batch setting. This in turn requires that each agent's e-value is valid conditional on the past. That is, letting denote the information available after the first participating agents have been processed by the contract, we will require the e-values to satisfy
This holds, for instance, if the type of the -th agent is fixed before is drawn and . In this section, denotes the supremum over all joint laws satisfying (7.2).
Next we propose a mechanism that controls the NAR simultaneously at every time, including at stopping times.
Online mechanism
-
Set and let be a predictable nonnegative process: is -measurable and almost surely.
-
For # Here indicates the -th agent to have opted into the contract
(a) Define . Set if , and set otherwise, with the conventions and .
(b) Draw from the agent's distribution and compute a conditional e-value from satisfying (7.2).
(c) If and then the agent gets allocated . Otherwise set .
(d)
The online mechanism draws inspiration from the r-LOND [24, 50] and e-LOND [47] procedures for online multiple testing [15]. In particular, given a global desired error rate of , it defines a sequence of nominal levels , allocating the amount if the e-value exceeds . As usual, additional care is required since we are not rejecting hypotheses but determining allocations. The online mechanism gives the following guarantee, the proof of which is deferred to Appendix A. For the stopping-time statement, define .
Theorem 3. The online mechanism satisfies ND and the time-uniform guarantee
Consequently, for every (potentially infinite) stopping time .
Theorem 3 provides anytime validity for a fixed, prespecified . It should not be confused with post-hoc risk control over the choice of .
We do not comment on how to set here, except to say that allowing it to be predictable turns (one facet of) the problem into a dynamic resource-allocation problem. Under a model for future arrivals, the principal may choose based on the current financial budget, remaining risk budget , and/or observed history, using dynamic programming or stochastic optimization.
7.2 Two-stage contracts
A natural extension of our framework allows agents to use their allocation to fund a second stage of experimentation. Concretely, after receiving allocation based on e-value , suppose agent collects additional data which produces a second e-value conditional on what happened in the first round (the data and allocations), and the combined evidence is the product . Let be the -algebra generated by all first-round data. For every admissible joint law and each , assume . This conditional validity requirement allows the second-stage sample size to depend on the -measurable allocation . Since is -measurable, the tower property under gives
Taking the supremum over admissible laws gives . The combined e-values can then be fed into any of our batch mechanisms for a second round of allocation, with risk control guarantees intact, provided the second round is run over the original set of agents (all of them) with total cost .
Agents who do not continue to the second stage can be assigned , which trivially satisfies the conditional validity requirement. (Running the second round only over the agents funded in the first round can instead invalidate the guarantees. More specifically, this set of agents would be selected using the first-round e-values, which are therefore biased upwards.) Alternatively, a principal who wishes to restrict the second round to funded agents can instead use the e-values alone, which remain conditionally valid.
8 Conclusion
We have studied the problem of resource allocation between a principal and multiple competing agents, each with private information. Our framework is based on statistical contracts: protocols which govern the interaction between the principal and the agents. We have focused on questions of how to design such contracts to achieve various objectives, such as disincentivizing “ineffective” agents from entering the contract, and bounding the fraction paid out to such agents.
Overall, we believe this to be a fruitful lens through which to view the problem of strategic resource allocation, blending features of statistical inference, multiple testing, game theory, and contract theory.
We hope to have shown that statistical contract theory, while in its infancy, can provide guiding principles on how to construct useful coordination mechanisms between agents with different information and incentives. Broadly speaking, we see this line of research as providing solutions to emerging problems at the intersection of statistics and economics, with data and data analysis playing the role of shared resources and trading opportunities in networked collectives.
Acknowledgements
BC and AR acknowledge support from NSF grants IIS-2229881 and DMS-2310718. MJ acknowledges support from the Chair “Markets and Learning,” supported by Air Liquide, BNP PARIBAS ASSET MANAGEMENT Europe, EDF, Orange and SNCF, sponsors of the Inria Foundation, and from the European Union (ERC-2022-SYG-OCEAN-101071601). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
References
[1] Ravindra K. Ahuja, Thomas L. Magnanti, and James B. Orlin. Network Flows: Theory, Algorithms, and Applications. Prentice Hall, 1993.
[2] Apple Inc. Product page optimization. https://developer.apple.com/app-store/product-page-optimization/, 2026. Apple Developer Documentation. Accessed: 2026-05-04.
[3] Ander Artola Velasco, Stratis Tsirtsis, and Manuel Gomez Rodriguez. Optimizing social utility in sequential experiments. arXiv preprint arXiv:2605.06520, 2026.
[4] Ashwinkumar Badanidiyuru, Robert Kleinberg, and Aleksandrs Slivkins. Bandits with knapsacks. Journal of the ACM, 65(3):1–55, 2018.
[5] Stephen Bates, Michael I. Jordan, Michael Sklar, and Jake A. Soloff. Incentive-theoretic Bayesian inference for collaborative science. arXiv preprint arXiv:2307.03748, 2023.
[6] Stephen Bates, Michael I. Jordan, Michael Sklar, and Jake A. Soloff. Principal-agent hypothesis testing. Journal of the American Statistical Association, 2026.
[7] Yoav Benjamini and Yosef Hochberg. Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society: Series B (Methodological), 57(1):289–300, 1995.
[8] Patrick Bolton and Mathias Dewatripont. Contract Theory. MIT Press, 2004.
[9] Yatong Chen, Safwan Hossain, and Yiling Chen. Strategic hypothesis testing. In Advances in Neural Information Processing Systems, 2025.
[10] Ben Chugg, Etienne Gauthier, Michael I. Jordan, Aaditya Ramdas, and Ian Waudby-Smith. Post-hoc large-sample statistical inference. arXiv preprint arXiv:2603.08002, 2026.
[11] Ben Chugg, Tyron Lardy, Aaditya Ramdas, and Peter Grünwald. On admissibility in post-hoc hypothesis testing. International Journal of Approximate Reasoning, 191:109634, 2026.
[12] Ben Chugg, Aaditya Ramdas, and Peter Grünwald. E-values as statistical evidence: A comparison to Bayes factors, likelihoods, and p-values. Synthese, 208(3):130, 2026.
[13] Paul Dütting, Tomer Ezra, Michal Feldman, and Thomas Kesselheim. Multi-agent contracts. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, pages 1311–1324, 2023.
[14] Paul Dütting, Michal Feldman, and Inbal Talgam-Cohen. Algorithmic contract theory: A survey. Foundations and Trends® in Theoretical Computer Science, 16(3-4):211–411, 2024.
[15] Dean P. Foster and Robert A. Stine. -investing: a procedure for sequential control of expected false discoveries. Journal of the Royal Statistical Society Series B: Statistical Methodology, 70(2): 429–444, 2008.
[16] Andrew V. Goldberg and Robert E. Tarjan. A new approach to the maximum-flow problem. Journal of the ACM, 35(4):921–940, 1988.
[17] Google LLC. Set up a custom experiment. https://support.google.com/google-ads/answer/6261395?hl=en, 2026. Google Ads Help. Accessed: 2026-05-04.
[18] Sanford J. Grossman and Oliver D. Hart. An analysis of the principal-agent problem. In Foundations of Insurance Economics: Readings in Economics and Finance, pages 302–340. Springer, 1992.
[19] Martin Grötschel, László Lovász, and Alexander Schrijver. Geometric Algorithms and Combinatorial Optimization. Springer, 1988.
[20] Peter Grünwald, Rianne de Heide, and Wouter Koolen. Safe testing. Journal of the Royal Statistical Society Series B: Statistical Methodology, 86(5):1091–1128, 2024.
[21] Peter D. Grünwald. Beyond Neyman–Pearson: E-values enable hypothesis testing with a data-driven alpha. Proceedings of the National Academy of Sciences, 121(39):e2302098121, 2024.
[22] Peter L. Hammer. Some network flow problems solved with pseudo-Boolean programming. Operations Research, 13(3):388–399, 1965.
[23] Nikolaos Ignatiadis, Ruodu Wang, and Aaditya Ramdas. Asymptotic and compound e-values: multiple testing and empirical Bayes. arXiv preprint arXiv:2409.19812, 2024.
[24] Adel Javanmard and Andrea Montanari. Online rules for control of false discovery rate and false discovery exceedance. The Annals of Statistics, 46(2):526–554, 2018.
[25] Eugene Katsevich and Aaditya Ramdas. Simultaneous high-probability bounds on the false discovery proportion in structured, regression and online settings. The Annals of Statistics, 48(6): 3465–3487, 2020.
[26] Ron Kohavi, Alex Deng, Brian Frasca, Toby Walker, Ya Xu, and Nils Pohlmann. Online controlled experiments at large scale. In Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1168–1176, 2013.
[27] Vladimir Kolmogorov and Ramin Zabih. What energy functions can be minimized via graph cuts? In European Conference on Computer Vision (ECCV), pages 65–81. Springer, 2002.
[28] Nick W. Koning. Post-hoc hypothesis testing and the post-hoc p-value. arXiv preprint arXiv:2312.08040, 2023.
[29] Jean-Jacques Laffont and David Martimort. The theory of incentives: the principal-agent model. Princeton university press, 2002.
[30] Tor Lattimore and Csaba Szepesvári. Bandit Algorithms. Cambridge University Press, 2020.
[31] Diego Martinez-Taboada, Ben Chugg, and Aaditya Ramdas. Bentkus-type asymptotic e-values. In Advances in Neural Information Processing Systems (forthcoming), 2026.
[32] Flavio M. Menezes and Paulo K. Monteiro. An Introduction to Auction Theory. Oxford University Press, 2004.
[33] Meta Platforms, Inc. Split testing. https://developers.facebook.com/documentation/ads-commerce/marketing-api/guides/split-testing, 2026. Meta for Developers — Marketing API Guide. Accessed: 2026-05-04.
[34] Aaditya Ramdas and Ruodu Wang. Hypothesis testing with e-values. Foundations and Trends® in Statistics, 1(1-2):1–390, 2025.
[35] Eden Saig, Inbal Talgam-Cohen, and Nir Rosenfeld. Delegated classification. In Advances in Neural Information Processing Systems, 2023.
[36] Eden Saig, Ohad Einav, and Inbal Talgam-Cohen. Incentivizing quality text generation via statistical contracts. In Advances in Neural Information Processing Systems, 2024.
[37] Glenn Shafer. Testing by betting: A strategy for statistical and scientific communication. Journal of the Royal Statistical Society Series A: Statistics in Society, 184(2):407–431, 2021.
[38] Flora C. Shi, Stephen Bates, and Martin J. Wainwright. Sharp results for hypothesis testing with risk-sensitive agents. arXiv preprint arXiv:2412.16452, 2024.
[39] Flora C. Shi, Martin J. Wainwright, and Stephen Bates. Instance-adaptive hypothesis tests with heterogeneous agents. arXiv preprint arXiv:2510.21178, 2025.
[40] Aleksandrs Slivkins. Introduction to multi-armed bandits. Foundations and Trends® in Machine Learning, 12(1-2):1–286, 2019.
[41] Stephen A. Smith. Contract Theory. Oxford University Press, 2004.
[42] Aleksey Tetenov. An economic theory of statistical testing. cemmap Working Paper CWP50/16, Centre for Microdata Methods and Practice (cemmap), 2016.
[43] Bart Van de Vyver, Brandon Parry, Rachel Moss, Katarzyna Smietana, and Lucas Robke. Pulse check: Key trends shaping biopharma dealmaking in 2025. McKinsey & Company, June 2025. URL https://www.mckinsey.com/industries/life-sciences/our-insights/the-synthesis/pulse-check-key-trends-shaping-biopharma-dealmaking-in-2025. Accessed: 2026-04-21.
[44] Davide Viviano, Kaspar Wüthrich, and Paul Niehaus. A model of multiple hypothesis testing. Review of Economic Studies, 2026.
[45] Vladimir Vovk and Ruodu Wang. E-values: Calibration, combination and applications. The Annals of Statistics, 49(3):1736–1754, 2021.
[46] Ruodu Wang and Aaditya Ramdas. False discovery rate control with e-values. Journal of the Royal Statistical Society Series B: Statistical Methodology, 84(3):822–852, 2022.
[47] Ziyu Xu and Aaditya Ramdas. Online multiple testing with e-values. In International Conference on Artificial Intelligence and Statistics, pages 3997–4005. PMLR, 2024.
[48] Ziyu Xu, Aldo Solari, Lasse Fischer, Rianne de Heide, Aaditya Ramdas, and Jelle Goeman. Bringing closure to false discovery rate control: A general principle for multiple testing. arXiv preprint arXiv:2509.02517, 2025.
[49] Banghua Zhu, Stephen Bates, Zhuoran Yang, Yixin Wang, Jiantao Jiao, and Michael I Jordan. The sample complexity of online contract design. arXiv preprint arXiv:2211.05732, 2022.
[50] Tijana Zrnic, Aaditya Ramdas, and Michael I. Jordan. Asynchronous online testing of multiple hypotheses. Journal of Machine Learning Research, 22(33):1–39, 2021.
A Omitted Proofs
Proof of Proposition 1. Fix a candidate allocation that satisfies the coordinate-wise and budget constraints (i.e., lies in ) and write , , and . For , write and , and define its constraint violation by
The subset constraints hold if and only if , and including the empty set does not change the separation problem because . With , expansion of the product gives
All the pairwise coefficients are nonnegative, so is what's known as a quadratic supermodular set function. Equivalently, is quadratic submodular and can be minimized by an minimum cut. This is a reasonably well-known optimization fact (see, e.g., Hammer [22], Kolmogorov and Zabih [27]), but let us give an overview of the reduction for completeness. Set
Then write
We claim that represents the capacities of a particular graph (for more background on graphs see Ahuja et al. [1, Chapter 6]). To construct the graph, let , take nodes , and add arcs and , each of capacity , for every . Add arcs of capacity and of capacity . If indicates that node lies on the source side, the cut capacity is . A minimum cut therefore returns a set maximizing . If , the oracle returns the violated valid inequality
Otherwise all subset constraints hold. Checking the coordinate-wise and budget constraints takes operations. The graph has vertices and edges and can be constructed in operations. The so-called “relabel-to-front maximum-flow” algorithm [16] computes a minimum cut in arithmetic operations. For rational input data, the capacities and separating inequalities have polynomial bit length. The final claim follows from the polynomial-time equivalence of separation and linear optimization over rational polytopes [19].
Proof of Proposition 3. Summing the constraint over gives
Since , this implies the corresponding subset constraint in the definition of , thus proving the inclusion. Taking gives
whenever (when , the NAP is zero). Taking the supremum over and then expectations proves the post-hoc risk bound. Null deterrence follows from as in Theorem 1.
Proof of Proposition 4. For , activation gives and . Consequently,
so before imposing a finite budget.
For , a nonzero raw allocation is made only when its total allocation satisfies . For every funded agent, , and hence
The inequality is immediate for unfunded agents. Thus its raw allocation satisfies the defining safety constraints of .
Finally, for , if , the total raw allocation satisfies
and the same argument applies. The zero allocation also belongs to , and common-factor budget rescaling preserves all of its constraints. Proposition 3 completes the inclusion claim.
Proof of Proposition 5. Let us deal with each mechanism in turn.
All-or-nothing. If (5.5) fails, then by Propositions 2 and 3, and allocates zero, so there is nothing to prove. Otherwise , and under budget rescaling the allocation is with , which lies in by Proposition 4, and . Let and . The coordinate caps give , and also whenever . Since for every , , so . Hence , and is a maximizer. For uniqueness, suppose . If , then . If , then , so every inequality holds with equality. In both cases . The same argument applies verbatim over . When , and every feasible satisfies coordinate-wise, which proves the final claim.
Cumulative evidence. If does not activate, then (5.5) fails and . Otherwise, let be nonzero with support . Summing the constraints over gives , so . Since the largest potential allocations have the largest sum among all sets of size , . The raw allocation of has support of size exactly , proportional rescaling multiplies it by a positive constant, and the result lies in by Proposition 4.
The activation condition is exactly , which is also the all-or-nothing condition. Finally, if e-BH activates with index , then
so . For example, with two agents whose potential allocations are 60 and 40 and with , the cumulative mechanism activates but e-BH does not.
e-BH. If , there is no nonempty self-consistent set: such a with would give . Otherwise, let index . It is self-consistent because . If , then and the claims are immediate. Hence suppose . Maximality of gives , so . Now let be self-consistent with . As above, , so , and every has , so . Hence coordinate-wise, which proves the final claim.
Proof of Theorem 2. All convergence statements in this proof are under . Write and . Fix an agent satisfying (6.4), and define
Null validity gives , so in probability. For all sufficiently large , . On , agent then alone triggers AoN. For e-BH, if this agent has rank , then , so and the agent is selected. Thus, under either policy, on . Regardless of the other non-null agents' e-values,
and budget rescaling gives
The right-hand side is bounded by and converges in probability to that constant, since . Its expectation therefore converges to , proving . Subtracting proves (6.5) (note that there are no independence assumptions).
Now suppose (6.4) holds for every . Then for , while for . Thus
By the preceding selection argument, all non-null agents are selected with probability tending to one. Any selected null agent's raw allocation is bounded by . Consequently, for either mechanism,
in probability. In particular, in probability. The budget binds with probability tending to one and on that event. Thus converges in probability to for and to zero for . Since , the expectations converge to the same limits.
The total allocation converges in probability to , while the allocation to null agents converges to zero. Thus in probability, and its boundedness by one gives .
Proof of Proposition 6. Write . On , agent has potential allocation , which alone triggers AoN. For e-BH, let be agent 's rank in any ordering used to break ties. Then , so . Hence and agent is selected. Under either policy, the raw allocation to this agent is and the total raw allocation is at most CL. Proportional budget rescaling therefore gives
Allocations are nonnegative off this event. Taking expectations proves the payment bound, and comparing it to gives (6.3).
Proof of Proposition 7. The truncated baseline belongs to , where denotes the truncated evidence. Since , it is feasible for the payment-floor problem. The additional constraints preserve membership in , so ND and post-hoc risk control follow from Theorem 1.
The region is compact and convex. The constrained region is also compact, and continuity of V ensures that both maxima are attained. By convexity, the allocation
belongs to the chosen region and satisfies the payment floors because . Optimality and concavity therefore give
Rearranging proves (6.9). Finally, the bound (6.10) follows by taking expectations in and applying the individual lower bound of Theorem 2.
Proof of Theorem 3. For null deterrence, each agent is allocated at most , hence (7.2) and the tower property give .
Next, for all , . For each , let
be the indicator that agent i satisfies the allocation rule. Write
where the inequality follows from the definition of as the total allocation at time . Now suppose , so that . This forces : if , then and , so . If , then and
by definition of . If , then , again by definition of . In both cases, whenever . Therefore,
hence, simultaneously for every t,
Fix any joint law satisfying (7.2) and write for expectation under that law. Writing , taking the supremum over and then expectations, Tonelli's theorem, predictability, and (7.2) give
This proves (7.3). For every potentially infinite stopping time , is bounded pathwise by the same supremum, using the definition of on , proving the stopping-time claim.
B Additional Results
B.1 Alternative scaling method for finite budgets
The explicit mechanisms in Section 5.2 use a rescaling method which spends the entire budget whenever the total raw allocation exceeds B. Let us call this hard-cap rescaling. For a finite budget , an alternative is evidence-adaptive reserve rescaling. Given raw allocations with total , set
This can be interpreted as allocating the budget between the real agents and a dummy reserve agent with a maximum potential allocation of B. The total allocation to real agents and the unallocated reserve are, respectively,
Thus the fraction of the budget held in reserve decreases as the total raw allocation grows. Since and all coordinates are multiplied by the same positive factor, the reserve rule preserves null deterrence and leaves NAP unchanged. In particular, the three explicit policies retain their post-hoc NAP risk guarantees.
The reserve rule may be useful when false allocations are especially costly. To see the tradeoff, suppose the principal's utility is linear, , with nonpositive contributions from null agents and nonnegative contributions from non-null agents. (This is the principal's "true" utility, distinct from the objective V it is maximizing in Sections 4 and 5.) For , the hard-cap and reserve rules multiply the raw utility by and , respectively. Reserve rescaling therefore gives higher utility precisely when , and the hard-cap rule gives higher utility when it is positive. If , both allocate zero. For coordinate-wise nondecreasing objectives, the hard-cap rule is always weakly preferable because it pays at least as much to every agent.
B.2 Extension to approximate and asymptotic e-values
E-values are known for a wide variety of settings; see the book by Ramdas and Wang [34] for an overview. Still, just as in the world of p-values, for some classes of distributions no nontrivial e-value is known, and agents may instead rely on e-values that are valid only approximately or asymptotically [23, 10, 31]. Here we investigate the extent to which our contracts can be made to handle such objects. Overall, we find that many of the theorems degrade gracefully with the approximation error of the e-value, provided one uses the right notion of approximation.
Following Ignatiadis et al. [23, Definition 3.1], for and , we call a nonnegative random variable an -approximate -value for if
where . Letting shows that is -approximate if and only if for all , i.e., if and only if is an e-value. A positive instead allows the bound on the expectation to fail on an event of probability at most [23, Proposition 3.2]. A sequence is a uniformly asymptotic e-value if each is -approximate with , and it is uniformly strongly asymptotic if, in addition, for all large . The latter is equivalent to [23, Proposition 3.6]. Ignatiadis et al. [23] also allow and to depend on , in which case convergence in distribution to an e-value under each suffices for asymptotic validity (their Proposition 3.8).
Let us turn now to using these objects in our mechanisms. Suppose each agent uses an -approximate e-value , and write
If the mechanisms are run on exactly as before, then we obtain the following guarantees. The upshot is that when using approximate e-values, null deterrence and risk bounds also hold approximately.
Proposition 8. Let .
-
Suppose for every . Every measurable selection satisfies for each . For any family of losses , the left-hand side of (4.3) with is at most . In particular, mechanisms selecting from for every satisfy , and those selecting from , including , , and , satisfy .
-
In general, for every , every measurable selection satisfies . If , every measurable selection satisfies for each .
Proof. Fix a joint law under which is the set of null agents, and write for its expectation. For each , the marginal law of agent lies in , so for every . In part 1, letting and applying monotone convergence gives . Each bound in part 1 then follows from a pathwise inequality established in the main text, in which the relevant quantity is dominated by a nonnegative linear combination of the null agents' e-values: for null deterrence, the bound by in the proof of Theorem 1, and (A.2) for . Taking expectations and using linearity gives the claims. No assumption on the dependence between agents is needed.
For part 2, let . If then . Otherwise, the constraint (5.2) with gives . Since also and is subadditive on ,
Applying (B.3) with to each term gives . For null deterrence, and give , and we apply (B.3) with . Taking the supremum over joint laws completes the proof.
Applied to e-values computed from observations, part 1 shows that if each agent's e-value is uniformly strongly asymptotic, then for every and the post-hoc risk is asymptotically at most one (at most for ). Part 2 shows that if they are merely uniformly asymptotic, then null deterrence still holds asymptotically when , and for each fixed . But post-hoc risk control may not hold.
The restriction in part 1 cannot be dropped, as the following example shows.
Example 4. Let m = 1, and suppose the agent's null hypothesis is that their iid observations have mean zero and finite, positive variance. Consider
where is the t-statistic, is the sample standard deviation, and . Under every null, converges in distribution to , so is an asymptotic e-value [23, Section 6.2]. It is not strongly asymptotic, however. If the observations are Gaussian, then has a Student t distribution with degrees of freedom, whose moment generating function is infinite, so for every . With a single agent, , , and each allocate if and only if , in which case the NAP equals one. Thus, if the agent is null, , and the post-hoc risk is infinite for every and every budget. If , then also gives the null agent expected allocation , so null deterrence fails as well.
The failure in Example 4 is due to the particular construction rather than to the null hypothesis. If is replaced by the uncentered root mean square of the observations, then becomes strongly asymptotic [23, 10]. The Bentkus-type asymptotic e-values of Martinez-Taboada et al. [31], which apply polynomial rather than exponential transformations to this self-normalized statistic, are also strongly asymptotic and avoid the conservativeness of the exponential construction. Since both are valid pointwise in P, the limiting guarantees of part 1 hold for them under each fixed joint law.
Truncation, as in Section 6, converts asymptotic e-values into strongly asymptotic ones. Indeed, if is -approximate, then , so is -approximate. Hence if is uniformly asymptotic, then is uniformly strongly asymptotic whenever , and in particular for any fixed truncation level . Part 1 of Proposition 8 then applies to the mechanisms with truncated e-values, including post-hoc risk control.
B.3 Truncation is necessary for growth-independent allocations
Theorem 2 shows that if a non-null agent’s evidence reaches the truncation level, its limiting expected allocation is at least , regardless of how quickly the other agents’ evidence grows. Remark 4 shows that replacing by also prevents the vanishing share in Example 3, but the resulting allocations depend on those rates. The following result shows that without such assumptions, truncation cannot be replaced by any unbounded transformation of the evidence.
Proposition 9. Fix , , , and a nondecreasing unbounded function satisfying . There exist a null hypothesis, e-value sequences and valid under that null for every , and a joint law under which both agents are non-null, such that almost surely for , but running either or on gives almost surely and
Proof. Since is unbounded, choose deterministic such that
Let the null hypothesis be that an agent's observations are iid uniform on , and define
Each statistic uses only the first of the agent’s observations and has expectation one under the null, so both sequences consist of valid e-values. Since , their transformed values are also valid e-values. Take to be the joint law under which every observation of both agents equals zero. Both agents are then non-null, and and almost surely for every . In particular, both transformed sequences diverge.
Write . For all sufficiently large , both and exceed , so both agents are selected by either policy. Their total raw allocation also exceeds . Proportional budget rescaling therefore gives, almost surely,
The same deterministic bound gives .
In particular, even when , diverging transformed evidence alone cannot guarantee profitable entry. The proof uses only at each fixed , so the conclusion also holds if is replaced by a sequence of transformations , each satisfying the same conditions. The truncations of Theorem 2 escape the result precisely because each is bounded, even though . Once both agents’ e-values exceed , their truncated evidence is identical, so the allocation no longer depends on how quickly either e-value grows. This is the sense in which truncation is necessary: any unbounded transformation can be defeated by a competitor whose evidence grows sufficiently quickly, whereas under truncation an agent’s limiting allocation is guaranteed by its own power alone.
Proposition 9 applies to , but it does not contradict Remark 4. The remark assumes that for every non-null agent , i.e., that all non-null agents' evidence grows at finite exponential rates. The construction above violates this assumption. With , it requires , so and agent 2's evidence grows super-exponentially.
The two results are therefore complementary. The logarithm guarantees every non-null agent a nonvanishing share provided all non-null agents' evidence grows at finite, positive exponential rates, but the resulting shares depend on those rates. Proposition 9 shows that some restriction on competitors' growth is unavoidable for any unbounded transformation. Truncation requires no such restriction, and its limiting allocations do not depend on the rates at all.
B.4 Selective entry and the ex-post wrapper
Suppose agents may enter the contract after collecting their data. Returning to Example 1, a biotech startup may naturally prefer to submit evidence from an existing private trial rather than opt into a contract that requires a new experiment. Formally, replace step (2) of the statistical contract in Section 3 by
(2) Each agent i with private distribution may generate data and, after observing it, decide whether to pay and provide the data to the principal.
We call this the ex-post statistical contract. It can be handled by treating nonparticipation as zero submitted evidence.
Ex-post wrapper
-
Let be the total number of agents who may enter. For each , set , where indicates whether agent enters.
-
Run continuous-closure, , , or on all agents using . For continuous-closure, use their cost-weighted e-collection and choose a measurable allocation from the resulting region.
The variables are observable: if agent does not enter, then and hence . The wrapper requires the principal to know the entire eligible pool in advance.
Theorem 4. Consider running continuous-closure for NAP, , , or with the ex-post wrapper. The resulting mechanism satisfies . For , , and , the sharper bound holds. More generally, continuous-closure for a loss satisfying for every has a nonempty region and satisfies . These statements hold for any budget.
Proof. For each null agent , the variable satisfies , since and is an e-value. Thus are valid e-values, and their cost-weighted averages form a valid e-collection. The wrapper therefore reduces to running the corresponding batch mechanism on these e-values over agents. For general-loss closure, the zero allocation is feasible because . The conclusions follow from Theorem 1 and Propositions 3 and 4.
The wrapper can be conservative. Let . Allocation under and requires , while requires . Both conditions become harder to satisfy when the eligible pool is much larger than the participating set. Moreover, although the wrapper preserves the post-hoc risk guarantee, it does not generally yield an ex-post contract that satisfies null deterrence, as discussed next.
B.4.1 Limits of null deterrence under selective entry
Recall that without selective entry, null deterrence requires
for each null agent (i.e., ). Since the agent's decision to opt into the contract is independent of the data they generate after opting in, this is equivalent to , where indicates whether the agent opted into the contract. Under selective entry, however, is not equivalent to , since is not independent of . And while the latter continues to hold when using the ex-post wrapper (since ), the former does not.
In fact, the condition cannot be met in general unless no allocation to agent exceeds with positive probability under . Indeed, fix an agent and consider the counterfactual allocation , which is the allocation were agent to enter the contract, keeping the behavior of all other agents fixed. Now consider the natural entry rule . This rule can be calculated once the behavior of the other agents is known.
For any such that , . Thus, to ensure that , one needs for all such . That is, the allocation to each null agent must be at most almost surely. This is an extremely restrictive requirement. For our e-value-based allocations , for instance, it says that the e-value must never exceed one, thereby allowing only trivial choices.
Note, however, that this argument requires that the agent be able to compute before entering. That is, the behavior of the other agents is known to them. Thus, while the above argument shows that is impossible in the ex-post setting in general, it does not preclude the possibility that this condition might be met in more restrictive settings. Indeed, it would be quite natural to assume that the agents do not know each other's actions, and thus could only estimate . In such a scenario, an appropriate version of null deterrence may exist.
C Examples of Loss Functions
The NAP is not the only loss one could study. Table 1 lists several alternatives. Continuous-closure applies to every loss for which its region is nonempty. For losses that vanish at the zero allocation, this is automatic. Otherwise nonemptiness must be checked. With a finite budget, feasibility is evaluated on the final allocation.
D Experimental Details
We generate independent instances as follows. Each of the agents is null with probability . Agent supplies independent observations from under the null or under the alternative, with . The corresponding normal likelihood-ratio e-value is
Heterogeneous costs and observable weights are drawn independently according to
so both distributions have mean one. Unless stated otherwise, . For Figure 3, we set , , and , and retain 150 independently generated instances on which the full safe polytope admits a nonzero allocation. Conditioning on activation isolates allocation quality from the separate question of whether the evidence suffices to allocate at all. We run this comparison at on the same 150 instances. Writing for a standard normal drawn once per agent, only the dispersion of the weights changes across values of . We also record the realized null allocation proportion of each allocation.
For the linear comparison, we maximize . For the concave comparison, we directly maximize . Optimization over uses constraint generation initialized with the budget constraint. At each iteration, we solve the current optimization problem and use the minimum-cut oracle in Proposition 1 to add a maximally violated
Table 1: Examples of loss functions the principal may consider.
| Loss | Definition | Interpretation |
|---|---|---|
| Null allocation proportion | Share of total allocation going to null agents. | |
| Total null allocation | Absolute amount allocated to null agents. | |
| Budget-normalized null allocation | Fraction of a fixed budget allocated to null agents. | |
| Weighted null allocation proportion | Weighted share of allocation going to null agents. | |
| Weighted null allocation | Weighted absolute allocation to null agents. | |
| Maximum null allocation | Largest allocation made to any null agent. | |
| Excess null allocation | Amount by which null allocation exceeds a tolerance. | |
| False discovery proportion | , where | Unweighted fraction of selected agents that are null. |
| False discovery count | Number of null agents receiving positive allocation. | |
| Missed non-null allocation | Shortfall relative to desired non-null allocations. | |
| False non-allocation proportion | Fraction of non-null agents receiving no allocation. |
subset constraint, stopping when no violation exceeds the numerical tolerance. Optimization over uses all its constraints in a single optimization problem. The linear objective gives a linear program, while the logarithmic objective gives a smooth convex optimization problem. The cumulative-evidence, AoN, and e-BH allocations use hard-cap proportional rescaling. All methods are evaluated using the same objective. We report the relative gap
where is the objective value from full-polytope optimization for the same realized instance.
For Figure 4, we repeat both utility comparisons at , with 150 independently generated active instances at each size (750 in total). All other parameters, including and , are held fixed. The four methods are compared with full-polytope optimization on the same instances.
The Python implementation uses SciPy's HiGHS interface for linear programs, its SLSQP method with analytic gradients for logarithmic utility, and the NetworkX minimum cut. For each subproblem, we check feasibility and bound the objective gap by maximizing over its feasible region, requiring this bound to be at most .