Introduction
There has been a growing interest in recent years in conditional independence testing , notably in the context of scientific discovery. A representative example is identifying which genes are associated with a disease. Performing such tests prevents spurious discoveries caused by high correlations with features that are themselves important. Formally, we test whether a given input X ∈ X ⊆ R X \in\mathcal{X} \subseteq\mathbb{R} X ∈ X ⊆ R is independent of an output Y ∈ Y ⊆ R Y \in\mathcal{Y} \subseteq\mathbb{R} Y ∈ Y ⊆ R given the remaining inputs Z ∈ Z ⊆ R d Z \in\mathcal{Z} \subseteq\mathbb{R}^{d} Z ∈ Z ⊆ R d , namely X ⊥ ⊥ Y ∣ Z X \perp\!\!\!\perp Y \mid Z X ⊥ ⊥ Y ∣ Z . This assesses whether the input X X X provides information about the output that is not contained in the others. If so, the feature is considered important . The set of such important features, namely the Markov blanket, is well defined and unique whenever no input is an exact function of the others [24 ] (Candès et al. 2018).
Moreover, while traditional statistics has mainly focused on modeling the output as a function of the inputs, as in generalized linear models, Candès et al. (2018) introduced the model-X assumption, which shifts the burden of modeling toward the dependence structure among the inputs themselves. This arguably milder assumption relies on the idea that the relationships among the inputs are often easier to model than their relationship with the output. For example, the inputs may be measurements collected from a common device and linked to a more complex phenomenon, as in the gene–disease setting. Alternatively, labeled data may be expensive to obtain, while unlabeled data is available for studying the inputs dependence structure.
Furthermore, in related areas such as Interpretable Machine Learning, where the aim is to identify the important features contributing to the predictive accuracy of a model, several works have empirically and theoretically supported this assumption. Indeed, many standard methods rely on comparing the model performance when using the feature under study against the performance obtained when restricting its access. These works have shown improved results for methods based on modeling the dependence structure among the inputs (e.g. Conditional Feature Importance) rather than retraining a new model without the feature while still focusing on the relationship with the output (e.g. Leave-One-Covariate-Out) (see [15 ] (Chamma et al. 2024)).
The increasing use of Machine Learning (ML) has led to remarkable predictive performance on complex data [17 ] (Hollmann et al. 2023). Consequently, model-agnostic conditional independence approaches have become particularly relevant, as they can leverage these black-box predictors as surrogates for the underlying data-generating distribution.
In addition, the data collection process is no longer static, and scientists increasingly require more flexible inference procedures. For instance, when a p p p -value is close to a desired significance threshold, it is tempting to continue collecting data. Similarly, data may come from multiple studies, making it unclear how to combine evidence appropriately. Standard p p p -value procedures do not generally control type-I error under such flexible settings. For this reason, there has been growing interest in the study of e e e -values (Grünwald et al. (2024a); Ramdas and Wang [18 ] ). The e e e -value is a building block of Safe Anytime-Valid Inference (SAVI). Its sequential counterpart, the e e e -process, provides an interpretable measure of evidence (Koning [5 ] ) and allows practitioners to continuously monitor the data and decide whether additional data collection is necessary or sufficient evidence has already been obtained.
Building on Shaer et al. [22 ] , we aim to further study how to sequentially assign the importance of a feature within a black-box machine learning model under the model-X assumption, using conditional independence testing. Our approach compares the loss of the original model to that of a modified version where the feature’s information is removed and replaced with a conditionally independent counterpart generated under the model-X assumption. Moreover, we study the statistical guarantees when this assumption is violated.
Problem statement
The model-X assumption consists of fixing a kernel K ( X ∣ Z ) K(X \mid Z) K ( X ∣ Z ) for the conditional distribution of X X X given Z Z Z . Thus, the model-X conditional independence null is
P K X - C I : = { P ( X , Y , Z ) : X ⊥ ⊥ Y ∣ Z , P ( X ∣ Z ) = K ( ⋅ ∣ Z ) } . (1) \mathcal{P}^{\mathrm{X\text{-}CI}}_{K}:=\left\{P(X,Y,Z):X \perp\!\!\!\perp Y\mid Z,\ P(X\mid Z)=K(\cdot\mid Z)\right\}. \tag*{(1)} P K X - CI := { P ( X , Y , Z ) : X ⊥ ⊥ Y ∣ Z , P ( X ∣ Z ) = K ( ⋅ ∣ Z ) } . (1)
By introducing a dummy variable X ~ \widetilde{X} X independent of X X X and Y Y Y given Z Z Z , this model-X conditional independence null can equivalently be viewed (see Proposition B.1) as the conditional exchangeability of X ~ \widetilde{X} X and X X X given ( Y , Z ) (Y,Z) ( Y , Z ) , where the same fixed kernel is imposed on X ~ \widetilde{X} X :
P K X - C I : = { P ( X ~ , X , Y , Z ) : ( X ~ , X , Y , Z ) = d ( X , X ~ , Y , Z ) , P ( X ~ ∣ X , Y , Z ) = K ( ⋅ ∣ Z ) } . (2) \mathcal{P}^{\mathrm{X\text{-}CI}}_{K}:=\left\{P(\widetilde{X},X,Y,Z):(\widetilde{X},X,Y,Z)\overset{\mathrm{d}}{=}(X,\widetilde{X},Y,Z),\ P(\widetilde{X}\mid X,Y,Z)=K(\cdot\mid Z)\right\}. \tag*{(2)} P K X - CI := { P ( X , X , Y , Z ) : ( X , X , Y , Z ) = d ( X , X , Y , Z ) , P ( X ∣ X , Y , Z ) = K ( ⋅ ∣ Z ) } . (2)
To test this null, Candès et al. (2018) proposed the Conditional Randomization Test (CRT), which compares an importance statistic T ( X , Y , Z ) T(X,Y,Z) T ( X , Y , Z ) computed on the observed data with its distribution under the null. This is achieved by replacing the original X X X in the sample with the dummy X ~ \widetilde{X} X sampled from K ( X ∣ Z ) K(X\mid Z) K ( X ∣ Z ) . The procedure then computes the importance statistic for many conditional resamplings, namely T ( X ~ , Y , Z ) T(\widetilde{X},Y,Z) T ( X , Y , Z ) , and compares them with the original statistic. This yields p p p -values, and they also extended the idea to multiple testing through the popular knockoffs. The performance of the CRT depends strongly on the choice of T T T , and a growing literature proposes different alternatives, ranging from predictive performance measures of machine learning models (Tansey et al., [23 ] ) to coefficients of linear models (Liu et al., [11 ] ).
In the sequential setting, the use of model-X to test conditional independence was also studied by Grünwald et al. (2024b). They proposed the use of e e e -values, which are nonnegative random variables whose expectation is upper bounded by 1 under the null. The set of model-X e e e -values E \mathcal{E} E is thus
E = { E ≥ 0 : E P [ E ] ≤ 1 for all P ∈ P K X - C I } . \mathcal{E}=\left\{E\geq0:\mathbb{E}_{P}[E]\leq1\text{ for all }P\in\mathcal{P}^{\mathrm{X\text{-}CI}}_{K}\right\}. E = { E ≥ 0 : E P [ E ] ≤ 1 for all P ∈ P K X - CI } .
To analyze the power of an e e e -value E E E against a point alternative Q Q Q , a standard notion is the e e e -power (Vovk and Wang, [25 ] ), also known as log-power (Koning, [5 ] ), which is the expectation under the alternative of the logarithm of the e e e -value, E Q [ log E ] \mathbb{E}_{Q}[\log E] E Q [ log E ] . The Growth Rate Optimal (GRO) e e e -value (Grünwald et al., 2024a) is the one that maximizes this criterion. Grünwald et al. (2024b) proposed the model-X e e e -value
E X - C I : = f Y ∣ X , Z f Y ∣ Z = f Y ∣ X , Z E X ∣ Z [ f Y ∣ X , Z ] , (3) E^{\mathrm{X\text{-}CI}}:=\frac{f_{Y\mid X,Z}}{f_{Y\mid Z}}=\frac{f_{Y\mid X,Z}}{\mathbb{E}_{X\mid Z}[f_{Y\mid X,Z}]}, \tag*{(3)} E X - CI := f Y ∣ Z f Y ∣ X , Z = E X ∣ Z [ f Y ∣ X , Z ] f Y ∣ X , Z , (3)
which is GRO against a point alternative Q Q Q that satisfies the model-X kernel and has conditional density f Y ∣ Z , X f_{Y\mid Z,X} f Y ∣ Z , X . However, this density is generally unknown, and it is not straightforward to estimate it or to relate it to machine learning models, which are typically designed for prediction rather than density estimation. Thus, its practical application remains unclear.
A closely related approach based on the loss of a predictor was proposed by Shaer et al. [22 ] . In particular, they introduced the e e e CRT, a sequential version of the CRT. Their method relies on the fact that, under the null, for any importance statistic T T T ,
T = T ( X , Y , Z ) and T ~ = T ( X ~ , Y , Z ) T=T(X,Y,Z)\quad\text{and}\quad\widetilde{T}=T(\widetilde{X},Y,Z) T = T ( X , Y , Z ) and T = T ( X , Y , Z )
are exchangeable. They take T ( X , Y , Z ) = l ( m ^ ( X , Z ) , Y ) T(X,Y,Z)=l(\widehat{m}(X,Z),Y) T ( X , Y , Z ) = l ( m ( X , Z ) , Y ) to be the predictive performance of a model m ^ : X × Z → Y \widehat{m}:\mathcal{X}\times\mathcal{Z}\to\mathcal{Y} m : X × Z → Y , which uses inputs ( X , Z ) ∈ X × Z ⊆ R d + 1 (X,Z)\in\mathcal{X}\times\mathcal{Z}\subseteq\mathbb{R}^{d+1} ( X , Z ) ∈ X × Z ⊆ R d + 1 to try to predict the output Y ∈ Y ⊆ R Y\in\mathcal{Y}\subseteq\mathbb{R} Y ∈ Y ⊆ R under the loss function l : Y ′ × Y → R + l:\mathcal{Y}'\times\mathcal{Y}\to\mathbb{R}_{+} l : Y ′ × Y → R + . They then propose the antisymmetric e-value
1 + v g ( T , T ~ ) , (4) 1 + v g(T,\widetilde{T}), \tag*{(4)} 1 + v g ( T , T ) , (4)
where v v v is a scalar and g g g is a antisymmetric, i.e., g ( b , a ) = − g ( a , b ) g(b,a)=-g(a,b) g ( b , a ) = − g ( a , b ) . By antisymmetry and exchangeability, it follows that under the null, E [ g ( T , T ~ ) ] = 0 \mathbb{E}[g(T,\widetilde{T})]=0 E [ g ( T , T )] = 0 . To ensure that this defines a valid e-value, one also requires that v g ( T , T ~ ) ≥ − 1 v g(T,\widetilde{T})\geq-1 v g ( T , T ) ≥ − 1 , which guarantees positivity. They proposed, for instance, using the sign of T ~ − T \widetilde{T}-T T − T . Still, it is not clear which statistics are optimal, or how these antisymmetric e-values compare to E X − C I E^{\mathrm{X-CI}} E X − CI . To do so, we note that, these e-values do not directly test the initial null P K X − C I P^{\mathrm{X-CI}}_K P K X − CI . Instead, they test
P e x c h : = { P ( T ~ , T ) : ( T ~ , T ) = d ( T , T ~ ) } . (5) \mathcal{P}^{\mathrm{exch}} := \left\{P(\widetilde{T},T):(\widetilde{T},T)\mathrel{\mathop{=}^{\mathrm{d}}}(T,\widetilde{T})\right\}. \tag*{(5)} P exch := { P ( T , T ) : ( T , T ) = d ( T , T ) } . (5)
This null is much larger, since any distribution in P K X − C I P^{\mathrm{X-CI}}_K P K X − CI induces an exchangeable distribution over ( T , T ~ ) (T,\widetilde{T}) ( T , T ) , but the converse does not hold. Testing this way remains valid, but may discard substantial information. We study this further in § 3 .
Finally, in practice, the assumption that K K K is known is restrictive, and it usually needs to be estimated. Hence, we do not have exact e-values but approximate ones, which leads to an inflation of the type-I error. Current bounds on this inflation (Berrett et al., 2019; Grünwald et al., 2024b) are worst-case with respect to the statistic used, and are therefore too pessimistic in practice. Tighter bounds are needed to achieve meaningful control of the discoveries. In § 4 , we improve type-I error bounds when the model-X distribution is estimated, using triple-robustness results.
Analysis under the alternative
Even though the model-X e-variable in (3) is the GRO against a point alternative with density f Y ∣ X , Z f_{Y\mid X,Z} f Y ∣ X , Z , estimating this conditional distribution is challenging in practice. First, this distribution may not belong to the class of distributions over which we are searching. More generally, we do not optimize over E \mathcal{E} E , the set of all e-variables for this null, but rather over a restricted set E X − C I \mathcal{E}_{\mathrm{X-CI}} E X − CI . This introduces an approximation error . Moreover, the optimal e-variable within this restricted class is typically not available and must therefore be estimated by E ^ X − C I \widehat{E}^{\mathrm{X-CI}} E X − CI , introducing an estimation error . Neither of these errors is necessarily negligible, and both should be taken into account in the power analysis. One way to reduce these errors is to enlarge the null hypothesis or to push forward the original distribution space, allowing us to search over an easier class of e-variables, denoted by E # \mathcal{E}_{\#} E # . We can then approximate the new optimal e-variable E # E^{\#} E # associated with this new null hypothesis. This may reduce both the estimation and approximation errors, at the cost of introducing a null enlargement error (see Figure 1 ).
Figure 1. While distilling information induces a null enlargement error , it can improve power by reducing the approximation and estimation errors .
We can decompose the e-power loss of E ^ # \widehat{E}^{\#} E # as
E [ log E X − C I ] − E [ log E ^ # ] Regret of E ^ = E [ log E X − C I ] − E [ log E # ] Null enlargement error + E [ log E # ] − E [ log E E # ] Approximation error + E [ log E E # ] − E [ log E ^ # ] Estimation error . \begin{aligned}
\mathbb{E}[\log E^{\mathrm{X-CI}}]-\mathbb{E}[\log\widehat{E}^{\#}] &\qquad\text{Regret of }\widehat{E}\\
&=\mathbb{E}[\log E^{\mathrm{X-CI}}]-\mathbb{E}[\log E^{\#}] && \text{Null enlargement error}\\
&\quad+\mathbb{E}[\log E^{\#}]-\mathbb{E}[\log E^{\mathcal{E}_{\#}}] && \text{Approximation error}\\
&\quad+\mathbb{E}[\log E^{\mathcal{E}_{\#}}]-\mathbb{E}[\log\widehat{E}^{\#}] && \text{Estimation error}.
\end{aligned} E [ log E X − CI ] − E [ log E # ] Regret of E = E [ log E X − CI ] − E [ log E # ] + E [ log E # ] − E [ log E E # ] + E [ log E E # ] − E [ log E # ] Null enlargement error Approximation error Estimation error .
where E E # E^{\mathcal{E}_{\#}} E E # denotes the optimal e-variable within the new class E # \mathcal{E}_{\#} E # , which is estimated by E ^ # \widehat{E}^{\#} E # .
For instance, in our setting, the joint distribution of ( X , Y , Z ) (X,Y,Z) ( X , Y , Z ) is difficult to model. This is why we use ML models as surrogates for this distribution and then apply interpretability tools to obtain explanations from these models. Thus, we expect the push-forward not to discard too much information, and we seek to incorporate these models into the e-variables.
Model-X vs Antisymmetric e-variables
First, we propose an exponential class of e-variables, which provides a natural way to approximate the original GRO e-variable using ML. We then compare this class with an instance of antisymmetric e-variables, obtained by null enlargement, which relies only on the exchangeability of a push-forward through importance statistics. We prove that the latter class can outperform the GRO e-variable estimate because of the estimation and approximation errors discussed above.
To use the antisymmetric coin-betting e-value, presented below, we work with bounded losses. For the unbounded losses, see Appendix § 10 .§ 2 , and for the 0-1 loss, where both coincide, see Appendix § 13 .§ 2 . The algorithms are given in Appendix § 10 . For simplicity, in the analysis we consider a fixed predictor m m m ; it can directly be replaced by a sequential one.
Exponential e-value
This proposal aligns with the model-X density e-value (3) of Grünwald et al. (2024b) by constructing pseudo-probabilities (Grünwald and Mehta (2020)) by exponentiating the loss with a variance-like parameter η \eta η , normalized under the null:
E e x p η : = exp ( − η l ( m ( X , Z ) , Y ) ) E X ~ ∣ Z [ exp ( − η l ( m ( X ~ , Z ) , Y ) ) ] (6) E_{\mathrm{exp}}^{\eta}:=\frac{\exp\left(-\eta l(m(X,Z),Y)\right)}{\mathbb{E}_{\widetilde{X}\mid Z}\left[\exp\left(-\eta l(m(\widetilde{X},Z),Y)\right)\right]} \tag*{(6)} E exp η := E X ∣ Z [ exp ( − η l ( m ( X , Z ) , Y ) ) ] exp ( − η l ( m ( X , Z ) , Y ) ) (6)
Coin-betting e-value
Coin-betting e-variables have been proven to be the only admissible e-variables for testing the mean of a bounded random variable (Clerico (2025); Larsson et al. [9 ] ). We thus study the following adaptation of coin-betting to these losses:
E c b λ = 1 + λ ( − l ( m ( X , Z ) , Y ) + l ( m ( X ~ , Z ) , Y ) ) . E_{\mathrm{cb}}^{\lambda}=1+\lambda\left(-l(m(X,Z),Y)+l(m(\widetilde{X},Z),Y)\right). E cb λ = 1 + λ ( − l ( m ( X , Z ) , Y ) + l ( m ( X , Z ) , Y ) ) .
This is an instantiation of the antisymmetric e-value (4) of Shaer et al. [22 ] , where there is no need to apply the sign function, since the loss is already bounded.
Remark 3.1. η \eta η and λ \lambda λ may depend on Y Y Y and Z Z Z while still preserving the guarantees (see Lemma D.1 ).
Remark 3.2. Shaer et al. [22 ] observed as a practical consideration that derandomizing the dummy variable X ~ \widetilde{X} X when constructing antisymmetric e-variables can improve power. This is because derandomization effectively leads to a different null hypothesis, as discussed later in § 3.3 and Appendix § 11 . Nevertheless, the comparison results that follow remain unchanged when this derandomization is incorporated into the analysis.
Comparison of both e-values
We first note that none of the available optimality results applies exactly in our setting. Indeed, for the exponential e-value, since the alternative density f Y ∣ X , Z f_{Y\mid X,Z} f Y ∣ X , Z is unknown and does not necessarily admit the exponentiated-loss form considered above, it introduces a potentially large approximation and an estimation error. Likewise, the admissibility results for coin-betting e-values do not directly apply: although the loss is bounded, our setting involves the model-X null hypothesis, rather than the larger exchangeability or zero mean of the push-forward loss nulls, which introduces a null enlargement error. Consequently, there is no universally preferable option, and we show below that neither method uniformly dominates the other.
Now, let us define the predictiveness signal of X X X
Δ = E [ l ( m ( X ~ , Z ) , Y ) ] − E [ l ( m ( X , Z ) , Y ) ] . \Delta=\mathbb{E}\left[l(m(\widetilde{X},Z),Y)\right]-\mathbb{E}\left[l(m(X,Z),Y)\right]. Δ = E [ l ( m ( X , Z ) , Y ) ] − E [ l ( m ( X , Z ) , Y ) ] .
If m m m is given by a good learning algorithm, Δ \Delta Δ can be expected nonnegative. Indeed, under the null, we have Δ = 0 \Delta=0 Δ = 0 by symmetry, whereas under the alternative we expect the feature X X X , which is no longer conditionally independent of Y Y Y , to provide useful predictive information. Consequently, the predictor using X X X should achieve a lower loss than the one using the dummy X ~ \widetilde{X} X .
This quantity can be interpreted as an effect size: the larger Δ \Delta Δ is, the more predictive the feature is and the easier the testing problem becomes. In the remainder of this section, we restrict attention to the small-signal regime. Indeed, when the signal is large, we expect the e-values to do large bets. However, the coin-betting cannot become arbitrarily large since the admissible values of λ \lambda λ are constrained to guarantee the nonnegativity. By contrast, under standard tail assumptions, the exponential e-value may grow exponentially fast in the effect size. For instance, assume that the loss based on X ~ \widetilde{X} X is σ \sigma σ -sub-Gaussian. Developing, it satisfies,
E [ log ( E e x p η ) ] ≥ η Δ − σ 2 η 2 2 . \mathbb{E}\left[\log\left(E_{\mathrm{exp}}^{\eta}\right)\right]\geq\eta\Delta-\frac{\sigma^{2}\eta^{2}}{2}. E [ log ( E exp η ) ] ≥ η Δ − 2 σ 2 η 2 .
for any η \eta η . Optimizing over η \eta η yields
E [ log ( E e x p η ⋆ ) ] ≥ Δ 2 2 σ 2 . \mathbb{E}\left[\log\left(E_{\mathrm{exp}}^{\eta^\star}\right)\right]\geq\frac{\Delta^{2}}{2\sigma^{2}}. E [ log ( E exp η ⋆ ) ] ≥ 2 σ 2 Δ 2 .
Hence, the e-power of the exponential e-value grows quadratically with the signal strength Δ \Delta Δ , and therefore diverges as the signal becomes large.
Theorem 3.3 (Small-signal regime). Assume that the signal strength Δ \Delta Δ is sufficiently small. Define
σ 0 2 : = V ( l ( m ( X ~ , Z ) , Y ) ) , σ 1 2 : = V ( l ( m ( X , Z ) , Y ) ) . \sigma_{0}^{2}:=\mathop{\mathrm{V}}(l(m(\widetilde{X},Z),Y)),\qquad\sigma_{1}^{2}:=\mathop{\mathrm{V}}(l(m(X,Z),Y)). σ 0 2 := V ( l ( m ( X , Z ) , Y )) , σ 1 2 := V ( l ( m ( X , Z ) , Y )) . Then, up to second order in Δ \Delta Δ , the optimal parameters for the exponential and coin-betting e-values satisfy
η ⋆ = Δ σ 0 2 + O ( Δ 2 ) , λ ⋆ = Δ σ 1 2 + Δ 2 + O ( Δ 2 ) . \eta^\star=\frac{\Delta}{\sigma_{0}^{2}}+O(\Delta^{2}),\qquad\lambda^\star=\frac{\Delta}{\sigma_{1}^{2}+\Delta^{2}}+O(\Delta^{2}). η ⋆ = σ 0 2 Δ + O ( Δ 2 ) , λ ⋆ = σ 1 2 + Δ 2 Δ + O ( Δ 2 ) . Moreover, the corresponding optimal e-powers satisfy
E [ log E e x p η ⋆ ] = Δ 2 2 σ 0 2 + O ( Δ 3 ) , \mathbb{E}\left[\log E_{\mathrm{exp}}^{\eta^\star}\right]=\frac{\Delta^{2}}{2\sigma_{0}^{2}}+O(\Delta^{3}), E [ log E exp η ⋆ ] = 2 σ 0 2 Δ 2 + O ( Δ 3 ) , E [ log E c b λ ⋆ ] = 1 2 Δ 2 σ 1 2 + Δ 2 + O ( Δ 3 ) . \mathbb{E}\left[\log E_{\mathrm{cb}}^{\lambda^\star}\right]=\frac{1}{2}\frac{\Delta^{2}}{\sigma_{1}^{2}+\Delta^{2}}+O(\Delta^{3}). E [ log E cb λ ⋆ ] = 2 1 σ 1 2 + Δ 2 Δ 2 + O ( Δ 3 ) .
We typically expect σ 0 2 \sigma_0^2 σ 0 2 to be larger than σ 1 2 \sigma_1^2 σ 1 2 , since the loss obtained using the informative X X X should typically be smaller and less variable than the one using the noisy X ~ \widetilde{X} X . Yet, there exist settings in which σ 1 2 + Δ 2 < σ 0 2 \sigma_1^2+\Delta^2 < \sigma_0^2 σ 1 2 + Δ 2 < σ 0 2 , so that the coin-betting is more e-powerful, as illustrated in Figure 2 . Therefore, neither e-variable uniformly dominates the other.
Figure 2. Coin betting can dominate the exponential: the left panel shows the e-powers at the optimal choices of η \eta η and λ \lambda λ . As the noise level increases, the effect size shrinks and the testing problem becomes harder, and E c b λ ∗ E_{\mathrm{cb}}^{\lambda^\ast} E cb λ ∗ can outperform E e x p η ∗ E_{\mathrm{exp}}^{\eta^\ast} E exp η ∗ . The middle panel shows the ratio of their e-powers, and the right panel shows the growth of the evidence at a fixed noise level. Details are in Appendix § 14 .§ 2 .
Thus, even though we distill information through the push-forward introducing a null enlargement error by testing P e x c h \mathcal{P}^{\mathrm{exch}} P exch rather than the original null P K X - C I \mathcal{P}^{X\text{-}\mathrm{CI}}_K P K X - CI , this can reduce the approximation error incurred by using the exponential pseudo-density and lead to higher e-power. On the other hand, if we try to estimate f Y ∣ X , Z f_{Y\mid X,Z} f Y ∣ X , Z with a more complex class of learners and thus incur less approximation error, the estimation error would become the most significant source of e-power loss.
Optimal antisymmetric e-variable
Theorem 3.3 shows that, if the density does not take the form of an exponentiated loss, it is possible to construct more powerful antisymmetric e-variables (4). It is then natural to ask which function g g g is optimal.
To answer this question, we adopt a different perspective. Rather than directly testing the original model-X CI null P K X - C I \mathcal{P}^{X\text{-}\mathrm{CI}}_K P K X - CI (1), we first compute the importance statistics T T T and T ~ \widetilde{T} T and only then, test their exchangeability, as in Shaer et al. [22 ] . This viewpoint changes the problem: directly characterizing f Y ∣ X , Z f_{Y\mid X,Z} f Y ∣ X , Z is generally intractable, whereas the ML model allows us to distill the relevant conditional information into the importance statistics. Thus, we can focus on the larger exchangeability null P e x c h \mathcal{P}^{\mathrm{exch}} P exch (5).
First, note that any e-value depending only on ( T , T ~ ) (T,\widetilde{T}) ( T , T ) is dominated by an antisymmetric e-value.
Theorem 3.4. For any e-value E = h ( T , T ~ ) E=h(T,\widetilde{T}) E = h ( T , T ) for the exchangeability null hypothesis P e x c h \mathcal{P}^{\mathrm{exch}} P exch , there exists another e-value E ′ E' E ′ of the form E ′ = 1 + g ( T , T ~ ) E'=1+g(T,\widetilde{T}) E ′ = 1 + g ( T , T ) with g g g antisymmetric such that E ′ ≥ E E' \ge E E ′ ≥ E .
Moreover, the GRO e-variable for the exchangeability null hypothesis admits a closed-form expression.
Theorem 3.5. GRO e-value for the exchangeability null (5) against an alternative Q Q Q with density f T , T ~ f_{T,\widetilde{T}} f T , T is
E e x c h : = f T , T ~ ( T , T ~ ) 1 2 ( f T , T ~ ( T , T ~ ) + f T , T ~ ( T ~ , T ) ) E^{\mathrm{exch}} := \frac{f_{T,\widetilde{T}}(T,\widetilde{T})}{\frac{1}{2}\left(f_{T,\widetilde{T}}(T,\widetilde{T})+f_{T,\widetilde{T}}(\widetilde{T},T)\right)} E exch := 2 1 ( f T , T ( T , T ) + f T , T ( T , T ) ) f T , T ( T , T ) = 1 + f T , T ~ ( T , T ~ ) − f T , T ~ ( T ~ , T ) f T , T ~ ( T , T ~ ) + f T , T ~ ( T ~ , T ) . =1+\frac{f_{T,\widetilde{T}}(T,\widetilde{T})-f_{T,\widetilde{T}}(\widetilde{T},T)}{f_{T,\widetilde{T}}(T,\widetilde{T})+f_{T,\widetilde{T}}(\widetilde{T},T)}. = 1 + f T , T ( T , T ) + f T , T ( T , T ) f T , T ( T , T ) − f T , T ( T , T ) .
In particular, the GRO is of the form 1 + g 1+g 1 + g , where g g g is antisymmetric. The proof follows a change-of-measure similar to the symmetry result in Larsson et al. [8 ] .
Although it may appear that we have replaced the problem of learning one density with that of learning another, note that the latter is only a two-dimensional marginal while the former is conditional on high-dimensional ( X , Z ) (X,Z) ( X , Z ) . Accordingly, it is much easier to estimate, for example using a kernel density estimator (KDE), for which standard implementations are readily available (e.g., Pedregosa et al. [16 ] ). Hence, this approach consists of sequentially estimating the joint density of the importance statistics; see Algorithm 2.
Intermediate null hypotheses
Formally studying the null hypothesis that we are actually testing not only allows us to understand when tests are safe, but also to study which e-variable is the GRO. Thus, it is of interest to analyze the null hypotheses that lie in between the model-X null (1), which is our ultimate goal, and the exchangeability null (5), which appears to be the feasible one. In this section, we discuss two: push-forward model-X conditional independence and the broader exchangeability that arises from derandomizing the dummy variable. For more details on other intermediate nulls and their corresponding GROs, see Appendix § 11 and Table 1 .
Sequence of null hypotheses obtained by progressively distilling information. Moving downward corresponds to retaining less information and hence considering a larger null hypothesis. The GRO e-variable associated with each null is shown in the final column (see D.3).
Table 1. Sequence of null hypotheses obtained by progressively distilling information. Moving downward corresponds to retaining less information and hence considering a larger null hypothesis. The GRO e-variable associated with each null is shown in the final column (see D.3).
The first step is to notice that studying the raw distribution of ( X ~ , X , Y , Z ) (\widetilde{X},X,Y,Z) ( X , X , Y , Z ) is hard, and that we need an ML model to act as a surrogate. This is done by computing an importance statistic T : X × Y × Z → R + T:\mathcal{X}\times\mathcal{Y}\times\mathcal{Z}\to\mathbb{R}_+ T : X × Y × Z → R + , for example the loss of a model, as done previously. Then, instead of directly requiring exchangeability of the original input and the dummy X ~ \widetilde{X} X conditional on ( Y , Z ) (Y,Z) ( Y , Z ) , plus the model-X kernel, we apply the push-forward, which can reduce the estimation and approximation error at the price of a null enlargement error:
P K # P F X - C I : = { P ( T ~ , T , Y , Z ) : ( T ~ , T , Y , Z ) = d ( T , T ~ , Y , Z ) , P ( T ~ ∣ T , Y , Z ) = K # ( ⋅ ∣ Y , Z ) } . \mathcal{P}^{\mathrm{PFX\text{-}CI}}_{K^\#} := \left\{P(\widetilde{T},T,Y,Z) : (\widetilde{T},T,Y,Z) \mathrel{\overset{d}{=}} (T,\widetilde{T},Y,Z),\quad P(\widetilde{T}\mid T,Y,Z)=K^\#(\cdot\mid Y,Z)\right\}. P K # PFX - CI := { P ( T , T , Y , Z ) : ( T , T , Y , Z ) = d ( T , T , Y , Z ) , P ( T ∣ T , Y , Z ) = K # ( ⋅ ∣ Y , Z ) } .
where K # K^\# K # stands for the push-forward of the initial kernel K K K through the statistic T ( ⋅ ) T(\cdot) T ( ⋅ ) . It may depend on ( Y , Z ) (Y,Z) ( Y , Z ) , but T ~ \widetilde{T} T and T T T are conditionally independent given ( Y , Z ) (Y,Z) ( Y , Z ) . The GRO for this null is (see Prop. D.3 )
E P F X - C I : = f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) . (7) E^{\mathrm{PFX\text{-}CI}} := \frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}. \tag*{(7)} E PFX - CI := f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) . (7)
It is similar to the model-X GRO, replacing ( X , X ~ ) (X,\widetilde{X}) ( X , X ) by ( T , T ~ ) (T,\widetilde{T}) ( T , T ) . It has more e-power than any e-variable using this information distillation through ML. However, like the model-X GRO, it potentially suffers from high estimation and approximation error, since it still relies on a conditional density that is hard to estimate.
Alternatively, Shaer and Romano [22 ] noted that in practice, derandomizing over the dummy variables had a great impact on the power. Indeed, the goal would be to Rao-Blackwellize the e-variable (de Roos et al., 2025) by taking the expectation over the model-X kernel. However, since this expectation is usually unknown, they propose to take the average across B B B resamples { T ~ b } b = 1 B \{\widetilde{T}_b\}_{b=1}^{B} { T b } b = 1 B with T ~ b : = T ( X ~ b , Y , Z ) \widetilde{T}_b := T(\widetilde{X}_b,Y,Z) T b := T ( X b , Y , Z ) :
1 B ∑ b = 1 B ( 1 + v g ( T , T ~ b ) ) . \frac{1}{B}\sum_{b=1}^{B}\left(1+v\,g(T,\widetilde{T}_b)\right). B 1 b = 1 ∑ B ( 1 + v g ( T , T b ) ) .
When doing so, the exchangeability null hypothesis (5) is replaced by a B B B -exchangeability null, i.e., we are no longer testing whether T T T is exchangeable with a single resample T ~ \widetilde{T} T , but rather with { T ~ b } b = 1 B \{\widetilde{T}_b\}_{b=1}^{B} { T b } b = 1 B . For this B B B -exchangeable null, the GRO is (Koning, [6 ] )
E B e x c h : = f T , T ~ B ( T , T ~ B ) 1 ( B + 1 ) ! ∑ σ ∈ S B + 1 f T , T ~ B ( σ ( T , T ~ B ) ) . E^{\mathrm{exch}}_{B} := \frac{f_{T,\widetilde{T}^{B}}(T,\widetilde{T}^{B})}{\frac{1}{(B+1)!}\sum_{\sigma\in S_{B+1}}f_{T,\widetilde{T}^{B}}\left(\sigma(T,\widetilde{T}^{B})\right)}. E B exch := ( B + 1 )! 1 ∑ σ ∈ S B + 1 f T , T B ( σ ( T , T B ) ) f T , T B ( T , T B ) .
where T ~ B : = ( T ~ 1 , … , T ~ B ) \widetilde{T}^{B}:=(\widetilde{T}_1,\ldots,\widetilde{T}_B) T B := ( T 1 , … , T B ) , S B + 1 S_{B+1} S B + 1 is the set of permutations of [ B + 1 ] [B+1] [ B + 1 ] , and σ ( T , T ~ B ) \sigma(T,\widetilde{T}^{B}) σ ( T , T B ) is the vector ( T , T ~ B ) (T,\widetilde{T}^{B}) ( T , T B ) permuted by σ \sigma σ . Even if it has more e-power than any of the derandomized e-variables, it involves a ( B + 1 ) (B+1) ( B + 1 ) -dimensional density, which must be estimated and therefore suffers from a much higher estimation error.
Analysis under the null
Unfortunately, the model-X assumption is rarely exactly satisfied in real-world applications, and the conditional distribution of X X X given Z Z Z needs to be estimated. This affects both model-X and antisymmetric e-variables.
Then, the impact of this kernel estimation on the statistical guarantees still needs to be clarified. Existing bounds in the literature are often pessimistic and, in practice, appear to substantially overestimate the actual loss of type-I error control. For instance, for the CRT, Berrett et al. (2019) considers worst-case statistics and derives an upper bound on the type-I error inflation given by the total variation distance between the estimated and true conditional distributions. Grünwald et al. (2024b) extends this result to the sequential setting. While this bound provides a worst-case guarantee, it does not necessarily reflect the smaller loss of type-I error control observed in practice.
In this section, we account for the estimation of the conditional distribution and derive less conservative bounds on the type-I error inflation. The resulting processes from the estimated kernel are approximate e-processes, leading to approximate control. See Appendix C for a formal definition of approximate e-processes and their general impact on the type-I error inflation, which we use in Theorem 4.2 for the approximate coin-betting e-process. In addition, for the model-loss statistic, the error inflation can also benefit from the predictive model itself. Indeed, under conditional independence, the Bayes predictor does not depend on X X X once Z Z Z is given. Thus, as the predictive model approaches this limiting predictor, its dependence on X X X vanishes, making the e-process progressively less sensitive to errors in the estimated conditional distribution. This yields double robustness rates and, then, a faster vanishing of the error inflation.
We denote by X ~ n ′ \widetilde{X}'_n X n ′ the random variable sampled from K n ( ⋅ ∣ Z n ) K_n(\cdot\mid Z_n) K n ( ⋅ ∣ Z n ) , where K n K_n K n is the conditional distribution from which we actually sample, representing our estimate, at time n n n , of the conditional distribution of X n X_n X n given Z n Z_n Z n . We recall that K ( ⋅ ∣ Z n ) K(\cdot\mid Z_n) K ( ⋅ ∣ Z n ) denotes the true conditional distribution of X n X_n X n given Z n Z_n Z n .
Double Robustness
Berrett et al. (2019); Grünwald et al. (2024b) provide bounds that are necessarily conservative because they are obtained uniformly over the class of all statistics and do not exploit the particular structure of the one used. However, in our setting, the statistics are
ℓ ( m ^ n ( X ~ n ′ , Z n ) , Y n ) and ℓ ( m ^ n ( X n , Z n ) , Y n ) . (8) \ell(\widehat{m}_n(\widetilde{X}'_n,Z_n),Y_n)\quad\text{and}\quad\ell(\widehat{m}_n(X_n,Z_n),Y_n). \tag*{(8)} ℓ ( m n ( X n ′ , Z n ) , Y n ) and ℓ ( m n ( X n , Z n ) , Y n ) . (8)
Under the conditional independence null, since X X X is not predictive of Y Y Y given Z Z Z , the population risk minimizer m 0 m_0 m 0 does not depend on X X X . Hence, the discrepancy between the distributions of (8) can shrink for two distinct reasons. First, the estimated conditional distribution K n ( ⋅ ∣ Z ) K_n(\cdot\mid Z) K n ( ⋅ ∣ Z ) converges to the true K ( ⋅ ∣ Z ) K(\cdot\mid Z) K ( ⋅ ∣ Z ) . Second, the fitted model m ^ n \widehat{m}_n m n converges to the X X X -independent Bayes predictor m 0 ( Z ) m_0(Z) m 0 ( Z ) . Thus, even if the estimated conditional distribution is not exactly correct, the statistic becomes increasingly insensitive to discrepancies in the X X X -distribution as the fitted model approaches the null regression function.
This gives a double robustness similar to the one of Conditional Feature Importance [19 ] , which is not captured by worst-case bounds based only on the distance between K n K_n K n and K K K .
Let’s define the excess risk at time t t t on ( x , z , y ) (x,z,y) ( x , z , y )
r n ( x , z , y ) : = l ( m ^ n ( x , z ) , y ) − l ( m 0 ( z ) , y ) . r_n(x,z,y) := l(\hat{m}_n(x,z),y)-l(m_0(z),y). r n ( x , z , y ) := l ( m ^ n ( x , z ) , y ) − l ( m 0 ( z ) , y ) .
We consider three different assumptions on the convergence of r n r_n r n , ranging from more to less restrictive. The first one, motivated by linear models and by Lobo et al. [12 ] , implies continuous convergence. The second implies uniform convergence, without specifying any further regularity, and the third consists of the standard L 2 L_2 L 2 -convergence. The more regular the assumption on this convergence, the less restrictive the resulting distributional distance. Note that the first two are conditional on ( Y , Z ) (Y,Z) ( Y , Z ) , while the last one, which is the most standard, is L 2 L_2 L 2 -convergence specifying an explicit convergence rate.
We denote by W 1 W_1 W 1 the 1-Wasserstein distance, by d T V d_{\mathrm{TV}} d TV the total variation distance, and by d χ 2 d_{\chi^2} d χ 2 the square root of the chi-squared divergence.
Proposition 4.1 (Double robustness). Let K n ( ⋅ ∣ Z ) K_n(\cdot\mid Z) K n ( ⋅ ∣ Z ) be an F n − 1 \mathcal{F}_{n-1} F n − 1 -measurable estimate of K ( ⋅ ∣ Z ) K(\cdot\mid Z) K ( ⋅ ∣ Z ) , and suppose that, conditionally on ( F n − 1 , Z ) (\mathcal{F}_{n-1},Z) ( F n − 1 , Z ) , the random variables X X X and X ~ n ′ \tilde{X}'_n X ~ n ′ have distributions K ( ⋅ ∣ Z ) K(\cdot\mid Z) K ( ⋅ ∣ Z ) and K n ( ⋅ ∣ Z ) K_n(\cdot\mid Z) K n ( ⋅ ∣ Z ) , respectively. Then the following hold.
(i) Lipschitz convergence. Suppose that, uniformly in z , y z,y z , y , ∣ r n ( x , z , y ) − r n ( x ′ , z , y ) ∣ ≤ b n ( z , y ) ∣ x − x ′ ∣ |r_n(x,z,y)-r_n(x',z,y)|\le b_n(z,y)|x-x'| ∣ r n ( x , z , y ) − r n ( x ′ , z , y ) ∣ ≤ b n ( z , y ) ∣ x − x ′ ∣ for some b n b_n b n . Define a n ( Z ) : = W 1 ( K n ( ⋅ ∣ Z ) , K ( ⋅ ∣ Z ) ) a_n(Z):=W_1(K_n(\cdot\mid Z),K(\cdot\mid Z)) a n ( Z ) := W 1 ( K n ( ⋅ ∣ Z ) , K ( ⋅ ∣ Z )) . Then, for every z , y z,y z , y ,
∣ E K n [ r n ( X ~ n , z , y ) ] − E K [ r n ( X , z , y ) ] ∣ ≤ a n b n . \left|\mathbb{E}_{K_n}[r_n(\tilde{X}_n,z,y)]-\mathbb{E}_{K}[r_n(X,z,y)]\right|\le a_nb_n. E K n [ r n ( X ~ n , z , y )] − E K [ r n ( X , z , y )] ≤ a n b n . (ii) Uniform convergence. Suppose that sup x , z , y ∣ r n ( x , z , y ) ∣ ≤ b n ( z , y ) \sup_{x,z,y}|r_n(x,z,y)|\le b_n(z,y) sup x , z , y ∣ r n ( x , z , y ) ∣ ≤ b n ( z , y ) for some b n b_n b n . Define a n ( Z ) : = d T V ( K n ( ⋅ ∣ Z ) , K ( ⋅ ∣ Z ) ) a_n(Z):=d_{\mathrm{TV}}(K_n(\cdot\mid Z),K(\cdot\mid Z)) a n ( Z ) := d TV ( K n ( ⋅ ∣ Z ) , K ( ⋅ ∣ Z )) . Then, for every z , y z,y z , y ,
∣ E K n [ r n ( X ~ n , z , y ) ] − E K [ r n ( X , z , y ) ] ∣ ≤ 2 a n b n . \left|\mathbb{E}_{K_n}[r_n(\tilde{X}_n,z,y)]-\mathbb{E}_{K}[r_n(X,z,y)]\right|\le2a_nb_n. E K n [ r n ( X ~ n , z , y )] − E K [ r n ( X , z , y )] ≤ 2 a n b n . (iii) L 2 L_2 L 2 convergence. Suppose that E K [ r n ( X , Z , Y ) 2 ∣ F n − 1 ] ≤ b n 2 \mathbb{E}_{K}[r_n(X,Z,Y)^2\mid\mathcal{F}_{n-1}]\le b_n^2 E K [ r n ( X , Z , Y ) 2 ∣ F n − 1 ] ≤ b n 2 for some b n b_n b n . Define
a n : = E [ d χ 2 ( K n ( ⋅ ∣ Z ) ∥ K ( ⋅ ∣ Z ) ) 2 ] . a_n:=\sqrt{\mathbb{E}\left[d_{\chi^2}(K_n(\cdot\mid Z)\mathbin\Vert K(\cdot\mid Z))^2\right]}. a n := E [ d χ 2 ( K n ( ⋅ ∣ Z ) ∥ K ( ⋅ ∣ Z ) ) 2 ] . Then
∣ E [ r n ( X ~ n ′ , Z , Y ) − r n ( X , Z , Y ) ] ∣ ≤ a n b n . \left|\mathbb{E}[r_n(\tilde{X}'_n,Z,Y)-r_n(X,Z,Y)]\right|\le a_nb_n. E [ r n ( X ~ n ′ , Z , Y ) − r n ( X , Z , Y )] ≤ a n b n .
Consequently, in all three cases the discrepancy between the two distributions is bounded by a product a n b n a_nb_n a n b n , where a n a_n a n measures the error in estimating the conditional distribution and b n b_n b n measures the remaining X X X -dependence of the fitted model.
Type-I error inflation
For simplicity, we focus on the coin-betting e-value, i.e. on the antisymmetric function g ( a , b ) = a − b g(a,b)=a-b g ( a , b ) = a − b , with a fixed bet fraction λ \lambda λ . Note, however, that under the null, this λ \lambda λ also tends to zero when using standard plug-in estimates, such as the prequential plug-in estimator that we use in practice (also known as the growth-rate-adaptive-to-the-particular-alternative (GRAPA) procedure), or the Krichevsky–Trofimov-type estimator. These estimators achieve a rate of O ( n − 1 / 2 ) O(n^{-1/2}) O ( n − 1/2 ) ; see [26 ] . Thus, in practice we even obtain a kind of triple robustness . Still, to keep the treatment simple, for now we ignore this beneficial effect on the type-I error and treat λ \lambda λ as fixed.
We estimate the type-I error inflation of the practical antisymmetric e-process E ( n ) = ∏ i = 1 n E i E^{(n)}=\prod_{i=1}^{n}E_i E ( n ) = ∏ i = 1 n E i by first computing the inflation of the individual e-values E i E_i E i and then translating it into an inflation of the type-I error.
Theorem 4.2 (Antisymmetric type-I error). *Assume any of the three scenarios from Proposition 4.1 hold. Let a n a_n a n and b n b_n b n be the corresponding distributional and model-convergence rates, and let δ n \delta_n δ n denote the corresponding failure probability Δ n \Delta_n Δ n . Then, for P ∈ P K X -CI \mathbb{P}\in\mathcal{P}^{X\text{-CI}}_K P ∈ P K X -CI ,$
E P [ E n 1 A n ∣ F n − 1 ] ≤ 1 + λ a n b n . \mathbb{E}_{\mathbb{P}}[E_n\mathbf{1}_{A_n}\mid\mathcal{F}_{n-1}]\le1+\lambda a_nb_n. E P [ E n 1 A n ∣ F n − 1 ] ≤ 1 + λ a n b n . Consequently,
P ( sup 1 ≤ n ≤ N E ( n ) ≥ 1 α ) − α ≤ ∑ n = 1 N δ n + α [ exp ( λ ∑ n = 1 N a n b n ) − 1 ] . \mathbb{P}\left(\sup_{1\le n\le N}E^{(n)}\ge\frac{1}{\alpha}\right)-\alpha
\le\sum_{n=1}^{N}\delta_n+\alpha\left[\exp\left(\lambda\sum_{n=1}^{N}a_nb_n\right)-1\right]. P ( 1 ≤ n ≤ N sup E ( n ) ≥ α 1 ) − α ≤ n = 1 ∑ N δ n + α [ exp ( λ n = 1 ∑ N a n b n ) − 1 ] .
Note that we do not require the model to exactly satisfy the assumptions underlying its convergence; it suffices for these assumptions to hold with high probability 1 − δ n 1-\delta_n 1 − δ n . Also, in the first two cases, a n b n a_nb_n a n b n corresponds to the expectations of those given in Proposition 4.1. Then, when ∑ n = 1 N a n b n \sum_{n=1}^{N}a_nb_n ∑ n = 1 N a n b n is small enough, we have
exp ( ∑ n = 1 N a n b n ) − 1 = O ( ∑ n = 1 N a n b n ) , \exp\left(\sum_{n=1}^{N}a_nb_n\right)-1=O\left(\sum_{n=1}^{N}a_nb_n\right), exp ( n = 1 ∑ N a n b n ) − 1 = O ( n = 1 ∑ N a n b n ) ,
and hence the type-I error inflation is controlled by
P ( sup 1 ≤ n ≤ N E ( n ) ≥ 1 α ) − α = O ( ∑ n = 1 N δ n + α ∑ n = 1 N a n b n ) , \mathbb{P}\left(\sup_{1\le n\le N}E^{(n)}\ge\frac{1}{\alpha}\right)-\alpha
=O\left(\sum_{n=1}^{N}\delta_n+\alpha\sum_{n=1}^{N}a_nb_n\right), P ( 1 ≤ n ≤ N sup E ( n ) ≥ α 1 ) − α = O ( n = 1 ∑ N δ n + α n = 1 ∑ N a n b n ) ,
the cumulative probability of the approximation events failing and the cumulative inflation of the e-process.
In short, contrary to the previous bounds, which only rely on the convergence of the conditional distribution, our approach also captures the convergence of the model. For example, consider the Gaussian linear setting with quadratic loss. Previous total variation bounds would only capture the n − 1 / 2 n^{-1/2} n − 1/2 decay resulting from the convergence of the estimated distribution (Berrett et al. (2019)). In contrast, using our technique to study the inflation of the e-value, we can invoke Lemma 3.10 of Reyero-Lobo et al. [19 ] to obtain a decay rate of n − 2 n^{-2} n − 2 . Finally, by incorporating the convergence rate of λ ^ \hat{\lambda} λ ^ , we could obtain a rate of n − 5 / 2 n^{-5/2} n − 5/2 , substantially improving the safety guarantees.
Experiments
We verify our power results on the HIV dataset considered by Shaer et al. [22 ] . We study the evidence against three features that they deemed representative of different effects on drug resistance. In Figure 3 , we compare the exponential e-values with the antisymmetric e-values using different g g g -functions; see Table 2 in the appendix for an explicit expression. See also Appendix § 14 .§ 5 for further details on the implementation and the dataset. We observe that none of the e-processes rejects for the null mutation, which shows robustness to violations of the model-X assumption. For the small effect, the exponential e-process is not able to reject, and even for the large effect it has the slowest growth rate, which shows that the approximation error is not negligible.
Figure 3. HIV dataset: Evidence collected against the null (effect on drug resistance) for three different HIV mutations. On the left, for an unimportant mutation, none of the e-processes reject. In the center, for a small signal, most antisymmetric e-processes reject the null and outperform the exponential, which does not reject. On the right, in a large signal regime all the e-processes reject the null.
Table 2. Summary of the considered e-values using as statistics T , T ~ T,\tilde T T , T ~ the losses l ≔ l ( m ( X , Z ) , Y ) l \coloneqq l(m(X,Z),Y) l : = l ( m ( X , Z ) , Y ) and l ~ ≔ l ( m ( X ~ , Z ) , Y ) \tilde l \coloneqq l(m(\tilde X,Z),Y) l ~ : = l ( m ( X ~ , Z ) , Y )
We have also reproduced the simulated data experiment from Shaer et al. [22 ] in Appendix § 14 .§ 4 , and we have verified the triple robustness result in Appendix § 14 .§ 6 . The results show that the three estimates indeed converge to the true quantities, so that the e-process remains almost constant under the null and does not reject. Finally, in Appendix § 14 .7 we further discuss and simulate the effects of derandomization.
All code is available at https://github.com/Antares01/sequential_ml_testing.
Discussion
In this work we studied how to accommodate ML models in sequential testing through e-values. We first proposed a natural way to estimate the GRO using the exponential e-value. Due to density misspecification, this induces an approximation error, and there is also an estimation error within this exponential class, which is adapted to the exchangeability null, a much larger null hypothesis, and thereby introduces a null enlargement error. This error decomposition accounts for the fact that estimating the point alternative is not straightforward. This analysis is essential not only to better understand the behavior of both classes in practice and to compare them, but also to formally explore intermediate null hypotheses, so as to generate e-values with a lower null enlargement error by taking better advantage of the inner structure of the model-X conditional independence null.
This has great applicability because in the sequential world it is possible to successively select a mixture of tests using the previous data points. The approximation/null enlargement weighting can be data-driven and dynamic over time. For instance, while using coin-betting from an initial point may be a good idea, since only λ \lambda λ needs to be estimated and thus the estimation error may be low, once more data is acquired, a more accurate estimate of the density e-value is obtained, yielding larger power than coin-betting, and one is then able to iteratively shift more weight toward the latter in the mixture, reducing the null enlargement error. Practically studying how to effectively instantiate this mixture, taking into account the intermediate null hypotheses, GRO e-values, and model training, is important future work.
Finally, challenging the model-X assumption is very relevant in practice. In the proposed new analysis, we have first been able to use the tool of approximate e-values to study the inflation of the e-value, and we have then also taken into account the structure of the statistic to exploit double robustness properties, thereby providing a more reliable tool for sequential testing using ML.
AI use statement
In this work, we used generative AI tools to assist in the writing of proofs, implement methods and assist with translation. We have not used generative AI tools to generate synthetic data sets, help develop theoretical models or conceptual frameworks, formulate mathematical claims, provide critical ingredients for proving mathematical claims, propose or refine hypotheses and interpret results. Design or provide feedback on research methodology or experiments, clean and reformat dataset and support qualitative and thematic data analysis are not applicable to this work. We have re-viewed all AI-assisted work: LLM-generated code was verified and tested for correctness by the authors and all LLM-assisted proofs were checked line by line by the authors. We take responsibility for the final content of this work, including text, claims, or artifacts produced with the aid of generative AI.
Acknowledgements
This project has received funding from the European Union’s Horizon Europe research and innovation programme under grant agreement No 101120237 (ELIAS); from state aid managed by the Agence Nationale de la Recherche under grant ANR-23-CE23-0016 and under grant ANR-18-EURE-0023 EUR MINT. It is partially funded by the European Union via ERC Advanced Project 101142168 FLEX. 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
10618600.2021.1923520. URL https://doi.org/10.1080/10618600.2021.1923520.
Checklist
For all models and algorithms presented, check if you include:
(a) A clear description of the mathematical setting, assumptions, algorithm, and/or model. [Yes]
(b) An analysis of the properties and complexity (time, space, sample size) of any algorithm. [Yes]
(c) (Optional) Anonymized source code, with specification of all dependencies, including external libraries. [Yes]
For any theoretical claim, check if you include:
(a) Statements of the full set of assumptions of all theoretical results. [Yes]
(b) Complete proofs of all theoretical results. [Yes]
(c) Clear explanations of any assumptions. [Yes]
For all figures and tables that present empirical results, check if you include:
(a) The code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL). [Yes]
(b) All the training details (e.g., data splits, hyperparameters, how they were chosen). [Yes]
(c) A clear definition of the specific measure or statistics and error bars (e.g., with respect to the random seed after running experiments multiple times). [Yes]
(d) A description of the computing infrastructure used. (e.g., type of GPUs, internal cluster, or cloud provider). [Not Applicable]
If you are using existing assets (e.g., code, data, models) or curating/releasing new assets, check if you include:
(a) Citations of the creator If your work uses existing assets. [Yes]
(b) The license information of the assets, if applicable. [Not Applicable]
(c) New assets either in the supplemental material or as a URL, if applicable. [Not Applicable]
(d) Information about consent from data providers/curators. [Not Applicable]
(e) Discussion of sensible content if applicable, e.g., personally identifiable information or offensive content. [Not Applicable]
If you used crowdsourcing or conducted research with human subjects, check if you include:
(a) The full text of instructions given to participants and screenshots. [Not Applicable]
(b) Descriptions of potential participant risks, with links to Institutional Review Board (IRB) approvals if applicable. [Not Applicable]
(c) The estimated hourly wage paid to participants and the total amount spent on participant compensation. [Not Applicable]
Algorithms
In this section we present the general algorithms, which are agnostic to how the model is retrained: they accommodate any machine learning model, which can be updated either completely from scratch or online for speed. They work for any classification or regression task for which a loss measuring performance can be provided. Similarly, the 2-Exchangeability GRO e-value can accommodate any kernel density estimate. Thus, the procedures are flexible enough for many different settings.
Exponential e-process
Algorithm 1 Sequential Exponential Estimation Procedure
Input: Initial estimator ( m ^ 1 , η ^ 1 ) (\widehat{m}_1,\widehat{\eta}_1) ( m 1 , η 1 ) from pretraining
Set E 0 ← 1 E_0 \leftarrow1 E 0 ← 1
for i = 1 , 2 , … , τ i = 1, 2, \ldots, \tau i = 1 , 2 , … , τ do
Sample ( X i , Z i , Y i ) (X_i,Z_i,Y_i) ( X i , Z i , Y i ) .
Compute
E e x p , i : = exp ( − η ^ i ( Y i , Z i ) l ( m ^ i ( X i , Z i ) , Y i ) ) E X ~ ∣ Z i [ exp ( − η ^ i ( Y i , Z i ) l ( m ^ i ( X ~ , Z i ) , Y i ) ) ] . E_{\mathrm{exp},i}:=
\frac{\exp\left(-\widehat{\eta}_i(Y_i,Z_i)l\left(\widehat{m}_i(X_i,Z_i),Y_i\right)\right)}
{\mathbb{E}_{\widetilde{X}\mid Z_i}\left[\exp\left(-\widehat{\eta}_i(Y_i,Z_i)l\left(\widehat{m}_i(\widetilde{X},Z_i),Y_i\right)\right)\right]}. E exp , i := E X ∣ Z i [ exp ( − η i ( Y i , Z i ) l ( m i ( X , Z i ) , Y i ) ) ] exp ( − η i ( Y i , Z i ) l ( m i ( X i , Z i ) , Y i ) ) .
Update ( m ^ i + 1 , η ^ i + 1 ) (\widehat{m}_{i+1},\widehat{\eta}_{i+1}) ( m i + 1 , η i + 1 ) using the data
[ i ] = { ( X j , Z j , Y j ) } j = 1 i . [i]=\left\{(X_j,Z_j,Y_j)\right\}_{j=1}^{i}. [ i ] = { ( X j , Z j , Y j ) } j = 1 i .
end for
Return
∏ i = 1 τ E e x p , i . \prod_{i=1}^{\tau} E_{\mathrm{exp},i}. i = 1 ∏ τ E exp , i .
The stopping time τ \tau τ is left unspecified because the guarantees allow for optional stopping, and therefore for choosing a different stopping time depending on the particular experiment, for example if the researcher obtains more funding or if it is suddenly forced to stop (Grünwald et al. (2024a)). However, a standard choice consists of stopping as soon as the process reaches the desired threshold of 1 / α 1/\alpha 1/ α .
Note that, in practice, one simple — although computationally expensive — way to update the model is to retrain it from scratch using the extended training dataset containing the newly observed point. However, this can be prohibitively intensive, and lighter alternatives are available, such as updating the existing model through stochastic gradient descent (SGD).
Regarding the choice of the optimal η \eta η , although it may in principle depend on ( Z , Y ) (Z,Y) ( Z , Y ) (see Lemma D.1 ) and therefore be σ ( Z , Y ) \sigma(Z,Y) σ ( Z , Y ) -measurable, allowing for such flexibility considerably increases the complexity of the learning problem. In practice, we therefore typically restrict ourselves to constant values of η \eta η . For instance, η \eta η can be learned in a prequential fashion by maximizing the empirical past log-growth:
η ^ i = argmax η ∈ R ∑ k = 1 i log ( e − η l ( m ^ k ( X k , Z k ) , Y k ) E X ~ ∣ Z k [ e − η l ( m ^ k ( X ~ , Z k ) , Y k ) ] ) . (9) \widehat{\eta}_i=\underset{\eta\in\mathbb{R}}{\operatorname{argmax}}\sum_{k=1}^{i}\log\left(\frac{e^{-\eta l(\widehat{m}_k(X_k,Z_k),Y_k)}}{\mathbb{E}_{\widetilde{X}\mid Z_k}\left[e^{-\eta l(\widehat{m}_k(\widetilde{X},Z_k),Y_k)}\right]}\right). \tag*{(9)} η i = η ∈ R argmax k = 1 ∑ i log E X ∣ Z k [ e − η l ( m k ( X , Z k ) , Y k ) ] e − η l ( m k ( X k , Z k ) , Y k ) . (9)
In practice this can be easily done with a grid of possible η \eta η s. Otherwise, it is possible to do a mixture instead of this plug-in estimate.
Standard coin-betting and coin-betting with unbounded losses
Coin-betting e-value algorithm consists of replacing Step 2 from Algorithm 1 with
E c b , i : = 1 + λ ^ i ( E X ~ ∣ Z i [ l ( m ^ i ( X ~ , Z i ) , Y i ) ] − l ( m ^ i ( X i , Z i ) , Y i ) ) . E_{\mathrm{cb},i} := 1 + \hat{\lambda}_i \left(\mathbb{E}_{\widetilde{X}\mid Z_i}\left[l(\hat{m}_i(\widetilde{X},Z_i),Y_i)\right] - l(\hat{m}_i(X_i,Z_i),Y_i)\right). E cb , i := 1 + λ ^ i ( E X ∣ Z i [ l ( m ^ i ( X , Z i ) , Y i ) ] − l ( m ^ i ( X i , Z i ) , Y i ) ) .
where λ ^ i \hat{\lambda}_i λ ^ i can also be learnt prequentially via
λ ^ i = argmax λ ∈ [ 0 , 1 / M ] ∑ k = 1 i log ( 1 + λ ( E X ~ ∣ Z k [ l ( m ^ k ( X ~ , Z k ) , Y k ) ] − l ( m ^ k ( X k , Z k ) , Y k ) ) ) . (10) \hat{\lambda}_i = \underset{\lambda\in[0,1/M]}{\operatorname{argmax}} \sum_{k=1}^{i} \log\left(1+\lambda\left(\mathbb{E}_{\widetilde{X}\mid Z_k}\left[l(\hat{m}_k(\widetilde{X},Z_k),Y_k)\right]-l(\hat{m}_k(X_k,Z_k),Y_k)\right)\right). \tag*{(10)} λ ^ i = λ ∈ [ 0 , 1/ M ] argmax k = 1 ∑ i log ( 1 + λ ( E X ∣ Z k [ l ( m ^ k ( X , Z k ) , Y k ) ] − l ( m ^ k ( X k , Z k ) , Y k ) ) ) . (10)
assuming that the loss is bounded by M M M .
However, even if the loss is bounded, its bounds may be unknown a priori . Therefore, we can introduce a constant M M M to control the loss:
E c b λ , M = 1 + λ 1 M ( − l ( m ^ ( X , Z ) , Y ) ∧ M + E X ~ ∣ Z [ l ( m ^ ( X ~ , Z ) , Y ) ∧ M ] ) . (11) E_{\mathrm{cb}}^{\lambda,M} = 1 + \lambda\frac{1}{M}\left(-l(\hat{m}(X,Z),Y)\wedge M+\mathbb{E}_{\widetilde{X}\mid Z}\left[l(\hat{m}(\widetilde{X},Z),Y)\wedge M\right]\right). \tag*{(11)} E cb λ , M = 1 + λ M 1 ( − l ( m ^ ( X , Z ) , Y ) ∧ M + E X ∣ Z [ l ( m ^ ( X , Z ) , Y ) ∧ M ] ) . (11)
By doing so, we can apply this coin-betting e-variable even when the loss is not inherently bounded.
Moreover, the parameter M M M , similarly to λ \lambda λ , can be learned in a prequential manner from past data. Specifically,
( λ ^ n , M ^ n ) : = argmax ( λ , M ) ∈ [ 0 , 1 ] × R + ∏ i = 1 n − 1 ( 1 + λ 1 M ( − l ( m ^ i ( X i , Z i ) , Y i ) ∧ M + E X ~ i ∣ Z i [ l ( m ^ i ( X ~ i , Z i ) , Y i ) ∧ M ] ) ) . (\hat{\lambda}_n,\hat{M}_n) := \underset{(\lambda,M)\in[0,1]\times\mathbb{R}_+}{\operatorname{argmax}} \prod_{i=1}^{n-1}\left(1+\lambda\frac{1}{M}\left(-l(\hat{m}_i(X_i,Z_i),Y_i)\wedge M+\mathbb{E}_{\widetilde{X}_i\mid Z_i}\left[l(\hat{m}_i(\widetilde{X}_i,Z_i),Y_i)\wedge M\right]\right)\right). ( λ ^ n , M ^ n ) := ( λ , M ) ∈ [ 0 , 1 ] × R + argmax i = 1 ∏ n − 1 ( 1 + λ M 1 ( − l ( m ^ i ( X i , Z i ) , Y i ) ∧ M + E X i ∣ Z i [ l ( m ^ i ( X i , Z i ) , Y i ) ∧ M ] ) ) .
Alternatively, since the main requirement is to ensure that the e-value remains nonnegative, we can directly clip the difference both from above and below. This yields
E c b = 1 + λ 1 M ( ( − l ( m ^ ( X , Z ) , Y ) + l ( m ^ ( X ~ , Z ) , Y ) ) ∧ M ) ∨ ( − M ) . (12) E_{\mathrm{cb}} = 1+\lambda\frac{1}{M}\left(\left(-l(\hat{m}(X,Z),Y)+l(\hat{m}(\widetilde{X},Z),Y)\right)\wedge M\right)\vee(-M). \tag*{(12)} E cb = 1 + λ M 1 ( ( − l ( m ^ ( X , Z ) , Y ) + l ( m ^ ( X , Z ) , Y ) ) ∧ M ) ∨ ( − M ) . (12)
Note that this bounded coin-betting is indeed a generalization of the sign e-value considered in Shaer et al. [22 ] , given by 1 + λ sign ( l ( m ^ ( X ~ , Z ) , Y ) − l ( m ^ ( X , Z ) , Y ) ) 1+\lambda\operatorname{sign}\left(l(\hat{m}(\widetilde{X},Z),Y)-l(\hat{m}(X,Z),Y)\right) 1 + λ sign ( l ( m ^ ( X , Z ) , Y ) − l ( m ^ ( X , Z ) , Y ) ) (see also Section E.3), since by taking M M M to 0, we observe that the magnitude is completely lost and only the sign of the difference is preserved.
Finally, we can apply Rao–Blackwellization to remove the randomness due to X ~ \widetilde{X} X by taking conditional expectations.
2-Exchangeability GRO
Algorithm 2 Sequential 2-Exchangeability GRO Procedure
Input: Initial estimator ( m ^ 1 , η ^ 1 , f ^ T , T ~ , 1 ) (\widehat{m}_1,\widehat{\eta}_1,\widehat{f}_{T,\widetilde{T},1}) ( m 1 , η 1 , f T , T , 1 )
Set E 0 ← 1 E_0 \leftarrow1 E 0 ← 1
for i = 1 , 2 , … , τ i=1,2,\ldots,\tau i = 1 , 2 , … , τ do
Sample ( X i , Z i , Y i ) (X_i,Z_i,Y_i) ( X i , Z i , Y i ) .
Compute t i = l ( m ^ i ( X i , Z i ) , Y i ) t_i=l(\widehat{m}_i(X_i,Z_i),Y_i) t i = l ( m i ( X i , Z i ) , Y i ) and t ~ i = l ( m ^ i ( X ~ , Z i ) , Y i ) \widetilde{t}_i=l\left(\widehat{m}_i(\widetilde{X},Z_i),Y_i\right) t i = l ( m i ( X , Z i ) , Y i ) .
Compute
E i e x c h : = E X ~ ∣ Z [ f ^ T , T ~ , i ( t i , t ~ i ) 1 2 ( f ^ T , T ~ , i ( t i , t ~ i ) + f ^ T , T ~ , i ( t ~ i , t i ) ) ] E_i^{\mathrm{exch}}:=\mathbb{E}_{\widetilde{X}\mid Z}\left[\frac{\widehat{f}_{T,\widetilde{T},i}(t_i,\widetilde{t}_i)}{\frac{1}{2}\left(\widehat{f}_{T,\widetilde{T},i}(t_i,\widetilde{t}_i)+\widehat{f}_{T,\widetilde{T},i}(\widetilde{t}_i,t_i)\right)}\right] E i exch := E X ∣ Z 2 1 ( f T , T , i ( t i , t i ) + f T , T , i ( t i , t i ) ) f T , T , i ( t i , t i )
Update ( m ^ i + 1 ) (\widehat{m}_{i+1}) ( m i + 1 ) using the data [ i ] = { ( X j , Z j , Y j ) } j = 1 i [i]=\{(X_j,Z_j,Y_j)\}_{j=1}^{i} [ i ] = {( X j , Z j , Y j ) } j = 1 i and update f ^ T , T ~ , i + 1 \widehat{f}_{T,\widetilde{T},i+1} f T , T , i + 1 using { ( t j , t ~ j ) } j = 1 i \{(t_j,\widetilde{t}_j)\}_{j=1}^{i} {( t j , t j ) } j = 1 i .
end for
Return
∏ i = 1 τ E i e x c h . \prod_{i=1}^{\tau}E_i^{\mathrm{exch}}. i = 1 ∏ τ E i exch .
In Algorithm 2 we provide a general implementation without specifying the kernel estimate. Note that there are several possible ways to implement this e-process, and exploring these alternatives is an interesting direction for future work. In particular, the ML model is updated sequentially, so the distribution of the importance statistics may evolve over time. Consequently, it may be advantageous for the density estimator to gradually forget older observations and place greater emphasis on more recent ones. This can be achieved, for example, by using a sliding-window approach or by assigning exponentially decaying (or otherwise adaptive) weights to past observations, thereby allowing the estimated density to better track changes in the distribution of the importance statistics. Note also that it is optimized without taking the derandomization into account, and therefore loses a lot of power compared to the other antisymmetric e-values (see Appendix § 14 .7 and Table 3 ). Thus, one idea would be to select a parametric model for the kernel density estimation and to optimize its parameters prequentially, like the parameter λ \lambda λ of the coin-betting, rather than nonparametrically with the previous losses.
Table 3. E-power under the alternative, before (B = 1 B = 1 B = 1 ) and after derandomizing over B = 20 B = 20 B = 20 draws of X ~ \widetilde{X} X . Frozen keeps the parameters tuned at B = 1 B = 1 B = 1 ; re-tuned re-tunes them at B = 20 B = 20 B = 20 . GRO has no parameters, so its frozen and re-tuned values coincide; both GRO versions are identical and shown once. Gains are relative to each e-variable’s own B = 1 B = 1 B = 1 e-power. Parameters are tuned on a separate pretraining sample (50,000) and e-power is measured on an independent sample (n = 20,000 n = 20{,}000 n = 20 , 000 ); entries are means over 10 seeds, with standard errors of at most 0.0013 for e-powers, 4.6 percentage points for gains, 0.01 for λ ∗ \lambda^{*} λ ∗ and 0.07 for M ∗ M^{*} M ∗ . Bold: best e-power in each setting at B = 1 B = 1 B = 1 and at B = 20 B = 20 B = 20 .
In addition, similarly to the antisymmetric e-variables, we have also derandomized the e-value by averaging over the dummy variable X ~ \widetilde{X} X .
Derandomization in practice. In all these algorithms, even if the kernel is known, the conditional expectation usually needs to be estimated. To do so, we can simply average over many resamplings from the conditional distribution. In the exponential e-variable (Algorithm 1), we also need to include the original X X X in the average in order to retain type-I error control, as done in Grünwald et al. (2024b).
Conditional density estimation. If the kernel is unknown and needs to be estimated, as discussed in § 4 , we can also do so sequentially using the previous data. Thus, in the step where the model and the parameters of the e-value are updated, we would add an update of K i + 1 K_{i+1} K i + 1 using { ( X l , Z l ) } l = 1 i \{(X_l,Z_l)\}_{l=1}^{i} {( X l , Z l ) } l = 1 i . In Appendix E.1 we further discuss how we have implemented this conditional estimation in practice.
Intermediate Null Hypotheses
The aim of this section is to build a conceptual bridge between the model-X CI null (Grünwald et al., 2024b) and a larger null hypothesis that is implicitly being tested by e-variables from Shaer et al. [22 ] . It is then a detailed and extended version of § 3.3 . We do so by providing a detailed analysis of several null hypotheses and corresponding GRO e-variables that lie “in between”, as shown in Table 1 .
The X-CI null. The model-X conditional independence null hypothesis for a single datapoint was originally defined as:
P K X − C I = { P ( X , Y , Z ) : X ⊥ ⊥ Y ∣ Z , P ( X ∣ Z ) ∼ K Z } \mathcal{P}^{\mathrm{X-CI}}_{K}=\left\{P(X,Y,Z):X\perp\!\!\!\perp Y\mid Z,\ P(X\mid Z)\sim K_Z\right\} P K X − CI = { P ( X , Y , Z ) : X ⊥ ⊥ Y ∣ Z , P ( X ∣ Z ) ∼ K Z }
An alternative representation of the same null can be obtained by making use of an additional, dummy variable X ~ \widetilde{X} X conditionally sampled from K Z K_Z K Z and independently of ( X , Y ) (X,Y) ( X , Y ) .
Proposition B.1. P K X − C I \mathcal{P}^{\mathrm{X-CI}}_{K} P K X − CI is equivalent to the hypothesis
{ P ( X ~ , X , Y , Z ) : ( X ~ , X , Y , Z ) = d ( X , X ~ , Y , Z ) , P ( X ~ ∣ X , Y , Z ) ∼ K Z } (13) \left\{P(\widetilde{X},X,Y,Z):(\widetilde{X},X,Y,Z)\overset{d}{=}(X,\widetilde{X},Y,Z),\ P(\widetilde{X}\mid X,Y,Z)\sim K_Z\right\} \tag*{(13)} { P ( X , X , Y , Z ) : ( X , X , Y , Z ) = d ( X , X , Y , Z ) , P ( X ∣ X , Y , Z ) ∼ K Z } (13)
in the sense that any distribution P ( X , Y , Z ) ∈ P K X − C I P(X,Y,Z)\in\mathcal{P}^{\mathrm{X-CI}}_{K} P ( X , Y , Z ) ∈ P K X − CI can be extended to an element of (13) by adding the additional variable X ~ \widetilde{X} X distributed as K Z K_Z K Z given ( X , Y , Z ) (X,Y,Z) ( X , Y , Z ) , and conversely, any distribution P ( X ~ , X , Y , Z ) P(\widetilde{X},X,Y,Z) P ( X , X , Y , Z ) in (13) has an ( X , Y , Z ) (X,Y,Z) ( X , Y , Z ) -marginal that belongs to P K X − C I \mathcal{P}^{\mathrm{X-CI}}_{K} P K X − CI .
This, seemingly unnecessary, extension allows us to represent the conditional independence testing problem as one of testing conditional exchangeability , making the comparison with the setting of Shaer et al. [22 ] more natural. From now on, we make no distinction between P K X − C I \mathcal{P}^{\mathrm{X-CI}}_{K} P K X − CI and (13).
Note that X ~ \widetilde{X} X is indeed a dummy variable. The same ( X , Y , Z ) (X,Y,Z) ( X , Y , Z ) -conditional distribution will always be assumed under the alternative hypothesis, meaning that the statistic ( X , Y , Z ) (X,Y,Z) ( X , Y , Z ) is sufficient for both null and alternative hypotheses, and thus X ~ \widetilde{X} X will never appear as an argument in an optimal test (in the Neyman-Pearson or the e-power sense).
The GRO e-variable for testing the MX null against any point alternative Q Q Q with Q ( X ∣ Z ) = K Z Q(X|Z)=K_Z Q ( X ∣ Z ) = K Z can now be represented in several equivalent ways. Assume that f X ~ , X , Y , Z f_{\widetilde{X},X,Y,Z} f X , X , Y , Z is the probability density function of the joint distribution of the data under the alternative:
E X -CI ( x , y , z ) = f Y ∣ X , Z ( y ∣ x , z ) f Y ∣ Z ( y ∣ z ) = f X ∣ Y , Z ( x ∣ y , z ) f X ∣ Z ( x ∣ z ) = f X ∣ Y , Z ( x ∣ y , z ) f X ~ ∣ Y , Z ( x ∣ y , z ) E^{X\text{-CI}}(x,y,z)=\frac{f_{Y|X,Z}(y|x,z)}{f_{Y|Z}(y|z)}=\frac{f_{X|Y,Z}(x|y,z)}{f_{X|Z}(x|z)}=\frac{f_{X|Y,Z}(x|y,z)}{f_{\widetilde{X}|Y,Z}(x|y,z)} E X -CI ( x , y , z ) = f Y ∣ Z ( y ∣ z ) f Y ∣ X , Z ( y ∣ x , z ) = f X ∣ Z ( x ∣ z ) f X ∣ Y , Z ( x ∣ y , z ) = f X ∣ Y , Z ( x ∣ y , z ) f X ∣ Y , Z ( x ∣ y , z )
are equivalent ways to represent the GRO e-variable.
What all these representations have in common is that in order to use the statistic for testing in practice, one of the conditional densities f Y ∣ X , Z f_{Y|X,Z} f Y ∣ X , Z or f X ∣ Y , Z f_{X|Y,Z} f X ∣ Y , Z has to be estimated, which can be hard. To alleviate this task, one could focus on an importance statistic T T T , i.e. a function of the data triplet ( X , Y , Z ) (X,Y,Z) ( X , Y , Z ) whose conditional distribution could be easier to estimate than that of X X X given Y , Z Y,Z Y , Z . For example, fix T = l ( m ^ ( X , Z ) , Y ) T=l(\widehat{m}(X,Z),Y) T = l ( m ( X , Z ) , Y ) , T ~ = l ( m ^ ( X ~ , Z ) , Y ) \widetilde{T}=l(\widehat{m}(\widetilde{X},Z),Y) T = l ( m ( X , Z ) , Y ) .
The PFX-CI null. Thus, based on the importance statistic, we can formulate a new, push-forward model-X conditional independence null hypothesis:
P K # P F X - C I = { P ( T ~ , T , Y , Z ) : ( T ~ , T , Y , Z ) = d ( T , T ~ , Y , Z ) , P ( T ~ ∣ T , Y , Z ) ∼ K Y , Z # } , \mathcal{P}^{\mathrm{PFX\text{-}CI}}_{K^\#}=\left\{P(\widetilde{T},T,Y,Z):(\widetilde{T},T,Y,Z)\mathrel{\overset{d}{=}}(T,\widetilde{T},Y,Z),\ P(\widetilde{T}|T,Y,Z)\sim K^\#_{Y,Z}\right\}, P K # PFX - CI = { P ( T , T , Y , Z ) : ( T , T , Y , Z ) = d ( T , T , Y , Z ) , P ( T ∣ T , Y , Z ) ∼ K Y , Z # } ,
where K y , z # K^\#_{y,z} K y , z # is the push-forward distribution T ~ ∣ Y = y , Z = z \widetilde{T}|Y=y,Z=z T ∣ Y = y , Z = z . The growth-rate optimal e-variable for this null is given by the conditional likelihood ratio:
E P F X - C I ( t , y , z ) = f T ∣ Y , Z ( t ∣ y , z ) f T ~ ∣ Y , Z ( t ∣ y , z ) , E^{\mathrm{PFX\text{-}CI}}(t,y,z)=\frac{f_{T|Y,Z}(t|y,z)}{f_{\widetilde{T}|Y,Z}(t|y,z)}, E PFX - CI ( t , y , z ) = f T ∣ Y , Z ( t ∣ y , z ) f T ∣ Y , Z ( t ∣ y , z ) ,
similar the third representation of E X -CI E^{X\text{-CI}} E X -CI .
The e-power of E P F X - C I E^{\mathrm{PFX\text{-}CI}} E PFX - CI is upper bounded by that of E X -CI E^{X\text{-CI}} E X -CI , which is given by the conditional mutual information I ( X ; Y ∣ Z ) I(X;Y|Z) I ( X ; Y ∣ Z ) between X X X and Y Y Y given Z Z Z :
E Y , Z [ D K L ( Q ( T ∣ Y , Z ) ∥ Q ( T ~ ∣ Y , Z ) ) ] ≤ E Y , Z [ D K L ( Q ( X ∣ Y , Z ) ∥ Q ( X ~ ∣ Y , Z ) ) ] = d e f I Q ( X ; Y ∣ Z ) . \mathbb{E}_{Y,Z}\left[D_{\mathrm{KL}}\left(Q(T|Y,Z)\mathbin\Vert Q(\widetilde{T}|Y,Z)\right)\right]\leq\mathbb{E}_{Y,Z}\left[D_{\mathrm{KL}}\left(Q(X|Y,Z)\mathbin\Vert Q(\widetilde{X}|Y,Z)\right)\right]\mathrel{\overset{\mathrm{def}}{=}}I_Q(X;Y|Z). E Y , Z [ D KL ( Q ( T ∣ Y , Z ) ∥ Q ( T ∣ Y , Z ) ) ] ≤ E Y , Z [ D KL ( Q ( X ∣ Y , Z ) ∥ Q ( X ∣ Y , Z ) ) ] = def I Q ( X ; Y ∣ Z ) .
This power gap represents the coarsening error , and is a consequence of the data-processing inequality:
D K L ( Q ( T ∣ Y = y , Z = z ) ∥ Q ( T ~ ∣ Y = y , Z = z ) ) ≤ D K L ( Q ( X ∣ Y = y , Z = z ) ∥ Q ( X ~ ∣ Y = y , Z = z ) ) ∀ y , z . D_{\mathrm{KL}}\left(Q(T|Y=y,Z=z)\mathbin\Vert Q(\widetilde{T}|Y=y,Z=z)\right)\leq D_{\mathrm{KL}}\left(Q(X|Y=y,Z=z)\mathbin\Vert Q(\widetilde{X}|Y=y,Z=z)\right)\quad\forall y,z. D KL ( Q ( T ∣ Y = y , Z = z ) ∥ Q ( T ∣ Y = y , Z = z ) ) ≤ D KL ( Q ( X ∣ Y = y , Z = z ) ∥ Q ( X ∣ Y = y , Z = z ) ) ∀ y , z .
In a practical setting, an e-power increase could come from adequate importance statistics choices, which could make learning the true conditional density f T ∣ Y , Z f_{T|Y,Z} f T ∣ Y , Z easier than learning f X ∣ Y , Z f_{X|Y,Z} f X ∣ Y , Z or f Y ∣ X , Z f_{Y|X,Z} f Y ∣ X , Z from the data, thus lowering the approximation and estimation errors.
The B B B -conditional exchangeability nulls. As we have seen in previous work [22 ] , the model-X kernel K K K can be used to generate a finite number B B B of X ~ \widetilde{X} X samples, making antisymmetric e-variables practically applicable and yielding a monotonic e-power increase as B B B grows (see Proposition D.4). Any e-variable of that form is necessarily weaker than the limiting – Rao-Blackwellized e-variable – if such an object is well defined, which makes use of infinitely many derandomization samples (B = ∞ B=\infty B = ∞ ). The following family of null hypotheses in our hierarchy and the corresponding GRO e-variables allow for a simple demonstration of this fact. The B B B -conditional exchangeability null is defined as:
P B c o n d e x c h = { P ( T ~ B , T , Y , Z ) : ( T ~ B , T , Y , Z ) = d ( σ ( T ~ B , T ) , Y , Z ) for any permutation σ ∈ S B + 1 } . \mathcal{P}^{\mathrm{cond\ exch}}_B=\left\{P(\widetilde{T}^{B},T,Y,Z):(\widetilde{T}^{B},T,Y,Z)\mathrel{\overset{d}{=}}(\sigma(\widetilde{T}^{B},T),Y,Z)\text{ for any permutation }\sigma\in S_{B+1}\right\}. P B cond exch = { P ( T B , T , Y , Z ) : ( T B , T , Y , Z ) = d ( σ ( T B , T ) , Y , Z ) for any permutation σ ∈ S B + 1 } .
Let the point alternative distribution Q ( T ~ B , T , Y , Z ) Q(\widetilde{T}^{B},T,Y,Z) Q ( T B , T , Y , Z ) again be given by the density function f f f . The GRO e-variable for testing the conditional exchangeability null with B B B derandomization samples is (Proposition D.3 )
E B c o n d e x c h ( t , t ~ B , y , z ) = f T , T ~ B ∣ Y , Z ( t , t ~ B ∣ y , z ) 1 ( B + 1 ) ! ∑ σ f T , T ~ B ∣ Y , Z ( σ ( t , t ~ B ) ∣ y , z ) E_{B}^{\mathrm{cond\ exch}}(t,\widetilde{t}^{B},y,z)=\frac{f_{T,\widetilde{T}^{B}\mid Y,Z}(t,\widetilde{t}^{B}\mid y,z)}{\frac{1}{(B+1)!}\sum_{\sigma}f_{T,\widetilde{T}^{B}\mid Y,Z}(\sigma(t,\widetilde{t}^{B})\mid y,z)} E B cond exch ( t , t B , y , z ) = ( B + 1 )! 1 ∑ σ f T , T B ∣ Y , Z ( σ ( t , t B ) ∣ y , z ) f T , T B ∣ Y , Z ( t , t B ∣ y , z )
which, assuming conditional independence of { T ~ 1 , … , T ~ B , T } \{\widetilde{T}_{1},\ldots,\widetilde{T}_{B},T\} { T 1 , … , T B , T } given ( Y , Z ) (Y,Z) ( Y , Z ) under the alternative, and identical conditional distributions of { T ~ i } \{\widetilde{T}_{i}\} { T i } converges to (see Appendix § 13 .5.4)
f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) \frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)} f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z )
Q Q Q -a.s. Therefore, we recover the GRO e-variable for the push-forward null hypothesis as a limit of GRO e-variables for B B B -conditional exchangeability nulls. In the conditional exchangeability null the model-X assumption completely disappears, and is replaced with B B B samples from the conditional distribution K Y , Z # K_{Y,Z}^{\#} K Y , Z # . Thus, going from the PFX-CI null to the conditional exchangeability null can be viewed as a way of simplifying the testing problem by removing perfect model-X knowledge and replacing it with (many) samples from the kernel. The e-power price that is paid for making this simplification is the randomization error :
E [ ln ( E P F X − C I ) ] − E [ ln ( E B c o n d e x c h ) ] \mathbb{E}[\ln(E^{\mathrm{PFX-CI}})]-\mathbb{E}[\ln(E_{B}^{\mathrm{cond\ exch}})] E [ ln ( E PFX − CI )] − E [ ln ( E B cond exch )]
which is decreasing in B B B and vanishes as B → ∞ B\to\infty B → ∞ (see Proposition D.5).
The B B B -exchangeability nulls. The B B B -exchangeability family of null hypotheses can be viewed as the nulls that were implicitly tested by Shaer et al. [22 ] with their antisymmetric e-variables, whenever they employed derandomization:
P B e x c h = { P ( T ~ B , T ) : ( T ~ B , T ) = σ ( T ~ B , T ) for any permutation σ ∈ S B + 1 } . \mathcal{P}_{B}^{\mathrm{exch}}=\{P(\widetilde{T}^{B},T):(\widetilde{T}^{B},T)=\sigma(\widetilde{T}^{B},T)\text{ for any permutation }\sigma\in S_{B+1}\}. P B exch = { P ( T B , T ) : ( T B , T ) = σ ( T B , T ) for any permutation σ ∈ S B + 1 } .
The difference compared to the conditional exchangeability null is that variables ( Y , Z ) (Y,Z) ( Y , Z ) are treated as latent. Only the importance statistics T , T ~ B T,\widetilde{T}^{B} T , T B are used by the test-statistics, and exchangeability is tested only marginally, i.e. on average over ( Y , Z ) (Y,Z) ( Y , Z ) .
The GRO e-variables for this family are given by
E B e x c h ( t , t ~ B ) = f T , T ~ B ( t , t ~ B ) 1 ( B + 1 ) ! ∑ σ f T , T ~ B ( σ ( t , t ~ B ) ) E_{B}^{\mathrm{exch}}(t,\widetilde{t}^{B})=\frac{f_{T,\widetilde{T}^{B}}(t,\widetilde{t}^{B})}{\frac{1}{(B+1)!}\sum_{\sigma}f_{T,\widetilde{T}^{B}}(\sigma(t,\widetilde{t}^{B}))} E B exch ( t , t B ) = ( B + 1 )! 1 ∑ σ f T , T B ( σ ( t , t B )) f T , T B ( t , t B )
( Y , Z ) (Y,Z) ( Y , Z ) -conditional exchangeability implies marginal exchangeability, meaning that
P B c o n d e x c h ⊂ P B e x c h \mathcal{P}_{B}^{\mathrm{cond\ exch}}\subset\mathcal{P}_{B}^{\mathrm{exch}} P B cond exch ⊂ P B exch
holds if we only focus on the ( T , T ~ B ) (T,\widetilde{T}^{B}) ( T , T B ) -marginals. Therefore, E B e x c h E_{B}^{\mathrm{exch}} E B exch can only have a lower e-power than E B c o n d e x c h E_{B}^{\mathrm{cond\ exch}} E B cond exch .
Using φ ( y , z ) = Q ( T ~ ∣ Y = y , Z = z ) \varphi(y,z)=Q(\widetilde{T}\mid Y=y,Z=z) φ ( y , z ) = Q ( T ∣ Y = y , Z = z ) , evaluated at ( T , T ~ B ) (T,\widetilde{T}^{B}) ( T , T B ) , the e-variable Q Q Q -a.s. converges to
f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z ) ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) = f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z ) ) f T ~ ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z ) ) \frac{f_{T\mid\varphi(Y,Z)}(T\mid\varphi(Y,Z))}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}
=
\frac{f_{T\mid\varphi(Y,Z)}(T\mid\varphi(Y,Z))}{f_{\widetilde{T}\mid\varphi(Y,Z)}(T\mid\varphi(Y,Z))} f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z )) = f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z )) f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z ))
as B → ∞ B\to\infty B → ∞ under regularity conditions (see Proposition D.6). The Q Q Q -a.s. equality of the denominators holds because by definition of φ \varphi φ
T ~ ⊥ ⊥ ( Y , Z ) ∣ φ ( Y , Z ) , i.e. Q ( T ~ ∣ Y , Z ) = Q ( T ~ ∣ φ ( Y , Z ) ) , \widetilde{T}\perp\!\!\!\perp(Y,Z)\mid\varphi(Y,Z),\text{ i.e. }Q(\widetilde{T}\mid Y,Z)=Q(\widetilde{T}\mid\varphi(Y,Z)), T ⊥ ⊥ ( Y , Z ) ∣ φ ( Y , Z ) , i.e. Q ( T ∣ Y , Z ) = Q ( T ∣ φ ( Y , Z )) ,
so there exists a version of the conditional density f T ~ ∣ Y , Z f_{\widetilde{T}\mid Y,Z} f T ∣ Y , Z which only depends on ( y , z ) (y,z) ( y , z ) through φ ( y , z ) \varphi(y,z) φ ( y , z ) .
A direct consequence of this result together with the convexity property of the KL-divergence is that even with infinite derandomization samples, the GRO e-variables (and thus all e-variables) for the exchangeability nulls generally can not achieve the e-power of E E P F X − C I E^{\mathrm{EPFX-CI}} E EPFX − CI :
E φ ( Y , Z ) [ D K L ( f T ∣ φ ( Y , Z ) ∥ f T ~ ∣ φ ( Y , Z ) ) ] ≤ E Y , Z [ D K L ( f T ∣ Y , Z ∥ f T ~ ∣ Y , Z ) ] . \mathbb{E}_{\varphi(Y,Z)}\left[D_{\mathrm{KL}}\left(f_{T\mid\varphi(Y,Z)}\middle\|f_{\widetilde{T}\mid\varphi(Y,Z)}\right)\right] \leq\mathbb{E}_{Y,Z}\left[D_{\mathrm{KL}}\left(f_{T\mid Y,Z}\middle\|f_{\widetilde{T}\mid Y,Z}\right)\right]. E φ ( Y , Z ) [ D KL ( f T ∣ φ ( Y , Z ) f T ∣ φ ( Y , Z ) ) ] ≤ E Y , Z [ D KL ( f T ∣ Y , Z f T ∣ Y , Z ) ] .
The inequality can be strict when φ \varphi φ is not injective, i.e. when the true underlying ( Y , Z ) (Y,Z) ( Y , Z ) pair is not identifiable based on an infinite sample of T ~ i \widetilde{T}_i T i .
Furthermore, the analysis suggests another approach for model-X-based conditional independence testing. Instead of estimating the conditional density f T ∣ Y , Z f_{T\mid Y,Z} f T ∣ Y , Z , which can lead to large estimation errors, pick a function s s s , estimate the simpler conditional density f T ∣ s ( Y , Z ) f_{T\mid s(Y,Z)} f T ∣ s ( Y , Z ) and test with
f T ∣ s ( Y , Z ) ( t ∣ s ( y , z ) ) f T ~ ∣ Y , Z ( t ∣ y , z ) . \frac{f_{T\mid s(Y,Z)}(t\mid s(y,z))}{f_{\widetilde{T}\mid Y,Z}(t\mid y,z)}. f T ∣ Y , Z ( t ∣ y , z ) f T ∣ s ( Y , Z ) ( t ∣ s ( y , z )) .
As before, the conditional density in the denominator is known exactly, or can be estimated to arbitrary precision by sampling many X ~ \widetilde{X} X values from K Z K_Z K Z and computing T ~ \widetilde{T} T samples. As long as the model-X assumption holds, this conditional likelihood ratio always provides type-I error guarantees, no matter what we choose for s s s and f T ∣ s ( Y , Z ) f_{T\mid s(Y,Z)} f T ∣ s ( Y , Z ) . A coarser function s s s leads to easier conditional density estimation in the numerator, but also to a larger loss of e-power under perfect estimation. Furthermore, we know that for a fine enough s s s , i.e. any s s s such that φ \varphi φ is a function of s s s , the achieved e-power with perfect conditional density estimation is greater than the e-power of any exchangeability e-variable, no matter how many derandomization samples are used to enhance it.
The exchangeability and symmetry nulls. In their theoretical analysis, Shaer et al. [22 ] , similarly to knockoffs (Candès et al. (2018)), focus on testing the exchangeability of T T T and a single sample T ~ \widetilde{T} T , without leveraging derandomization. Thus, in reality, they test the exchangeability null hypothesis
P e x c h = { P ( T , T ~ ) : ( T , T ~ ) = d ( T ~ , T ) } , \mathcal{P}^{\mathrm{exch}} = \left\{P(T,\widetilde{T}) : (T,\widetilde{T}) \overset{d}{=} (\widetilde{T},T)\right\}, P exch = { P ( T , T ) : ( T , T ) = d ( T , T ) } ,
proposing e-variables of the form
1 + λ g ( T ~ , T ) , 1+\lambda g(\widetilde{T},T), 1 + λ g ( T , T ) ,
where g g g is a 2-dimensional antisymmetric function as in (4) . All practical antisymmetric e-variables they provide have the even more restricted form
1 + λ g ( T ~ − T ) , 1+\lambda g(\widetilde{T}-T), 1 + λ g ( T − T ) ,
where g g g is now a 1-dimensional function antisymmetric about 0 (g ( − x ) = − g ( x ) g(-x)=-g(x) g ( − x ) = − g ( x ) ), and as such they are e-variables for the larger – symmetry null hypothesis
P s y m = { P ( T , T ~ ) : T ~ − T = d T − T ~ } . \mathcal{P}^{\mathrm{sym}} = \left\{P(T,\widetilde{T}) : \widetilde{T}-T \overset{d}{=} T-\widetilde{T}\right\}. P sym = { P ( T , T ) : T − T = d T − T } .
The corresponding GRO e-variables for testing against an alternative Q ( T , T ~ ) Q(T,\widetilde{T}) Q ( T , T ) with density f f f are
E e x c h ( t , t ~ ) = f T , T ~ ( t , t ~ ) 1 2 f T , T ~ ( t , t ~ ) + 1 2 f T , T ~ ( t ~ , t ) , E s y m ( t ~ − t ) = f T ~ − T ( t ~ − t ) 1 2 f T ~ − T ( t ~ − t ) + 1 2 f T ~ − T ( t − t ~ ) . E^{\mathrm{exch}}(t,\widetilde{t})=\frac{f_{T,\widetilde{T}}(t,\widetilde{t})}{\frac{1}{2}f_{T,\widetilde{T}}(t,\widetilde{t})+\frac{1}{2}f_{T,\widetilde{T}}(\widetilde{t},t)}, \qquad E^{\mathrm{sym}}(\widetilde{t}-t)=\frac{f_{\widetilde{T}-T}(\widetilde{t}-t)}{\frac{1}{2}f_{\widetilde{T}-T}(\widetilde{t}-t)+\frac{1}{2}f_{\widetilde{T}-T}(t-\widetilde{t})}. E exch ( t , t ) = 2 1 f T , T ( t , t ) + 2 1 f T , T ( t , t ) f T , T ( t , t ) , E sym ( t − t ) = 2 1 f T − T ( t − t ) + 2 1 f T − T ( t − t ) f T − T ( t − t ) .
The practical implementation and usage of these GRO e-variables is relatively easily achievable. They only require the estimation of a respectively 2 or 1 - dimensional density function, instead of a ( B + 1 ) (B+1) ( B + 1 ) -dimensional density, or the conditional densities of Y ∣ X , Z Y\mid X,Z Y ∣ X , Z or T ∣ Y , Z T\mid Y,Z T ∣ Y , Z , which as we have seen is necessary for optimally testing the nulls that are higher in our hierarchy.
However, the optimality of these GRO e-variables is theoretically guaranteed only if no derandomization is performed . If the e-variables are enhanced by derandomization, the antisymmetric e-variables of 1 + λ g 1+\lambda g 1 + λ g form can gain more e-power than both E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym gain, and thus can surpass their e-powers. In other words, the GRO property is not preserved after derandomization, which shows the crucial importance of including the number of derandomization samples in the definition of our intermediate nulls. Theory ensures:
E [ ln ( 1 + λ g ( T , T ~ ) ) ] ≤ E [ ln ( E e x c h ( T , T ~ ) ) ] , \mathbb{E}\left[\ln\left(1+\lambda g(T,\widetilde{T})\right)\right]\leq\mathbb{E}\left[\ln\left(E^{\mathrm{exch}}(T,\widetilde{T})\right)\right], E [ ln ( 1 + λ g ( T , T ) ) ] ≤ E [ ln ( E exch ( T , T ) ) ] ,
and
E [ ln ( 1 + 1 B ∑ i = 1 B λ g ( T , T ~ i ) ) ] ≤ E [ ln ( E B e x c h ( T , T ~ B ) ) ] , \mathbb{E}\left[\ln\left(1+\frac{1}{B}\sum_{i=1}^{B}\lambda g(T,\widetilde{T}_i)\right)\right]\leq\mathbb{E}\left[\ln\left(E_B^{\mathrm{exch}}(T,\widetilde{T}^{B})\right)\right], E [ ln ( 1 + B 1 i = 1 ∑ B λ g ( T , T i ) ) ] ≤ E [ ln ( E B exch ( T , T B ) ) ] ,
for any antisymmetric g g g , and under any point alternative Q Q Q with density f f f (on which the e-variables on the right-hand side depend), but in general
E [ ln ( 1 + 1 B ∑ i = 1 B λ g ( T , T ~ i ) ) ] ≰ E [ ln ( 1 B ∑ i = 1 B E e x c h ( T , T ~ i ) ) ] . \mathbb{E}\left[\ln\left(1+\frac{1}{B}\sum_{i=1}^{B}\lambda g(T,\widetilde{T}_i)\right)\right]\not\leq\mathbb{E}\left[\ln\left(\frac{1}{B}\sum_{i=1}^{B}E^{\mathrm{exch}}(T,\widetilde{T}_i)\right)\right]. E [ ln ( 1 + B 1 i = 1 ∑ B λ g ( T , T i ) ) ] ≤ E [ ln ( B 1 i = 1 ∑ B E exch ( T , T i ) ) ] .
On the other hand, E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym make use of asymmetry signals beyond non-0 mean and median values of T ~ − T \widetilde{T}-T T − T , and could achieve a large e-power even in settings when: 1 + λ sign ( T ~ − T ) 1+\lambda\operatorname{sign}(\widetilde{T}-T) 1 + λ sign ( T − T ) , 1 + λ tanh ( T ~ − T ) 1+\lambda\tanh(\widetilde{T}-T) 1 + λ tanh ( T − T ) and 1 + λ M clip ( T ~ − T , − M , M ) 1+\frac{\lambda}{M}\operatorname{clip}(\widetilde{T}-T,-M,M) 1 + M λ clip ( T − T , − M , M ) all have e-power very close or equal to 0 at the optimal betting parameters. For more details on the effects of derandomization on the e-powers of antisymmetric e-variables, E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym see Appendix § 14 .7.
From approximate e-variables to approximate type-I error
We begin by formalizing the notion of an approximate e-variable and an approximate e-process.
Definition C.1 (Approximate e-variable). Let P \mathcal{P} P be a class of probability measures. A nonnegative random variable E E E is an ( ϵ , δ ) (\epsilon,\delta) ( ϵ , δ ) -approximate e-variable for P \mathcal{P} P if, for every P ∈ P P\in\mathcal{P} P ∈ P , there exists an event A A A such that
E P [ E 1 A ] ≤ 1 + ϵ and P ( A ) ≥ 1 − δ . \mathbb{E}_{P}[E1_A]\leq1+\epsilon\qquad\text{and}\qquad P(A)\geq1-\delta. E P [ E 1 A ] ≤ 1 + ϵ and P ( A ) ≥ 1 − δ .
Note that this definition is not identical to the definition of an approximate e-variable given in Ignatiadis et al. (2025), although it implies the latter; see, for example, Proposition 10.2 of Ramdas and Wang [18 ] . For simplicity, we use fixed values of ϵ \epsilon ϵ and δ \delta δ rather than allowing them to depend on P P P .
The definition extends naturally to an approximate e-process.
Definition C.2 (Approximate e-process). Let ( E t ) t ≥ 1 (E_t)_{t\geq1} ( E t ) t ≥ 1 be a nonnegative process adapted to ( F t ) t ≥ 0 (\mathcal{F}_t)_{t\geq0} ( F t ) t ≥ 0 , with E 0 = 1 E_0=1 E 0 = 1 . We say that ( E n ) n ≥ 1 (E_n)_{n\geq1} ( E n ) n ≥ 1 is an ( ϵ n , δ n ) n ≥ 1 (\epsilon_n,\delta_n)_{n\geq1} ( ϵ n , δ n ) n ≥ 1 -approximate e-process for P \mathcal{P} P if, for every P ∈ P P\in\mathcal{P} P ∈ P and every t ≥ 1 t\geq1 t ≥ 1 , there exists an event A n ∈ F n A_n\in\mathcal{F}_n A n ∈ F n such that
E P [ E t 1 A n ∣ F n − 1 ] ≤ ( 1 + ϵ n ) E n − 1 , \mathbb{E}_{P}[E_t1_{A_n}\mid\mathcal{F}_{n-1}]\leq(1+\epsilon_n)E_{n-1}, E P [ E t 1 A n ∣ F n − 1 ] ≤ ( 1 + ϵ n ) E n − 1 , and
P ( A n ∣ F n − 1 ) ≥ 1 − δ n a.s. P(A_n\mid\mathcal{F}_{n-1})\geq1-\delta_n\qquad\text{a.s.} P ( A n ∣ F n − 1 ) ≥ 1 − δ n a.s.
For this approximate e-processes we can obtain an approximate type-I error control.
Proposition C.3. Let ( E t ) t ≥ 1 (E_t)_{t\geq1} ( E t ) t ≥ 1 be an ( ϵ n , δ n ) t ≥ 1 (\epsilon_n,\delta_n)_{t\geq1} ( ϵ n , δ n ) t ≥ 1 -approximate e-process for P \mathcal{P} P , with E 0 = 1 E_0=1 E 0 = 1 . Then, for every P ∈ P P\in\mathcal{P} P ∈ P and every N ≥ 1 N\geq1 N ≥ 1 ,
P ( sup 1 ≤ n ≤ N E n ≥ 1 α ) ≤ ∑ n = 1 N δ n + α ∏ t = 1 N ( 1 + ϵ t ) P\left(\sup_{1\leq n\leq N}E_n\geq\frac{1}{\alpha}\right)\leq\sum_{n=1}^{N}\delta_n+\alpha\prod_{t=1}^{N}(1+\epsilon_t) P ( 1 ≤ n ≤ N sup E n ≥ α 1 ) ≤ n = 1 ∑ N δ n + α t = 1 ∏ N ( 1 + ϵ t ) ≤ ∑ n = 1 N δ n + α exp ( ∑ n = 1 N ϵ n ) . \leq\sum_{n=1}^{N}\delta_n+\alpha\exp\left(\sum_{n=1}^{N}\epsilon_n\right). ≤ n = 1 ∑ N δ n + α exp ( n = 1 ∑ N ϵ n ) .
The proposition shows that the type-I error incurred by using an approximate e-process is controlled by two terms: the probability that at least one of the approximation events fails, and the cumulative multiplicative inflation of the e-process. In particular,
P ( sup 1 ≤ n ≤ N E ( n ) ≥ 1 α ) − α ≤ ∑ n = 1 N δ n + α [ exp ( ∑ n = 1 N ϵ n ) − 1 ] . P\left(\sup_{1\le n\le N} E^{(n)} \ge\frac{1}{\alpha}\right)-\alpha\le\sum_{n=1}^{N}\delta_n+\alpha\left[\exp\left(\sum_{n=1}^{N}\epsilon_n\right)-1\right]. P ( 1 ≤ n ≤ N sup E ( n ) ≥ α 1 ) − α ≤ n = 1 ∑ N δ n + α [ exp ( n = 1 ∑ N ϵ n ) − 1 ] .
Consequently, whenever ∑ n = 1 N ϵ n = o ( 1 ) \sum_{n=1}^{N}\epsilon_n=o(1) ∑ n = 1 N ϵ n = o ( 1 ) , we have
exp ( ∑ n = 1 N ϵ n ) − 1 = O ( ∑ n = 1 N ϵ n ) , \exp\left(\sum_{n=1}^{N}\epsilon_n\right)-1=O\left(\sum_{n=1}^{N}\epsilon_n\right), exp ( n = 1 ∑ N ϵ n ) − 1 = O ( n = 1 ∑ N ϵ n ) ,
and hence
P ( sup 1 ≤ n ≤ N E ( n ) ≥ 1 α ) − α = O ( ∑ n = 1 N δ n + α ∑ n = 1 N ϵ n ) . P\left(\sup_{1\le n\le N} E^{(n)} \ge\frac{1}{\alpha}\right)-\alpha=O\left(\sum_{n=1}^{N}\delta_n+\alpha\sum_{n=1}^{N}\epsilon_n\right). P ( 1 ≤ n ≤ N sup E ( n ) ≥ α 1 ) − α = O ( n = 1 ∑ N δ n + α n = 1 ∑ N ϵ n ) .
Thus, the type-I error inflation resulting from using an approximate rather than an exact e-process is controlled by the cumulative probability of the approximation events failing and the cumulative multiplicative inflation of the e-process.
Proofs
σ ( Y , Z ) \sigma(Y,Z) σ ( Y , Z ) -measurability of λ \lambda λ and η \eta η
Lemma D.1. Any η ^ n \hat{\eta}_n η ^ n that is σ ( Y n , Z n , { ( X i , Y i , Z i ) } i = 1 n − 1 ) \sigma(Y_n,Z_n,\{(X_i,Y_i,Z_i)\}_{i=1}^{n-1}) σ ( Y n , Z n , {( X i , Y i , Z i ) } i = 1 n − 1 ) -measurable provides a valid exponential supermartingale. Similarly, any λ ^ n \hat{\lambda}_n λ ^ n that is σ ( Y n , Z n , { ( X i , Y i , Z i ) } i = 1 n − 1 ) \sigma(Y_n,Z_n,\{(X_i,Y_i,Z_i)\}_{i=1}^{n-1}) σ ( Y n , Z n , {( X i , Y i , Z i ) } i = 1 n − 1 ) -measurable provides a valid coin-betting supermartingale.
Proof. We denote by D n − 1 : = { ( X i , Y i , Z i ) } i = 1 n − 1 \mathcal{D}_{n-1}:=\{(X_i,Y_i,Z_i)\}_{i=1}^{n-1} D n − 1 := {( X i , Y i , Z i ) } i = 1 n − 1 the previous observed data. We observe that
E [ exp ( − η ^ l ( m ^ ( X , Z ) , Y ) ) E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X ~ , Z ) , Y ) ) ] ] = E [ E [ exp ( − η ^ l ( m ^ ( X , Z ) , Y ) ) E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X ~ , Z ) , Y ) ) ] ∣ Y , Z , D n − 1 ] ] = E [ E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X , Z ) , Y ) ) E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X ~ , Z ) , Y ) ) ] ∣ Y , Z , D n − 1 ] ] = 1. \begin{aligned}
\mathbb{E}\left[\frac{\exp(-\hat{\eta}l(\hat{m}(X,Z),Y))}{\mathbb{E}_{\tilde{X}\mid Z}\left[\exp(-\hat{\eta}l(\hat{m}(\tilde{X},Z),Y))\right]}\right]
=
\mathbb{E}\left[\mathbb{E}\left[\left.\frac{\exp(-\hat{\eta}l(\hat{m}(X,Z),Y))}{\mathbb{E}_{\tilde{X}\mid Z}\left[\exp(-\hat{\eta}l(\hat{m}(\tilde{X},Z),Y))\right]}\right|Y,Z,\mathcal{D}_{n-1}\right]\right] \\
&=
\mathbb{E}\left[\mathbb{E}_{\tilde{X}\mid Z}\left[\left.\frac{\exp(-\hat{\eta}l(\hat{m}(X,Z),Y))}{\mathbb{E}_{\tilde{X}\mid Z}\left[\exp(-\hat{\eta}l(\hat{m}(\tilde{X},Z),Y))\right]}\right|Y,Z,\mathcal{D}_{n-1}\right]\right]=1.
\end{aligned} E E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X ~ , Z ) , Y )) ] exp ( − η ^ l ( m ^ ( X , Z ) , Y )) = E E E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X ~ , Z ) , Y )) ] exp ( − η ^ l ( m ^ ( X , Z ) , Y )) Y , Z , D n − 1 = E E X ~ ∣ Z E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X ~ , Z ) , Y )) ] exp ( − η ^ l ( m ^ ( X , Z ) , Y )) Y , Z , D n − 1 = 1.
The term E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X , Z ) , Y ) ) E X ~ ∣ Z [ exp ( − η ^ l ( m ^ ( X ~ , Z ) , Y ) ) ] ] \mathbb{E}_{\tilde{X}\mid Z}\left[\frac{\exp(-\hat{\eta}l(\hat{m}(X,Z),Y))}{\mathbb{E}_{\tilde{X}\mid Z}[\exp(-\hat{\eta}l(\hat{m}(\tilde{X},Z),Y))]}\right] E X ~ ∣ Z [ E X ~ ∣ Z [ e x p ( − η ^ l ( m ^ ( X ~ , Z ) , Y ))] e x p ( − η ^ l ( m ^ ( X , Z ) , Y )) ] simplifies to 1 for every choice of η ^ ( Y , Z ) \hat{\eta}(Y,Z) η ^ ( Y , Z ) dependent on Y , Z , D n − 1 . Y,Z,\mathcal{D}_{n-1}. Y , Z , D n − 1 .
Therefore, applying Ville’s inequality, we obtain valid-α \alpha α -type-I error control for the sequential threshold at 1 / α 1/\alpha 1/ α .
Optimal e-values for the 0-1 loss
We consider the special case of the 0-1 loss. Surprisingly, in this setting, the e-values coincide when evaluated at their respective optimal ( Y , Z ) (Y,Z) ( Y , Z ) -dependent choices of λ \lambda λ and η \eta η . Define
p 1 : = P X ∣ Y , Z ( m ( X , Z ) ≠ Y ∣ Y , Z ) , p_1:=P_{X\mid Y,Z}\bigl(m(X,Z)\ne Y\mid Y,Z\bigr), p 1 := P X ∣ Y , Z ( m ( X , Z ) = Y ∣ Y , Z ) ,
p 0 : = P X ~ ∣ Z ( m ( X ~ , Z ) ≠ Y ∣ Y , Z ) . p_0:=P_{\tilde{X}\mid Z}\bigl(m(\tilde{X},Z)\ne Y\mid Y,Z\bigr). p 0 := P X ~ ∣ Z ( m ( X ~ , Z ) = Y ∣ Y , Z ) .
These correspond to the conditional probabilities of incorrect prediction when using X X X and X ~ \tilde{X} X ~ , respectively.
Theorem D.2 (ℓ 0 − 1 \ell_0-1 ℓ 0 − 1 loss). Assume that the loss is given by the 0–1 loss. Then, the optimal value of λ \lambda λ maximizing the coin-betting e-value is
λ ⋆ = p 1 − p 0 p 0 ( 1 − p 0 ) . \lambda_\star= \frac{p_1-p_0}{p_0(1-p_0)}. λ ⋆ = p 0 ( 1 − p 0 ) p 1 − p 0 . Similarly, the optimal η \eta η for the exponential e-value (6) is
η ⋆ = log ( p 0 ( 1 − p 1 ) p 1 ( 1 − p 0 ) ) . \eta_\star= \log\left(\frac{p_0(1-p_1)}{p_1(1-p_0)}\right). η ⋆ = log ( p 1 ( 1 − p 0 ) p 0 ( 1 − p 1 ) ) . With these choices, both e-values coincide and are given by
E e x p η ⋆ = E c b λ ⋆ = { 1 − p 1 1 − p 0 , m ( X , Z ) = Y , p 1 p 0 , m ( X , Z ) ≠ Y . E_{\mathrm{exp}}^{\eta_\star}=E_{\mathrm{cb}}^{\lambda_\star} =
\begin{cases}
\frac{1-p_1}{1-p_0}, & m(X,Z)=Y,\\
\frac{p_1}{p_0}, & m(X,Z)\ne Y.
\end{cases} E exp η ⋆ = E cb λ ⋆ = { 1 − p 0 1 − p 1 , p 0 p 1 , m ( X , Z ) = Y , m ( X , Z ) = Y .
Proof. In this 0–1 loss setting we can provide an explicit expression for the e-values that optimize the e-power across the coin-betting and model-X classes, which turn out to coincide.
We begin by optimizing η \eta η for E M L η E_{\mathrm{ML}}^\eta E ML η . Observe that
E X ∣ Y , Z [ log ( E M L η ) ] = E X ∣ Y , Z [ − η 1 { m ( X , Z ) ≠ Y } − log E X ~ ∣ Z [ e − η 1 { m ( X ~ , Z ) ≠ Y } ] ] . \mathbb{E}_{X\mid Y,Z}\left[\log\left(E_{\mathrm{ML}}^\eta\right)\right]
=
\mathbb{E}_{X\mid Y,Z}\left[-\eta\mathbf{1}_{\{m(X,Z)\ne Y\}}-\log\mathbb{E}_{\widetilde{X}\mid Z}\left[e^{-\eta\mathbf{1}_{\{m(\widetilde{X},Z)\ne Y\}}}\right]\right]. E X ∣ Y , Z [ log ( E ML η ) ] = E X ∣ Y , Z [ − η 1 { m ( X , Z ) = Y } − log E X ∣ Z [ e − η 1 { m ( X , Z ) = Y } ] ] .
Differentiating with respect to η \eta η gives
− E X ∣ Y , Z [ 1 { m ( X , Z ) ≠ Y } ] + E X ~ ∣ Z [ 1 { m ( X ~ , Z ) ≠ Y } e − η 1 { m ( X ~ , Z ) ≠ Y } ] E X ~ ∣ Z [ e − η 1 { m ( X ~ , Z ) ≠ Y } ] . -\mathbb{E}_{X\mid Y,Z}\left[\mathbf{1}_{\{m(X,Z)\ne Y\}}\right]
+
\frac{\mathbb{E}_{\widetilde{X}\mid Z}\left[\mathbf{1}_{\{m(\widetilde{X},Z)\ne Y\}}e^{-\eta\mathbf{1}_{\{m(\widetilde{X},Z)\ne Y\}}}\right]}
{\mathbb{E}_{\widetilde{X}\mid Z}\left[e^{-\eta\mathbf{1}_{\{m(\widetilde{X},Z)\ne Y\}}}\right]}. − E X ∣ Y , Z [ 1 { m ( X , Z ) = Y } ] + E X ∣ Z [ e − η 1 { m ( X , Z ) = Y } ] E X ∣ Z [ 1 { m ( X , Z ) = Y } e − η 1 { m ( X , Z ) = Y } ] .
Let
p 1 = P X ∣ Y , Z ( m ( X , Z ) ≠ Y ∣ Y , Z ) , p 0 = P X ~ ∣ Z ( m ( X ~ , Z ) ≠ Y ∣ Y , Z ) . p_1=P_{X\mid Y,Z}(m(X,Z)\ne Y\mid Y,Z),\qquad
p_0=P_{\widetilde{X}\mid Z}(m(\widetilde{X},Z)\ne Y\mid Y,Z). p 1 = P X ∣ Y , Z ( m ( X , Z ) = Y ∣ Y , Z ) , p 0 = P X ∣ Z ( m ( X , Z ) = Y ∣ Y , Z ) .
Note that
E X ~ ∣ Z [ 1 { m ( X ~ , Z ) ≠ Y } e − η 1 { m ( X ~ , Z ) ≠ Y } ] = e − η p 0 . \mathbb{E}_{\widetilde{X}\mid Z}\left[\mathbf{1}_{\{m(\widetilde{X},Z)\ne Y\}}e^{-\eta\mathbf{1}_{\{m(\widetilde{X},Z)\ne Y\}}}\right]
=e^{-\eta}p_0. E X ∣ Z [ 1 { m ( X , Z ) = Y } e − η 1 { m ( X , Z ) = Y } ] = e − η p 0 .
Thus the first-order condition becomes
− p 1 + e − η ⋆ p 0 e − η ⋆ p 0 + 1 − p 0 = 0. -p_1+\frac{e^{-\eta_\star}p_0}{e^{-\eta_\star}p_0+1-p_0}=0. − p 1 + e − η ⋆ p 0 + 1 − p 0 e − η ⋆ p 0 = 0.
Solving yields
η ⋆ = log p 0 ( 1 − p 1 ) p 1 ( 1 − p 0 ) . \eta_\star=\log\frac{p_0(1-p_1)}{p_1(1-p_0)}. η ⋆ = log p 1 ( 1 − p 0 ) p 0 ( 1 − p 1 ) .
With this optimal η ⋆ \eta_\star η ⋆ , the e-variable E M L η ⋆ E_{\mathrm{ML}}^{\eta_\star} E ML η ⋆ is
E M L η ⋆ = e − η ⋆ l ( m ( X , Z ) , Y ) E X ~ ∣ Z [ e − η ⋆ l ( m ( X ~ , Z ) , Y ) ] = ( e − η ⋆ ) 1 { m ( X , Z ) ≠ Y } p 0 e − η ⋆ + 1 − p 0 = ( p 1 ( 1 − p 0 ) p 0 ( 1 − p 1 ) ) 1 { m ( X , Z ) ≠ Y } p 0 p 1 ( 1 − p 0 ) p 0 ( 1 − p 1 ) + 1 − p 0 = ( p 1 ( 1 − p 0 ) p 0 ( 1 − p 1 ) ) 1 { m ( X , Z ) ≠ Y } 1 − p 1 1 − p 0 . \begin{aligned}
E_{\mathrm{ML}}^{\eta_\star}
=
\frac{e^{-\eta_\star l(m(X,Z),Y)}}
{\mathbb{E}_{\widetilde{X}\mid Z}\left[e^{-\eta_\star l(m(\widetilde{X},Z),Y)}\right]} \\
&=
\frac{\left(e^{-\eta_\star}\right)^{\mathbf{1}_{\{m(X,Z)\ne Y\}}}}
{p_0e^{-\eta_\star}+1-p_0} \\
&=
\frac{\left(\frac{p_1(1-p_0)}{p_0(1-p_1)}\right)^{\mathbf{1}_{\{m(X,Z)\ne Y\}}}}
{p_0\frac{p_1(1-p_0)}{p_0(1-p_1)}+1-p_0} \\
&=
\left(\frac{p_1(1-p_0)}{p_0(1-p_1)}\right)^{\mathbf{1}_{\{m(X,Z)\ne Y\}}}
\frac{1-p_1}{1-p_0}.
\end{aligned} E ML η ⋆ = E X ∣ Z [ e − η ⋆ l ( m ( X , Z ) , Y ) ] e − η ⋆ l ( m ( X , Z ) , Y ) = p 0 e − η ⋆ + 1 − p 0 ( e − η ⋆ ) 1 { m ( X , Z ) = Y } = p 0 p 0 ( 1 − p 1 ) p 1 ( 1 − p 0 ) + 1 − p 0 ( p 0 ( 1 − p 1 ) p 1 ( 1 − p 0 ) ) 1 { m ( X , Z ) = Y } = ( p 0 ( 1 − p 1 ) p 1 ( 1 − p 0 ) ) 1 { m ( X , Z ) = Y } 1 − p 0 1 − p 1 .
Therefore, there are two cases:
E = { 1 − p 1 1 − p 0 , m ( X , Z ) = Y , p 1 p 0 , m ( X , Z ) ≠ Y . E =
\begin{cases}
\frac{1-p_1}{1-p_0}, & m(X,Z)=Y,\\
\frac{p_1}{p_0}, & m(X,Z)\ne Y.
\end{cases} E = { 1 − p 0 1 − p 1 , p 0 p 1 , m ( X , Z ) = Y , m ( X , Z ) = Y .
We can proceed similarly for the coin-betting e-value. Optimizing λ \lambda λ yields
λ ⋆ = p 1 − p 0 p 0 ( p 0 − 1 ) . \lambda_\star=\frac{p_1-p_0}{p_0(p_0-1)}. λ ⋆ = p 0 ( p 0 − 1 ) p 1 − p 0 .
Substituting this value into the e-variable gives two cases.
If the prediction is correct, Y = m ( X , Z ) Y=m(X,Z) Y = m ( X , Z ) , then
E C B = 1 + λ ⋆ p 0 = 1 + p 1 − p 0 p 0 − 1 = 1 − p 1 1 − p 0 . E_{\mathrm{CB}}=1+\lambda_\star p_0=1+\frac{p_1-p_0}{p_0-1}=\frac{1-p_1}{1-p_0}. E CB = 1 + λ ⋆ p 0 = 1 + p 0 − 1 p 1 − p 0 = 1 − p 0 1 − p 1 .
If the prediction is incorrect,
E C B = 1 + p 1 − p 0 p 0 ( p 0 − 1 ) ( p 0 − 1 ) = p 1 p 0 . E_{\mathrm{CB}}=1+\frac{p_1-p_0}{p_0(p_0-1)}(p_0-1)=\frac{p_1}{p_0}. E CB = 1 + p 0 ( p 0 − 1 ) p 1 − p 0 ( p 0 − 1 ) = p 0 p 1 .
Thus the coin-betting and model-X optimal e-variables coincide.
E-power in the small-signal regime
Exponential e-power expansion:
Proof. First, note that the e-power of the exponential e-value, denoted by P e x p η \mathcal{P}_{\mathrm{exp}}^\eta P exp η , is given by
P e x p η = E [ log ( E e x p η ) ] = E [ − η l ( m ( X , Z ) , Y ) − log E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] ] . \mathcal{P}_{\mathrm{exp}}^\eta=\mathbb{E}\left[\log\left(E_{\mathrm{exp}}^\eta\right)\right]
=\mathbb{E}\left[-\eta l(m(X,Z),Y)-\log\mathbb{E}_{\widetilde{X}\mid Z}\left[e^{-\eta l(m(\widetilde{X},Z),Y)}\right]\right]. P exp η = E [ log ( E exp η ) ] = E [ − η l ( m ( X , Z ) , Y ) − log E X ∣ Z [ e − η l ( m ( X , Z ) , Y ) ] ] .
Recall that the inner expectation is formally taken with respect to P X ~ ∣ X , Y , Z P_{\widetilde{X}\mid X,Y,Z} P X ∣ X , Y , Z . However, since X ~ ⊥ ⊥ ( X , Y ) ∣ Z \widetilde{X}\perp\!\!\!\perp(X,Y)\mid Z X ⊥ ⊥ ( X , Y ) ∣ Z , we simply write P X ~ ∣ Z P_{\widetilde{X}\mid Z} P X ∣ Z to avoid cumbersome notation.
Define
ψ ( η ) : = log E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] . \psi(\eta):=\log\mathbb{E}_{\widetilde{X}\mid Z}\left[e^{-\eta l(m(\widetilde{X},Z),Y)}\right]. ψ ( η ) := log E X ∣ Z [ e − η l ( m ( X , Z ) , Y ) ] .
Using a Taylor expansion around η = 0 \eta=0 η = 0 ,
ψ ( η ) = ψ ( 0 ) + η ψ ′ ( 0 ) + η 2 2 ψ ′ ′ ( 0 ) + O ( η 3 ) . \psi(\eta)=\psi(0)+\eta\psi'(0)+\frac{\eta^2}{2}\psi''(0)+O(\eta^3). ψ ( η ) = ψ ( 0 ) + η ψ ′ ( 0 ) + 2 η 2 ψ ′′ ( 0 ) + O ( η 3 ) .
Since
ψ ( 0 ) = log E X ~ ∣ Z [ 1 ] = 0 , \psi(0)=\log\mathbb{E}_{\widetilde{X}\mid Z}[1]=0, ψ ( 0 ) = log E X ∣ Z [ 1 ] = 0 ,
we have
Differentiating,
ψ ′ ( η ) = − E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) e − η l ( m ( X ~ , Z ) , Y ) ] E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] , \psi'(\eta)=-\frac{\mathbb{E}_{\widetilde{X}\mid Z}\left[l(m(\widetilde{X},Z),Y)e^{-\eta l(m(\widetilde{X},Z),Y)}\right]}{\mathbb{E}_{\widetilde{X}\mid Z}\left[e^{-\eta l(m(\widetilde{X},Z),Y)}\right]}, ψ ′ ( η ) = − E X ∣ Z [ e − η l ( m ( X , Z ) , Y ) ] E X ∣ Z [ l ( m ( X , Z ) , Y ) e − η l ( m ( X , Z ) , Y ) ] ,
and therefore
ψ ′ ( 0 ) = − E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) ] . \psi'(0)=-\mathbb{E}_{\widetilde{X}\mid Z}\left[l(m(\widetilde{X},Z),Y)\right]. ψ ′ ( 0 ) = − E X ∣ Z [ l ( m ( X , Z ) , Y ) ] .
Differentiating once more yields
ψ ′ ′ ( η ) = E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) 2 e − η l ( m ( X ~ , Z ) , Y ) ] E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] ( E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] ) 2 − ( E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) e − η l ( m ( X ~ , Z ) , Y ) ] ) 2 ( E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] ) 2 . \psi''(\eta)=\frac{\mathbb{E}_{\tilde{X}|Z}\left[l(m(\tilde{X},Z),Y)^2e^{-\eta l(m(\tilde{X},Z),Y)}\right]\mathbb{E}_{\tilde{X}|Z}\left[e^{-\eta l(m(\tilde{X},Z),Y)}\right]}{\left(\mathbb{E}_{\tilde{X}|Z}\left[e^{-\eta l(m(\tilde{X},Z),Y)}\right]\right)^2}
-\frac{\left(\mathbb{E}_{\tilde{X}|Z}\left[l(m(\tilde{X},Z),Y)e^{-\eta l(m(\tilde{X},Z),Y)}\right]\right)^2}{\left(\mathbb{E}_{\tilde{X}|Z}\left[e^{-\eta l(m(\tilde{X},Z),Y)}\right]\right)^2}. ψ ′′ ( η ) = ( E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] ) 2 E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) 2 e − η l ( m ( X ~ , Z ) , Y ) ] E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] − ( E X ~ ∣ Z [ e − η l ( m ( X ~ , Z ) , Y ) ] ) 2 ( E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) e − η l ( m ( X ~ , Z ) , Y ) ] ) 2 .
Evaluating at η = 0 \eta=0 η = 0 , we obtain
ψ ′ ′ ( 0 ) = E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) 2 ] − ( E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) ] ) 2 = Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) = : σ 0 2 . \begin{aligned}
\psi''(0)&=\mathbb{E}_{\tilde{X}|Z}\left[l(m(\tilde{X},Z),Y)^2\right]-\left(\mathbb{E}_{\tilde{X}|Z}\left[l(m(\tilde{X},Z),Y)\right]\right)^2\\
&=\operatorname{Var}_{\tilde{X}|Z}\left(l(m(\tilde{X},Z),Y)\right)\\
&=:\sigma_0^2.
\end{aligned} ψ ′′ ( 0 ) = E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) 2 ] − ( E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) ] ) 2 = Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) =: σ 0 2 .
Substituting the Taylor expansion into the e-power expression gives
P e x p n = − η E [ l ( m ( X , Z ) , Y ) ] − E [ − η E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) ] + η 2 2 Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) + O ( η 3 ) ] = − η ( E [ l ( m ( X , Z ) , Y ) ] − E [ E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) ] ] ) − η 2 2 E [ Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) ] + O ( η 3 ) . \begin{aligned}
\mathcal{P}_{\mathrm{exp}}^n
&=-\eta\mathbb{E}[l(m(X,Z),Y)]\\
&\quad-\mathbb{E}\left[-\eta\mathbb{E}_{\tilde{X}|Z}\left[l(m(\tilde{X},Z),Y)\right]+\frac{\eta^2}{2}\operatorname{Var}_{\tilde{X}|Z}\left(l(m(\tilde{X},Z),Y)\right)+O(\eta^3)\right]\\
&=-\eta\left(\mathbb{E}[l(m(X,Z),Y)]-\mathbb{E}\left[\mathbb{E}_{\tilde{X}|Z}[l(m(\tilde{X},Z),Y)]\right]\right)\\
&\quad-\frac{\eta^2}{2}\mathbb{E}\left[\operatorname{Var}_{\tilde{X}|Z}\left(l(m(\tilde{X},Z),Y)\right)\right]+O(\eta^3).
\end{aligned} P exp n = − η E [ l ( m ( X , Z ) , Y )] − E [ − η E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y ) ] + 2 η 2 Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) + O ( η 3 ) ] = − η ( E [ l ( m ( X , Z ) , Y )] − E [ E X ~ ∣ Z [ l ( m ( X ~ , Z ) , Y )] ] ) − 2 η 2 E [ Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) ] + O ( η 3 ) .
Recall that
Δ : = E [ l ( m ( X ~ , Z ) , Y ) ] − E [ l ( m ( X , Z ) , Y ) ] \Delta:=\mathbb{E}[l(m(\tilde{X},Z),Y)]-\mathbb{E}[l(m(X,Z),Y)] Δ := E [ l ( m ( X ~ , Z ) , Y )] − E [ l ( m ( X , Z ) , Y )]
and
σ 0 2 : = E [ Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) ] . \sigma_0^2:=\mathbb{E}\left[\operatorname{Var}_{\tilde{X}|Z}\left(l(m(\tilde{X},Z),Y)\right)\right]. σ 0 2 := E [ Var X ~ ∣ Z ( l ( m ( X ~ , Z ) , Y ) ) ] .
Then
P e x p n = η Δ − η 2 2 σ 0 2 + O ( η 3 ) . \mathcal{P}_{\mathrm{exp}}^n=\eta\Delta-\frac{\eta^2}{2}\sigma_0^2+O(\eta^3). P exp n = η Δ − 2 η 2 σ 0 2 + O ( η 3 ) .
Ignoring higher-order terms and maximizing the quadratic approximation yields
η ∗ = Δ σ 0 2 , \eta^*=\frac{\Delta}{\sigma_0^2}, η ∗ = σ 0 2 Δ ,
and
P e x p ∗ = Δ 2 2 σ 0 2 . \mathcal{P}_{\mathrm{exp}}^*=\frac{\Delta^2}{2\sigma_0^2}. P exp ∗ = 2 σ 0 2 Δ 2 .
□
Coin-betting e-power expansion:
Proof. We recall that the coin-betting e-value is given by
E c b λ = 1 − λ ( l ( m ^ ( X , Z ) , Y ) − E X ~ ∣ Z [ l ( m ^ ( X ~ , Z ) , Y ) ] ) , E_{\mathrm{cb}}^\lambda=1-\lambda\left(l(\hat{m}(X,Z),Y)-\mathbb{E}_{\tilde{X}|Z}\left[l\left(\hat{m}(\tilde{X},Z),Y\right)\right]\right), E cb λ = 1 − λ ( l ( m ^ ( X , Z ) , Y ) − E X ~ ∣ Z [ l ( m ^ ( X ~ , Z ) , Y ) ] ) ,
where the expectation is taken only over X ~ \tilde{X} X ~ condition both on Z Z Z and Y Y Y , but for simplicity, and to underline that X ~ \tilde{X} X ~ is independent of Y Y Y , we hide this conditioning on Y Y Y . Its e-power is
P c b λ = E [ log ( E c b λ ) ] = E [ log ( 1 − λ ( l ( m ^ ( X , Z ) , Y ) − E X ~ ∣ Z [ l ( m ^ ( X ~ , Z ) , Y ) ] ) ) ] . \mathcal{P}_{\mathrm{cb}}^\lambda=\mathbb{E}[\log(E_{\mathrm{cb}}^\lambda)]=\mathbb{E}\left[\log\left(1-\lambda\left(l(\hat{m}(X,Z),Y)-\mathbb{E}_{\tilde{X}|Z}\left[l\left(\hat{m}(\tilde{X},Z),Y\right)\right]\right)\right)\right]. P cb λ = E [ log ( E cb λ )] = E [ log ( 1 − λ ( l ( m ^ ( X , Z ) , Y ) − E X ~ ∣ Z [ l ( m ^ ( X ~ , Z ) , Y ) ] ) ) ] .
Using the Taylor expansion
log ( 1 + x ) = x − x 2 2 + O ( x 3 ) , \log(1+x)=x-\frac{x^2}{2}+O(x^3), log ( 1 + x ) = x − 2 x 2 + O ( x 3 ) ,
we obtain
P c b λ = E [ λ D + 1 2 λ 2 D 2 ] + O ( λ 3 ) , \mathcal{P}_{\mathrm{cb}}^\lambda=\mathbb{E}\left[\lambda D+\frac{1}{2}\lambda^2D^2\right]+O(\lambda^3), P cb λ = E [ λ D + 2 1 λ 2 D 2 ] + O ( λ 3 ) ,
where
D : = E X ~ ∣ Z [ l ( m ~ ( X ~ , Z ) , Y ) ] − l ( m ~ ( X , Z ) , Y ) . D:=\mathbb{E}_{\widetilde{X}\mid Z}\left[l\left(\widetilde{m}(\widetilde{X},Z),Y\right)\right]-l\left(\widetilde{m}(X,Z),Y\right). D := E X ∣ Z [ l ( m ( X , Z ) , Y ) ] − l ( m ( X , Z ) , Y ) .
Recall that the predictiveness signal is
Δ : = E [ D ] = E [ E X ~ ∣ Z [ l ( m ~ ( X ~ , Z ) , Y ) ] ] − E [ l ( m ~ ( X , Z ) , Y ) ] , \Delta:=\mathbb{E}[D]=\mathbb{E}\left[\mathbb{E}_{\widetilde{X}\mid Z}\left[l\left(\widetilde{m}(\widetilde{X},Z),Y\right)\right]\right]-\mathbb{E}\left[l\left(\widetilde{m}(X,Z),Y\right)\right], Δ := E [ D ] = E [ E X ∣ Z [ l ( m ( X , Z ) , Y ) ] ] − E [ l ( m ( X , Z ) , Y ) ] ,
and define
σ 1 ′ 2 : = E [ D 2 ] . \sigma_1^{\prime2}:=\mathbb{E}[D^2]. σ 1 ′2 := E [ D 2 ] .
Then
P c b λ = λ Δ − 1 2 λ 2 σ 1 ′ 2 + O ( λ 3 ) . \mathcal{P}_{\mathrm{cb}}^\lambda=\lambda\Delta-\frac{1}{2}\lambda^2\sigma_1^{\prime2}+O(\lambda^3). P cb λ = λ Δ − 2 1 λ 2 σ 1 ′2 + O ( λ 3 ) .
Ignoring higher-order terms, the optimal value of λ \lambda λ is obtained by maximizing the quadratic approximation, yielding
λ ∗ = Δ σ 1 ′ 2 . \lambda^*=\frac{\Delta}{\sigma_1^{\prime2}}. λ ∗ = σ 1 ′2 Δ .
Substituting this value back gives
P c b ∗ = Δ 2 2 σ 1 ′ 2 . \mathcal{P}_{\mathrm{cb}}^*=\frac{\Delta^2}{2\sigma_1^{\prime2}}. P cb ∗ = 2 σ 1 ′2 Δ 2 .
We conclude by noting that σ 1 2 = σ 1 ′ 2 + Δ 2 \sigma_1^2=\sigma_1^{\prime2}+\Delta^2 σ 1 2 = σ 1 ′2 + Δ 2 .
Antisymmetric e-value's class
Optimality of the 1 + Antisymmetric for exchangeability
Proof. Indeed, for any e-variable E = h ( t , t ~ ) E=h(t,\widetilde{t}) E = h ( t , t ) , we have
h ( t , t ~ ) = 1 2 ( h ( t , t ~ ) + h ( t ~ , t ) ) + 1 2 ( h ( t , t ~ ) − h ( t ~ , t ) ) . h(t,\widetilde{t})=\frac{1}{2}\left(h(t,\widetilde{t})+h(\widetilde{t},t)\right)+\frac{1}{2}\left(h(t,\widetilde{t})-h(\widetilde{t},t)\right). h ( t , t ) = 2 1 ( h ( t , t ) + h ( t , t ) ) + 2 1 ( h ( t , t ) − h ( t , t ) ) .
The second term is antisymmetric. Moreover, for all t t t and t ~ \widetilde{t} t the following is in the null hypothesis,
P = 1 2 ( δ t , t ~ + δ t ~ , t ) , P=\frac{1}{2}\left(\delta_{t,\widetilde{t}}+\delta_{\widetilde{t},t}\right), P = 2 1 ( δ t , t + δ t , t ) ,
and therefore
1 2 ( h ( t , t ~ ) + h ( t ~ , t ) ) ≤ 1. \frac{1}{2}\left(h(t,\widetilde{t})+h(\widetilde{t},t)\right)\leq1. 2 1 ( h ( t , t ) + h ( t , t ) ) ≤ 1.
Verifying that 1 + 1 2 ( h ( t , t ~ ) − h ( t ~ , t ) ) 1+\frac{1}{2}\left(h(t,\widetilde{t})-h(\widetilde{t},t)\right) 1 + 2 1 ( h ( t , t ) − h ( t , t ) ) is an e-variable proves the claim.
2-Exchangeability optimality
Proof. The proof consists of a change-of-measure argument similar to that in Larsson et al. [8 ] . Indeed, denoting by f T , T ~ f_{T,\widetilde{T}} f T , T the density under the alternative Q Q Q and by P ~ \widetilde{P} P the measure with density
p ( T , T ~ ) = 1 2 ( f T , T ~ ( T , T ~ ) + f T , T ~ ( T ~ , T ) ) 1 { f T , T ~ ( T , T ~ ) > 0 } , p(T,\widetilde{T})=\frac{1}{2}\left(f_{T,\widetilde{T}}(T,\widetilde{T})+f_{T,\widetilde{T}}(\widetilde{T},T)\right)\mathbf{1}_{\{f_{T,\widetilde{T}}(T,\widetilde{T})>0\}}, p ( T , T ) = 2 1 ( f T , T ( T , T ) + f T , T ( T , T ) ) 1 { f T , T ( T , T ) > 0 } ,
we obtain
E Q [ E E ⋆ ] = E Q [ 1 + g ( T , T ~ ) 1 2 ( f T , T ~ ( T , T ~ ) + f T , T ~ ( T ~ , T ) ) ] = E P ~ [ ( 1 + g ( T , T ~ ) ) 1 { f T , T ~ ( T , T ~ ) > 0 } ] ≤ E P ~ [ 1 + g ( T , T ~ ) ] = 1. \mathbb{E}_{Q}\left[\frac{E}{E^\star}\right]
=
\mathbb{E}_{Q}\left[
\frac{1+g(T,\widetilde{T})}
{\frac{1}{2}\left(f_{T,\widetilde{T}}(T,\widetilde{T})+f_{T,\widetilde{T}}(\widetilde{T},T)\right)}
\right]
=
\mathbb{E}_{\widetilde{P}}\left[
\left(1+g(T,\widetilde{T})\right)
\mathbf{1}_{\{f_{T,\widetilde{T}}(T,\widetilde{T})>0\}}
\right]
\leq
\mathbb{E}_{\widetilde{P}}\left[1+g(T,\widetilde{T})\right]
=1. E Q [ E ⋆ E ] = E Q 2 1 ( f T , T ( T , T ) + f T , T ( T , T ) ) 1 + g ( T , T ) = E P [ ( 1 + g ( T , T ) ) 1 { f T , T ( T , T ) > 0 } ] ≤ E P [ 1 + g ( T , T ) ] = 1.
Note that there is no need for E E E to be of the form 1 + g 1+g 1 + g , since, by the very definition of an e-value, we have E P ~ [ E ] ≤ 1 \mathbb{E}_{\widetilde{P}}[E]\leq1 E P [ E ] ≤ 1 .
Intermediate null hypotheses proofs
Proof of Proposition B.1
Proof. Let P ( X , Y , Z ) P(X,Y,Z) P ( X , Y , Z ) be any distribution from the original representation of P K M X − C I \mathcal{P}^{\mathrm{MX-CI}}_{K} P K MX − CI , and P ′ ( X ~ , X , Y , Z ) : = K Z ⊗ P ( X , Y , Z ) P'(\widetilde{X},X,Y,Z):=K_Z\otimes P(X,Y,Z) P ′ ( X , X , Y , Z ) := K Z ⊗ P ( X , Y , Z ) , then by construction P ′ ( X ~ ∣ X , Y , Z ) ∼ K Z P'(\widetilde{X}\mid X,Y,Z)\sim K_Z P ′ ( X ∣ X , Y , Z ) ∼ K Z , X ⊥ ⊥ X ~ ∣ Y , Z X\perp\!\!\!\perp\widetilde{X}\mid Y,Z X ⊥ ⊥ X ∣ Y , Z and P ′ ( X ∣ Y , Z ) = P ′ ( X ~ ∣ Y , Z ) P'(X\mid Y,Z)=P'(\widetilde{X}\mid Y,Z) P ′ ( X ∣ Y , Z ) = P ′ ( X ∣ Y , Z ) . Now,
P ′ ( X ~ , X , Y , Z ) = P ′ ( X ~ ∣ X , Y , Z ) ⊗ P ′ ( X ∣ Y , Z ) ⊗ P ′ ( Y , Z ) = K Z ⊗ K Z ⊗ P ( Y , Z ) = P ′ ( X , X ~ , Y , Z ) , P'(\widetilde{X},X,Y,Z)
=
P'(\widetilde{X}\mid X,Y,Z)\otimes P'(X\mid Y,Z)\otimes P'(Y,Z)
=
K_Z\otimes K_Z\otimes P(Y,Z)
=
P'(X,\widetilde{X},Y,Z), P ′ ( X , X , Y , Z ) = P ′ ( X ∣ X , Y , Z ) ⊗ P ′ ( X ∣ Y , Z ) ⊗ P ′ ( Y , Z ) = K Z ⊗ K Z ⊗ P ( Y , Z ) = P ′ ( X , X , Y , Z ) ,
meaning that P ′ P' P ′ is an element of (13).
On the other hand, if we start with a P ′ ( X ~ , X , Y , Z ) P'(\widetilde{X},X,Y,Z) P ′ ( X , X , Y , Z ) from (13), using exchangeability we immediately get P ′ ( X ∣ X ~ , Y , Z ) = K Z P'(X\mid\widetilde{X},Y,Z)=K_Z P ′ ( X ∣ X , Y , Z ) = K Z implying X ⊥ ⊥ P ′ Y ∣ Z X\perp\!\!\!\perp_{P'}Y\mid Z X ⊥ ⊥ P ′ Y ∣ Z and P ′ ( X ∣ Z ) = K Z P'(X\mid Z)=K_Z P ′ ( X ∣ Z ) = K Z , meaning that the marginal P ′ ( X , Y , Z ) P'(X,Y,Z) P ′ ( X , Y , Z ) belongs to the original representation of the null.
Proof of GRO property for Table 1
Proposition D.3. The GRO e-variables for the null hypotheses in Table 1 are those provided in the table.
Proof. Any statistic S S S that is Q Q Q -a.s. equal to the likelihood ratio of the point alternative distribution Q Q Q and an element of the null hypothesis satisfies the following:
If S S S is an e-variable for the null, then S S S is a version of the GRO e-variable for testing against Q Q Q (Larsson et al. [8 ] ). All e-variables in Table 1 can be rewritten in such a form by extending the conditional likelihood ratio to a full likelihood ratio where necessary. Thus, all that remains is to check the e-variable property for each. The first null is treated in Grünwald et al. (2024b), and the argument for the second is analogous:
Let P ∈ P K P F X − C I P\in\mathcal{P}^{\mathrm{PFX-CI}}_{K} P ∈ P K PFX − CI , then P ( T ∣ Y , Z ) = P ( T ~ ∣ Y , Z ) = K # ( ⋅ ∣ Y , Z ) P(T\mid Y,Z)=P(\widetilde{T}\mid Y,Z)=K^{\#}(\cdot\mid Y,Z) P ( T ∣ Y , Z ) = P ( T ∣ Y , Z ) = K # ( ⋅ ∣ Y , Z ) , which has density function f T ~ ∣ Y , Z f_{\widetilde{T}\mid Y,Z} f T ∣ Y , Z by the model-X assumption on the alternative, and thus
E P [ f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) ∣ Y , Z ] = 1. \mathbb{E}_{P}\left[
\left.
\frac{f_{T\mid Y,Z}(T\mid Y,Z)}
{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}
\right|Y,Z
\right]=1. E P [ f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) Y , Z ] = 1.
The e-variable property follows by the tower property of conditional expectations. Exchangeability, conditional exchangeability and symmetry can all be proved using the same symmetry argument. We will explicitly show it for B B B -exchangeability only. For any exchangeable distribution P ( T , T ~ B ) P(T,\widetilde{T}^{B}) P ( T , T B ) and ( B + 1 ) (B+1) ( B + 1 ) -permutation σ ′ \sigma' σ ′ , we have:
E P ( T , T ~ B ) [ f T , T ~ B ( T , T ~ B ) 1 ( B + 1 ) ! ∑ σ f T , T ~ B ( σ ( T , T ~ B ) ) ] = E P ( σ ′ ( T , T ~ B ) ) [ f T , T ~ B ( T , T ~ B ) 1 ( B + 1 ) ! ∑ σ f T , T ~ B ( σ ( T , T ~ B ) ) ] = E P ( T , T ~ B ) [ f T , T ~ B ( σ ′ − 1 ( T , T ~ B ) ) 1 ( B + 1 ) ! ∑ σ f T , T ~ B ( σ ( T , T ~ B ) ) ] \begin{aligned}
\mathbb{E}_{P(T,\widetilde{T}^{B})}\left[
\frac{f_{T,\widetilde{T}^{B}}(T,\widetilde{T}^{B})}
{\frac{1}{(B+1)!}\sum_{\sigma}f_{T,\widetilde{T}^{B}}(\sigma(T,\widetilde{T}^{B}))}
\right]
=
\mathbb{E}_{P(\sigma'(T,\widetilde{T}^{B}))}\left[
\frac{f_{T,\widetilde{T}^{B}}(T,\widetilde{T}^{B})}
{\frac{1}{(B+1)!}\sum_{\sigma}f_{T,\widetilde{T}^{B}}(\sigma(T,\widetilde{T}^{B}))}
\right] \\
&=
\mathbb{E}_{P(T,\widetilde{T}^{B})}\left[
\frac{f_{T,\widetilde{T}^{B}}(\sigma'^{-1}(T,\widetilde{T}^{B}))}
{\frac{1}{(B+1)!}\sum_{\sigma}f_{T,\widetilde{T}^{B}}(\sigma(T,\widetilde{T}^{B}))}
\right]
\end{aligned} E P ( T , T B ) [ ( B + 1 )! 1 ∑ σ f T , T B ( σ ( T , T B )) f T , T B ( T , T B ) ] = E P ( σ ′ ( T , T B )) [ ( B + 1 )! 1 ∑ σ f T , T B ( σ ( T , T B )) f T , T B ( T , T B ) ] = E P ( T , T B ) [ ( B + 1 )! 1 ∑ σ f T , T B ( σ ( T , T B )) f T , T B ( σ ′ − 1 ( T , T B )) ]
Thus, the proposed e-variable has the same expectation under P P P for any permutation of its arguments. Summing over all ( B + 1 ) ! (B+1)! ( B + 1 )! choices of σ ′ \sigma' σ ′ gives us exactly the value ( B + 1 ) ! (B+1)! ( B + 1 )! , meaning that the original expectation must be exactly 1.
Derandomization monotonically increases e-power
Proposition D.4. Let T , T ~ B T,\widetilde{T}^{B} T , T B all be conditionally independent given ( Y , Z ) (Y,Z) ( Y , Z ) , and T ~ B \widetilde{T}^{B} T B further identically distributed. Let S ( T , T ~ ) S(T,\widetilde{T}) S ( T , T ) be a non-negative statistic and S B ( T , T ~ B ) : = 1 B ∑ i = 1 B S ( T , T ~ i ) S^{B}(T,\widetilde{T}^{B}) := \frac{1}{B}\sum_{i=1}^{B} S(T,\widetilde{T}_{i}) S B ( T , T B ) := B 1 ∑ i = 1 B S ( T , T i ) , then the sequence
E [ ln ( S B ( T , T ~ B ) ) ] \mathbb{E}\left[\ln\left(S^{B}(T,\widetilde{T}^{B})\right)\right] E [ ln ( S B ( T , T B ) ) ]
is monotonically increasing in B B B .
Proof. Notice that
S B ( T , T ~ B ) = 1 B ∑ i = 1 B S B − 1 ( T , T ~ − i B ) . S^{B}(T,\widetilde{T}^{B})=\frac{1}{B}\sum_{i=1}^{B}S^{B-1}(T,\widetilde{T}^{B}_{-i}). S B ( T , T B ) = B 1 i = 1 ∑ B S B − 1 ( T , T − i B ) .
where T ~ − i B \widetilde{T}^{B}_{-i} T − i B is T ~ B \widetilde{T}^{B} T B without component i i i . Therefore, by Jensen’s inequality
E [ ln ( S B ( T , T ~ B ) ) ] ≥ 1 B ∑ i = 1 B E [ ln ( S B − 1 ( T , T ~ − i B ) ) ] = E [ ln ( S B − 1 ( T , T ~ B − 1 ) ) ] . \mathbb{E}\left[\ln\left(S^{B}(T,\widetilde{T}^{B})\right)\right]\geq\frac{1}{B}\sum_{i=1}^{B}\mathbb{E}\left[\ln\left(S^{B-1}(T,\widetilde{T}^{B}_{-i})\right)\right]=\mathbb{E}\left[\ln\left(S^{B-1}(T,\widetilde{T}^{B-1})\right)\right]. E [ ln ( S B ( T , T B ) ) ] ≥ B 1 i = 1 ∑ B E [ ln ( S B − 1 ( T , T − i B ) ) ] = E [ ln ( S B − 1 ( T , T B − 1 ) ) ] .
In the last equality we used the conditional independence and i.i.d. property.
Proof for the limiting GRO e-variable for conditional exchangeability
Proof. Assuming that under the point alternative Q ( T ~ B , T , Y , Z ) Q(\widetilde{T}^{B},T,Y,Z) Q ( T B , T , Y , Z ) with density function f f f , T , T ~ B T,\widetilde{T}^{B} T , T B are all conditionally independent given ( Y , Z ) (Y,Z) ( Y , Z ) , and that the T ~ i \widetilde{T}_{i} T i are conditionally identically distributed, we have:
E B c o n d e x c h ( t , t ~ B , y , z ) = f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) 1 B + 1 ( f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) + f T ~ ∣ Y , Z ( t ∣ y , z ) ∑ j = 1 B f T ∣ Y , Z ( t ~ j ∣ y , z ) ∏ i ≠ j f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) ) = f T ∣ Y , Z ( t ∣ y , z ) 1 B + 1 ( f T ∣ Y , Z ( t ∣ y , z ) + f T ~ ∣ Y , Z ( t ∣ y , z ) ∑ j = 1 B f T ∣ Y , Z ( t ~ j ∣ y , z ) f T ~ ∣ Y , Z ( t ~ j ∣ y , z ) ) . \begin{aligned}
E^{\mathrm{cond\ exch}}_{B}(t,\widetilde{t}^{B},y,z)=
\frac{f_{T\mid Y,Z}(t\mid y,z)\prod_{i=1}^{B}f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_{i}\mid y,z)}
{\frac{1}{B+1}\left(f_{T\mid Y,Z}(t\mid y,z)\prod_{i=1}^{B}f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_{i}\mid y,z)+f_{\widetilde{T}\mid Y,Z}(t\mid y,z)\sum_{j=1}^{B}f_{T\mid Y,Z}(\widetilde{t}_{j}\mid y,z)\prod_{i\ne j}f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_{i}\mid y,z)\right)} \\
&=\frac{f_{T\mid Y,Z}(t\mid y,z)}
{\frac{1}{B+1}\left(f_{T\mid Y,Z}(t\mid y,z)+f_{\widetilde{T}\mid Y,Z}(t\mid y,z)\sum_{j=1}^{B}\frac{f_{T\mid Y,Z}(\widetilde{t}_{j}\mid y,z)}{f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_{j}\mid y,z)}\right)}.
\end{aligned} E B cond exch ( t , t B , y , z ) = B + 1 1 ( f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ∣ Y , Z ( t i ∣ y , z ) + f T ∣ Y , Z ( t ∣ y , z ) ∑ j = 1 B f T ∣ Y , Z ( t j ∣ y , z ) ∏ i = j f T ∣ Y , Z ( t i ∣ y , z ) ) f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ∣ Y , Z ( t i ∣ y , z ) = B + 1 1 ( f T ∣ Y , Z ( t ∣ y , z ) + f T ∣ Y , Z ( t ∣ y , z ) ∑ j = 1 B f T ∣ Y , Z ( t j ∣ y , z ) f T ∣ Y , Z ( t j ∣ y , z ) ) f T ∣ Y , Z ( t ∣ y , z ) .
First, we simply factorized the joint densities into products using conditional independence under the alternative, and noticed that, by symmetry, the sum of ( B + 1 ) ! (B+1)! ( B + 1 )! terms simplifies into a smaller sum of ( B + 1 ) (B+1) ( B + 1 ) terms. To get the second equality we divide everything by the product in the numerator. Now, note that if we evaluate this e-variable in the random vector ( T , T ~ 1 , … , T ~ B ) (T,\widetilde{T}_{1},\ldots,\widetilde{T}_{B}) ( T , T 1 , … , T B ) and let B B B tend to infinity, by an application of the strong law of large numbers in the denominator, the limiting random variable is Q Q Q -a.s. equal to
f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) ⋅ E Q [ f T ∣ Y , Z ( T ~ ∣ Y , Z ) f T ~ ∣ Y , Z ( T ~ ∣ Y , Z ) ∣ Y , Z ] = f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) . \frac{f_{T\mid Y,Z}(T\mid Y,Z)}
{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)\cdot\mathbb{E}_{Q}\left[\left.\frac{f_{T\mid Y,Z}(\widetilde{T}\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(\widetilde{T}\mid Y,Z)}\right|Y,Z\right]}
=
\frac{f_{T\mid Y,Z}(T\mid Y,Z)}
{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}. f T ∣ Y , Z ( T ∣ Y , Z ) ⋅ E Q [ f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) Y , Z ] f T ∣ Y , Z ( T ∣ Y , Z ) = f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) .
E-power sequence of conditional exchangeability e-variables
Proposition D.5. The sequence of e-powers
E Q [ ln ( E B c o n d e x c h ) ] \mathbb{E}_{Q}\left[\ln\left(E^{\mathrm{cond\ exch}}_{B}\right)\right] E Q [ ln ( E B cond exch ) ]
is (weakly) increasing in B B B with limit
E Q ( Y , Z ) [ D K L ( Q ( T ∣ Y , Z ) ∥ Q ( T ~ ∣ Y , Z ) ) ] , \mathbb{E}_{Q(Y,Z)}\left[D_{\mathrm{KL}}\left(Q(T\mid Y,Z)\Vert Q(\widetilde{T}\mid Y,Z)\right)\right], E Q ( Y , Z ) [ D KL ( Q ( T ∣ Y , Z ) ∥ Q ( T ∣ Y , Z ) ) ] ,
whenever the latter expectation is finite.
Proof. E B + 1 c o n d e x c h E_{B+1}^{\mathrm{cond\ exch}} E B + 1 cond exch is an e-variable for P B + 1 c o n d e x c h \mathcal{P}_{B+1}^{\mathrm{cond\ exch}} P B + 1 cond exch , while E B + 1 c o n d e x c h E_{B+1}^{\mathrm{cond\ exch}} E B + 1 cond exch is the GRO e-variable for the same null, and thus has a greater or equal e-power. Therefore, the e-power sequence weakly grows. Furthermore, in Section D.5.4, we have seen that the limiting e-variable is the conditional likelihood ratio
E ∞ c o n d e x c h = f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) . E_{\infty}^{\mathrm{cond\ exch}}=\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}. E ∞ cond exch = f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) .
Note that
E Q [ ln ( E B c o n d e x c h ) ] ≤ E Q ( Y , Z ) [ D K L ( Q ( T ∣ Y , Z ) ∥ Q ( T ~ ∣ Y , Z ) ) ] . \mathbb{E}_{Q}\left[\ln\left(E_{B}^{\mathrm{cond\ exch}}\right)\right]\leq\mathbb{E}_{Q(Y,Z)}\left[D_{\mathrm{KL}}\left(Q(T\mid Y,Z)\mathbin{\|}Q(\widetilde{T}\mid Y,Z)\right)\right]. E Q [ ln ( E B cond exch ) ] ≤ E Q ( Y , Z ) [ D KL ( Q ( T ∣ Y , Z ) ∥ Q ( T ∣ Y , Z ) ) ] .
must hold for all B B B . This is true because P K P F X − C I \mathcal{P}_{K}^{\mathrm{PFX-CI}} P K PFX − CI can always be equivalently represented (similar to Section D.5.1) by adding B B B conditionally independent dummy variables T ~ i ∼ K Y , Z ♯ \widetilde{T}_i\sim K_{Y,Z}^{\sharp} T i ∼ K Y , Z ♯ with same distribution under the alternative, and making the same exchangeability requirements as in P B c o n d e x c h \mathcal{P}_{B}^{\mathrm{cond\ exch}} P B cond exch . The addition of dummy variables does not change the GRO e-variable, but makes it immediately clear that P B c o n d e x c h \mathcal{P}_{B}^{\mathrm{cond\ exch}} P B cond exch is a larger null hypothesis, and thus has a weaker GRO e-variable.
What remains is to show that the e-power gap tends to 0. Fatou’s lemma implies:
E [ ( ln E ∞ c o n d e x c h ) + ] ≤ lim inf B E [ ( ln E B c o n d e x c h ) + ] . \mathbb{E}\left[\left(\ln E_{\infty}^{\mathrm{cond\ exch}}\right)^{+}\right]\leq\liminf_{B}\mathbb{E}\left[\left(\ln E_{B}^{\mathrm{cond\ exch}}\right)^{+}\right]. E [ ( ln E ∞ cond exch ) + ] ≤ B lim inf E [ ( ln E B cond exch ) + ] .
If we can further show that ( ln E B c o n d e x c h ) − \left(\ln E_{B}^{\mathrm{cond\ exch}}\right)^{-} ( ln E B cond exch ) − is a uniformly integrable sequence, we will have
E [ ( ln E ∞ c o n d e x c h ) − ] = lim B E [ ( ln E B c o n d e x c h ) − ] . \mathbb{E}\left[\left(\ln E_{\infty}^{\mathrm{cond\ exch}}\right)^{-}\right]=\lim_{B}\mathbb{E}\left[\left(\ln E_{B}^{\mathrm{cond\ exch}}\right)^{-}\right]. E [ ( ln E ∞ cond exch ) − ] = B lim E [ ( ln E B cond exch ) − ] .
and the proof will be finished by subtracting this equality from Fatou’s inequality. The rest of the proof is devoted to showing uniform integrability indeed holds.
Note that
E B c o n d e x c h = f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) M B , with M B = 1 B + 1 ( f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) + ∑ i = 1 B f T ∣ Y , Z ( T ~ i ∣ Y , Z ) f T ~ ∣ Y , Z ( T ~ i ∣ Y , Z ) ) . E_{B}^{\mathrm{cond\ exch}}=\frac{\dfrac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}}{M_B},
\qquad\text{with}\qquad
M_B=\frac{1}{B+1}\left(\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}+\sum_{i=1}^{B}\frac{f_{T\mid Y,Z}(\widetilde{T}_i\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(\widetilde{T}_i\mid Y,Z)}\right). E B cond exch = M B f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) , with M B = B + 1 1 ( f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) + i = 1 ∑ B f T ∣ Y , Z ( T i ∣ Y , Z ) f T ∣ Y , Z ( T i ∣ Y , Z ) ) .
Since
ln E B c o n d e x c h = ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) − ln M B , \ln E_{B}^{\mathrm{cond\ exch}}=\ln\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}-\ln M_B, ln E B cond exch = ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) − ln M B ,
we have
( ln E B c o n d e x c h ) − ≤ ( ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) ) − + ( ln M B ) + . \left(\ln E_{B}^{\mathrm{cond\ exch}}\right)^{-}\leq\left(\ln\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}\right)^{-}+\left(\ln M_B\right)^{+}. ( ln E B cond exch ) − ≤ ( ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) ) − + ( ln M B ) + .
Define
A B = 1 B + 1 ∑ i = 1 B f T ∣ Y , Z ( T ~ i ∣ Y , Z ) f T ~ ∣ Y , Z ( T ~ i ∣ Y , Z ) , so that M B ≤ f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) + A B . A_B=\frac{1}{B+1}\sum_{i=1}^{B}\frac{f_{T\mid Y,Z}(\widetilde{T}_i\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(\widetilde{T}_i\mid Y,Z)},
\qquad\text{so that}\qquad
M_B\leq\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}+A_B. A B = B + 1 1 i = 1 ∑ B f T ∣ Y , Z ( T i ∣ Y , Z ) f T ∣ Y , Z ( T i ∣ Y , Z ) , so that M B ≤ f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) + A B .
Using ln + ( a + b ) ≤ ln 2 + ln + a + ln + b \ln^{+}(a+b)\leq\ln2+\ln^{+}a+\ln^{+}b ln + ( a + b ) ≤ ln 2 + ln + a + ln + b and ln + x ≤ x \ln^{+}x\leq x ln + x ≤ x , we obtain
( ln E B c o n d e x c h ) − ≤ ∣ ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) ∣ + ln 2 + A B . \left(\ln E_{B}^{\mathrm{cond\ exch}}\right)^{-}\leq\left|\ln\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}\right|+\ln2+A_B. ( ln E B cond exch ) − ≤ ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) + ln 2 + A B .
It therefore suffices to show that the right-hand side is uniformly integrable in B B B .
The term A B A_B A B . Since T ~ 1 , … , T ~ B \widetilde{T}_1,\ldots,\widetilde{T}_B T 1 , … , T B are i.i.d. given ( Y , Z ) (Y,Z) ( Y , Z ) , the pairs ( T ~ i , ( Y , Z ) ) (\widetilde{T}_i,(Y,Z)) ( T i , ( Y , Z )) share a common law, so the variables
f T ∣ Y , Z ( T ~ i ∣ Y , Z ) f T ~ ∣ Y , Z ( T ~ i ∣ Y , Z ) , i ≥ 1 , \frac{f_{T\mid Y,Z}(\widetilde{T}_i\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(\widetilde{T}_i\mid Y,Z)},
\qquad i\geq1, f T ∣ Y , Z ( T i ∣ Y , Z ) f T ∣ Y , Z ( T i ∣ Y , Z ) , i ≥ 1 ,
are identically distributed. They are nonnegative with
E [ f T ∣ Y , Z ( T ~ i ∣ Y , Z ) f T ~ ∣ Y , Z ( T ~ i ∣ Y , Z ) ∣ Y , Z ] = ∫ f T ∣ Y , Z ( t ∣ Y , Z ) d t = 1. \mathbb{E}\left[\left.\frac{f_{T\mid Y,Z}(\widetilde{T}_i\mid Y,Z)}{f_{\widetilde{T}\mid Y,Z}(\widetilde{T}_i\mid Y,Z)}\right|Y,Z\right]=\int f_{T\mid Y,Z}(t\mid Y,Z)\,\mathrm{d}t=1. E [ f T ∣ Y , Z ( T i ∣ Y , Z ) f T ∣ Y , Z ( T i ∣ Y , Z ) Y , Z ] = ∫ f T ∣ Y , Z ( t ∣ Y , Z ) d t = 1.
An identically distributed family of integrable variables is uniformly integrable, and so is the family of its averages. Thus, { A B } B ≥ 1 \{A_B\}_{B\ge1} { A B } B ≥ 1 is uniformly integrable.
The term involving T T T . This is a single random variable, so it suffices that it is integrable under f f f . For the negative part, using ln x ≤ x \ln x\le x ln x ≤ x ,
E [ ( ln f T ∣ Y , Z ( T ∣ Y , Z ) f ~ T ∣ Y , Z ( T ∣ Y , Z ) ) − ∣ Y , Z ] ≤ ∫ { t : f T ∣ Y , Z ( t ∣ Y , Z ) < f ~ T ∣ Y , Z ( t ∣ Y , Z ) } f ~ T ∣ Y , Z ( t ∣ Y , Z ) d t ≤ 1. \mathbb{E}\left[\left.\left(\ln\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{\widetilde{f}_{T\mid Y,Z}(T\mid Y,Z)}\right)^{-}\right|Y,Z\right]\le\int_{\{t:f_{T\mid Y,Z}(t\mid Y,Z)<\widetilde{f}_{T\mid Y,Z}(t\mid Y,Z)\}}\widetilde{f}_{T\mid Y,Z}(t\mid Y,Z)\,\mathrm{d}t\le1. E [ ( ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) ) − Y , Z ] ≤ ∫ { t : f T ∣ Y , Z ( t ∣ Y , Z ) < f T ∣ Y , Z ( t ∣ Y , Z )} f T ∣ Y , Z ( t ∣ Y , Z ) d t ≤ 1.
For the positive part, integrability holds if and only if
E [ ln f T ∣ Y , Z ( T ∣ Y , Z ) f ~ T ∣ Y , Z ( T ∣ Y , Z ) ] ] < ∞ , \mathbb{E}\left[\left.\ln\frac{f_{T\mid Y,Z}(T\mid Y,Z)}{\widetilde{f}_{T\mid Y,Z}(T\mid Y,Z)}\right]\right]<\infty, E [ ln f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ Y , Z ( T ∣ Y , Z ) ] ] < ∞ ,
which is true by assumption.
Limiting GRO e-variable for exchangeability
The purpose of the proposition is to show that under regularity assumptions, a Q Q Q -a.s. limit of E B e x c h E_B^{\mathrm{exch}} E B exch exists, and it has a very natural form. It is the conditional likelihood ratio of T T T and T ~ \widetilde{T} T , but given a function φ ( Y , Z ) \varphi(Y,Z) φ ( Y , Z ) now, instead of the full pair ( Y , Z ) (Y,Z) ( Y , Z ) – which as we have seen in Section D.5.4 gives the limiting e-variable of E B c o n d e x c h E_B^{\mathrm{cond\ exch}} E B cond exch . The function φ ( Y , Z ) \varphi(Y,Z) φ ( Y , Z ) essentially encodes all information that we can find out about the realized values of ( Y , Z ) (Y,Z) ( Y , Z ) from an infinite i.i.d. sample T ~ ∞ \widetilde{T}^{\infty} T ∞ from Q ( T ~ ∣ Y , Z ) Q(\widetilde{T}\mid Y,Z) Q ( T ∣ Y , Z ) . The regularity assumptions are strong and were chosen to provide a relatively simple proof of convergence rather than a very general result, and thus can likely be weakened.
Proposition D.6. Suppose that under the point alternative Q ( T ~ ∞ , T , Y , Z ) Q(\widetilde{T}^{\infty},T,Y,Z) Q ( T ∞ , T , Y , Z ) , { T ~ i } i , T \{\widetilde{T}_i\}_i,T { T i } i , T are all independent given Y , Z Y,Z Y , Z , and { T ~ i } i \{\widetilde{T}_i\}_i { T i } i are further conditionally identically distributed. Furthermore, distributions Q ( T ∣ Y , Z ) , Q ( T ~ ∣ Y , Z ) , Q ( Y , Z ) Q(T\mid Y,Z),Q(\widetilde{T}\mid Y,Z),Q(Y,Z) Q ( T ∣ Y , Z ) , Q ( T ∣ Y , Z ) , Q ( Y , Z ) are given by (conditional) densities f T ∣ Y , Z , f T ~ ∣ Y , Z , f Y , Z f_{T\mid Y,Z},f_{\widetilde{T}\mid Y,Z},f_{Y,Z} f T ∣ Y , Z , f T ∣ Y , Z , f Y , Z respectively, and ( Y , Z ) (Y,Z) ( Y , Z ) takes values in a compact subspace of R d + 1 \mathbb{R}^{d+1} R d + 1 . Write w ( t ∣ y , z ) : = f T ∣ Y , Z ( t ∣ y , z ) / f T ~ ∣ Y , Z ( t ∣ y , z ) w(t\mid y,z)\mathrel{\mathop:}=f_{T\mid Y,Z}(t\mid y,z)/f_{\widetilde{T}\mid Y,Z}(t\mid y,z) w ( t ∣ y , z ) : = f T ∣ Y , Z ( t ∣ y , z ) / f T ∣ Y , Z ( t ∣ y , z ) for the likelihood ratio (with 0 / 0 = 0 0/0=0 0/0 = 0 ), and φ ( y , z ) : = Q ( T ~ ∈ ⋅ ∣ Y = y , Z = z ) \varphi(y,z)\mathrel{\mathop:}=Q(\widetilde{T}\in\cdot\mid Y=y,Z=z) φ ( y , z ) : = Q ( T ∈ ⋅ ∣ Y = y , Z = z ) . Under the regularity assumptions
(Continuity and upper bound) For every t t t , the maps ( y , z ) ↦ f T ∣ Y , Z ( t ∣ y , z ) (y,z)\mapsto f_{T\mid Y,Z}(t\mid y,z) ( y , z ) ↦ f T ∣ Y , Z ( t ∣ y , z ) and ( y , z ) ↦ f T ~ ∣ Y , Z ( t ∣ y , z ) (y,z)\mapsto f_{\widetilde{T}\mid Y,Z}(t\mid y,z) ( y , z ) ↦ f T ∣ Y , Z ( t ∣ y , z ) are continuous, and there exists a constant C < ∞ C<\infty C < ∞ s.t. f T ∣ Y , Z ( t ∣ y , z ) , f T ~ ∣ Y , Z ( t ∣ y , z ) ≤ C f_{T\mid Y,Z}(t\mid y,z),f_{\widetilde{T}\mid Y,Z}(t\mid y,z)\le C f T ∣ Y , Z ( t ∣ y , z ) , f T ∣ Y , Z ( t ∣ y , z ) ≤ C for all t , y , z t,y,z t , y , z .
(Lipschitz likelihood ratio) f T ∣ Y , Z ( t ∣ y , z ) = 0 f_{T\mid Y,Z}(t\mid y,z)=0 f T ∣ Y , Z ( t ∣ y , z ) = 0 whenever f T ~ ∣ Y , Z ( t ∣ y , z ) = 0 f_{\widetilde{T}\mid Y,Z}(t\mid y,z)=0 f T ∣ Y , Z ( t ∣ y , z ) = 0 , and there is a function L ( t ) ≥ 0 L(t)\ge0 L ( t ) ≥ 0 such that for all t , y , z , y ′ , z ′ t,y,z,y',z' t , y , z , y ′ , z ′ ,
∣ w ( t ∣ y , z ) − w ( t ∣ y ′ , z ′ ) ∣ ≤ L ( t ) ∥ ( y , z ) − ( y ′ , z ′ ) ∥ , \left|w(t\mid y,z)-w(t\mid y',z')\right|\le L(t)\left\|(y,z)-(y',z')\right\|, ∣ w ( t ∣ y , z ) − w ( t ∣ y ′ , z ′ ) ∣ ≤ L ( t ) ∥ ( y , z ) − ( y ′ , z ′ ) ∥ , and ℓ ( y , z ) : = ∫ L ( t ) f T ~ ∣ Y , Z ( t ∣ y , z ) d t < ∞ \ell(y,z)\mathrel{\mathop:}=\int L(t)f_{\widetilde{T}\mid Y,Z}(t\mid y,z)\,\mathrm{d}t<\infty ℓ ( y , z ) : = ∫ L ( t ) f T ∣ Y , Z ( t ∣ y , z ) d t < ∞ for all y , z y,z y , z .
(Posterior consistency) Q ( T ~ ∞ , Y , Z ) Q(\widetilde{T}^{\infty},Y,Z) Q ( T ∞ , Y , Z ) -a.s.,
f Y , Z ∣ T ~ B ( ⋅ , ⋅ ∣ T ~ B ) → w Π φ ( Y , Z ) as B → ∞ , f_{Y,Z\mid\widetilde{T}^{B}}(\cdot,\cdot\mid\widetilde{T}^{B})\xrightarrow{w}\Pi_{\varphi(Y,Z)}\quad\text{as }B\to\infty, f Y , Z ∣ T B ( ⋅ , ⋅ ∣ T B ) w Π φ ( Y , Z ) as B → ∞ , where Π φ ( Y , Z ) \Pi_{\varphi(Y,Z)} Π φ ( Y , Z ) is a probability measure supported on the fiber φ − 1 ( { φ ( Y , Z ) } ) \varphi^{-1}(\{\varphi(Y,Z)\}) φ − 1 ({ φ ( Y , Z )}) .
The limiting e e e -variable for conditional exchangeability is Q ( T ~ ∞ , T , Y , Z ) Q(\widetilde{T}^{\infty},T,Y,Z) Q ( T ∞ , T , Y , Z ) -a.s. given by
lim B → ∞ E B e x c h ( T , T ~ B ) = f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z ) ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) , \lim_{B\to\infty}E_B^{\mathrm{exch}}(T,\widetilde{T}^{B})=\frac{f_{T\mid\varphi(Y,Z)}(T\mid\varphi(Y,Z))}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}, B → ∞ lim E B exch ( T , T B ) = f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z )) , where
f T ∣ φ ( Y , Z ) ( t ∣ φ ( Y , Z ) ) : = ∫ f T ∣ Y , Z ( t ∣ y , z ) Π φ ( Y , Z ) ( d y , d z ) . f_{T\mid\varphi(Y,Z)}(t\mid\varphi(Y,Z))\mathrel{\mathop:}=\int f_{T\mid Y,Z}(t\mid y,z)\,\Pi_{\varphi(Y,Z)}(\mathrm{d}y,\mathrm{d}z). f T ∣ φ ( Y , Z ) ( t ∣ φ ( Y , Z )) : = ∫ f T ∣ Y , Z ( t ∣ y , z ) Π φ ( Y , Z ) ( d y , d z ) .
Proof. Throughout, ( Y , Z ) (Y,Z) ( Y , Z ) denotes the realized value, so that given ( Y , Z ) (Y,Z) ( Y , Z ) the T ~ j \widetilde{T}_j T j are i.i.d. with density f T ~ ∣ Y , Z ( ⋅ ∣ Y , Z ) f_{\widetilde{T}\mid Y,Z}(\cdot\mid Y,Z) f T ∣ Y , Z ( ⋅ ∣ Y , Z ) and T T T has density f T ∣ Y , Z ( ⋅ ∣ Y , Z ) f_{T\mid Y,Z}(\cdot\mid Y,Z) f T ∣ Y , Z ( ⋅ ∣ Y , Z ) , while lowercase ( y , z ) (y,z) ( y , z ) is an integration variable. By Assumption 2, f T ∣ Y , Z ( t ∣ y , z ) = w ( t ∣ y , z ) f T ~ ∣ Y , Z ( t ∣ y , z ) f_{T\mid Y,Z}(t\mid y,z)=w(t\mid y,z)f_{\widetilde{T}\mid Y,Z}(t\mid y,z) f T ∣ Y , Z ( t ∣ y , z ) = w ( t ∣ y , z ) f T ∣ Y , Z ( t ∣ y , z ) for all t , y , z t,y,z t , y , z .
Step 1 (rewriting the e-variable). Using the same product decomposition as in E B e x c h c o n d E_B^{\mathrm{exch}\ \mathrm{cond}} E B exch cond (see Appendix D.5.4), but marginalizing over y y y and z z z ,
E B e x c h ( t , t ~ B ) = ( B + 1 ) ∫ f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) f Y , Z ( y , z ) d y d z ∫ [ f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) + f T ~ ∣ Y , Z ( t ∣ y , z ) ∑ j = 1 B f T ∣ Y , Z ( t ~ j ∣ y , z ) ∏ i ≠ j f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) ] f Y , Z ( y , z ) d y d z . E_B^{\mathrm{exch}}(t,\widetilde{t}^{B})=
\frac{(B+1)\int f_{T\mid Y,Z}(t\mid y,z)\prod_{i=1}^{B}f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_i\mid y,z)f_{Y,Z}(y,z)\,dy\,dz}
{\int\left[f_{T\mid Y,Z}(t\mid y,z)\prod_{i=1}^{B}f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_i\mid y,z)+f_{\widetilde{T}\mid Y,Z}(t\mid y,z)\sum_{j=1}^{B}f_{T\mid Y,Z}(\widetilde{t}_j\mid y,z)\prod_{i\ne j}f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_i\mid y,z)\right]f_{Y,Z}(y,z)\,dy\,dz}. E B exch ( t , t B ) = ∫ [ f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ∣ Y , Z ( t i ∣ y , z ) + f T ∣ Y , Z ( t ∣ y , z ) ∑ j = 1 B f T ∣ Y , Z ( t j ∣ y , z ) ∏ i = j f T ∣ Y , Z ( t i ∣ y , z ) ] f Y , Z ( y , z ) d y d z ( B + 1 ) ∫ f T ∣ Y , Z ( t ∣ y , z ) ∏ i = 1 B f T ∣ Y , Z ( t i ∣ y , z ) f Y , Z ( y , z ) d y d z .
Since f T ∣ Y , Z ( t ~ j ∣ y , z ) ∏ i ≠ j f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) = w ( t ~ j ∣ y , z ) ∏ i f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) f_{T\mid Y,Z}(\widetilde{t}_j\mid y,z)\prod_{i\ne j}f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_i\mid y,z)=w(\widetilde{t}_j\mid y,z)\prod_i f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_i\mid y,z) f T ∣ Y , Z ( t j ∣ y , z ) ∏ i = j f T ∣ Y , Z ( t i ∣ y , z ) = w ( t j ∣ y , z ) ∏ i f T ∣ Y , Z ( t i ∣ y , z ) , dividing numerator and denominator by ( B + 1 ) ∫ ∏ i f T ~ ∣ Y , Z ( t ~ i ∣ y , z ) f Y , Z ( y , z ) d y d z (B+1)\int\prod_i f_{\widetilde{T}\mid Y,Z}(\widetilde{t}_i\mid y,z)f_{Y,Z}(y,z)\,dy\,dz ( B + 1 ) ∫ ∏ i f T ∣ Y , Z ( t i ∣ y , z ) f Y , Z ( y , z ) d y d z and using Bayes’ rule gives
E B e x c h ( t , t ~ B ) = A B ( t ) 1 B + 1 A B ( t ) + D B ( t ) . (14) E_B^{\mathrm{exch}}(t,\widetilde{t}^{B})=\frac{A_B(t)}{\frac{1}{B+1}A_B(t)+D_B(t)}. \tag*{(14)} E B exch ( t , t B ) = B + 1 1 A B ( t ) + D B ( t ) A B ( t ) . (14)
where
A B ( t ) = ∫ f T ∣ Y , Z ( t ∣ y , z ) f Y , Z ∣ T ~ B ( y , z ∣ t ~ B ) d y d z , A_B(t)=\int f_{T\mid Y,Z}(t\mid y,z)f_{Y,Z\mid\widetilde{T}^{B}}(y,z\mid\widetilde{t}^{B})\,dy\,dz, A B ( t ) = ∫ f T ∣ Y , Z ( t ∣ y , z ) f Y , Z ∣ T B ( y , z ∣ t B ) d y d z ,
D B ( t ) = ∫ f T ~ ∣ Y , Z ( t ∣ y , z ) ( 1 B + 1 ∑ j = 1 B w ( t ~ j ∣ y , z ) ) f Y , Z ∣ T ~ B ( y , z ∣ t ~ B ) d y d z . D_B(t)=\int f_{\widetilde{T}\mid Y,Z}(t\mid y,z)\left(\frac{1}{B+1}\sum_{j=1}^{B}w(\widetilde{t}_j\mid y,z)\right)f_{Y,Z\mid\widetilde{T}^{B}}(y,z\mid\widetilde{t}^{B})\,dy\,dz. D B ( t ) = ∫ f T ∣ Y , Z ( t ∣ y , z ) ( B + 1 1 j = 1 ∑ B w ( t j ∣ y , z ) ) f Y , Z ∣ T B ( y , z ∣ t B ) d y d z .
From now on we evaluate at t ~ B = T ~ B \widetilde{t}^{B}=\widetilde{T}^{B} t B = T B .
Step 2 (A B A_B A B -term). For fixed t t t , the function ( y , z ) ↦ f T ∣ Y , Z ( t ∣ y , z ) (y,z)\mapsto f_{T\mid Y,Z}(t\mid y,z) ( y , z ) ↦ f T ∣ Y , Z ( t ∣ y , z ) is continuous and bounded by C C C (Assumption 1). Hence, by the definition of weak convergence and Assumption 3,
A B ( t ) → ∫ f T ∣ Y , Z ( t ∣ y , z ) Π φ ( Y , Z ) ( d y , d z ) = f T ∣ φ ( Y , Z ) ( t ∣ φ ( Y , Z ) ) , and A B ( t ) B + 1 ≤ C B + 1 → 0. A_B(t)\to\int f_{T\mid Y,Z}(t\mid y,z)\Pi_{\varphi(Y,Z)}(dy,dz)=f_{T\mid\varphi(Y,Z)}(t\mid\varphi(Y,Z)),
\qquad\text{and}\qquad
\frac{A_B(t)}{B+1}\le\frac{C}{B+1}\to0. A B ( t ) → ∫ f T ∣ Y , Z ( t ∣ y , z ) Π φ ( Y , Z ) ( d y , d z ) = f T ∣ φ ( Y , Z ) ( t ∣ φ ( Y , Z )) , and B + 1 A B ( t ) ≤ B + 1 C → 0.
Step 3 (the likelihood-ratio average converges uniformly in ( y , z ) (y,z) ( y , z ) ). Let
w ‾ B ( y , z ) : = 1 B ∑ j = 1 B w ( T ~ j ∣ y , z ) , r ( y , z ) : = ∫ w ( t ′ ∣ y , z ) f T ~ ∣ Y , Z ( t ′ ∣ Y , Z ) d t ′ , \overline{w}_B(y,z)\mathrel{\mathop:}=\frac{1}{B}\sum_{j=1}^{B}w(\widetilde{T}_j\mid y,z),
\qquad
r(y,z)\mathrel{\mathop:}=\int w(t'\mid y,z)f_{\widetilde{T}\mid Y,Z}(t'\mid Y,Z)\,dt', w B ( y , z ) : = B 1 j = 1 ∑ B w ( T j ∣ y , z ) , r ( y , z ) : = ∫ w ( t ′ ∣ y , z ) f T ∣ Y , Z ( t ′ ∣ Y , Z ) d t ′ ,
so that r ( y , z ) r(y,z) r ( y , z ) is the mean of w ( T ~ j ∣ y , z ) w(\widetilde{T}_j\mid y,z) w ( T j ∣ y , z ) . By Assumption 2, ∣ r ( y , z ) − r ( y ′ , z ′ ) ∣ ≤ ℓ ( Y , Z ) ∥ ( y , z ) − ( y ′ , z ′ ) ∥ |r(y,z)-r(y',z')|\le\ell(Y,Z)\|(y,z)-(y',z')\| ∣ r ( y , z ) − r ( y ′ , z ′ ) ∣ ≤ ℓ ( Y , Z ) ∥ ( y , z ) − ( y ′ , z ′ ) ∥ . Moreover r ( Y , Z ) = ∫ f T ∣ Y , Z ( t ′ ∣ Y , Z ) d t ′ = 1 r(Y,Z)=\int f_{T\mid Y,Z}(t'\mid Y,Z)\,dt'=1 r ( Y , Z ) = ∫ f T ∣ Y , Z ( t ′ ∣ Y , Z ) d t ′ = 1 , so r r r is bounded by 1 + ℓ ( Y , Z ) ⋅ diam < ∞ 1+\ell(Y,Z)\cdot\operatorname{diam}<\infty 1 + ℓ ( Y , Z ) ⋅ diam < ∞ . We show that, almost surely,
sup y , z ∣ w ‾ B ( y , z ) − r ( y , z ) ∣ → 0. (15) \sup_{y,z}\left|\overline{w}_B(y,z)-r(y,z)\right|\to0. \tag*{(15)} y , z sup ∣ w B ( y , z ) − r ( y , z ) ∣ → 0. (15)
Fix δ > 0 \delta>0 δ > 0 . By compactness, the space of ( y , z ) (y,z) ( y , z ) is covered by finitely many balls of radius δ \delta δ , with centres ( y 1 , z 1 ) , … , ( y K , z K ) (y_1,z_1),\ldots,(y_K,z_K) ( y 1 , z 1 ) , … , ( y K , z K ) . By the strong law of large numbers (applied to finitely many i.i.d. sequences with finite means), almost surely
w ‾ B ( y k , z k ) → r ( y k , z k ) ( k = 1 , … , K ) , 1 B ∑ j = 1 B L ( T ~ j ) → ℓ ( Y , Z ) . \overline{w}_B(y_k,z_k)\to r(y_k,z_k)\quad(k=1,\ldots,K),
\qquad
\frac{1}{B}\sum_{j=1}^{B}L(\widetilde{T}_j)\to\ell(Y,Z). w B ( y k , z k ) → r ( y k , z k ) ( k = 1 , … , K ) , B 1 j = 1 ∑ B L ( T j ) → ℓ ( Y , Z ) .
For any ( y , z ) (y,z) ( y , z ) , choose k k k with ∥ ( y , z ) − ( y k , z k ) ∥ < δ \|(y,z)-(y_k,z_k)\|<\delta ∥ ( y , z ) − ( y k , z k ) ∥ < δ . Using Assumption 2 twice,
∣ w ‾ B ( y , z ) − r ( y , z ) ∣ ≤ ∣ w ‾ B ( y , z ) − w ‾ B ( y k , z k ) ∣ + ∣ w ‾ B ( y k , z k ) − r ( y k , z k ) ∣ + ∣ r ( y k , z k ) − r ( y , z ) ∣ ≤ δ 1 B ∑ j = 1 B L ( T ~ j ) + max k ≤ K ∣ w ‾ B ( y k , z k ) − r ( y k , z k ) ∣ + δ ℓ ( Y , Z ) . \begin{aligned}
\left|\overline{w}_B(y,z)-r(y,z)\right|
\le\left|\overline{w}_B(y,z)-\overline{w}_B(y_k,z_k)\right|+\left|\overline{w}_B(y_k,z_k)-r(y_k,z_k)\right|+\left|r(y_k,z_k)-r(y,z)\right| \\
&\le\delta\frac{1}{B}\sum_{j=1}^{B}L(\widetilde{T}_j)+\max_{k\le K}\left|\overline{w}_B(y_k,z_k)-r(y_k,z_k)\right|+\delta\ell(Y,Z).
\end{aligned} ∣ w B ( y , z ) − r ( y , z ) ∣ ≤ ∣ w B ( y , z ) − w B ( y k , z k ) ∣ + ∣ w B ( y k , z k ) − r ( y k , z k ) ∣ + ∣ r ( y k , z k ) − r ( y , z ) ∣ ≤ δ B 1 j = 1 ∑ B L ( T j ) + k ≤ K max ∣ w B ( y k , z k ) − r ( y k , z k ) ∣ + δ ℓ ( Y , Z ) .
The right-hand side does not depend on ( y , z ) (y,z) ( y , z ) , and its lim sup is 2 δ ℓ ( Y , Z ) 2\delta\,\ell(Y,Z) 2 δ ℓ ( Y , Z ) . Since δ \delta δ was arbitrary, we get (15).
Step 4 (D B D_B D B -term). Since 1 B + 1 ∑ j = 1 B w ( T ~ j ∣ y , z ) = B B + 1 w ‾ B ( y , z ) \frac{1}{B+1}\sum_{j=1}^{B}w(\widetilde{T}_j\mid y,z)=\frac{B}{B+1}\overline{w}_B(y,z) B + 1 1 ∑ j = 1 B w ( T j ∣ y , z ) = B + 1 B w B ( y , z ) , we can split
B + 1 B D B ( t ) = ∫ f T ~ ∣ Y , Z ( t ∣ y , z ) r ( y , z ) f Y , Z ∣ T ~ B ( y , z ∣ T ~ B ) d y d z \frac{B+1}{B}D_B(t)=\int f_{\widetilde{T}\mid Y,Z}(t\mid y,z)r(y,z)f_{Y,Z\mid\widetilde{T}^B}(y,z\mid\widetilde{T}^B)\,dy\,dz B B + 1 D B ( t ) = ∫ f T ∣ Y , Z ( t ∣ y , z ) r ( y , z ) f Y , Z ∣ T B ( y , z ∣ T B ) d y d z
+ ∫ f T ~ ∣ Y , Z ( t ∣ y , z ) ( w ‾ B ( y , z ) − r ( y , z ) ) f Y , Z ∣ T ~ B ( y , z ∣ T ~ B ) d y d z . \qquad+\int f_{\widetilde{T}\mid Y,Z}(t\mid y,z)\bigl(\overline{w}_B(y,z)-r(y,z)\bigr)f_{Y,Z\mid\widetilde{T}^B}(y,z\mid\widetilde{T}^B)\,dy\,dz. + ∫ f T ∣ Y , Z ( t ∣ y , z ) ( w B ( y , z ) − r ( y , z ) ) f Y , Z ∣ T B ( y , z ∣ T B ) d y d z .
The second term is at most C sup y , z ∣ w ‾ B ( y , z ) − r ( y , z ) ∣ C\sup_{y,z}\lvert\overline{w}_B(y,z)-r(y,z)\rvert C sup y , z ∣ w B ( y , z ) − r ( y , z )∣ in absolute value, which tends to 0 by (15). In the first term, ( y , z ) ↦ f T ~ ∣ Y , Z ( t ∣ y , z ) r ( y , z ) (y,z)\mapsto f_{\widetilde{T}\mid Y,Z}(t\mid y,z)r(y,z) ( y , z ) ↦ f T ∣ Y , Z ( t ∣ y , z ) r ( y , z ) is continuous and bounded (Assumption 1 and Step 3), so by Assumption 3 it converges to ∫ f T ~ ∣ Y , Z ( t ∣ y , z ) r ( y , z ) Π φ ( Y , Z ) ( d y , d z ) \int f_{\widetilde{T}\mid Y,Z}(t\mid y,z)r(y,z)\Pi_{\varphi(Y,Z)}(dy,dz) ∫ f T ∣ Y , Z ( t ∣ y , z ) r ( y , z ) Π φ ( Y , Z ) ( d y , d z ) . For every ( y , z ) (y,z) ( y , z ) in the fiber, Q ( T ~ ∣ Y = y , Z = z ) = Q ( T ~ ∣ Y = Y , Z = Z ) Q(\widetilde{T}\mid Y=y,Z=z)=Q(\widetilde{T}\mid Y=Y,Z=Z) Q ( T ∣ Y = y , Z = z ) = Q ( T ∣ Y = Y , Z = Z ) , and therefore
f T ~ ∣ Y , Z ( t ∣ y , z ) = f T ~ ∣ Y , Z ( t ∣ Y , Z ) , r ( y , z ) = ∫ w ( t ′ ∣ y , z ) f T ~ ∣ Y , Z ( t ′ ∣ y , z ) d t ′ = ∫ f T ∣ Y , Z ( t ′ ∣ y , z ) d t ′ = 1. f_{\widetilde{T}\mid Y,Z}(t\mid y,z)=f_{\widetilde{T}\mid Y,Z}(t\mid Y,Z),\qquad r(y,z)=\int w(t'\mid y,z)f_{\widetilde{T}\mid Y,Z}(t'\mid y,z)\,dt'=\int f_{T\mid Y,Z}(t'\mid y,z)\,dt'=1. f T ∣ Y , Z ( t ∣ y , z ) = f T ∣ Y , Z ( t ∣ Y , Z ) , r ( y , z ) = ∫ w ( t ′ ∣ y , z ) f T ∣ Y , Z ( t ′ ∣ y , z ) d t ′ = ∫ f T ∣ Y , Z ( t ′ ∣ y , z ) d t ′ = 1.
Since Π φ ( Y , Z ) \Pi_{\varphi(Y,Z)} Π φ ( Y , Z ) is supported on the fiber, D B ( t ) → f T ~ ∣ Y , Z ( t ∣ Y , Z ) D_B(t)\to f_{\widetilde{T}\mid Y,Z}(t\mid Y,Z) D B ( t ) → f T ∣ Y , Z ( t ∣ Y , Z ) .
Step 5 (conclusion). The almost-sure events used in Steps 2–4 (Assumption 3, and the countably many strong laws in Step 3) do not depend on t t t . Hence, almost surely, Steps 2 and 4 hold simultaneously for all t t t , and in particular for t = T t=T t = T . Moreover f T ~ ∣ Y , Z ( T ∣ Y , Z ) > 0 f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)>0 f T ∣ Y , Z ( T ∣ Y , Z ) > 0 a.s., because T T T has density f T ∣ Y , Z ( ⋅ ∣ Y , Z ) f_{T\mid Y,Z}(\cdot\mid Y,Z) f T ∣ Y , Z ( ⋅ ∣ Y , Z ) , which vanishes wherever f T ~ ∣ Y , Z ( ⋅ ∣ Y , Z ) f_{\widetilde{T}\mid Y,Z}(\cdot\mid Y,Z) f T ∣ Y , Z ( ⋅ ∣ Y , Z ) does (Assumption 2). Plugging Steps 2 and 4 into (14),
lim B → ∞ E B e x c h ( T , T ~ B ) = ∫ f T ∣ Y , Z ( T ∣ y , z ) Π φ ( Y , Z ) ( d y , d z ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) = f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z ) ) f T ~ ∣ Y , Z ( T ∣ Y , Z ) . \lim_{B\to\infty}E_B^{\mathrm{exch}}(T,\widetilde{T}^B)=\frac{\int f_{T\mid Y,Z}(T\mid y,z)\Pi_{\varphi(Y,Z)}(dy,dz)}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}=\frac{f_{T\mid\varphi(Y,Z)}(T\mid\varphi(Y,Z))}{f_{\widetilde{T}\mid Y,Z}(T\mid Y,Z)}. B → ∞ lim E B exch ( T , T B ) = f T ∣ Y , Z ( T ∣ Y , Z ) ∫ f T ∣ Y , Z ( T ∣ y , z ) Π φ ( Y , Z ) ( d y , d z ) = f T ∣ Y , Z ( T ∣ Y , Z ) f T ∣ φ ( Y , Z ) ( T ∣ φ ( Y , Z )) .
Type-I error inflation
From approximate e-variables to approximate type-I error (Proposition C.3)
Proof. Define the cumulative inflated-controlled event G n : = ⋂ t = 1 n A n G_n:=\bigcap_{t=1}^{n}A_n G n := ⋂ t = 1 n A n . By the definition of the approximate e-process,
E P [ E n 1 G n ∣ F n − 1 ] = 1 G n − 1 E P [ E n 1 A n ∣ F n − 1 ] ≤ ( 1 + ϵ n ) 1 G n − 1 E n − 1 . \mathbb{E}_P[E_n1_{G_n}\mid\mathcal{F}_{n-1}]=1_{G_{n-1}}\mathbb{E}_P[E_n1_{A_n}\mid\mathcal{F}_{n-1}]\leq(1+\epsilon_n)1_{G_{n-1}}E_{n-1}. E P [ E n 1 G n ∣ F n − 1 ] = 1 G n − 1 E P [ E n 1 A n ∣ F n − 1 ] ≤ ( 1 + ϵ n ) 1 G n − 1 E n − 1 .
Define
M n : = E n 1 G n ∏ t = 1 n ( 1 + ϵ n ) . M_n:=\frac{E_n1_{G_n}}{\prod_{t=1}^{n}(1+\epsilon_n)}. M n := ∏ t = 1 n ( 1 + ϵ n ) E n 1 G n .
Then ( M n ) n ≥ 0 (M_n)_{n\geq0} ( M n ) n ≥ 0 is a nonnegative supermartingale with M 0 = 1 M_0=1 M 0 = 1 . By Ville’s inequality,
P ( sup 1 ≤ n ≤ N M n ≥ 1 α ) ≤ α . P\left(\sup_{1\leq n\leq N}M_n\geq\frac{1}{\alpha}\right)\leq\alpha. P ( 1 ≤ n ≤ N sup M n ≥ α 1 ) ≤ α .
Let
C N : = ∏ t = 1 N ( 1 + ϵ n ) . C_N:=\prod_{t=1}^{N}(1+\epsilon_n). C N := t = 1 ∏ N ( 1 + ϵ n ) .
On the event G N G_N G N , for every n ≤ N n\leq N n ≤ N ,
E n ≤ C N M n . E_n\leq C_NM_n. E n ≤ C N M n .
Consequently,
{ sup 1 ≤ n ≤ N E n ≥ 1 α } ∩ G N ⊆ { sup 1 ≤ n ≤ N M n ≥ 1 α C N } . \left\{\sup_{1\leq n\leq N}E_n\geq\frac{1}{\alpha}\right\}\cap G_N\subseteq\left\{\sup_{1\leq n\leq N}M_n\geq\frac{1}{\alpha C_N}\right\}. { 1 ≤ n ≤ N sup E n ≥ α 1 } ∩ G N ⊆ { 1 ≤ n ≤ N sup M n ≥ α C N 1 } .
Applying Ville’s inequality at level α C N \alpha C_N α C N gives
P ( sup 1 ≤ n ≤ N E n ≥ 1 α , G N ) ≤ α C N . P\left(\sup_{1\le n\le N} E_n \ge\frac{1}{\alpha},\,G_N\right)\le\alpha C_N. P ( 1 ≤ n ≤ N sup E n ≥ α 1 , G N ) ≤ α C N .
It remains to control the probability that at least one of the events A n A_n A n fails. By the probability assumption on the approximate e-process definition and union bound,
P ( G N c ) = P ( ⋃ n = 1 N A n c ) ≤ ∑ n = 1 N P ( A n c ) ≤ ∑ n = 1 N δ n . P(G_N^c)=P\left(\bigcup_{n=1}^{N}A_n^c\right)\le\sum_{n=1}^{N}P(A_n^c)\le\sum_{n=1}^{N}\delta_n. P ( G N c ) = P ( n = 1 ⋃ N A n c ) ≤ n = 1 ∑ N P ( A n c ) ≤ n = 1 ∑ N δ n .
Therefore,
P ( sup 1 ≤ n ≤ N E n ≥ 1 α ) ≤ ∑ n = 1 N δ n + α ∏ t = 1 N ( 1 + ϵ t ) . P\left(\sup_{1\le n\le N} E_n \ge\frac{1}{\alpha}\right)\le\sum_{n=1}^{N}\delta_n+\alpha\prod_{t=1}^{N}(1+\epsilon_t). P ( 1 ≤ n ≤ N sup E n ≥ α 1 ) ≤ n = 1 ∑ N δ n + α t = 1 ∏ N ( 1 + ϵ t ) .
Finally, since log ( 1 + x ) ≤ x \log(1+x)\le x log ( 1 + x ) ≤ x for all x ≥ 0 x\ge0 x ≥ 0 ,
∏ t = 1 N ( 1 + ϵ t ) = exp ( ∑ n = 1 N log ( 1 + ϵ n ) ) ≤ exp ( ∑ n = 1 N ϵ n ) . \prod_{t=1}^{N}(1+\epsilon_t)=\exp\left(\sum_{n=1}^{N}\log(1+\epsilon_n)\right)\le\exp\left(\sum_{n=1}^{N}\epsilon_n\right). t = 1 ∏ N ( 1 + ϵ t ) = exp ( n = 1 ∑ N log ( 1 + ϵ n ) ) ≤ exp ( n = 1 ∑ N ϵ n ) .
This proves the result.
Double robustness
Proof. We prove the three statements separately.
(i) Lipschitz convergence. By the Kantorovich–Rubinstein dual representation of the Wasserstein distance, we have that for every Lipschitz function f f f
∣ ∫ f d Q − ∫ f d P ∣ ≤ Lip ( f ) W 1 ( Q , P ) . \left|\int f\,\mathrm{d}Q-\int f\,\mathrm{d}P\right|\le\operatorname{Lip}(f)\mathcal{W}_1(Q,P). ∫ f d Q − ∫ f d P ≤ Lip ( f ) W 1 ( Q , P ) .
By assumption, x ↦ r n ( x , z ) x\mapsto r_n(x,z) x ↦ r n ( x , z ) is b n b_n b n -Lipschitz uniformly on z , y z,y z , y . Therefore, for any z , y z,y z , y , we have that
∣ E [ r n ( X ~ n , z , y ) ] − E [ r n ( X , z , y ) ] ∣ ≤ b n ( z , y ) W 1 ( K n , K ) = : a n b n . \begin{aligned}
\left|\mathbb{E}[r_n(\widetilde{X}_n,z,y)]-\mathbb{E}[r_n(X,z,y)]\right|\le b_n(z,y)\mathcal{W}_1(K_n,K) \\
&=:a_n b_n.
\end{aligned} E [ r n ( X n , z , y )] − E [ r n ( X , z , y )] ≤ b n ( z , y ) W 1 ( K n , K ) =: a n b n .
(ii) Uniform convergence. Fix z z z and y y y . Since sup x ∣ r n ( x , z , y ) ∣ ≤ b n ( z , y ) \sup_x|r_n(x,z,y)|\le b_n(z,y) sup x ∣ r n ( x , z , y ) ∣ ≤ b n ( z , y ) , we have ∥ r n ( ⋅ , z , y ) ∥ ∞ ≤ b n \|r_n(\cdot,z,y)\|_\infty\le b_n ∥ r n ( ⋅ , z , y ) ∥ ∞ ≤ b n . Total variation gives
∣ ∫ f d Q − ∫ f d P ∣ ≤ 2 ∥ f ∥ ∞ d T V ( P , Q ) . \left|\int f\,\mathrm{d}Q-\int f\,\mathrm{d}P\right|\le2\|f\|_\infty d_{\mathrm{TV}}(P,Q). ∫ f d Q − ∫ f d P ≤ 2∥ f ∥ ∞ d TV ( P , Q ) .
Applying this to f = r n ( ⋅ , z , y ) f=r_n(\cdot,z,y) f = r n ( ⋅ , z , y ) , we obtain
∣ E [ r n ( X ~ t , z , y ) ] − E [ r n ( X , z , y ) ] ∣ ≤ 2 b n ( z , y ) d T V ( K n , K ) = 2 a n b n ( z , y ) . \begin{aligned}
\left|\mathbb{E}[r_n(\widetilde{X}_t,z,y)]-\mathbb{E}[r_n(X,z,y)]\right|\le2b_n(z,y)d_{\mathrm{TV}}(K_n,K) \\
&=2a_n b_n(z,y).
\end{aligned} E [ r n ( X t , z , y )] − E [ r n ( X , z , y )] ≤ 2 b n ( z , y ) d TV ( K n , K ) = 2 a n b n ( z , y ) .
(iii) L 2 L_2 L 2 convergence. the chi-squared divergence d χ 2 d_{\chi^2} d χ 2 is defined as
d χ 2 ( P ∥ Q ) : = ( ∫ ( d P d Q − 1 ) 2 d Q ) 1 / 2 , P ≪ Q . d_{\chi^2}(P\mathbin\Vert Q) := \left(\int\left(\frac{dP}{dQ}-1\right)^2\,dQ\right)^{1/2}, \qquad P \ll Q. d χ 2 ( P ∥ Q ) := ( ∫ ( d Q d P − 1 ) 2 d Q ) 1/2 , P ≪ Q .
Suppose that K n ≪ K K_n \ll K K n ≪ K and let ( X , Z , Y ) (X,Z,Y) ( X , Z , Y ) sampled from P ⋆ ( X , Z , Y ) P_\star(X,Z,Y) P ⋆ ( X , Z , Y ) and ( X ~ , Z , Y ) (\widetilde{X},Z,Y) ( X , Z , Y ) from P n ( X ~ , Z , Y ) P_n(\widetilde{X},Z,Y) P n ( X , Z , Y ) . Denote by
D n ( x , z , y ) : = d P n ( X ~ , Z , Y ) d P ⋆ ( X , Z , Y ) ( x , z , y ) = d K n ( ⋅ ∣ z ) d K ( ⋅ ∣ z ) ( x ) , D_n(x,z,y):=\frac{dP_n(\widetilde{X},Z,Y)}{dP_\star(X,Z,Y)}(x,z,y)=\frac{dK_n(\cdot\mid z)}{dK(\cdot\mid z)}(x), D n ( x , z , y ) := d P ⋆ ( X , Z , Y ) d P n ( X , Z , Y ) ( x , z , y ) = d K ( ⋅ ∣ z ) d K n ( ⋅ ∣ z ) ( x ) ,
the Radon-Nikodym derivative.
Then E K n [ r n ] = E K [ D n r n ] \mathbb{E}_{K_n}[r_n]=\mathbb{E}_K[D_n r_n] E K n [ r n ] = E K [ D n r n ] . Therefore, we have that,
E P ⋆ [ r n ] − E P n [ r n ] = E P ⋆ [ ( D n − 1 ) r n ] . \mathbb{E}_{P_\star}[r_n]-\mathbb{E}_{P_n}[r_n]=\mathbb{E}_{P_\star}[(D_n-1)r_n]. E P ⋆ [ r n ] − E P n [ r n ] = E P ⋆ [( D n − 1 ) r n ] .
By the Cauchy–Schwarz inequality and the total expectation law, we obtain that
∣ E P t [ r n ] − E P ⋆ [ r n ] ∣ ≤ ( E P ⋆ [ ( D t − 1 ) 2 ] ) 1 / 2 ( E P ⋆ [ r n 2 ] ) 1 / 2 ≤ ( E P ⋆ ( Z ) [ E K [ ( D t − 1 ) 2 ] ] ) 1 / 2 ( E P ⋆ [ r n 2 ] ) 1 / 2 = E [ d χ 2 ( K n ∥ K ) 2 ] ∥ r n ∥ L 2 . \begin{aligned}
\left|\mathbb{E}_{P_t}[r_n]-\mathbb{E}_{P_\star}[r_n]\right|
&\leq\left(\mathbb{E}_{P_\star}[(D_t-1)^2]\right)^{1/2}\left(\mathbb{E}_{P_\star}[r_n^2]\right)^{1/2}\\
&\leq\left(\mathbb{E}_{P_\star(Z)}\left[\mathbb{E}_K[(D_t-1)^2]\right]\right)^{1/2}\left(\mathbb{E}_{P_\star}[r_n^2]\right)^{1/2}\\
&=\sqrt{\mathbb{E}\left[d_{\chi^2}(K_n\mathbin\Vert K)^2\right]}\,\lVert r_n\rVert_{L_2}.
\end{aligned} ∣ E P t [ r n ] − E P ⋆ [ r n ] ∣ ≤ ( E P ⋆ [( D t − 1 ) 2 ] ) 1/2 ( E P ⋆ [ r n 2 ] ) 1/2 ≤ ( E P ⋆ ( Z ) [ E K [( D t − 1 ) 2 ] ] ) 1/2 ( E P ⋆ [ r n 2 ] ) 1/2 = E [ d χ 2 ( K n ∥ K ) 2 ] ∥ r n ∥ L 2 .
By assumption, ∥ r n ∥ L 2 ≤ b n \lVert r_n\rVert_{L_2}\leq b_n ∥ r n ∥ L 2 ≤ b n . Hence, we conclude that
∣ E P t [ r n ] − E P ⋆ [ r n ] ∣ ≤ a n b n . \left|\mathbb{E}_{P_t}[r_n]-\mathbb{E}_{P_\star}[r_n]\right|\leq a_n b_n. ∣ E P t [ r n ] − E P ⋆ [ r n ] ∣ ≤ a n b n .
Coin-betting type-I error inflation
Proof. Fix n n n and condition on F n − 1 \mathcal{F}_{n-1} F n − 1 , Z n Z_n Z n and Y n Y_n Y n . Note that under the null, X n ∣ Z n , Y n , F n − 1 ∼ K ( ⋅ ∣ Z n ) X_n\mid Z_n,Y_n,\mathcal{F}_{n-1}\sim K(\cdot\mid Z_n) X n ∣ Z n , Y n , F n − 1 ∼ K ( ⋅ ∣ Z n ) , because X n ⊥ ⊥ Y n ∣ Z n X_n\perp\!\!\!\perp Y_n\mid Z_n X n ⊥ ⊥ Y n ∣ Z n . By construction, we have that X ~ n ∣ Z n , Y n , F n − 1 ∼ K n ( ⋅ ∣ Z n ) \widetilde{X}_n\mid Z_n,Y_n,\mathcal{F}_{n-1}\sim K_n(\cdot\mid Z_n) X n ∣ Z n , Y n , F n − 1 ∼ K n ( ⋅ ∣ Z n ) .
Therefore, we have that
E [ E n ∣ F n − 1 , Z n , Y n ] = 1 + λ E K [ l ( m ^ n ( X , Z n ) , Y n ) ∣ F n − 1 , Z n , Y n ] − λ E K n [ l ( m ^ n ( X ~ n , Z n ) , Y n ) ∣ F n − 1 , Z n , Y n ] . \mathbb{E}[E_n\mid\mathcal{F}_{n-1},Z_n,Y_n]
=1+\lambda\mathbb{E}_K[l(\widehat{m}_n(X,Z_n),Y_n)\mid\mathcal{F}_{n-1},Z_n,Y_n]
-\lambda\mathbb{E}_{K_n}[l(\widehat{m}_n(\widetilde{X}_n,Z_n),Y_n)\mid\mathcal{F}_{n-1},Z_n,Y_n]. E [ E n ∣ F n − 1 , Z n , Y n ] = 1 + λ E K [ l ( m n ( X , Z n ) , Y n ) ∣ F n − 1 , Z n , Y n ] − λ E K n [ l ( m n ( X n , Z n ) , Y n ) ∣ F n − 1 , Z n , Y n ] .
Introduce the X X X -independent reference quantity l 0 ( Z n , Y n ) : = l ( m 0 ( Z n ) , Y n ) l_0(Z_n,Y_n):=l(m_0(Z_n),Y_n) l 0 ( Z n , Y n ) := l ( m 0 ( Z n ) , Y n ) . Hence it has exactly the same value under K K K and K n K_n K n , and therefore cancels from the difference. Thus
E [ E n ∣ F n − 1 , Z n , Y n ] − 1 = λ [ E K [ l ( m ^ n ( X , Z n ) , Y n ) − l 0 ( Z n , Y n ) ∣ F n − 1 , Z n , Y n ] − E K n [ l ( m ^ n ( X ~ n , Z n ) , Y n ) − l 0 ( Z n , Y n ) ∣ F n − 1 , Z n , Y n ] ] . \begin{aligned}
\mathbb{E}[E_n\mid\mathcal{F}_{n-1},Z_n,Y_n]-1
=\lambda\Big[&
\mathbb{E}_K[l(\widehat{m}_n(X,Z_n),Y_n)-l_0(Z_n,Y_n)\mid\mathcal{F}_{n-1},Z_n,Y_n]\\
&-\mathbb{E}_{K_n}[l(\widehat{m}_n(\widetilde{X}_n,Z_n),Y_n)-l_0(Z_n,Y_n)\mid\mathcal{F}_{n-1},Z_n,Y_n]\Big].
\end{aligned} E [ E n ∣ F n − 1 , Z n , Y n ] − 1 = λ [ E K [ l ( m n ( X , Z n ) , Y n ) − l 0 ( Z n , Y n ) ∣ F n − 1 , Z n , Y n ] − E K n [ l ( m n ( X n , Z n ) , Y n ) − l 0 ( Z n , Y n ) ∣ F n − 1 , Z n , Y n ] ] .
The expression in braces is precisely the difference between the expectations of the model-dependent component of the loss under the true and estimated conditional distributions. By Proposition 4.1, on the corresponding good event A n A_n A n ,
∣ E K [ l ( m ^ n ( X , Z n ) , Y n ) − l 0 ( Z n , Y n ) ] − E K n [ l ( m ^ n ( X ~ n , Z n ) , Y n ) − l 0 ( Z n , Y n ) ] ∣ ≤ a n b n . \left|\mathbb{E}_K[l(\widehat{m}_n(X,Z_n),Y_n)-l_0(Z_n,Y_n)]-\mathbb{E}_{K_n}[l(\widehat{m}_n(\widetilde{X}_n,Z_n),Y_n)-l_0(Z_n,Y_n)]\right|\leq a_n b_n. E K [ l ( m n ( X , Z n ) , Y n ) − l 0 ( Z n , Y n )] − E K n [ l ( m n ( X n , Z n ) , Y n ) − l 0 ( Z n , Y n )] ≤ a n b n .
Consequently,
E [ E t ∣ F n − 1 ] ≤ 1 + λ a n b n . \mathbb{E}[E_t \mid\mathcal{F}_{n-1}] \le1 + \lambda a_n b_n. E [ E t ∣ F n − 1 ] ≤ 1 + λ a n b n .
Thus, setting
ϵ n : = λ a n b n , \epsilon_n := \lambda a_n b_n, ϵ n := λ a n b n ,
the process ( E t ) t ≥ 1 (E_t)_{t\ge1} ( E t ) t ≥ 1 is an approximate e-process in the sense of Definition C.2, with one-step inflation ϵ n \epsilon_n ϵ n . We can therefore apply Proposition C.3. This gives
P ( sup 1 ≤ n ≤ N E ( n ) ≥ 1 α ) ≤ ∑ n = 1 N δ n + α exp ( ∑ n = 1 N ϵ n ) = ∑ n = 1 N δ n + α exp ( λ ∑ n = 1 N a n b n ) . \mathbb{P}\left(\sup_{1\le n\le N} E^{(n)} \ge\frac{1}{\alpha}\right) \le\sum_{n=1}^{N}\delta_n + \alpha\exp\left(\sum_{n=1}^{N}\epsilon_n\right) = \sum_{n=1}^{N}\delta_n + \alpha\exp\left(\lambda\sum_{n=1}^{N}a_n b_n\right). P ( 1 ≤ n ≤ N sup E ( n ) ≥ α 1 ) ≤ n = 1 ∑ N δ n + α exp ( n = 1 ∑ N ϵ n ) = n = 1 ∑ N δ n + α exp ( λ n = 1 ∑ N a n b n ) .
Subtracting α \alpha α from both sides yields
P ( sup 1 ≤ n ≤ N E ( n ) ≥ 1 α ) − α ≤ ∑ n = 1 N δ n + α [ exp ( λ ∑ n = 1 N a n b n ) − 1 ] . \mathbb{P}\left(\sup_{1\le n\le N} E^{(n)} \ge\frac{1}{\alpha}\right) - \alpha\le\sum_{n=1}^{N}\delta_n + \alpha\left[\exp\left(\lambda\sum_{n=1}^{N}a_n b_n\right)-1\right]. P ( 1 ≤ n ≤ N sup E ( n ) ≥ α 1 ) − α ≤ n = 1 ∑ N δ n + α [ exp ( λ n = 1 ∑ N a n b n ) − 1 ] .
Experiments
Estimating the conditional distribution
In practice, as motivated in § 4 , we usually do not have access to the conditional distribution of X ∣ Z X \mid Z X ∣ Z , nor can we sample from it directly. Nevertheless, there is substantial ongoing research addressing this issue (see e.g. Barber et al. (2019); Zhu et al. [27 ] ; Li and Liu [10 ] ). When X X X is discrete, it suffices to model the conditional class probabilities of X X X given Z Z Z and sample accordingly; this can be implemented, for instance, via logistic regression.
When X X X is continuous, the simplest option is to assume that the input is Gaussian given the remaining inputs. For this kind of parametric option, Berrett et al. (2019) proved convergence in total variation distance. For simplicity, we choose this option in our simulated data experiments. Nevertheless, a somewhat more general idea consists of first regressing X X X on Z Z Z and then generating samples by adding permuted residuals from the fitted regression model. This sampling idea is quite popular ((Fisher et al., 2019; Chamma et al., 2024; Blain et al., 2025)) since it works well in practice and is usually fast, as it only requires simple models. It generalizes the Gaussian case to homoskedastic distributions. For further discussion of the guarantees of this conditional sampling procedure, we refer to Reyero-Lobo et al. [19 ] .
Finally, promising new approaches to conditional sampling could be based on foundation models ([17 ] ), which estimate the quantiles of the conditional distribution and are quite accurate for this task, as noted by Izbicki and Rodrigues (2026).
Coin-betting can beat Exponential setting (Figure 2)
In Figure 2 we illustrate the results from Theorem 3.3 . To do so, we consider the simple linear model
Y = X + γ Z + ϵ , X ∼ Unif ( [ 0 , 1 ] ) , ϵ ∼ B × ( Beta ( 0.1 , 0.1 ) − 0.5 ) , Y = X + \gamma Z + \epsilon,\qquad X \sim\operatorname{Unif}([0,1]),\qquad\epsilon\sim B \times(\operatorname{Beta}(0.1,0.1)-0.5), Y = X + γ Z + ϵ , X ∼ Unif ([ 0 , 1 ]) , ϵ ∼ B × ( Beta ( 0.1 , 0.1 ) − 0.5 ) ,
for different values of B B B . A Beta ( 0.1 , 0.1 ) \operatorname{Beta}(0.1,0.1) Beta ( 0.1 , 0.1 ) random variable is distributed in [ 0 , 1 ] [0,1] [ 0 , 1 ] concentrated near the boundaries. Shifting by 0.5 centers the distribution, and multiplying by B B B has the effect of scaling the noise. In particular, we do not include an additional Z Z Z (i.e. we set γ = 0 \gamma= 0 γ = 0 ), and we sample X ~ ∼ Unif ( [ 0 , 1 ] ) \widetilde{X} \sim\operatorname{Unif}([0,1]) X ∼ Unif ([ 0 , 1 ]) , i.e., K ( X ∣ Z ) = Unif ( [ 0 , 1 ] ) K(X \mid Z) = \operatorname{Unif}([0,1]) K ( X ∣ Z ) = Unif ([ 0 , 1 ]) . We take the model to be the oracle predictor m ( X ) = X m(X) = X m ( X ) = X . To ensure boundedness of the loss, we use the clipped squared loss
ℓ ( m ( X ) , Y ) = min ( ( X − Y ) 2 , 1 ) , \ell(m(X),Y) = \min((X-Y)^2,1), ℓ ( m ( X ) , Y ) = min (( X − Y ) 2 , 1 ) ,
which implies any λ ∈ [ 0 , 1 ] \lambda\in[0,1] λ ∈ [ 0 , 1 ] is a valid betting parameter.
On the left of Figure 2 , we plot the e-power, E [ log E c b λ ⋆ ] \mathbb{E}[\log E_{\mathrm{cb}}^{\lambda^\star}] E [ log E cb λ ⋆ ] and E [ log E e x p η ⋆ ] \mathbb{E}[\log E_{\mathrm{exp}}^{\eta^\star}] E [ log E exp η ⋆ ] , evaluated at the optimal λ ⋆ \lambda^\star λ ⋆ and η ⋆ \eta^\star η ⋆ , which are selected over a large grid of possible values. The expectations are approximated using Monte Carlo with 3000 samples. To simulate regimes with different effect sizes Δ \Delta Δ , we vary the noise level via the parameter B B B . When the noise level is small, the effect size is large, and it is beneficial to take larger bets; however, the coin-betting procedure is constrained by the requirement λ ≤ 1 \lambda\le1 λ ≤ 1 , whereas the exponential e-value can still increase through larger values of η \eta η . In contrast, when B B B is large, the problem becomes harder and the effect size decreases. In this regime, consistent with the theorem, the coin-betting e-value can outperform the exponential e-value. Here we focus on the region in B B B where E c b λ ⋆ E_{\mathrm{cb}}^{\lambda^\star} E cb λ ⋆ overtakes E e x p η ⋆ E_{\mathrm{exp}}^{\eta^\star} E exp η ⋆ in e-power.
In the middle we highlight the difference of the e-powers shown on the left by plotting their ratio.
On the right, we fix the noise level to a value in the small-signal regime (B = 1.5 B = 1.5 B = 1.5 ), where the coin-betting e-value has higher e-power than the exponential e-value. In this experiment, at each time step we use the true linear model and update the parameters η \eta η and λ \lambda λ in a prequential manner, as specified in Equations (9) and (10) . We observe that the coin-betting evidence grows exponentially faster, indicating a clear advantage consistent with the gap in e-power shown on the left.
E-values considered in the experiments
In Table 2 we show the analytical expressions of the e-variables used in the experiments. All the antisymmetric e-values can be derandomized by taking the expectation over X ~ \tilde X X ~ given Z Z Z .
Except for sign, all hyperparameters are learned prequentially and optimized for e-power maximization. For the sign e-variables, we denote in the experiments as sign_preq the e-process learned by optimizing λ \lambda λ prequentially. The sign method corresponds exactly to the procedure of Shaer et al. [22 ] , which averages over all λ \lambda λ values in a grid (i.e. puts a uniform prior) instead of sequentially selecting the e-power maximizer.
Simulation setting: e-power of antisymmetric vs exponential e-variables
Figure 4. Antisymmetric vs. exponential: We consider the model Y = ( Z ⊤ W ) 2 + β X + ϵ Y = (Z^\top W)^2 + \beta X + \epsilon Y = ( Z ⊤ W ) 2 + β X + ϵ . The parameter β \beta β controls the predictive signal of X X X . Under a null effect (β = 0 \beta= 0 β = 0 ), neither e-process rejects. For small signal strengths, antisymmetric sign e-process outperforms the exponential, whereas for larger signals, the exponential accumulates evidence fastest.
See Section E.3 for a description of all e-values included in this simulation. We closely follow the simulation setting described by Shaer et al. [22 ] in section 5. The data is generated according to:
Y = ( Z ⊤ W ) 2 + β X + ϵ , X ∣ Z ∼ N ( U ⊤ Z , 1 ) , Z ∼ N ( 0 , I d ) Y = (Z^\top W)^2 + \beta X + \epsilon,\quad X \mid Z \sim\mathcal{N}(U^\top Z,1),\quad Z \sim\mathcal{N}(0,I_d) Y = ( Z ⊤ W ) 2 + β X + ϵ , X ∣ Z ∼ N ( U ⊤ Z , 1 ) , Z ∼ N ( 0 , I d )
with d = 19 d = 19 d = 19 . The main difference compared to the original experiment is that here U U U and W W W are uniformly-sampled probability vectors of length d d d , as opposed to being sampled from a d d d -dimensional standard Gaussian. We introduce this change in order to decrease the variance of results across experiments, and to ensure that β \beta β alone is a good representation of effect size in the experiment, which otherwise also depends on the magnitudes of the sampled vectors U U U and W W W .
Although the true conditional distribution X ∣ Z X|Z X ∣ Z is known exactly, this information is not fed to the e-processes. Instead, the model-X kernel is learned over time, showcasing practical safety guarantees and e-power. The employed model m ^ \hat{m} m ^ is Lasso regression. In order to avoid retraining the model after each new datapoint, a batch size b b b is fixed, so both model retraining and e-process adaptation happens only after b b b new datapoints are acquired. Before running the e-processes, the model m ^ \hat{m} m ^ , model-X kernel, betting parameters and kernel density estimates for E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym (see Appendix § 11 for definitions) were tuned on 200 pre-training datapoints. Furthermore, all e-variables are enhanced by derandomization over B = 5 B = 5 B = 5 conditionally independent X ~ \widetilde{X} X samples from the learned model-X kernel. Kernel density estimation of the distribution of ( T , T ~ ) = ( ( Y − m ^ ( X , Z ) ) 2 , ( Y − m ^ ( X ~ , Z ) ) 2 ) (T,\widetilde{T}) = ((Y-\hat{m}(X,Z))^2,(Y-\hat{m}(\widetilde{X},Z))^2) ( T , T ) = (( Y − m ^ ( X , Z ) ) 2 , ( Y − m ^ ( X , Z ) ) 2 ) is performed using only the first X ~ \widetilde{X} X sample for each X X X , and analogously for the distribution of T ~ − T \widetilde{T}-T T − T . The experiment was performed independently on batches of size: [ 5 , 10 , 20 ] [5, 10, 20] [ 5 , 10 , 20 ] , and over 20 random seeds. Figure 4 represents the average outcome over all seeds and batch sizes.
Under the null hypothesis (β = 0 \beta= 0 β = 0 ) no e-process rejects, confirming type-I error guarantees. The middle figure confirms that antisymmetric e-variables can outperform the exponential when the signal is small. The figure on the right-hand side shows that with large effects, the exponential e-variable dominates all others. Although E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym should theoretically dominate all other antisymmetric e-variables in the experiment, this is not observed because:
We use approximations of the true GRO e-variables E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym , which require kernel density estimation, and thus might require larger (pretraining) datasets to acquire full e-power
Derandomization with B = 5 B = 5 B = 5 samples is used to enhance the e-power of all e-variables, after which the growth-rate optimality of E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym no longer necessarily holds (see Appendix § 14 .7 for more details on the effects of derandomization)
Real data: HIV dataset (Figure 3)
In this section we further discuss the experiment shown in the main text in Figure 3 , based on the HIV drug resistance dataset1 used by Shaer et al. [22 ] to showcase their e-values, and previously in the knockoff literature by Barber and Candès (2015), Lu et al. [13 ] , Romano et al. [21 ] , Shaer and Romano [22 ] . The task is to detect whether a mutation in the human immunodeficiency virus (HIV) is associated to an increase in drug resistance Rhee et al. [20 ] . The dataset contains in d = 150 d = 150 d = 150 binary features and n = 1555 n = 1555 n = 1555 real-valued responses. In the experiment we focus on three of these features that were deemed representative by Shaer et al. [22 ] : one mutation that has not been shown to affect drug resistance (12S), one mutation that has a major effect on drug resistance but for which it is difficult to collect evidence (48M), and one that has a major effect on drug resistance (47V).
In Figure 3 we show for three different mutations the evidence accumulated by different e-variables against the conditional independence null. The plotted evidence is obtained as the average evidence collected by batch-wise e-processes with batch sizes [5, 10, 20], and over 50 seeds. As in the original experiment by Shaer et al. [22 ] , the model used is a lasso, and the sampler for X ~ \widetilde{X} X uses a probability π ^ ( ⋅ ∣ Z ) \widehat{\pi}(\cdot\mid Z) π ( ⋅ ∣ Z ) estimated through a logistic regression. On the left we observe that all e-processes are unable to collect evidence against the null, since the mutation ’12S’ has no proven effect on drug resistance. In the middle plot, most antisymmetric e-variables are able to reject the null for a mutation affecting drug resistance (48M) but for which it is difficult to collect evidence. The GRO e-variable for exchangeability does not dominate the other antisymmetric e-variables due to derandomization and estimation error as discussed in Appendix § 14 .7. The exponential e-variable fails to reject the null: we attribute this to the inability of the constructed pseudo-density to capture the true conditional density f Y ∣ X , Z f_{Y \mid X,Z} f Y ∣ X , Z of the data, that is, to the approximation error.
On the right all the methods we consider reach an evidence of at least 1 / α 1/\alpha 1/ α and thus reject the null hypothesis for mutation ’47V’, which has been reported to have a major effect. As in the previous case, we explain the fact that the exponential e-variable collects the least evidence with model misspecification, even though we arguably find ourselves in the large effect regime.
Triple robustness for safety guarantees
In this section we illustrate the experiment in Figure 5 regarding the safety and robustness properties deriving from our bound. The setting is similar to Section E.4: the data is again generated as described in § 5 of Shaer et al. [22 ] , in this case without further changes. We generate 20000 data points, of which 200 triplets are used to pre-train the model and the sampler, while the rest is considered sequentially and is used to compute the martingales. The model is a multi-layer perceptron with two hidden layers of 50 nodes each, trained on a mean squared error loss. This loss is also used as a statistic for computing the sequential bets. At each round we use the standard coin betting e-value
Figure 5. Safety and robustness properties: On the top-left the evidence collected against the null for three different batch sizes. On the top right the mean across seeds of the chosen λ \lambda λ . On the middle-left the 1-Wasserstein distance of the estimated K n K_n K n and the true conditional distribution K K K . On the middle-right the value of E [ l ( m ^ ) − l ( m 0 ) ] \mathbb{E}[l(\hat{m}) - l(m_0)] E [ l ( m ^ ) − l ( m 0 )] , where the expectation is taken over the data generating distribution and the seeds. On the bottom row three heatmaps showing in each subsquare the average value of the wealth at certain timesteps for specific values of λ \lambda λ . We see that λ ≈ 0 \lambda\approx0 λ ≈ 0 becomes the best value as n n n increases.
E c b λ = 1 + λ ( − l ( m ( X , Z ) , Y ) + l ( m ( X ~ , Z ) , Y ) ) . E_{\mathrm{cb}}^{\lambda} = 1 + \lambda\left(-l(m(X,Z),Y) + l\left(m(\widetilde{X},Z),Y\right)\right). E cb λ = 1 + λ ( − l ( m ( X , Z ) , Y ) + l ( m ( X , Z ) , Y ) ) .
The squared loss is bounded by 5 and consequently the betting parameter λ \lambda λ goes up to 0.2.
We use a Gaussian sampler, which fits a multivariate Gaussian to the joint distribution of ( X , Z ) (X,Z) ( X , Z ) , and samples X ∣ Z X \mid Z X ∣ Z using the closed form expression for a multivariate Gaussian conditional on some of its variables. The experiment is run with batch sizes [5, 10, 20] and over 10 seeds.
The goal of this experiment is to prove the triple robustness of the coin-betting e-value, as discussed in § 4.2 . To do so, we show that the three quantities, namely K n K_n K n , m ~ n \widetilde{m}_n m n and λ ^ \widehat{\lambda} λ , converge as expected. First, in the top left of Figure 5 , we display the average over seeds of the values of the betting martingales. We observe that it does not reject the null hypothesis and that it is almost constant, so it will never explode. In the top right, we display the average of the betting parameters λ n \lambda_n λ n chosen at timestep n n n by GRAPA (Wang et al., [26 ] ). Observe that it converges to 0, as seen in the three heatmaps in the bottom row, which display the average cumulative wealth obtained by a given λ \lambda λ , for each batch size and each interval of timesteps. In the middle left, we display the average of the 1-Wasserstein distances between the estimated kernel K n ( ⋅ ∣ Z ) K_n(\cdot\mid Z) K n ( ⋅ ∣ Z ) and the true kernel K ( ⋅ ∣ Z ) K(\cdot\mid Z) K ( ⋅ ∣ Z ) . We used 1000 samples from each of K n ( ⋅ ∣ Z ) K_n(\cdot\mid Z) K n ( ⋅ ∣ Z ) and K ( ⋅ ∣ Z ) K(\cdot\mid Z) K ( ⋅ ∣ Z ) to approximate the 1-Wasserstein distance, and we show the discretization error by displaying the distance of K K K to itself as a reference. In the middle right, we display the average of the risk difference between the estimated model and the true model, E [ ℓ ( m ^ ) − ℓ ( m 0 ) ] \mathbb{E}[\ell(\widehat{m})-\ell(m_0)] E [ ℓ ( m ) − ℓ ( m 0 )] . Thus, the middle-left and middle-right plots correspond to the terms a n a_n a n and b n b_n b n from Theorem 4.2 .
Practical effects of derandomization
The purpose of this section is to discuss the practical effects of derandomization, and highlight the fact the GRO property of E e x c h E^{\mathrm{exch}} E exch and E s y m E^{\mathrm{sym}} E sym (see Appendix § 11 ) generally only holds if no derandomization is performed. To eliminate the effect that learning the correct density function may have on the results of the experiment, we analyze a simple linear gaussian setting, in which the relevant densities under the alternative and GRO e-variables can be calculated explicitly.
We compare antisymmetric and exchangeability/symmetry GRO e-variables in the following setting. Let X , ε ∼ N ( 0 , 1 ) X,\varepsilon\sim N(0,1) X , ε ∼ N ( 0 , 1 ) i.i.d., Y = β X + ε Y=\beta X+\varepsilon Y = β X + ε , and fix a model estimate β ^ ≠ 0 \widehat{\beta}\ne0 β = 0 . For a fresh X ~ ∼ N ( 0 , 1 ) \widetilde{X}\sim N(0,1) X ∼ N ( 0 , 1 ) , independent of ( X , ε ) (X,\varepsilon) ( X , ε ) , set T = ( Y − β ^ X ) 2 T=(Y-\widehat{\beta}X)^2 T = ( Y − β X ) 2 , T ~ = ( Y − β ^ X ~ ) 2 \widetilde{T}=(Y-\widehat{\beta}\widetilde{X})^2 T = ( Y − β X ) 2 and D = T ~ − T D=\widetilde{T}-T D = T − T . In this simple setting:
Y ⊥ ⊥ X Y\perp\!\!\!\perp X Y ⊥ ⊥ X
( T , T ~ ) (T,\widetilde{T}) ( T , T ) is exchangeable,
D D D is symmetric,
E [ T ] = E [ T ~ ] \mathbb{E}[T]=\mathbb{E}[\widetilde{T}] E [ T ] = E [ T ] , and
β = 0 \beta=0 β = 0
are all equivalent statements.
Antisymmetric e-variables. The (non-GRO) antisymmetric e-variables considered are:
1 + λ sign ( D ) 1+\lambda\operatorname{sign}(D) 1 + λ sign ( D ) ,
1 + λ tanh ( D ) 1+\lambda\tanh(D) 1 + λ tanh ( D ) ,
1 + λ clip ( D , − M , M ) / M 1+\lambda\operatorname{clip}(D,-M,M)/M 1 + λ clip ( D , − M , M ) / M .
The GRO e-variable(s). Using U = Y − β ^ X = ( β − β ^ ) X + ε U=Y-\widehat{\beta}X=(\beta-\widehat{\beta})X+\varepsilon U = Y − β X = ( β − β ) X + ε , V = Y − β ^ X ~ = β X + ε − β ^ X ~ V=Y-\widehat{\beta}\widetilde{X}=\beta X+\varepsilon-\widehat{\beta}\widetilde{X} V = Y − β X = β X + ε − β X , ( U , V ) (U,V) ( U , V ) is a centred bivariate normal with covariance matrix
Σ = [ σ U 2 ρ σ U σ V ρ σ U σ V σ V 2 ] = [ 1 + ( β − β ^ ) 2 1 + β ( β − β ^ ) 1 + β ( β − β ^ ) 1 + β 2 + β ^ 2 ] . \Sigma=
\begin{bmatrix}
\sigma_U^2 & \rho\sigma_U\sigma_V\\
\rho\sigma_U\sigma_V & \sigma_V^2
\end{bmatrix}
=
\begin{bmatrix}
1+(\beta-\widehat{\beta})^2 & 1+\beta(\beta-\widehat{\beta})\\
1+\beta(\beta-\widehat{\beta}) & 1+\beta^2+\widehat{\beta}^2
\end{bmatrix}. Σ = [ σ U 2 ρ σ U σ V ρ σ U σ V σ V 2 ] = [ 1 + ( β − β ) 2 1 + β ( β − β ) 1 + β ( β − β ) 1 + β 2 + β 2 ] .
Because ( T , T ~ ) = ( U 2 , V 2 ) (T,\widetilde{T})=(U^2,V^2) ( T , T ) = ( U 2 , V 2 ) is the square of a bivariate normal, its joint density and the density of D D D are explicit:
f T , T ~ ( t , t ~ ) = 1 2 π det Σ t t ~ exp ( − σ V 2 t ~ + σ U 2 t 2 det Σ ) cosh ( ρ σ U σ V t t ~ det Σ ) , t , t ~ > 0 , f_{T,\widetilde{T}}(t,\widetilde{t})=
\frac{1}{2\pi\sqrt{\det\Sigma}\sqrt{t\widetilde{t}}}
\exp\left(-\frac{\sigma_V^2\widetilde{t}+\sigma_U^2t}{2\det\Sigma}\right)
\cosh\left(\frac{\rho\sigma_U\sigma_V\sqrt{t\widetilde{t}}}{\det\Sigma}\right),
\qquad t,\widetilde{t}>0, f T , T ( t , t ) = 2 π det Σ t t 1 exp ( − 2 det Σ σ V 2 t + σ U 2 t ) cosh ( det Σ ρ σ U σ V t t ) , t , t > 0 ,
f D ( d ) = 1 2 π det Σ exp ( ( σ V 2 − σ U 2 ) d 4 det Σ ) K 0 ( c ∣ d ∣ 4 det Σ ) , f_D(d)=\frac{1}{2\pi\sqrt{\det\Sigma}}\exp\left(\frac{(\sigma_V^2-\sigma_U^2)d}{4\det\Sigma}\right)K_0\left(\frac{c|d|}{4\det\Sigma}\right), f D ( d ) = 2 π det Σ 1 exp ( 4 det Σ ( σ V 2 − σ U 2 ) d ) K 0 ( 4 det Σ c ∣ d ∣ ) ,
with c = ( σ V 2 + σ U 2 ) 2 − 4 det Σ c=\sqrt{(\sigma_V^2+\sigma_U^2)^2-4\det\Sigma} c = ( σ V 2 + σ U 2 ) 2 − 4 det Σ , and K 0 K_0 K 0 is the modified Bessel function of the second kind [7 , 14 ] .
The GRO e-variables for exchangeability and symmetry are equal, and both reduce to
E e x c h ( D ) = 2 1 + e − κ D = 1 + tanh ( κ D 2 ) , κ = σ V 2 − σ U 2 2 det Σ = β β ^ ( 2 + ( β − β ^ ) 2 ) . E^{\mathrm{exch}}(D)=\frac{2}{1+e^{-\kappa D}}=1+\tanh\left(\frac{\kappa D}{2}\right),
\qquad
\kappa=\frac{\sigma_V^2-\sigma_U^2}{2\det\Sigma}
=\frac{\beta}{\widehat{\beta}\left(2+(\beta-\widehat{\beta})^2\right)}. E exch ( D ) = 1 + e − κ D 2 = 1 + tanh ( 2 κ D ) , κ = 2 det Σ σ V 2 − σ U 2 = β ( 2 + ( β − β ) 2 ) β .
Exact densities remove estimation error, and E e x c h ( D ) E^{\mathrm{exch}}(D) E exch ( D ) is exactly growth-rate optimal for testing P e x c h \mathcal{P}^{\mathrm{exch}} P exch (see Appendix § 11 ) with a single draw of X ~ \widetilde{X} X .
Derandomization. We draw B B B independent copies X ~ 1 , … , X ~ B \widetilde{X}_1, \ldots, \widetilde{X}_B X 1 , … , X B per observation and replace each e-variable by its average. For the antisymmetric family parameters λ \lambda λ and M M M can be re-tuned to derandomization, while E e x c h E^{\mathrm{exch}} E exch is optimized for B = 1 B = 1 B = 1 , and kept unchanged. We compare three arms at each B B B :
antisymmetric e-variables re-tuned at B B B ,
antisymmetric e-variables frozen at their B = 1 B = 1 B = 1 parameters – used to isolate the effect of re-tuning,
derandomized GRO.
Setup. Parameters are chosen by grid search (λ ∈ [ − 0.99 , 0.99 ] \lambda\in[-0.99, 0.99] λ ∈ [ − 0.99 , 0.99 ] , M ∈ ( 0 , 10 ] M \in(0, 10] M ∈ ( 0 , 10 ] ) on a separate pretraining sample of size 50,000 and evaluated on an independent sample of size n = 20,000 n = 20{,}000 n = 20 , 000 . We report the e-power as mean over 10 seeds, for correct guesses β ^ = β \hat{\beta} = \beta β ^ = β , wrong-magnitude guesses and a wrong-signed guess (κ < 0 \kappa< 0 κ < 0 ). Results are in Table 3 and Figure 6 .
Figure 6. E-power as a function of the number of derandomization samples with ( β , β ^ ) = ( 1 , 1 ) (\beta, \hat{\beta}) = (1, 1) ( β , β ^ ) = ( 1 , 1 ) , under the same setup as in Table 3. Full lines represent re-tuned, while dotted represent frozen parameter e-variables.
The results clearly indicate that the GRO property of E e x c h E^{\mathrm{exch}} E exch holds at B = 1 B = 1 B = 1 , but is not preserved after derandomization. Furthermore, the e-power increase of antisymmetric e-variables mainly comes from the adaptation of the betting parameters. Larger B B B implies more aggressive betting is desirable, i.e. a larger optimal λ \lambda λ . Since the GRO e-variable was specifically designed for optimal betting with B = 1 B = 1 B = 1 , it does not have any free parameters left which could allow it to learn to make riskier bets. In practice, the GRO e-variable would be estimated via kernel density estimation methods whose parameters such as the kernel family and bandwidth could be chosen to optimize e-power instead of density estimation, and thus possibly yield a worse density approximation but larger e-power for B > 1 B > 1 B > 1 . We leave such questions for future research.