betaFeedback

WorksMathematics

Bet Imaginatively, not Historically in Independent-Data Sequential Testing

Abstract

Sequential testing avoids some of the many controversies and drawbacks related to traditional batch testing with p-values. In particular, the testing by betting paradigm has developed rapidly in recent years; it frames the level of evidence against the null as the wealth of a player in a betting game. Naturally, how much a player should bet is a key consideration, and should reflect their confidence in what they know about the next observed data point. Much current work uses standard betting strategies developed for adversarial problems. In the stochastic setting, where the observed data is independent and stationary, these approaches may be suboptimal. We propose a simple betting strategy, follow the leave-one-out e-power (FLOE), that exploits the i.i.d. nature of a data stream to estimate the e-power of our current test on the underlying distribution. We average not over the historical evidence collected so far, as generic online learning-based methods do, but instead over the equally-likely possible data sequences we might have seen based on shuffling the data. With an additional principled regularization technique, this simple drop-in method yields substantial improvements in testing performance on a variety of kernel two-sample and independence testing problems.

Introduction

Hypothesis testing is a fundamental area of statistics and is widely used by practitioners across science, medicine, and other areas as a means for verifying preconceived hypotheses. In the machine learning community, tests have been used for a variety of applications including causal inference [32, 16, 33, 25], fairness [38, 9], domain adaptation [20, 22], and detecting machine-synthesized content [26, 45, 24, 4, 23, 53]. Historically, work in hypothesis testing has focused on designing batch tests, where the practitioner first collects all available data and then uses it to make a decision. These tests are typically based on the pp-value of some test statistic of the underlying data distribution, asking whether the observed statistic value is very unlikely to occur due to chance under the null hypothesis. This testing paradigm is relatively simple, and often bears strong theoretical guarantees.

Batch tests, however, are notoriously prone to subtle misuse. As an example, suppose a clinical trial is verifying the efficacy of a new drug. This can be framed as a two-sample testing problem between the physical condition of users that took the drug to those that took a placebo. If the conditions are distributionally identical, the drug is ineffective; we call this the null hypothesis. The trial first collects data from 100 participants and runs a batch two-sample test on this data: this test is inconclusive, i.e., it fails to reject the null hypothesis. Believing the reason it failed due to insufficient data, the experimenters repeat the test a month later with 200 participants. This time the test does reject the null. Because batch tests are only valid at predetermined sample sizes, however, the act of testing on new data – even if it is all independent! – invalidates the second test, as can be clearly seen if the experimenter repeats this process fifty times ([19, 42]).

The alternative framework of sequential tests directly addresses the above concerns. Rather than collecting all available data at once, these tests are designed to be evaluated each time new data is observed. This approach is naturally more data efficient, as the test can be immediately stopped once enough “evidence” is collected. This evidence is measured by what are known as e-values ([49, 40, 36]) – nonnegative variables whose expectation under the null hypothesis is at most one – and are in many ways complementary to classical p-values. Perhaps the biggest advantage is that certain sequences of e-values are naturally closed under multiplication, giving an easy way to aggregate evidence across experiments; this forms the basis of testing by betting ([40]).

The testing by betting paradigm establishes an equivalence between gathering evidence against the null hypothesis and the wealth of a player in a betting game. This game is constructed so that, if the null hypothesis is true, the game must be fair and the player’s wealth is not expected to grow. How much wealth the player has is then directly a measure of how much evidence against the null hypothesis has been accumulated. Thus, a key aspect of this approach is designing betting strategies that maximize the growth rate of a player’s wealth. Many of the betting strategies used in practice ([29, 35, 34, 5, 4]), and in particular the kernel sequential tests of Shekhar and Ramdas [41], are developed for adversarial online problems where the data is potentially chosen by an adversary. However, in the stochastic regime where data is i.i.d., these strategies fail to take advantage of this additional stationarity – and many tests in this area do assume the data is i.i.d. For the betting strategies that do ([51, 50, 30]), most are based on estimating the expected growth rate, or e-power, of the player’s wealth.

Contributions. Early on in the betting game, our hypothesis remains uncertain and so e-power is low. As we observe more data, we narrow in on a prediction strategy that lets us more accurately assess our hypothesis (e.g. a stronger test statistic that differentiates between observed distributions); this improved prediction hopefully increases the e-power. For accurate betting, we should therefore make sure to estimate the e-power based on the current statistic, not as an average over previous statistics.

We do this by exploiting the exchangeability of the data stream to simulate many equally-likely data sequences; each of these sequences form leave-one-out estimates of the current test statistic, which we then use to estimate the e-power of the subsequent step. This approach leads to better e-power approximations, and thus serves as a much better guide for betting. We also prove that this betting strategy eventually recovers the asymptotically optimal bet amount.

Unfortunately, since early e-power estimates (based on scarce data) tend to be noisy, this can lead to overly aggressive early bets. We thus also propose a regularization strategy based on the uncertainty in our e-power estimates, which adaptively allows more aggressive betting in easier problems but is more conservative in highly uncertain problems. Adding this regularization makes our tests more powerful than prior betting strategies on a variety of real and synthetic testing problems.

Background

Two-Sample Testing. The batch two-sample testing problem involves determining whether two sets of observed samples Xm:=(X1,…,Xm)∈Xm\mathbf{X}_m := (X_1, \ldots, X_m) \in\mathcal{X}^m and Yn:=(Y1,…,Yn)∈Xn\mathbf{Y}_n := (Y_1, \ldots, Y_n) \in\mathcal{X}^n are drawn from the same distribution. That is, we test the null hypothesis H0:P=Q\mathcal{H}_0 : P = Q against the alternative hypothesis H1:P≠Q\mathcal{H}_1 : P \ne Q. A hypothesis test Δ\Delta is a {0,1}\{0, 1\}-valued function that rejects the null hypothesis when Δ(Xm,Yn)=1\Delta(\mathbf{X}_m, \mathbf{Y}_n) = 1, and does not reject otherwise. Since the samples are random we can never conclude either hypothesis with certainty, and so statistical tests are designed to control the rate of false positives (type-I error) while minimizing the rate of false negatives (type-II error). We say a test is controlled with level α∈(0,1)\alpha\in(0,1) if its type-I error rate is at most α\alpha, i.e. Pr⁡H0(Δ(Xm,Yn)=1)≤α\Pr_{\mathcal{H}_0}(\Delta(\mathbf{X}_m, \mathbf{Y}_n) = 1) \le\alpha. Similarly, a test has type-II error rate of β∈(0,1)\beta\in(0,1) if Pr⁡H1(Δ(Xm,Yn)=0)≤β\Pr_{\mathcal{H}_1}(\Delta(\mathbf{X}_m, \mathbf{Y}_n) = 0) \le\beta. Among all level-α\alpha tests, the one with lowest type-II error β\beta is considered the most powerful; 1−β1-\beta is called the test power. The probability subscripts used above indicate whether samples are drawn under the null or alternative hypotheses, and similar notation will be used for expectations; when none is written, we assume the distribution is under the alternative regime.

Maximum Mean Discrepancy. The Maximum Mean Discrepancy (MMD) (Gretton, Borgwardt, et al., 2012) is a measure of distance between distributions, and can be viewed as an integral probability metric over functions in a reproducing kernel Hilbert space (RKHS) F\mathcal{F} [1]:

MMD⁡2(P,Q):=sup⁡f∈F,∥f∥≤1EX,Y∼P×Q[f(X)−f(Y)].(1)\operatorname{MMD}^{2}(\mathbb{P}, \mathbb{Q}) := \sup_{f \in\mathcal{F}, \lVert f \rVert\leq1} \mathbb{E}_{X,Y \sim\mathbb{P} \times\mathbb{Q}}[f(X) - f(Y)]. \tag*{(1)}

F\mathcal{F} is uniquely characterized by a symmetric positive definite kernel k:X×X→Rk : \mathcal{X} \times\mathcal{X} \to\mathbb{R}, and if this kernel is characteristic [43] then MMD⁡2(P,Q)=0\operatorname{MMD}^{2}(\mathbb{P}, \mathbb{Q}) = 0 iff P=Q\mathbb{P} = \mathbb{Q}. Gaussian kernels k(x,y)=exp⁡(−12∥x−y∥2/γ2)k(x, y) = \exp\left(-\frac{1}{2}\lVert x-y\rVert^{2}/\gamma^{2}\right) with lengthscale γ>0\gamma> 0 are a common such example.

When the MMD is computed between two empirical distributions P^m\widehat{\mathbb{P}}_m and Q^n\widehat{\mathbb{Q}}_n, we get a biased but consistent estimate of the population value. If the sample sizes are equal, i.e. m=nm=n, this estimate is a one-sample V-statistic on the paired samples Zn=(Z1,…,Zn)Z_n = (Z_1, \ldots, Z_n) with Zi=(Xi,Yi)Z_i = (X_i, Y_i) and given by

MMD⁡^b2(Zn)=1n2∑i=1n∑j=1nh(Zi,Zj),(2)\widehat{\operatorname{MMD}}_{\mathrm{b}}^{2}(Z_n) = \frac{1}{n^{2}}\sum_{i=1}^{n}\sum_{j=1}^{n}h(Z_i,Z_j), \tag*{(2)}

where we define h(Z,Z′):=k(X,X′)−k(X,Y′)−k(Y,X′)+k(Y,Y′)h(Z, Z') := k(X, X') - k(X, Y') - k(Y, X') + k(Y, Y') to be the symmetric V-statistic kernel function. This quadratic-time estimator is straightforward to compute and is a popular statistic for non-parametric tests. In particular, a batch two-sample test can be constructed with finite-sample validity by comparing the pp-values of the MMD statistic under permutations of the data [17]. For any fixed sample size nn, the test is controlled with level at most α\alpha. Like typical pp-value tests, however, they are not robust to phenomena such as pp-hacking; Pr⁡H0(max⁡n>0Δ(Zn)=1)\Pr_{\mathcal{H}_0}(\max_{n>0}\Delta(Z_n)=1) is likely to greatly exceed α\alpha.

Sequential Tests. A desirable alternative to batch tests are anytime valid tests, which have type-I error controlled uniformly across sample sizes. These sequential tests and are particularly suited for online testing problems where data is continuously collected. We define a sequential test based on its stopping time τ:=inf⁡{t≥1:Δ(Zt)=1}\tau:= \inf\{t \geq1 : \Delta(Z_t) = 1\}, the smallest sample size tt such that a batch test on samples Z1,…,ZtZ_1, \ldots, Z_t rejects the null hypothesis. Here we require time-uniform control: Pr⁡H0(τ<∞)≤α\Pr_{\mathcal{H}_0}(\tau< \infty) \leq\alpha for some prescribed level α∈(0,1)\alpha\in(0, 1). The sequential test τ\tau is said to be consistent if Pr⁡H1(τ<∞)=1\Pr_{\mathcal{H}_1}(\tau< \infty) = 1, that is, the process rejects almost surely under the alternative hypothesis.

Recently, the testing by betting principle [40] has been popularized as a blueprint for designing anytime valid sequential tests [41, 35, 30]. The idea is to define a betting game where at every step tt we bet on predictions whose odds are sub-fair under the null hypothesis. Then the cumulative wealth at any time characterizes the amount of evidence against the null up to that point. We formalize this game as follows: a player starts with initial wealth W0=1W_0 = 1. At step tt, they select a prediction function νt:Z→[−1,∞)\nu_t : \mathcal{Z} \to[-1, \infty) such that EH0[νt(Z)∣Ft−1]≤0\mathbb{E}_{\mathcal{H}_0}[\nu_t(Z) \mid\mathcal{F}_{t-1}] \leq0, where Ft−1=σ({Z1,…,Zt−1})\mathcal{F}_{t-1} = \sigma(\{Z_1, \ldots, Z_{t-1}\}) is the natural filtration, i.e. “everything seen before time tt.” They also select a Ft−1\mathcal{F}_{t-1}-measurable bet λt∈[0,1)\lambda_t \in[0,1). Then, after observing sample ZtZ_t, their wealth is updated according to

W0=1,Wt=Wt−1(1+λtνt(Zt)).(3)W_0 = 1,\qquad W_t = W_{t-1}\left(1+\lambda_t\nu_t(Z_t)\right). \tag*{(3)}

This wealth process forms a test supermartingale under the null [36]. A supermartingale is a random process where all E[Wt∣Ft−1]≤Wt−1\mathbb{E}[W_t \mid\mathcal{F}_{t-1}] \leq W_{t-1} and E∣Wt∣<∞\mathbb{E}|W_t| < \infty; a test supermartingale adds the conditions that W0=1W_0 = 1 and that WtW_t is almost surely nonnegative. A level-α\alpha sequential test for H0\mathcal{H}_0 against H1\mathcal{H}_1 is then defined by the stopping time

τ=inf⁡{t≥1:Wt≥1/α},(4)\tau= \inf\{t \geq1 : W_t \geq1/\alpha\}, \tag*{(4)}

and anytime validity follows from Ville’s inequality, a time-uniform generalization of Markov’s inequality for nonnegative supermartingales.

Prediction and Betting Strategies. The power of this test depends on the strategies for selecting the predictors νt\nu_t and bets λt\lambda_t. In the kernel two-sample sequential test of Shekhar and Ramdas (2023), they propose using the prediction function νt(Z)=ft(X)−ft(Y)\nu_t(Z) = f_t(X) - f_t(Y) for some Ft−1\mathcal{F}_{t-1}-measurable RKHS function ftf_t; this ensures EH0[ft(X)−ft(Y)∣Ft−1]=0\mathbb{E}_{\mathcal{H}_0}[f_t(X) - f_t(Y) \mid\mathcal{F}_{t-1}] = 0. To get positive drift under the alternative, a natural choice for ftf_t is the empirical risk minimizer (ERM), the RKHS function that maximizes (1) for empirical distributions P^t−1\widehat{\mathbb{P}}_{t-1} and Q^t−1\widehat{\mathbb{Q}}_{t-1}:

f(t)∝EX∼P^t−1[k(X,t)]−EY∼Q^t−1[k(Y,t)].f(t) \propto\mathbb{E}_{X\sim\widehat{\mathbb{P}}_{t-1}}[k(X,t)] - \mathbb{E}_{Y\sim\widehat{\mathbb{Q}}_{t-1}}[k(Y,t)].

If the RKHS kernel kk satisfies k(x,x)≤Kk(x,x) \le K, then ftf_t is normalized to be in a ball of radius 1/(2K)1/(2\sqrt{K}) so that ft(X)∈[−1/2,1/2]f_t(X) \in[-1/2,1/2]; this ensures the payoffs νt(Z)\nu_t(Z) are in (−1,1)(-1,1). The bets can also be chosen in a similar manner, where we set λt\lambda_t to be the scalar in (−1,1)(-1,1) that maximizes the log-wealth at time t−1t-1; this is known as GRAPA (Waudby-Smith and Ramdas, 2020) in the literature.

In the context of online learning, both of the aforementioned approaches are follow-the-leader (FTL) strategies because they use what would have been the optimal value in the previous round. Instead, Shekhar and Ramdas (2023) opt to use different online strategies, namely online gradient descent (OGD) (Zinkevich, 2003) for selecting the critic ftf_t, and online Newton step (ONS) (Hazan et al., 2007) for the bet λt\lambda_t. Their motivation for doing so is largely theoretical, as OGD and ONS are shown to respectively achieve O(T)O(\sqrt{T}) and O(log⁡T)O(\log T) regret even in the adversarial online setting, whereas FTL strategies may not exhibit sub-linear regret.

Another popular online strategy with strong theoretical guarantees is the μ\mu-weighted universal portfolio algorithm (UP) of Cover and Ordentlich (1996), which was originally motivated as an investment strategy for rebalancing mm stocks. The authors show that this algorithm achieves minimax-optimal regret bounds when used with a Dirichlet⁡(1/2,…,1/2)\operatorname{Dirichlet}(1/2,\ldots,1/2) prior. Since selecting scalar bets in [0,1][0,1] is equivalent to rebalancing a two-stock portfolio, this simplifies to a Beta⁡(1/2,1/2)\operatorname{Beta}(1/2,1/2) prior, and numerical integration becomes a practical approach to computing the bets.

The OGD, ONS, and UP algorithms all apply to the general online setting where data could be adversarially selected. In the stochastic regime, however, a test based on FTL payoff and betting strategies is still consistent even if its worst-case adversarial regret is poor. As such, it is not clear which strategy performs better in practice.

Proposed Method

Oracle Test

We start by constructing the oracle sequential two-sample test for witness functions in a bounded reproducing kernel Hilbert space, similar to Shekhar and Ramdas (2023). This test assumes complete knowledge of the underlying data distribution, and involves separate optimal strategies for learning the payoffs and bets. Henceforth, we assume bounded kernels with sup⁡xk(x,x)≤K\sup_x k(x,x) \le K and inf⁡x,yk(x,y)≥0\inf_{x,y} k(x,y) \ge0.

The witness function f∗f^* is the member in F\mathcal{F} that achieves the supremum in Equation (1); f∗f^* “witnesses” the difference between P\mathbb{P} and Q\mathbb{Q}. For a version of (1) normalized to a radius-1/2K1/\sqrt{2K} ball, which just yields the value MMD⁡(P,Q)/2K\operatorname{MMD}(\mathbb{P},\mathbb{Q})/\sqrt{2K}, this maximizer is simply

f∗:=arg⁡max⁡f∈F,∥f∥≤1/2K E[f(X)−f(Y)]=μP−μQ2K∥μP−μQ∥(5)f^* := \underset{f \in\mathcal{F}, \lVert f \rVert\leq1/\sqrt{2K}}{\arg\max}\ \mathbb{E}[f(X)-f(Y)] = \frac{\mu_{\mathbb{P}}-\mu_{\mathbb{Q}}}{\sqrt{2K}\lVert\mu_{\mathbb{P}}-\mu_{\mathbb{Q}}\rVert} \tag*{(5)}

where μP:=EP[k(⋅,X)]\mu_{\mathbb{P}} := \mathbb{E}_{\mathbb{P}}[k(\cdot,X)] and μQ:=EQ[k(⋅,Y)]\mu_{\mathbb{Q}} := \mathbb{E}_{\mathbb{Q}}[k(\cdot,Y)] are known as the mean embeddings of P\mathbb{P} and Q\mathbb{Q}. We define the witness predictor as the function ν∗(x,y):=f∗(x)−f∗(y)\nu^*(x,y) := f^*(x)-f^*(y), and note that its values are necessarily bounded by one since

∣ν∗(x,y)∣=∣⟨f∗,k(⋅,x)−k(⋅,y)⟩∣≤∥f∗∥∥k(⋅,x)−k(⋅,y)∥≤12K2K=1.|\nu^*(x,y)| = |\langle f^*, k(\cdot,x)-k(\cdot,y)\rangle| \leq\lVert f^* \rVert\lVert k(\cdot,x)-k(\cdot,y)\rVert\leq\frac{1}{\sqrt{2K}}\sqrt{2K} = 1.

Its prediction at a paired sample z=(x,y)z=(x,y) is, with h(z,z′)=k(x,x′)−k(x,y′)−k(y,x′)+k(y,y′)h(z,z')=k(x,x')-k(x,y')-k(y,x')+k(y,y'),

ν∗(z)=f∗(x)−f∗(y)=EZ[h(z,Z)]2K E[h(Z,Z′)](6)\nu^*(z) = f^*(x)-f^*(y) = \frac{\mathbb{E}_Z[h(z,Z)]}{\sqrt{2K}\,\mathbb{E}[h(Z,Z')]} \tag*{(6)}

We denote this predictor evaluated at time tt on the sample ZtZ_t to be Vt∗:=ν∗(Zt)V_t^* := \nu^*(Z_t), and call this the witness payoff at tt. One can confirm that ES0[Vt∗∣Ft−1]=0\mathbb{E}_{\mathcal{S}_0}[V_t^* \mid\mathcal{F}_{t-1}] = 0, either by noting that f∗f^* does not depend on the data, or by identifying ES0[h(Zt,Z′)]=MMD⁡2(P,P)=0\mathbb{E}_{\mathcal{S}_0}[h(Z_t,Z')]=\operatorname{MMD}^2(\mathbb{P},\mathbb{P})=0.

As for the bets, a natural approach is to, at every step tt, pick the value in [0,1][0,1] that maximizes the expected growth in wealth. (Since Vt∗≥−1V_t^* \geq-1, the restriction λ<1\lambda< 1 ensures that 1+λVt∗>01+\lambda V_t^* > 0 almost surely.) This strategy is essentially the Kelly criterion for portfolio optimization:

λt∗∈arg⁡max⁡λ∈[0,1] E[log⁡(1+λVt∗)∣Ft−1].(7)\lambda_t^* \in\underset{\lambda\in[0,1]}{\arg\max}\ \mathbb{E}[\log(1+\lambda V_t^*) \mid\mathcal{F}_{t-1}]. \tag*{(7)}

The E[log⁡(1+λVt∗)∣Ft−1]\mathbb{E}[\log(1+\lambda V_t^*)\mid\mathcal{F}_{t-1}] term is the expected log-growth of the wealth at time tt and is also known as the e-power. In the i.i.d. setting, the witness payoffs Vt∗V_t^* are independent of the past, and so this reduces to an unconditional expectation; thus λt∗\lambda_t^* is the same for all time tt and is simply denoted as λ∗\lambda^*. Putting everything together, we construct the oracle wealth process as

W0∗=1,Wt∗=Wt−1∗(1+λ∗Vt∗),(8)W_0^*=1,\qquad W_t^*=W_{t-1}^*(1+\lambda^*V_t^*), \tag*{(8)}

and the oracle sequential test as the stopping time τ:=inf⁡{t≥1:Wt∗≥1/α}\tau:=\inf\{t\ge1:W_t^*\ge1/\alpha\}. This test exhibits time-uniform control with level α\alpha, and is known to be consistent under the alternative hypothesis.

Practical Test

Although the oracle test is informative, it is impossible to construct since we do not know the underlying data distribution. Instead, we define our prediction and betting strategies based on estimates of the witness function. To ensure such strategies are valid, we require them to be predictable, i.e. Ft−1\mathcal{F}_{t-1}-measurable; this way the wealth process of (3) forms a test supermartingale.

One standard approach is to compute the empirical risk minimizer for (1) between the empirical distributions P^t−1\widehat{P}_{t-1} and Q^t−1\widehat{Q}_{t-1}. This gives us a predictable critic ftf_t, and consequently the predictor νt(z):=ft(x)−ft(y)\nu_t(z):=f_t(x)-f_t(y) and payoff Vt:=νt(Zt)V_t:=\nu_t(Z_t). We will stick with this approach. In the stochastic setting, there is little reason to choose otherwise; by symmetry, it cannot help to use another fixed weighting of each data point. Although Stein-style shrinkage estimators of the kernel mean exist ([27]), the ERM estimator gives minimax-optimal estimates of the MMD ([46]). It is worth noting as a pointer for future work, however, that this choice does not necessarily maximize the e-power of the test.

If we decide to use the standard wealth process Wt=Wt−1(1+λtνt(Zt))W_t=W_{t-1}(1+\lambda_t\nu_t(Z_t)), it remains to choose a predictable bet λt\lambda_t. Ideally, we would choose λt\lambda_t according to the Kelly criterion (7) for payoffs based on the current critic at time tt:

λt∈arg max⁡λ∈[0,1) E[log⁡(1+λνt(Z))∣Ft−1].(9)\lambda_t\in\underset{\lambda\in[0,1)}{\operatorname{arg\,max}}\ \mathbb{E}[\log(1+\lambda\nu_t(Z))\mid\mathcal{F}_{t-1}]. \tag*{(9)}

However, since our bet must be predictable and νt\nu_t is based on all of the available data (i.e., Z1,…,Zt−1Z_1,\ldots,Z_{t-1}) we have no held-out samples with which to estimate this e-power. The GRAPA betting strategy (Waudby-Smith and Ramdas [51]), which stands for growth rate adaptive to the particular alternative, therefore estimates the e-power based on maximizing 1t−1∑ℓ=1t−1log⁡(1+λνℓ(Zℓ))\frac{1}{t-1}\sum_{\ell=1}^{t-1}\log(1+\lambda\nu_\ell(Z_\ell)), which is equivalent to maximizing the wealth at time t−1t-1 for a process using the fixed bet λ\lambda (a “follow-the-leader” strategy). In the limit as ℓ→∞\ell\to\infty, we will typically have νℓ→ν∗\nu_\ell\to\nu^* and λ\lambda will converge to λ∗\lambda^* of (7).

As previewed in Section 1, however, the key insight of our work is that 1t−1∑ℓ<tlog⁡(1+λνℓ(Zℓ))\frac{1}{t-1}\sum_{\ell<t}\log(1+\lambda\nu_\ell(Z_\ell)) is not necessarily a good estimate of the distribution of returns for Vt=νt(Zt)V_t=\nu_t(Z_t). Hopefully our predictor νt\nu_t has gotten better as we observe more data, but GRAPA weights the historical return of ν2\nu_2 equally to how it weights νt−2\nu_{t-2}! We suggest a simple alternative: while we do not have access to fresh data on which to estimate E[log⁡(1+λtνt(Zt))]\mathbb{E}[\log(1+\lambda_t\nu_t(Z_t))] in the stochastic setting we can use a leave-one-out estimate of the e-power. That is, rather than plugging in an average over the history of our actual critic functions, we can plug in an average over t−1t-1 hypothetical sequences in which the last point we observed was Z1,Z2,…Z_1,Z_2,\ldots, or Zt−1Z_{t-1}. Because our data is exchangeable, this is an unbiased estimator for the e-power of νt−1\nu_{t-1}, and hence a good estimate for the e-power of νt\nu_t, the actually relevant quantity. We now detail how this is done.

Critic construction. Write [t]={1,2,…,t}[t]=\{1,2,\ldots,t\}, so that [t]∖{ℓ}[t]\setminus\{\ell\} is the set of all indices up to tt but excluding ℓ\ell. Let P^[t]∖{ℓ}\widehat{P}_{[t]\setminus\{\ell\}} and Q^[t]∖{ℓ}\widehat{Q}_{[t]\setminus\{\ell\}} be the empirical distributions based on ZiZ_i for i∈[t]∖{ℓ}i\in[t]\setminus\{\ell\}. Define the leave-one-out (loo) critic f[t]∖{ℓ}f_{[t]\setminus\{\ell\}} as the norm-1/2K1/\sqrt{2K} maximizer of the MMD between empirical distributions P^[t]∖{ℓ}\widehat{P}_{[t]\setminus\{\ell\}} and Q^[t]∖{ℓ}\widehat{Q}_{[t]\setminus\{\ell\}}, and the corresponding predictor ν[t]∖{ℓ}(x,y)=f[t]∖{ℓ}(x)−f[t]∖{ℓ}(y)\nu_{[t]\setminus\{\ell\}}(x,y)=f_{[t]\setminus\{\ell\}}(x)-f_{[t]\setminus\{\ell\}}(y). It is straightforward to show that this predictor evaluated on a paired sample z=(x,y)z=(x,y) is

ν[t]∖{ℓ}(z)=∑i∈[t]∖{ℓ}h(z,Zi)2K∑i∈[t]∖{ℓ}∑j∈[t]∖{ℓ}h(Zi,Zj).(10)\nu_{[t]\setminus\{\ell\}}(z)=\frac{\sum_{i\in[t]\setminus\{\ell\}}h(z,Z_i)}{\sqrt{2K\sum_{i\in[t]\setminus\{\ell\}}\sum_{j\in[t]\setminus\{\ell\}}h(Z_i,Z_j)}}. \tag*{(10)}

When we evaluate a loo-predictor on its left-out sample, we obtain the leave-one-out (loo) payoff Vℓ(t):=ν[t]∖{ℓ}(Zℓ)V_{\ell}^{(t)} := \nu_{[t]\setminus\{\ell\}}(Z_{\ell}). It is worth mentioning that since of course [t]∖{t}=[t−1][t] \setminus\{t\} = [t-1], ν[t]∖{t}\nu_{[t]\setminus\{t\}} is exactly the standard ERM predictor νt\nu_t, and Vt(t)V_t^{(t)} the ERM payoff VtV_t. Of the leave-one-out predictors, only νt=ν[t]∖{t}\nu_t = \nu_{[t]\setminus\{t\}} is Ft−1\mathcal{F}_{t-1}-measurable, and hence only VtV_t is a valid payoff at time tt.

Betting strategy. Recall that the oracle betting strategy aims to maximize the e-power of the wealth process at time tt. Although the exact e-power is impossible to determine, we can construct a Ft−1\mathcal{F}_{t-1}-measurable estimate of it from the loo-payoffs at time t−1t-1. Our betting strategy is the maximizer of this estimate in the interval [0,1−ϵ][0,1-\epsilon] for some small ϵ>0\epsilon> 0, i.e.

λt:=arg⁡max⁡λ∈[0,1−ϵ] 1t−1∑ℓ=1t−1log⁡(1+λVℓ(t−1)).(11)\lambda_t := \underset{\lambda\in[0,1-\epsilon]}{\arg\max}\ \frac{1}{t-1}\sum_{\ell=1}^{t-1}\log\left(1+\lambda V_{\ell}^{(t-1)}\right). \tag*{(11)}

We call this betting strategy follow-the-loo-e-power (FLOE). As the e-power estimate is strictly1 concave with respect to λ∈[0,1)\lambda\in[0,1), a unique maximizer exists. This one-dimensional optimization problem can be done via bisection to ϵ\epsilon accuracy in log⁡2(ϵ)\log_2(\epsilon) steps; five or ten steps are more than enough for practical purposes. Moreover, computing the e-power estimate at time tt can be done in O(t)O(t) cost as long as we saved the kernel matrix Hij:=h(Zi,Zj)H_{ij} := h(Z_i,Z_j) of the previous step. This betting strategy also converges to the Kelly criterion bet (Proposition 6).

Putting everything together, we use bets λt\lambda_t chosen according to (11) and ERM payoffs Vt=νt(Zt)V_t = \nu_t(Z_t), where νt\nu_t is the norm-1/2K1/\sqrt{2K} witness predictor between P^[t−1]\widehat{\mathbb{P}}_{[t-1]} and Q^[t−1]\widehat{\mathbb{Q}}_{[t-1]}. The test martingale is

W0=1,Wt=Wt−1(1+λtVt).(12)W_0 = 1,\qquad W_t = W_{t-1}(1+\lambda_t V_t). \tag*{(12)}

The corresponding sequential level-α\alpha test is the stopping time τ:=inf⁡{t≥1:Wt≥1/α}\tau:= \inf\{t \ge1 : W_t \ge1/\alpha\}, which under the null is finite with probability no greater than α\alpha.

Test Consistency. Although the test is guaranteed to be anytime valid with level-α\alpha, we would also like it to be consistent: it should eventually reject the null under the alternative. If not, one could simply construct a valid, but uninformative, sequential test like Wt=1W_t = 1. The following theoretical result confirms the wealth process of Equation (12) is consistent while maintaining finite-sample type-I control. Its proof is provided in Appendix § 8.1.

Theorem 1. If τ:=min⁡{t≥1:Wt≥1/α}\tau:= \min\{t \ge1 : W_t \ge1/\alpha\} with WtW_t from (12) with a characteristic kernel, then

Pr⁡H0(τ<∞)≤αandPr⁡H1(τ<∞)=1.\Pr_{\mathcal{H}_0}(\tau< \infty) \le\alpha\qquad\text{and} \qquad\Pr_{\mathcal{H}_1}(\tau< \infty) = 1.

Bet Regularization

The finite sample performance of any betting strategy is subtly tied to the uncertainty of predictor outputs. At sufficiently large tt, we can expect the ERM predictors to be good approximations of the witness predictor, and so we can be confident their evaluated payoffs are accurate measures of evidence against the null hypothesis. On the other hand, we should be more skeptical of payoffs when tt is small, as predictions are less accurate in this regime. An ideal betting strategy should be aggressive when we are confident in the payoffs and conservative when we are not. Figure 1 illustrates what happens when uncertainty is not encoded into the betting strategy. When tt is small, the ERM payoffs are more frequently negative, which causes wealth to initially decrease. This phenomenon motivates using an uncertainty-based regularizer for the bets.

Figure 1. Wealth of several betting strategies (ONS, GRAPA, FLOE) for the x-Normal problem described in Section 4. Poor initial estimates often lead to negative returns, whereas a regularized betting strategy (FLOE-R) minimizes losses by betting more conservatively at the start.

There are several ways we can quantify this uncertainty. Perhaps the most direct approach is with high probability bounds on either the predictor νt\nu_t or its payoff VtV_t. But, while informative, these bounds alone do not justify particular betting values. We address this issue by defining a regularization paradigm based on the expected return E[Vt∣Ft−1]\mathbb{E}[V_t \mid\mathcal{F}_{t-1}], which directly connects to the choice of bets.

Definition 2. Let α,β∈(0,1)\alpha,\beta\in(0,1), and Zt−1=(Z1,…,Zt−1)Z_{t-1} = (Z_1,\ldots,Z_{t-1}). We call Λt(α,β)(Zt−1)⊆[0,1)\Lambda_t^{(\alpha,\beta)}(Z_{t-1}) \subseteq[0,1) an (α,β)(\alpha,\beta)-regularized set of bets for the ERM predictor at time tt if

Pr⁡Zt−1(inf⁡λ∈Λt(α,β)(Zt−1)E[λVt∣Ft−1]>−α)≥1−β.\Pr_{Z_{t-1}}\left(\inf_{\lambda\in\Lambda_t^{(\alpha,\beta)}(Z_{t-1})}\mathbb{E}[ \lambda V_t \mid\mathcal{F}_{t-1}] > -\alpha\right) \ge1-\beta.

An (α,β)(\alpha,\beta)-regularized set of bets is an interval of bets that guarantees an expected return of at least −α-\alpha with probability no less than 1−β1-\beta. This definition inherently accounts for the uncertainty of the prediction function, as we need to be confident the expected profit will not drop too low. It is worth pointing out that bets in Λt(α,β)\Lambda_t^{(\alpha,\beta)} also indirectly regularize the e-power E[log⁡(1+λVt)∣Ft−1]\mathbb{E}[\log(1+\lambda V_t)\mid\mathcal{F}_{t-1}] through Lemma 4, though this bound is certainly not sharp.

The next theorem (proved in Appendix A.2) constructs one possible (α,β)(\alpha,\beta)-regularized set. It is based on a martingale version of a Bennett-type concentration inequality, which uses variance information to provide sharper bounds. In this case, it uses the variance of the first-order projection of the V-statistic kernel, which we denote by ζ(P×Q):=Var⁡Z[EZ′[h(Z,Z′)]]\zeta(\mathbb{P}\times\mathbb{Q}) := \operatorname{Var}_{Z}[\mathbb{E}_{Z'}[h(Z,Z')]]. This term is essentially the asymptotic variance of the MMD estimator in Equation (2); estimating this is required for several notable kernel two-sample testing approaches (Sutherland et al., [45]; F. Liu et al., [24]; Sutherland and Deka, [44]; Wei et al., [52]). The typical biased estimate is

ζ^b(Zt):=1t∑i=1t(1t∑j=1th(Zi,Zj)−1t∑k=1t∑j=1th(Zk,Zj))2.(13)\widehat{\zeta}_b(Z_t):=\frac{1}{t}\sum_{i=1}^{t}\left(\frac{1}{t}\sum_{j=1}^{t}h(Z_i,Z_j)-\frac{1}{t}\sum_{k=1}^{t}\sum_{j=1}^{t}h(Z_k,Z_j)\right)^2. \tag*{(13)}

Theorem 3. Let Zt=(Z1,…,Zt)Z_t=(Z_1,\ldots,Z_t) be i.i.d. samples from P×Q\mathbb{P}\times\mathbb{Q} and suppose we have tail bounds on the estimates in Equation (2) and Equation (13),

Pr⁡(MMD⁡^b2(Zt)−MMD⁡2(P,Q)≤ϵt(1))≥1−δ1\Pr\left(\widehat{\operatorname{MMD}}_b^2(Z_t)-\operatorname{MMD}^2(\mathbb{P},\mathbb{Q})\le\epsilon_t^{(1)}\right)\ge1-\delta_1
Pr⁡(ζ(P×Q)−ζ^b(Zt)≤ϵt(2))≥1−δ2,\Pr\left(\zeta(\mathbb{P}\times\mathbb{Q})-\widehat{\zeta}_b(Z_t)\le\epsilon_t^{(2)}\right)\ge1-\delta_2,

with non-negative errors ϵt(1)=o(1)\epsilon_t^{(1)}=o(1) and ϵt(2)=o(1)\epsilon_t^{(2)}=o(1). For brevity, we omit arguments P\mathbb{P}, Q\mathbb{Q}, ZtZ_t and define the penalized estimates MMD⁡^b2:=MMD⁡^b2−ϵt(1)\widehat{\operatorname{MMD}}_b^2:=\widehat{\operatorname{MMD}}_b^2-\epsilon_t^{(1)} and ζ^b:=ζ^b+ϵt(2)\widehat{\zeta}_b:=\widehat{\zeta}_b+\epsilon_t^{(2)}. Then for all α∈(0,1)\alpha\in(0,1)

λt+1∈[0,min⁡{1,α2KMMD⁡^b[14ζ^bϕ+−1(16log⁡1/δ0tζ^b)−MMD⁡^b2]+}]\lambda_{t+1}\in\left[0,\min\left\{1,\frac{\alpha\sqrt{2K}\widehat{\operatorname{MMD}}_b}{\left[\frac{1}{4}\widehat{\zeta}_b\phi_+^{-1}\left(\frac{16\log1/\delta_0}{t\widehat{\zeta}_b}\right)-\widehat{\operatorname{MMD}}_b^2\right]_+}\right\}\right]

is a (α,δ0+δ1+δ2)(\alpha,\delta_0+\delta_1+\delta_2)-regularized set of bets for the ERM predictor at time t+1t+1, where ϕ+−1\phi_+^{-1} is the positive inverse of ϕ(u)=(1+u)log⁡(1+u)−u\phi(u)=(1+u)\log(1+u)-u.

The first term in the denominator is expected to decrease with time, causing the bet interval to increase. We illustrate an example of this interval for a real wealth process in Figure C.3a of the appendix, and point the reader back to Figure 1 for its impact on the wealth. This regularization can also be applied to any betting strategy, not just for FLOE, as long as we use an ERM prediction strategy. We find it helps FLOE more than ONS, however, as the latter naturally takes smaller increments. Comparisons between the two are given in Appendix § 10.

Finally, we emphasize that this regularization does not increase asymptotic computational complexity. Computing its bound at time tt can be done in O(t)O(t) time using the saved kernel gram matrix HijH_{ij} from the previous step. Cumulatively over TT steps, this amounts to O(T2)O(T^2) complexity in both compute and memory, the same as any kernel sequential test based on ERM or OGA prediction strategies. The complete kernel sequential test with this regularization procedure is outlined in Algorithm 1.

Practical Considerations. Theorem 3 gives a general way to regularize the bets, but it also depends on how tight the tail bounds on MMD⁡^b2(Zt)\widehat{\operatorname{MMD}}_b^2(Z_t) and ζ^b(Zt)\widehat{\zeta}_b(Z_t) are. If these bounds are too loose, then the regularization set becomes too conservative, i.e. the interval remains small even after large time tt.

Algorithm 1 Sequential test with the regularized FLOE betting strategy

Input: Data stream Z1,Z2,…,ZTZ_1, Z_2, \ldots, Z_T sampled independently from P×Q\mathbb{P} \times\mathbb{Q}.

Parameters: Test level η∈(0,1)\eta\in(0, 1). Regularization strength α,δ0,δ1,δ2∈(0,1)\alpha, \delta_0, \delta_1, \delta_2 \in(0, 1).

Output: {0,1}\{0, 1\} where 0 indicates ‘do not reject’ and 1 is ‘reject’ the null hypothesis H0:P=Q\mathcal{H}_0 : \mathbb{P} = \mathbb{Q}.

W0←1W_0 \leftarrow1

for t=1,2,…,Tt = 1, 2, \ldots, T do

&nbsp;&nbsp;&nbsp;&nbsp;Compute ERM payoff Vt=νt(Zt)V_t = \nu_t(Z_t)

&nbsp;&nbsp;&nbsp;&nbsp;Compute bet λt\lambda_t according to Equation (11)

&nbsp;&nbsp;&nbsp;&nbsp;Construct the interval Λt(α,δ0+δ1+δ2)\Lambda_t^{(\alpha,\delta_0+\delta_1+\delta_2)} described in Theorem 3

&nbsp;&nbsp;&nbsp;&nbsp;λt←\lambda_t \leftarrow Project λt\lambda_t onto Λt(α,δ0+δ1+δ2)\Lambda_t^{(\alpha,\delta_0+\delta_1+\delta_2)}

&nbsp;&nbsp;&nbsp;&nbsp;Wt←Wt−1(1+λtVt)W_t \leftarrow W_{t-1}(1 + \lambda_t V_t)

&nbsp;&nbsp;&nbsp;&nbsp;if Wt≥1/ηW_t \ge1/\eta then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 1

return 0

For the MMD estimator this is not a major issue, as there exist O(t−1/2)O(t^{-1/2}) error bounds with reasonable constants; for example, we know ε^t(1)=2/t+4[log⁡1/δ1]/t\widehat{\varepsilon}_t^{(1)} = 2/t + 4\sqrt{[\log1/\delta_1]/t} from a straightforward application of McDiarmid’s inequality. The variance estimator ζ^b\widehat{\zeta}_b is more problematic. Not only do we need a practical bound with small enough constants, but this bound should be on the square root of the estimator ζ^b\sqrt{\widehat{\zeta}_b}, because ζ^bϕ+−1(1/ζ^b)\widehat{\zeta}_b\phi_+^{-1}(1/\widehat{\zeta}_b) simplifies to a leading term depending on ζ^b\sqrt{\widehat{\zeta}_b} once we take the Taylor expansion. A peeling argument or entropy method could be used to do this, but neither would give practical bounds. Therefore, we omit penalizing ζ^b\widehat{\zeta}_b in practice and simply use the unpenalized variance estimate when constructing the regularized set. Although this sacrifices any finite-sample guarantees, we expect it to still approximate the theoretical interval well for large enough tt.

Another simplification we employ in practice is to replace ϕ+−1(u)\phi_+^{-1}(u) with h−1(u):=u/3+2uh^{-1}(u) := u/3 + \sqrt{2u}, which is the relaxation used when deriving Bernstein’s inequality from Bennett’s. This still ensures the correct confidence level of the regularization set, since ϕ+−1(u)≤h−1(u)\phi_+^{-1}(u) \le h^{-1}(u) for all u≥0u \ge0.

Experiments

We evaluate our proposed sequential test across a number of synthetic and real-life datasets. Its performance with regularization (FLOE-R) and without (FLOE) is compared to a number of baselines including ONS (Hazan et al. [14]), GRAPA (Waudby-Smith and Ramdas [51]), UP (Cover and Ordentlich [8]; ); Orabona and Jun [28]) with a Beta(1/2,1/2) prior, and the kernel sequential test of Shekhar and Ramdas [41] (labelled SR) which uses OGD for the prediction strategy and ONS for the bets. All tests are controlled with level-0.05, and the regularization strength for FLOE-R is set to α=δ0=δ1=0.1\alpha= \delta_0 = \delta_1 = 0.1 while omitting the variance penalty. We use Gaussian kernels for all problems, and select the lengthscale to optimize the performance of ONS; tuning for FLOE(-R) might lead to slightly larger improvements. Results are illustrated in Figure 2. Further experiment details and additional results on the Blobs and Higgs datasets are given in Section C.

Figure 2. Mean test power on a variety of datasets; each test is run 1,000 times. The second row subtracts the performance of SR from each point for easier visualization.

Sinusoid. This problem, adapted from Sejdinovic et al. [39], involves differentiating between sinusoidal and uniform distributions in a compact space. We sample P\mathbb{P} from the standard uniform on [−π,π]2[-\pi,\pi]^2, and Q\mathbb{Q} according to ∝1+sin⁡(ωx)sin⁡(ωy)\propto1 + \sin(\omega x)\sin(\omega y) on the same support. Higher frequencies ω\omega produce subtler departures from the uniform distribution, resulting in a harder two-sample problem. We use ω=3.5\omega= 3.5 and visualize its density in Figure C.3b.

x-Normal. We distinguish a 2D Gaussian mixture forming an “X” shape (Figure C.3c) from an isotropic Gaussian. Each mixture component of the X is constructed with a positive and negative correlation coefficient of equal magnitude; the lower the correlation, the harder it is to distinguish from a standard Gaussian. We use a correlation magnitude of 0.65. This problem is essentially the HDGM problem of Liu et al. [24] in two dimensions.

CIFAR 10 vs 10.1. This problem involves discerning between images from the CIFAR-10 (Krizhevsky and Hinton [21]) and CIFAR-10.1 (Torralba et al. [47]; ); Recht et al. [37]) test sets. The latter dataset was created entirely from new samples as an alternative test set for models trained on CIFAR-10, and models trained on it generally exhibit a drop in test accuracy. We compare the low-level features of each image obtained from a ResNet-50 model [15] pretrained on ImageNet.

RatInABox [10]. We simulate the neural activity of a rat moving inside slightly different boxed environments: one box has a protruding wall, while the other does not. This discrepancy in geometry should result in slightly different place cell (neural cells that are activated in the vicinity of certain locations) firing rates for each environment. We sample from 10 fixed place cells in the rat.

All of the considered tests are significantly better than the test of Shekhar and Ramdas [41]: this difference is due to using an ERM prediction strategy rather than OGD, since we find the ONS baseline substantially outperforms SR. As previously mentioned, their motivation for using OGD is theoretical, as there exist known regret bounds for OGD but not for ERM-based strategies.

Among the ERM-based tests, however, FLOE-R performs as well as, and in most cases better than, every competitor. Particularly, it improves finite sample performance against ONS and GRAPA by over 5% for some problems. Even without the regularizer FLOE is enough to beat these other strategies in all benchmarks except x-Normal, and is only slightly worse than FLOE-R in most cases.

In general, including the regularizer sacrifices early power for faster wealth growth, hence higher later power; the largest boost to power we observed is almost 10% in x-Normal. However, there are situations where including this regularization might be detrimental: if the problem is trivial enough to be solved in only a few steps. In this case, its performance hinges on how sharp the bound in Definition 2 is.

FLOE is also noticeably better than Universal Portfolio, which was shown by Cover and Ordentlich [8] to achieve minimax optimal regret against the best in-hindsight constant betting strategy. The optimal strategy, however, is not constant, and so non-constant algorithms like FLOE may outperform them. Importantly, the UP betting strategy is invariant to the order of observations Z1,…,ZtZ_1, \ldots, Z_t [28], which suggests it weights V1V_1 and VtV_t identically. However, as mentioned in our motivation for FLOE, we should avoid this; late payoffs are based on a far better understanding of the distribution than early ones.

Hyperparameter Sensitivity. We would like to confirm that our regularizer is robust to the choice of hyperparameters α,δ0,δ1∈(0,1)\alpha, \delta_0, \delta_1 \in(0,1). To compartmentalize the ablation we fix α=0.1\alpha= 0.1 and vary δ:=δ0=δ1\delta:= \delta_0 = \delta_1 between two extremes: 0.01 and 0.5. Figure 3 illustrates the difference in power between FLOE at each level δ\delta and ONS. In all problems only the extreme choice δ=0.01\delta= 0.01 results in lower power than ONS. The other regularization hyperparameter to consider is α\alpha. For this ablation we fix δ0=δ1=0.1\delta_0 = \delta_1 = 0.1 and vary α\alpha between 0.05 and 0.5; these results are shown in Figure C.5 of the appendix. Overall, we find that our choice of parameters α=δ0=δ1=0.1\alpha= \delta_0 = \delta_1 = 0.1 is a good middle ground for regularization strength, and that parameter choices around 0.1 and above all tend to be fairly robust in terms of performance. When α\alpha and δ\delta are very large (e.g. >0.5> 0.5), however, the regularizer impact is minimal.

Figure 3. Power of FLOE-R relative to ONS at varying regularization levels δ\delta and fixed α=0.1\alpha= 0.1.

FLOE for Sequential Kernel Independence Testing. Nothing about FLOE is specific to two-sample testing. The generality of the leave-one-out approach can easily be applied to learning critic functions for other problems, such as independence testing. We illustrate this by applying FLOE to the sequential kernel independence test (SKIT) of [34]. Similar to the kernel two-sample case, the leave-one-out payoffs for SKIT can be computed in cumulative quadratic time and memory. Exact expressions and implementation details are provided in Section B.

We evaluate FLOE on independence-testing versions of the Sinusoid, x-Normal, and RatInABox problems. For the former two, we sample XX and YY jointly from the 2D distribution containing component-wise dependency. For RatInABox, we compare the firing rates of 6 place cells against 6 boundary vector cells. Detailed problem and test settings are given in Section B.1. The performance of FLOE against GRAPA, ONS, and Universal Portfolio with a Beta(1/2,1/2)(1/2, 1/2) prior is plotted in Figure 4. Results show FLOE outperforms these other baselines even without the use of regularization.

Figure 4. Mean test power on a variety of datasets; each test is run 1,000 times. The second row subtracts the performance of UP from each point for easier visualization.

Conclusion

Existing betting strategies in sequential anytime-valid testing default to a handful of classical online learning algorithms with nice theoretical adversarial-regime guarantees. In the stochastic setting, however, standard FTL algorithms may perform better in practice. Therefore, we framed the problem of selecting betting strategies in online testing in such a way as to very naturally motivate following a better estimate of the e-power. Our proposed method, FLOE, is natural, simple to implement, computationally efficient for kernel tests, and leads to substantial improvements in test power over prior work at very little computational cost.

Acknowledgments and Disclosure of Funding

The authors would like to thank Zheng He for productive discussions, and the anonymous reviewers for insights that improved the paper.

This work was enabled in part by the Natural Sciences and Engineering Research Council of Canada, the Canada CIFAR AI Chairs program, the Digital Research Alliance of Canada, and Calcul Québec. Feng Liu is supported by the ARC with grant numbers DP230101540, DE240101089 and DP260103996.

References

Proofs

Lemma 4 (Indirect E-Power Regularization). Any (α,β)(\alpha,\beta)-regularized set of bets Λ(α,β)⊆[0,1−ϵ]\Lambda^{(\alpha,\beta)} \subseteq[0,1-\epsilon] for some ϵ∈(0,1)\epsilon\in(0,1) also regularizes the ee-power according to

Pr⁡Zt−1(inf⁡λ∈Λ(α,β)E[log⁡(1+λVt)∣Ft−1]>log⁡(1−α)−12ϵ2Var⁡[Vt∣Ft−1])≥1−β.\Pr_{Z_{t-1}}\left(\inf_{\lambda\in\Lambda^{(\alpha,\beta)}}\mathbb{E}[\log(1+\lambda V_t)\mid\mathcal{F}_{t-1}]>\log(1-\alpha)-\frac{1}{2\epsilon^2}\operatorname{Var}[V_t\mid\mathcal{F}_{t-1}]\right)\geq1-\beta.

Proof. The idea is to apply Taylor’s theorem with a second-order Lagrange remainder term to log⁡(1+λVt)\log(1+\lambda V_t) about E[λVt∣Ft−1]\mathbb{E}[\lambda V_t\mid\mathcal{F}_{t-1}]. For brevity, we will assume all expectations are conditioned on the filtration Ft−1\mathcal{F}_{t-1}, even if not explicitly written.

The Taylor expanded expression for the e-power is

E[log⁡(1+λVt)]=log⁡(1+E[λVt])−E[(λVt−E[λVt])22(1+ζ)2],\mathbb{E}[\log(1+\lambda V_t)]=\log(1+\mathbb{E}[\lambda V_t])-\mathbb{E}\left[\frac{(\lambda V_t-\mathbb{E}[\lambda V_t])^2}{2(1+\zeta)^2}\right],

for some random variable ζ\zeta between λVt\lambda V_t and E[λVt]\mathbb{E}[\lambda V_t]. Since ∣λVt∣≤1−ϵ|\lambda V_t|\leq1-\epsilon, it follows that

E[log⁡(1+λVt)]≥log⁡(1+E[λVt])−Var⁡[Vt]2ϵ2.\mathbb{E}[\log(1+\lambda V_t)]\geq\log(1+\mathbb{E}[\lambda V_t])-\frac{\operatorname{Var}[V_t]}{2\epsilon^2}.

Finally, taking the infimum over the regularization set λ∈Λ(α,β)\lambda\in\Lambda^{(\alpha,\beta)} and applying a union bound with Pr⁡(inf⁡λ∈Λ(α,β)E[λVt]>−α)≥1−β\Pr(\inf_{\lambda\in\Lambda^{(\alpha,\beta)}}\mathbb{E}[\lambda V_t]>-\alpha)\geq1-\beta yields, with probability 1−β1-\beta,

inf⁡λ∈Λ(α,β)E[log⁡(1+λVt)]≥log⁡(1−α)−Var⁡[Vt]2ϵ2,\inf_{\lambda\in\Lambda^{(\alpha,\beta)}}\mathbb{E}[\log(1+\lambda V_t)]\geq\log(1-\alpha)-\frac{\operatorname{Var}[V_t]}{2\epsilon^2},

as desired.

Test Consistency

Lemma 5. Under the alternative hypothesis with a characteristic kernel, the leave-one-out predictor νℓ(t):=ν[t]∖{ℓ}\nu_{\ell}^{(t)} := \nu_{[t]\setminus\{\ell\}} defined in Equation (10) converges uniformly to the witness predictor ν∗\nu^* defined in Equation (6) for any left-out sample ℓ≤t\ell\leq t.

sup⁡z∈Z∣νℓ(t)(z)−ν∗(z)∣→a.s.0∀ℓ≤t.\sup_{z\in\mathcal{Z}}\left|\nu_{\ell}^{(t)}(z)-\nu^*(z)\right|\xrightarrow{\mathrm{a.s.}}0 \qquad\forall\ell\leq t.

Proof. Since the RKHS F\mathcal{F} is a strong Glivenko-Cantelli class ([3] (Gretton, Borgwardt, et al. 2012)), so too is H={h(z,⋅):z∈Z}\mathcal{H}=\{h(z,\cdot):z\in\mathcal{Z}\} as it is a linear composition of F\mathcal{F}. This means H\mathcal{H} satisfies the uniform law of large numbers

sup⁡z∈Z∣1t∑i=1th(z,Zi)−E[h(z,Z)]∣→a.s.0\sup_{z\in\mathcal{Z}}\left|\frac{1}{t}\sum_{i=1}^{t}h(z,Z_i)-\mathbb{E}[h(z,Z)]\right|\xrightarrow{\mathrm{a.s.}}0

If we let gt:=1t∑i=1th(⋅,Zi)g_t:=\frac{1}{t}\sum_{i=1}^{t}h(\cdot,Z_i) and g:=EZ[h(⋅,Z)]g:=\mathbb{E}_Z[h(\cdot,Z)], this is equivalent to saying ∥gt−g∥∞→a.s.0\|g_t-g\|_\infty\xrightarrow{\mathrm{a.s.}}0.

Let ηt:=1t2∑i=1t∑j=1th(Zi,Zj)\eta_t:=\frac{1}{t^2}\sum_{i=1}^{t}\sum_{j=1}^{t}h(Z_i,Z_j) and η:=E[h(Z,Z′)]\eta:=\mathbb{E}[h(Z,Z')]. The strong law of large numbers for U-Statistics (Hoeffding [18]) tells us ∣ηt−η∣→a.s.0|\eta_t-\eta|\xrightarrow{\mathrm{a.s.}}0. Also note that η\eta is just the population MMD which, under the alternative hypothesis with a characteristic kernel, is positive.

It follows that (gt,ηt)→a.s.(g,η)(g_t,\eta_t)\xrightarrow{\mathrm{a.s.}}(g,\eta) in the product space, and so applying the continuous mapping theorem with Φ=(g,η)↦g/2Kη\Phi=(g,\eta)\mapsto g/\sqrt{2K\eta} yields

∥gt2Kηt−g2Kη∥∞→a.s.0.\left\|\frac{g_t}{\sqrt{2K\eta_t}}-\frac{g}{\sqrt{2K\eta}}\right\|_\infty\xrightarrow{\mathrm{a.s.}}0.

Notice that ν∗=g/2Kη\nu^*=g/\sqrt{2K\eta} and νℓ(t)=gt/2Kηt+o(1)\nu_{\ell}^{(t)}=g_t/\sqrt{2K\eta_t}+o(1) for any ℓ≤t\ell\leq t, and so $\max_{\ell\leq t}|\nu_{\ell}^{(t)}-\nu^*|_\infty\xrightarrow{\mathrm{a.s.}}0.

Proposition 6. Let V(t)V^{(t)} be the loo payoffs and f∗f^* be the witness function of Equation (5) with a characteristic kernel. Also, suppose the bets λ\lambda are in a bounded set [0,1−ϵ][0,1-\epsilon] for some ϵ>0\epsilon>0. Then, under the alternative hypothesis, we have

sup⁡λ∈[0,1−ϵ]∣1t∑ℓ=1tlog⁡(1+λVℓ(t))−E[log⁡(1+λ(f∗(X)−f∗(Y)))]∣→a.s.0\sup_{\lambda\in[0,1-\epsilon]}\left|\frac{1}{t}\sum_{\ell=1}^{t}\log(1+\lambda V_{\ell}^{(t)})-\mathbb{E}\left[\log(1+\lambda(f^*(X)-f^*(Y)))\right]\right|\xrightarrow{\mathrm{a.s.}}0

Proof. Let ψλ(V):=log⁡(1+λV)\psi_\lambda(V):=\log(1+\lambda V) and recall that we defined Vℓ∗:=ν∗(Zℓ)V_\ell^*:=\nu^*(Z_\ell). Since λ<1\lambda<1 and Vℓ(t)∈[−1,1]V_\ell^{(t)}\in[-1,1] the function ψλ\psi_\lambda is LL-Lipschitz for some L>0L>0. Define the sup-norm ∥ψλ(V)∥∞=sup⁡λ∣ψλ(V)∣\|\psi_\lambda(V)\|_\infty=\sup_\lambda|\psi_\lambda(V)| with respect to λ\lambda, and apply the decomposition

∥1t∑ℓ=1tψλ(Vℓ(t))−E[ψλ(V1∗)]∥∞≤∥1t∑ℓ=1tψλ(Vℓ(t))−ψλ(Vℓ∗)∥∞+∥1t∑ℓ=1tψλ(Vℓ∗)−E[ψλ(V1∗)]∥∞\left\|\frac{1}{t}\sum_{\ell=1}^{t}\psi_\lambda(V_\ell^{(t)})-\mathbb{E}[\psi_\lambda(V_1^*)]\right\|_\infty\leq\left\|\frac{1}{t}\sum_{\ell=1}^{t}\psi_\lambda(V_\ell^{(t)})-\psi_\lambda(V_\ell^*)\right\|_\infty+\left\|\frac{1}{t}\sum_{\ell=1}^{t}\psi_\lambda(V_\ell^*)-\mathbb{E}[\psi_\lambda(V_1^*)]\right\|_\infty

For the first term, we can use the Lipschitz property to write

∥1t∑ℓ=1tψλ(Vℓ(t))−ψλ(Vℓ∗)∥∞≤1t∑ℓ=1t∥ψλ(Vℓ(t))−ψλ(Vℓ∗)∥∞≤1t∑ℓ=1tsup⁡λ∣ψλ(Vℓ(t))−ψλ(Vℓ∗)∣≤1t∑ℓ=1tL∣Vℓ(t)−Vℓ∗∣≤Lmax⁡i≤t∣Vi(t)−Vi∗∣≤Lmax⁡i≤tsup⁡z∈Z∣νi(t)(z)−ν∗(z)∣.\begin{aligned} \left\|\frac{1}{t}\sum_{\ell=1}^{t}\psi_\lambda(V_\ell^{(t)})-\psi_\lambda(V_\ell^*)\right\|_\infty\leq\frac{1}{t}\sum_{\ell=1}^{t}\left\|\psi_\lambda(V_\ell^{(t)})-\psi_\lambda(V_\ell^*)\right\|_\infty\leq\frac{1}{t}\sum_{\ell=1}^{t}\sup_\lambda\left|\psi_\lambda(V_\ell^{(t)})-\psi_\lambda(V_\ell^*)\right| \\ &\leq\frac{1}{t}\sum_{\ell=1}^{t}L\left|V_\ell^{(t)}-V_\ell^*\right| \\ &\leq L\max_{i\leq t}\left|V_i^{(t)}-V_i^*\right| \\ &\leq L\max_{i\leq t}\sup_{z\in\mathcal{Z}}\left|\nu_i^{(t)}(z)-\nu^*(z)\right|. \end{aligned}

By Lemma 5 this must also converge a.s. to zero. The second term converges a.s. to zero by the uniform law of large numbers since {ψλ:λ∈[0,1−ϵ]}\{\psi_\lambda:\lambda\in[0,1-\epsilon]\} is a strong Glivenko-Cantelli class when the domain is bounded in [−1,1][-1,1]. This is easily verified by noting that the Rademacher complexity of this function class is sub-linear.

Theorem 1. If τ:=min⁡{t≥1:Wt≥1/α}\tau:=\min\{t\geq1:W_t\geq1/\alpha\} with WtW_t from (12) with a characteristic kernel, then

Pr⁡H0(τ<∞)≤αandPr⁡H1(τ<∞)=1.\Pr_{\mathcal{H}_0}(\tau<\infty)\leq\alpha\quad\text{and}\quad\Pr_{\mathcal{H}_1}(\tau<\infty)=1.

Proof. It suffices to show that the e-power converges to some positive value, i.e.

lim⁡t→∞E[log⁡(1+λtVt(t))∣Ft−1]→a.s.>0,\lim_{t\to\infty}\mathbb{E}\left[\log(1+\lambda_tV_t^{(t)})\mid\mathcal{F}_{t-1}\right]\xrightarrow{\mathrm{a.s.}}>0,

then consistency of the test directly follows Proposition 4.2 of Pandeva et al. [30]. Since the bets are bounded away from 1 in an open interval, they must be a subset of [0,1−ϵ][0,1-\epsilon] for some ϵ∈(0,1)\epsilon\in(0,1). Note that λt\lambda_t exists and is unique on the set [0,1−ϵ][0,1-\epsilon] by concavity of the log function. Thus, it follows from the uniform convergence result of Proposition 6 that

λt→a.s.λ∗:=arg⁡max⁡λ∈[0,1−ϵ] E[log⁡(1+λ(f∗(X)−f∗(Y)))].\lambda_t\xrightarrow{\mathrm{a.s.}}\lambda^*:=\underset{\lambda\in[0,1-\epsilon]}{\arg\max}\ \mathbb{E}[\log(1+\lambda(f^*(X)-f^*(Y)))].

Since the data is i.i.d., the conditional e-power is equivalent to EZ[log⁡(1+λt⋅vt(t)(Z))]\mathbb{E}_Z[\log(1+\lambda_t\cdot v_t^{(t)}(Z))]. We know from above that λt→a.s.λ∗\lambda_t\xrightarrow{\mathrm{a.s.}}\lambda^*, and Lemma 5 tells us vt(t)(Z)→a.s.v∗(Z)v_t^{(t)}(Z)\xrightarrow{\mathrm{a.s.}}v^*(Z). As such, applying the continuous mapping theorem and dominated convergence theorem tells us

E[log⁡(1+λtVt(t))∣Ft−1]→a.s.E[log⁡(1+λ∗(f∗(X)−f∗(Y)))].\mathbb{E}[\log(1+\lambda_tV_t^{(t)})\mid\mathcal{F}_{t-1}]\xrightarrow{\mathrm{a.s.}}\mathbb{E}[\log(1+\lambda^*(f^*(X)-f^*(Y)))].

This limit is just max⁡λ∈[0,1−ϵ]E[log⁡(1+λ(f∗(X)−f∗(Y)))]\max_{\lambda\in[0,1-\epsilon]}\mathbb{E}[\log(1+\lambda(f^*(X)-f^*(Y)))]. Taking the Taylor expansion of log⁡(1+λV)\log(1+\lambda V) about 0 gives

λE[V∗]−λ2E[(V∗)2]2!+λ3E[(V∗)3]3!−⋯\lambda\mathbb{E}[V^*]-\frac{\lambda^2\mathbb{E}[(V^*)^2]}{2!}+\frac{\lambda^3\mathbb{E}[(V^*)^3]}{3!}-\cdots

which, under the alternative hypothesis, is positive for some small enough λ>0\lambda>0 since E[V∗]=MMD⁡(P,Q)>0\mathbb{E}[V^*]=\operatorname{MMD}(\mathbb{P},\mathbb{Q})>0.

Bet Regularization

Lemma 7 (Bennett tail bound). If X−E[X]≤bX-\mathbb{E}[X]\le b and σ2:=Var⁡[X]<∞\sigma^2:=\operatorname{Var}[X]<\infty then

E[eλ(X−E[X])]≤exp⁡(λ2σ2g(λb))∀λ>0,\mathbb{E}\left[e^{\lambda(X-\mathbb{E}[X])}\right]\le\exp\left(\lambda^2\sigma^2g(\lambda b)\right)\quad\forall\lambda>0,

where g=u↦(eu−u−1)/u2g=u\mapsto(e^u-u-1)/u^2.

Proof. Take the Taylor expansion of eλXe^{\lambda X} and use the fact g(u)=∑k=2∞uk−2k!g(u)=\sum_{k=2}^{\infty}\frac{u^{k-2}}{k!}

E[eλ(X−E[X])]≤1+E[λ2(X−E[X])2g(λb)]≤1+λ2σ2g(λb).\mathbb{E}\left[e^{\lambda(X-\mathbb{E}[X])}\right]\le1+\mathbb{E}\left[\lambda^2(X-\mathbb{E}[X])^2g(\lambda b)\right]\le1+\lambda^2\sigma^2g(\lambda b).

The result follows because 1+x≤ex1+x\le e^x. □

Proposition 8. Let V~t+1=1t∑i=1th(Zi,Zt+1)\widetilde{V}_{t+1}=\frac{1}{t}\sum_{i=1}^{t}h(Z_i,Z_{t+1}) be the unnormalized ERM-payoff at step t+1t+1 for i.i.d. data Z1,Z2,…Z_1,Z_2,\ldots, and let Ft=σ({Z1,…,Zt})\mathcal{F}_t=\sigma(\{Z_1,\ldots,Z_t\}). Then for any error rate δ∈(0,1)\delta\in(0,1)

Pr⁡(E[V~t+1∣Ft]>MMD⁡2(P,Q)−ζ4ϕ+−1(16log⁡1/δtζ))≥1−δ,\Pr\left(\mathbb{E}[\widetilde{V}_{t+1}\mid\mathcal{F}_t]>\operatorname{MMD}^2(\mathbb{P},\mathbb{Q})-\frac{\zeta}{4}\phi_+^{-1}\left(\frac{16\log1/\delta}{t\zeta}\right)\right)\ge1-\delta,

where ϕ+−1\phi_+^{-1} is the positive inverse of ϕ(u)=(1+u)log⁡(1+u)−u\phi(u)=(1+u)\log(1+u)-u, and ζ=Var⁡Z[EZ~[h(Z,Z~)]]\zeta=\operatorname{Var}_{Z}[\mathbb{E}_{\widetilde{Z}}[h(Z,\widetilde{Z})]].

Proof. Let Ui:=E[V~t+1∣Fi]U_i:=\mathbb{E}[\widetilde{V}_{t+1}\mid\mathcal{F}_i] and note the sequence (U0,U1,…,Ut)(U_0,U_1,\ldots,U_t) forms a Doob martingale. First, the Martingale differences Ui−Ui−1U_i-U_{i-1} are bounded below by −4/t-4/t since

Ui−Ui−1=1t(E[h(Zi,Zt+1)∣Fi]−E[h(Zi,Zt+1)∣Fi−1])=1t(E[h(zi,Z)]−E[h(Z,Z′)])≥−4t.\begin{aligned} U_i-U_{i-1}=\frac{1}{t}\left(\mathbb{E}[h(Z_i,Z_{t+1})\mid\mathcal{F}_i]-\mathbb{E}[h(Z_i,Z_{t+1})\mid\mathcal{F}_{i-1}]\right) \\ &=\frac{1}{t}\left(\mathbb{E}[h(z_i,Z)]-\mathbb{E}[h(Z,Z')]\right)\ge-\frac{4}{t}. \end{aligned}

Also, its conditional variance is

Var⁡[Ui−Ui−1∣Fi−1]=1t2Var⁡Z[EZ~[h(Z,Z~)]]=ζt2.\operatorname{Var}[U_i-U_{i-1}\mid\mathcal{F}_{i-1}]=\frac{1}{t^2}\operatorname{Var}_{Z}[\mathbb{E}_{\widetilde{Z}}[h(Z,\widetilde{Z})]]=\frac{\zeta}{t^2}.

Hence the conditional differences satisfy a Bennett tail bound, a fact we now use to derive the result.

For any ϵ∈R\epsilon\in\mathbb{R}, we have the following Chernoff bound on the lower tail:

Pr⁡(U0−Ut≥ϵ)≤inf⁡λ>0e−λϵE[eλ(U0−Ut)].\Pr(U_0-U_t\ge\epsilon)\le\inf_{\lambda>0}e^{-\lambda\epsilon}\mathbb{E}[e^{\lambda(U_0-U_t)}].

The expectation in the bound can be unrolled into a composition of martingale differences, each of which is bounded using Lemma 7 with b:=4/tb:=4/t and σ2:=ζ/t2\sigma^2:=\zeta/t^2 to produce

E[eλ(U0−Ut)]=E[eλ∑i=1tUi−1−Ui]=E[eλ∑i=1t−1Ui−1−UiE[eλ(Ut−1−Ut)∣Ft−1]]≤exp⁡(λ2tσ2g(λb)).\begin{aligned} \mathbb{E}[e^{\lambda(U_0-U_t)}]=\mathbb{E}\left[e^{\lambda\sum_{i=1}^{t}U_{i-1}-U_i}\right] \\ &=\mathbb{E}\left[e^{\lambda\sum_{i=1}^{t-1}U_{i-1}-U_i}\mathbb{E}[e^{\lambda(U_{t-1}-U_t)}\mid\mathcal{F}_{t-1}]\right] \\ &\le\exp\left(\lambda^2t\sigma^2g(\lambda b)\right). \end{aligned}

Plugging this back into our Chernoff bound yields

Pr⁡(U0−Ut≥ϵ)≤inf⁡λ>0exp⁡(−λϵ+λ2tσ2g(λb))=exp⁡(−tσ2b2ϕ(bϵtσ2)).\Pr(U_0-U_t\ge\epsilon)\le\inf_{\lambda>0}\exp(-\lambda\epsilon+\lambda^2t\sigma^2g(\lambda b))=\exp\left(-\frac{t\sigma^2}{b^2}\phi\left(\frac{b\epsilon}{t\sigma^2}\right)\right).

where the minimizer can be derived by noticing that the expression in the exponent is convex in λ\lambda; it is λ∗=1blog⁡(1+bϵtσ2)\lambda^*=\frac{1}{b}\log\left(1+\frac{b\epsilon}{t\sigma^2}\right). This satisfies λ∗>0\lambda^*>0 for any ϵ>0\epsilon>0. Finally, inverting this tail bound, noticing U0=MMD⁡2(P,Q)U_0=\operatorname{MMD}^2(\mathbb{P},\mathbb{Q}) and substituting in the values for bb and σ2\sigma^2 gives us the desired result. □

Theorem 3. Let Zt=(Z1,…,Zt)Z_t=(Z_1,\ldots,Z_t) be i.i.d. samples from P×Q\mathbb{P}\times\mathbb{Q} and suppose we have tail bounds on the estimates in Equation (2) and Equation (13),

Pr⁡(MMD⁡^b2(Zt)−MMD⁡2(P,Q)≤ϵt(1))≥1−δ1\Pr\left(\widehat{\operatorname{MMD}}_b^2(Z_t)-\operatorname{MMD}^2(\mathbb{P},\mathbb{Q})\le\epsilon_t^{(1)}\right)\ge1-\delta_1
Pr⁡(ζ(P×Q)−ζ^b(Zt)≤ϵt(2))≥1−δ2,\Pr\left(\zeta(\mathbb{P}\times\mathbb{Q})-\widehat{\zeta}_b(Z_t)\le\epsilon_t^{(2)}\right)\ge1-\delta_2,

with non-negative errors ϵt(1)=o(1)\epsilon_t^{(1)}=o(1) and ϵt(2)=o(1)\epsilon_t^{(2)}=o(1). For brevity, we omit arguments P\mathbb{P}, Q\mathbb{Q}, Zt\mathcal{Z}_t and define the penalized estimates MMD~b2:=MMD^b2−ϵt(1)\widetilde{\mathrm{MMD}}_b^2 := \widehat{\mathrm{MMD}}_b^2-\epsilon_t^{(1)} and ζ~b:=ζ^b+ϵt(2)\widetilde{\zeta}_b := \widehat{\zeta}_b+\epsilon_t^{(2)}. Then for all α∈(0,1)\alpha\in(0,1)

λt+1∈[0,min⁡{1,(α2KMMD^b[14ζ~bϕ+−1(16log⁡1/δ0tζ~b)−MMD~b2]+)}]\lambda_{t+1}\in\left[0,\min\left\{1,\left(\frac{\alpha\sqrt{2K}\widehat{\mathrm{MMD}}_b}{\left[\frac{1}{4}\widetilde{\zeta}_b\phi_+^{-1}\left(\frac{16\log1/\delta_0}{t\widetilde{\zeta}_b}\right)-\widetilde{\mathrm{MMD}}_b^2\right]_+}\right)\right\}\right]

is a (α,δ0+δ1+δ2)(\alpha,\delta_0+\delta_1+\delta_2)-regularized set of bets for the ERM predictor at time t+1t+1, where ϕ+−1\phi_+^{-1} is the positive inverse of ϕ(u)=(1+u)log⁡(1+u)−u\phi(u)=(1+u)\log(1+u)-u.

Proof. Let Λ(Zt)\Lambda(\mathcal{Z}_t) be the proposed regularized bet set. We want to show that with confidence 1−(δ0+δ1+δ2)1-(\delta_0+\delta_1+\delta_2)

inf⁡λ∈Λ(Zt)E[α+λVt+1∣Ft]>0.\inf_{\lambda\in\Lambda(\mathcal{Z}_t)}\mathbb{E}[\alpha+\lambda V_{t+1}\mid\mathcal{F}_t]>0.

To make things more readable, we omit dependencies on P×Q\mathbb{P}\times\mathbb{Q} and Zt\mathcal{Z}_t, and we let ηt:=MMD^b2=1t2∑i=1t∑j=1th(Zi,Zj)\eta_t:=\widehat{\mathrm{MMD}}_b^2=\frac{1}{t^2}\sum_{i=1}^{t}\sum_{j=1}^{t}h(Z_i,Z_j) be the biased MMD estimator.

Notice that for all $\lambda\in\Lambda(\mathcal{Z}_t)

−α2Kηtλ<MMD~b2−ζ~b4ϕ+−1(16log⁡1/δ0ζ~bt),-\frac{\alpha\sqrt{2K\eta_t}}{\lambda}<\widetilde{\mathrm{MMD}}_b^2-\frac{\widetilde{\zeta}_b}{4}\phi_+^{-1}\left(\frac{16\log1/\delta_0}{\widetilde{\zeta}_bt}\right),

which is easily verified by solving this bound for λ\lambda. The term on the right is increasing with MMD^b2\widehat{\mathrm{MMD}}_b^2 and decreasing with ζ~b\widetilde{\zeta}_b, so by taking a union bound with the events {MMD^b2≤MMD2}\{\widehat{\mathrm{MMD}}_b^2\leq\mathrm{MMD}^2\} and {ζ~b≥ζ}\{\widetilde{\zeta}_b\geq\zeta\} we get with confidence 1−(δ1+δ2)1-(\delta_1+\delta_2) that

−α2Kηtλ<MMD2−ζ4ϕ+−1(16log⁡1/δ0ζt)∀λ∈Λ(Zt).-\frac{\alpha\sqrt{2K\eta_t}}{\lambda}<\mathrm{MMD}^2-\frac{\zeta}{4}\phi_+^{-1}\left(\frac{16\log1/\delta_0}{\zeta t}\right)\qquad\forall\lambda\in\Lambda(\mathcal{Z}_t).

By Proposition 8 the term on the right is upper bounded by E[V~t+1∣Ft]\mathbb{E}[\widetilde{V}_{t+1}\mid\mathcal{F}_t] with probability 1−δ01-\delta_0, and so a union bound with this event gives us with confidence 1−(δ0+δ1+δ2)1-(\delta_0+\delta_1+\delta_2) that

−α2Kηtλ<E[V~t+1∣Ft]∀λ∈Λ(Zt).-\frac{\alpha\sqrt{2K\eta_t}}{\lambda}<\mathbb{E}[\widetilde{V}_{t+1}\mid\mathcal{F}_t]\qquad\forall\lambda\in\Lambda(\mathcal{Z}_t).

Rearranging terms gives us the desired result.

FLOE for Sequential Kernel Independence Testing

We give an overview of the sequential kernel independence test, and refer readers to Podkopaev et al. [34] for a more detailed explanation.

Oracle Critic. Similar to the kernel two-sample test, the oracle function for the independence test is the supremum over bounded Hilbert-Schmidt operators from RKHS HX\mathcal{H}_X to RKHS HY\mathcal{H}_Y.

Let kk and ll be the kernels associated with HX\mathcal{H}_X and HY\mathcal{H}_Y, respectively, and let φ(X):=k(⋅,X)\varphi(X) := k(\cdot, X) and ϕ(Y):=l(⋅,Y)\phi(Y) := l(\cdot, Y) be their canonical feature maps. Also suppose sup⁡x,x′k(x,x′)≤KX\sup_{x,x'} k(x,x') \le K_X and sup⁡y,y′l(y,y′)≤KY\sup_{y,y'} l(y,y') \le K_Y. The Hilbert-Schmidt Independence Criterion (HSIC) [12] is

HSIC⁡(X,Y)=sup⁡∥F∥≤1⟨F,CYX⟩HS(HX,HY)\sqrt{\operatorname{HSIC}(X,Y)} = \sup_{\|F\|\le1} \langle F,C_{YX}\rangle_{\mathrm{HS}(\mathcal{H}_X,\mathcal{H}_Y)}

where CYX=E[ϕ(Y)⊗φ(X)]C_{YX} = \mathbb{E}[\phi(Y) \otimes\varphi(X)] is the covariance operator defined with [ϕ(Y)⊗φ(X)](f)=⟨f,φ(X)⟩ϕ(Y)[\phi(Y) \otimes\varphi(X)](f) = \langle f,\varphi(X)\rangle\phi(Y). Thus, the oracle critic is the normalized covariance operator CYX/∥CYX∥C_{YX}/\|C_{YX}\|.

Suppose we have 2n2n i.i.d. samples (X1,Y1),…,(X2n,Y2n)(X_1,Y_1),\ldots,(X_{2n},Y_{2n}). For convenience, we rename the latter nn samples by (X1′,…,Xn′)(X'_1,\ldots,X'_n) so that we now have two sets of samples (Xi,Yi)i=1…n(X_i,Y_i)_{i=1\ldots n} and (Xi′,Yi′)i=1…n(X'_i,Y'_i)_{i=1\ldots n}.

A test martingale constructed with this oracle critic has payoffs given by

Vt=12KXKY⟨CYX∥CYX∥,(ϕ(Yt)−ϕ(Yt′))⊗(φ(Xt)−φ(Xt′))⟩,V_t = \frac{1}{2K_XK_Y}\left\langle\frac{C_{YX}}{\|C_{YX}\|},(\phi(Y_t)-\phi(Y'_t))\otimes(\varphi(X_t)-\varphi(X'_t))\right\rangle,

which is easily verified by checking ∣Vt∣≤1|V_t|\le1 and EH0[Vt∣Ft−1]=0\mathbb{E}_{\mathcal{H}_0}[V_t\mid\mathcal{F}_{t-1}]=0.

Loo Payoffs. Let C^YX[t]\{ℓ}\widehat{C}^{[t]\backslash\{\ell\}}_{YX} be an estimate of the covariance operator from all samples indexed by 1,…,t1,\ldots,t excluding the samples (Xℓ,Yℓ)(X_\ell,Y_\ell) and (Xℓ′,Yℓ′)(X'_\ell,Y'_\ell). For brevity, we will denote E^i≠ℓt[ai]=12(t−1)∑i=1;i≠ℓtai\widehat{\mathbb{E}}^{t}_{i\ne\ell}[a_i]=\frac{1}{2(t-1)}\sum_{i=1;i\ne\ell}^{t}a_i. Then,

C^YX[t]\{ℓ}=E^i≠ℓt[ϕ(Yi)⊗φ(Xi)+ϕ(Yi′)⊗φ(Xi′)]−E^k≠ℓt[ϕ(Yk)+ϕ(Yk′)]⊗E^j≠ℓt[φ(Xj)+φ(Xj′)].\widehat{C}^{[t]\backslash\{\ell\}}_{YX} = \widehat{\mathbb{E}}^{t}_{i\ne\ell}\left[\phi(Y_i)\otimes\varphi(X_i)+\phi(Y'_i)\otimes\varphi(X'_i)\right] -\widehat{\mathbb{E}}^{t}_{k\ne\ell}\left[\phi(Y_k)+\phi(Y'_k)\right]\otimes\widehat{\mathbb{E}}^{t}_{j\ne\ell}\left[\varphi(X_j)+\varphi(X'_j)\right].

It follows that the loo-payoffs Vℓ(t)V_\ell^{(t)}, which is the loo-critic C^YX[t]\{ℓ}\widehat{C}^{[t]\backslash\{\ell\}}_{YX} evaluated at its held-out samples (Xℓ,Yℓ)(X_\ell,Y_\ell) and (Xℓ′,Yℓ′)(X'_\ell,Y'_\ell), is

Vℓ(t)=12KXKY∥C^YX[t]\{ℓ}∥⟨C^YX[t]\{ℓ},(ϕ(Yℓ)−ϕ(Yℓ′))⊗(φ(Xℓ)−φ(Xℓ′))⟩=12KXKY∥C^YX[t]\{ℓ}∥{E^i≠ℓt[(k(Xi,Xℓ)−k(Xi,Xℓ′))(l(Yi,Yℓ)−l(Yi,Yℓ′))]\begin{aligned} V_\ell^{(t)} = \frac{1}{2K_XK_Y\|\widehat{C}^{[t]\backslash\{\ell\}}_{YX}\|} \left\langle \widehat{C}^{[t]\backslash\{\ell\}}_{YX}, (\phi(Y_\ell)-\phi(Y'_\ell))\otimes(\varphi(X_\ell)-\varphi(X'_\ell)) \right\rangle\\ &= \frac{1}{2K_XK_Y\|\widehat{C}^{[t]\backslash\{\ell\}}_{YX}\|} \left\{ \widehat{\mathbb{E}}^{t}_{i\ne\ell} \left[ \bigl(k(X_i,X_\ell)-k(X_i,X'_\ell)\bigr) \bigl(l(Y_i,Y_\ell)-l(Y_i,Y'_\ell)\bigr) \right] \right. \end{aligned}
+E^i≠ℓt[(k(Xi′,Xℓ)−k(Xi′,Xℓ′))(l(Yi′,Yℓ)−l(Yi′,Yℓ′))]\left. +\widehat{\mathbb{E}}^{t}_{i\ne\ell} \left[ \bigl(k(X'_i,X_\ell)-k(X'_i,X'_\ell)\bigr) \bigl(l(Y'_i,Y_\ell)-l(Y'_i,Y'_\ell)\bigr) \right] \right.
−E^i≠ℓt[k(Xi,Xℓ)−k(Xi,Xℓ′)+k(Xi′,Xℓ)−k(Xi′,Xℓ′)]\left. -\widehat{\mathbb{E}}^{t}_{i\ne\ell} \left[ k(X_i,X_\ell)-k(X_i,X'_\ell)+k(X'_i,X_\ell)-k(X'_i,X'_\ell) \right] \right.
×E^i≠ℓt[l(Yi,Yℓ)−l(Yi,Yℓ′)+l(Yi′,Yℓ)−l(Yi′,Yℓ′)]}.\left. \times\widehat{\mathbb{E}}^{t}_{i\ne\ell} \left[ l(Y_i,Y_\ell)-l(Y_i,Y'_\ell)+l(Y'_i,Y_\ell)-l(Y'_i,Y'_\ell) \right] \right\}.

Note that ∥C^YX[t]\{ℓ}∥\|\widehat{C}^{[t]\backslash\{\ell\}}_{YX}\| is exactly the root biased HSIC estimator from samples 1..t1..t excluding ℓ\ell.

Implementation Details. Similarly to the kernel two-sample test of § 3.2, this independence test can be done in linear time per step as long as we store the kernel matrices Kij=k(Xi,Xj)K_{ij}=k(X_i,X_j) and Lij=l(Yi,Yj)L_{ij}=l(Y_i,Y_j) of the previous step. Cumulatively, the test is quadratic in both compute and memory. Maintaining the latter is possible by subtracting the sums where the left-out index ℓ\ell is included. For example, in ∥C^YX[t]\{ℓ}∥\|\widehat{C}^{[t]\backslash\{\ell\}}_{YX}\| we can simply compute the HSIC estimate and then subtract the terms that include index ℓ\ell in them. Since HSIC is composed of nested sums, the principle of inclusion-exclusion is used.

Experiments

We compare the performance of FLOE against GRAPA [51], ONS [14], and universal portfolio with Beta(1/2,1/2) prior (UP) [7, 28] betting strategies, and report the results in Figure 4. We use Gaussian kernels for both HX\mathcal{H}_X and HY\mathcal{H}_Y and select the bandwidths to optimize the performance of ONS. We find FLOE performs the best on our considered datasets.

Sinusoid [39]. We test for dependencies between XX and YY sampled jointly from ∝1+sin⁡(ωx)sin⁡(ωy)\propto1 + \sin(\omega x)\sin(\omega y) on the support [−π,π][-\pi,\pi]. Higher frequencies ω\omega produce subtler dependencies, resulting in a harder independence test. We use ω=5\omega= 5.

x-Normal. We jointly sample XX and YY from the xNormal distribution used in our two-sample testing experiments. Smaller correlation coefficients result in harder-to-detect dependencies. We use a coefficient of ±0.5\pm0.5 for its normal components.

RatInABox [10]. We compare the firing rates of place cells (neurons that are activated in the vicinity of certain locations) to those of boundary vector cells (neurons that fire when the rat is at a specific distance from a wall). These cell activation locations are not disjoint, and so there should be dependencies between their firing rates. We use a standard 1x1 box environment with a protruding wall, and sample from 6 place cells and 6 boundary vector cells.

Additional Experiments and Details

Blobs. We perform an additional evaluation on the Blobs dataset [6] (Gretton, Sejdinovic, et al. 2012), which is a benchmark synthetic problem composed of a 3x3 uniform grid of bivariate Gaussians. These Gaussian ‘blobs’ are isotropic in P\mathbb{P} and anisotropic in Q\mathbb{Q} with each blob randomly assigned an eigenvalue ratio and rotation angle. The difficulty lies in the fact the discrepancy between distributions are encoded at a much smaller frequency than the overall data. Results are plotted in Figure C.1 for the average power over 1,000 tests. FLOE-R performs better than FLOE at moderate to large sample sizes, and both are better than ONS and GRAPA.

Figure C.1. Blob dataset: On the left are samples from Q\mathbb{Q}. In the middle is the mean power at time tt. On the right is the power relative to SR.

Higgs [2]. We aim to identify if a Higgs boson has been created by comparing the signals of processes that produce it to background processes that do not. In particular, we focus on the φ\varphi-momenta of four particle jets, which hold very little discriminating information for whether a Higgs boson was birthed.

Visualized Bet Interval. It will be informative to see how the bet interval of Theorem 3 evolves with time. Asymptotically this interval is expected to be [0,1][0,1] as both the MMD and variance estimators converge to positive values while the first term in the denominator decreases to zero. That said, this interval is not necessarily monotonic, though we expect it to roughly be the case on average. We plot this interval along with the actual bet values used by FLOE (without regularization) in Figure C.3a. This figure makes it clear why the regularizer is necessary; initial bets are often far more aggressive than they should be.

CIFAR-10 vs 10.1 Features. The featurizer we use is a ResNet-50 model [15] pretrained on ImageNet and provided by the torchvision library [31]. In particular we use the weights corresponding to “IMAGENET1K_V2”, and make a few modifications to the architecture: the maxpool layer is removed, and the last fully-connected layer is replaced with a linear layer that projects the number of features down to 100.

Higgs dataset power curves for FLOE-R, FLOE, GRAPA, ONS, UP, and SR, with the right plot showing power differences relative to SR

Figure C.2. Higgs dataset. The plot on the right subtracts the power of SR from each baseline for easier visualization.

Figure C.3a. The average regularization interval used by FLOE-R for the xNormal dataset.

Figure C.3b. Sinusoid

Figure C.3c. X-Normal

Visualization of FLOE's bet value and regularization interval, with samples from the toy datasets

Figure C.3. (a) Visualization of FLOE’s bet value and the regularization interval used for FLOE-R. (b)-(c) Samples from the toy datasets.

Regularizing ONS. Our regularizer not only applies to FLOE, but to any general betting strategy as long as the prediction strategy is ERM. Thus, we could also regularize ONS this way. It is worth mentioning that ONS is a “parameter-free” algorithm, meaning it will converge no matter the choice of learning rate. However, in finite samples these hyperparameters still play a factor. Our experiments use essentially the same hyperparameters as those of [41], with the only difference being the choice of the inverse step size γ\gamma. Typically γ\gamma is set to be γ=2(b−log⁡(1+b))/b2\gamma= 2(b-\log(1+b))/b^2 where bb is an upper bound on ⟨∇(−log⁡(1+λV)),λ−λ′⟩\langle\nabla(-\log(1+\lambda V)), \lambda-\lambda' \rangle. This ensures suitable regret bounds. For the test of [41] they clip the bets to [−1/2,1/2][-1/2,1/2], and for this interval b=2b=2 which leads to their choice of γ\gamma. In our case the bets are in [0,1)[0,1) which, in the limit as Vt→V∞>0V_t \to V_\infty> 0, gives a bound b=1b=1 and consequently γ=2(1−log⁡(2))\gamma=2(1-\log(2)). As for the initial Hessian approximation a0a_0, we do the same as them and set it to 1.0.

Figure C.4. Test power of regularization strategies relative to standard ONS.

Figure C.4 plots power of ONS with our regularizer (ONS-R) relative to the performance of ONS without the regularizer. The relative power of FLOE-R is also included for reference. The regularization strength is set with δ0=δ1=0.1\delta_0 = \delta_1 = 0.1 and α=0.2\alpha= 0.2, which is slightly weaker than what we used for our other experiments. This is because ONS seems to perform better with a weaker regularizer than FLOE, as its step sizes are naturally smaller. These smaller step sizes could also explain why regularization appears less impactful. For Sinusoid, Higgs, and CIFAR, there is essentially no difference between ONS and ONS-R; ONS-R does seem to help in the X-dataset.

Hyperparameter Sensitivity. We assess the sensitivity of the regularization parameter α\alpha for the practical (α,δ0+δ1)(\alpha, \delta_0 + \delta_1)-regularizer constructed based on Theorem 3. We set δ0=δ1=0.1\delta_0 = \delta_1 = 0.1 and vary α\alpha between 0.05 and 0.5. The results are presented in Figure C.5 as the power relative to ONS. In general, it seems α\alpha is slightly more sensitive than δ0,δ1\delta_0, \delta_1 for small extremes, but still robust overall when considering values around 0.1 and larger. Our recommendation is to keep α=δ0=δ1=0.1\alpha= \delta_0 = \delta_1 = 0.1 and if necessary, tweak the error rates δ0\delta_0 and δ1\delta_1.

Figure C.5. Power of FLOE-R relative to ONS at varying regularization strengths α\alpha and fixed δ=0.1\delta= 0.1.

For completeness, we also include in Figure C.6 the raw power plots corresponding to the relative power plots of Figure 3.

Figure C.6. Power of FLOE-R relative to ONS at varying regularization strengths δ\delta and fixed α=0.1\alpha= 0.1.

Kernel Bandwidth. All our experiments use the Gaussian kernel k(x,y)=exp⁡(−12∥x−y∥2γ2)k(x,y) = \exp\left(-\frac{1}{2}\frac{\lVert x-y\rVert^2}{\gamma^2}\right) at problem-specific bandwidths; these bandwidths were selected to approximately maximize the power of the ONS betting strategy (rather than FLOE or FLOE-R) on a validation set. This mean power was computed over 100 tests at time t=1000t = 1000 for the x-Normal, CIFAR, and RatInABox problems, time t=800t = 800 for the Sinusoid and Blobs problems, and t=3500t = 3500 for the Higgs dataset. This results in the following bandwidths: the Sinusoid problem uses γ=0.3\gamma= 0.3; the Blobs dataset uses γ=0.3\gamma= 0.3; the x-Normal and CIFAR datasets uses γ=0.5\gamma= 0.5; the RatInABox dataset uses γ=0.1\gamma= 0.1; the Higgs dataset uses γ=0.4\gamma= 0.4. The same power was used for the sequential kernel independence test, yielding γX=γY=0.18\gamma_X = \gamma_Y = 0.18 for Sinusoid, γX=γY=0.9\gamma_X = \gamma_Y = 0.9 for x-Normal, and γX=0.35,γY=0.63\gamma_X = 0.35, \gamma_Y = 0.63 for RatInABox.

Kernel Selection. Since the only requirement on the prediction strategy is that it must be predictable, we can select the kernel bandwidth of the critic at time tt based on any criterion computed from the samples up to time t−1t - 1. One approach is to select the bandwidth that maximizes the wealth at time t−1t - 1; this is the same as GRAPA except applied to the model parameters instead of the bets. Alternatively, we could also optimize the e-power of the current step, which can be done by using the loo e-power estimates, i.e.

γt=arg⁡max⁡γ∑ℓ=1t−1log⁡(1+λt(γ)Vℓ(t−1,γ)).\gamma_t = \arg\max_{\gamma} \sum_{\ell=1}^{t-1} \log\left(1+\lambda_{t}^{(\gamma)} V_{\ell}^{(t-1,\gamma)}\right).

This strategy is essentially FLOE applied to the kernel bandwidths γ\gamma. Figure C.7 compares the GRAPA and FLOE kernel selection approaches with the median heuristic; the reported power is averaged over 1,000 tests and each baseline uses the FLOE betting strategy. To speed up the optimization, we consider a discrete set of 20 evenly-spaced bandwidths between [0.1, 0.7] so that each e-power estimate can be computed in parallel. Overall, FLOE outperforms GRAPA in most problems. Even in Sinusoid, its worst performing problem, FLOE is only slightly worse.

Figure C.7. Kernel selection strategies on a variety of problems.

Performance against STaR-Bets. As an additional baseline, we compare FLOE to the STaR-Bets betting strategy of Voráček and Orabona [48] for the bounded mean testing problem. To translate their approach (Algorithm 4) to our kernel two-sample testing process, we replace their payoffs Xt−mX_t-m with our kernel critic payoffs ft(Xt)−ft(X‾t)f_t(X_t)-f_t(\overline{X}_t) and use α=δ=0.05\alpha=\delta=0.05. Results are reported in Figure C.8.

Figure C.8. Power of FLOE (purple) against STaR-Bets (neon blue).

We find that FLOE significantly outperforms STaR-Bets for the two-sample problem. STaR-Bets’ burn-in period is quite long, and by the time it starts accumulating wealth FLOE already has near perfect power. That said, after burn-in STaR-Bets’ power increases at a far more rapid rate than FLOE. We also point out that FLOE does not apply to the bounded mean testing problem, as there is no critic function to be learned. It’s payoffs are simply the centred samples Xt−mX_t-m. If we were to define ft(Xt)=Xt−mf_t(X_t)=X_t-m, FLOE would simply reduce to GRAPA.

Assets and Licenses. We describe some of the assets and their licenses used in our work:

  • Higgs Dataset (Baldi et al. [2]) available from the UCI Machine Learning Repository under the CC BY 4.0 license.

  • CIFAR-10 (Krizhevsky and Hinton [21]) distributed via the UCI Machine Learning Repository under CC BY 4.0.

  • CIFAR-10.1 (Recht et al. [37]) released under the MIT license.

  • A pretrained ResNet-50 model (He et al. [15]) provided by Torchvision (Paszke et al. [31]) and released under the BSD-3-Clause license.

NeurIPS Paper Checklist

Claims

Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?

Answer: [Yes]

Justification: We touch on our main contributions in the abstract, and provide more details in the introduction (particularly the sub-section titled "contributions").

Guidelines:

  • The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.

  • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.

  • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.

  • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.

Limitations

Question: Does the paper discuss the limitations of the work performed by the authors?

Answer: [Yes]

Justification: The "practical considerations" of section 3.3 discusses limitations of our regularization strategy and proposes a possible workaround. Section 4 also touches on a potential situation where including this regularization is not ideal, as well as including ablation on the sensitivity of the regularizer hyperparameters. Computation complexity is briefly discussed in Section 3.2 and 3.3.

Guidelines:

  • The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.

  • The authors are encouraged to create a separate “Limitations” section in their paper.

  • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.

  • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.

  • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.

  • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.

  • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.

  • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.

Theory assumptions and proofs

Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?

Answer: [Yes]

Justification: Full proofs for each theorem are provided in the appendix and, to the best of our knowledge, are correct.

Guidelines:

  • The answer [N/A] means that the paper does not include theoretical results.

  • All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.

  • All assumptions should be clearly stated or referenced in the statement of any theorems.

  • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.

  • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.

  • Theorems and Lemmas that the proof relies upon should be properly referenced.

Experimental result reproducibility

Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?

Answer: [Yes]

Justification: Our proposed test procedure is described in detail and, apart from the inherent randomness of the data, all dataset settings are described in Section 4 and Appendix B.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.

  • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.

  • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.

  • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.

Open access to data and code

Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?

Answer: [Yes]

Justification: The code we used for all experiments is provided as supplementary material. However, only partial instructions are currently given.

Guidelines:

  • The answer [N/A] means that paper does not include experiments requiring code.

  • Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).

  • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.

  • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.

  • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).

  • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.

Experimental setting/details

Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?

Answer: [Yes]

Justification: All hyperparameters pertaining to our datasets and method are described in section 4 and Appendix B.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.

  • The full details can be provided either with the code, in appendix, or as supplemental material.

Experiment statistical significance

Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?

Answer: [No]

Justification: We considered plotting empirical confidence intervals on the power plots of our experiments but found this made results harder to read and were not very informative. Each of our experiments are run 1,000 times and so the mean power is relatively accurate.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.

  • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).

  • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)

  • The assumptions made should be given (e.g., Normally distributed errors).

  • It should be clear whether the error bar is the standard deviation or the standard error of the mean.

  • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.

  • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).

  • If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.

Experiments compute resources

Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?

Answer: [No]

Justification: The compute resources used is not imperative to our approach. A GPU is helpful, but not required, and memory usage is small enough so that an everyday computer can run it.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.

  • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.

  • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).

Code of ethics

Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?

Answer: [Yes]

Justification: Our research conforms to the NeurIPS code of ethics.

Guidelines:

  • The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.

  • If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.

  • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).

Broader impacts

Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?

Answer: [No]

Justification: In the introduction, we briefly discussed positive societal impacts in terms of mitigating p-hacking. We did not address any negative societal impacts.

Guidelines:

  • The answer [N/A] means that there is no societal impact of the work performed.

  • If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.

  • Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.

  • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.

  • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.

  • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).

Safeguards

Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?

Answer: [N/A]

Justification: There are no such risks.

Guidelines:

  • The answer [N/A] means that the paper poses no such risks.

  • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.

  • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.

  • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.

Licenses for existing assets

Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?

Answer: [Yes]

Justification: We have included a section in Appendix B detailing the assets and licenses used.

Guidelines:

  • The answer [N/A] means that the paper does not use existing assets.

  • The authors should cite the original paper that produced the code package or dataset.

  • The authors should state which version of the asset is used and, if possible, include a URL.

  • The name of the license (e.g., CC-BY 4.0) should be included for each asset.

  • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.

  • If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.

  • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.

  • If this information is not available online, the authors are encouraged to reach out to the asset’s creators.

13. New assets

Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?

Answer: [N/A]

Justification: No new assets are introduced.

Guidelines:

  • The answer [N/A] means that the paper does not release new assets.

  • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.

  • The paper should discuss whether and how consent was obtained from people whose asset is used.

  • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.

14. Crowdsourcing and research with human subjects

Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?

Answer: [N/A]

Justification: No crowdsourcing or human-based experiments are used.

Guidelines:

  • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.

  • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.

  • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.

15. Institutional review board (IRB) approvals or equivalent for research with human subjects

Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?

Answer: [N/A]

Justification: No crowdsourcing or human-based experiments are used.

Guidelines:

  • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.

  • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.

  • We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.

  • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.

Declaration of LLM usage

Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.

Answer: [N/A]

Justification: Our proposed method was not developed with LLM use.

Guidelines:

  • The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.

  • Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.

References

  1. [1]Nathan Aronszajn (1950). “Theory of Reproducing Kernels.” Transactions of the American Mathematical Society 68, pages 337–404.
  2. [2]P. Baldi, P. Sadowski, and D. Whiteson (July 2014). “Searching for exotic particles in high-energy physics with deep learning.” Nature Communications 5.1.DOI
  3. [3]Peter L. Bartlett and Shahar Mendelson (Mar. 2003). “Rademacher and Gaussian complexities: risk bounds and structural results.” J. Mach. Learn. Res. 3, pages 463–482.
  4. [4]Can Chen and Jun-Kun Wang (2025). “Online Detection of LLM-Generated Texts via Sequential Hypothesis Testing by Betting.” Forty-second International Conference on Machine Learning.arxiv.org/abs/2410.22318
  5. [5]Ben Chugg, Santiago Cortes-Gomez, Bryan Wilder, and Aaditya Ramdas (2023). “Auditing Fairness by Betting.” Thirty-seventh Conference on Neural Information Processing Systems.arxiv.org/abs/2305.17570
  6. [6]Kacper P Chwialkowski, Aaditya Ramdas, Dino Sejdinovic, and Arthur Gretton (2015). “Fast Two-Sample Testing with Analytic Representations of Probability Measures.” Advances in Neural Information Processing Systems.
  7. [7]Thomas M. Cover (1991). “Universal Portfolios.” Mathematical Finance 1.1, pages 1–29.
  8. [8]Thomas M. Cover and Erik Ordentlich (1996). “Universal portfolios with side information.” IEEE Transactions on Information Theory 42.2, pages 348–363.DOI
  9. [9]Antonio Ferrara, Francesco Cozzi, Alan Perotti, André Panisson, and Francesco Bonchi (2026). “Size-adaptive Hypothesis Testing for Fairness.” The Thirty-ninth Annual Conference on Neural Information Processing Systems.arxiv.org/abs/2506.10586
  10. [10]Tom M George, Mehul Rastogi, William de Cothi, Claudia Clopath, Kimberly Stachenfeld, and Caswell Barry (Feb. 2024). “RatInABox, a toolkit for modelling locomotion and neuronal activity in continuous environments.” eLife 13. Edited by Mackenzie W Mathis, Michael J Frank, and Antonio Fernandez-Ruiz, e85274.DOI
  11. [12]Arthur Gretton, Kenji Fukumizu, Choon Teo, Le Song, Bernhard Schölkopf, and Alex Smola (2007). “A Kernel Statistical Test of Independence.” Advances in Neural Information Processing Systems. Edited by J. Platt, D. Koller, Y. Singer, and S. Roweis. Volume 20. Curran Associates, Inc.
  12. [14]Elad Hazan, Amit Agarwal, and Satyen Kale (Dec. 2007). “Logarithmic regret algorithms for online convex optimization.” Mach. Learn. 69.2–3, pages 169–192.
  13. [15]Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun (June 2016). “Deep Residual Learning for Image Recognition.” Proceedings of 2016 IEEE Conference on Computer Vision and Pattern Recognition. CVPR ’16. Las Vegas, NV, USA: IEEE, pages 770–778.arxiv.org/abs/1512.03385
  14. [16]Christina Heinze-Deml, Jonas Peters, and Nicolai Meinshausen (2018). “Invariant Causal Prediction for Nonlinear Models.” Journal of Causal Inference 6.2, page 20170016.
  15. [17]Jesse Hemerik and Jelle Goeman (Nov. 2014). “Exact testing with random permutations.” TEST 27.4, pages 811–825.DOI
  16. [18]Wassily Hoeffding (1961). The Strong Law of Large Numbers for U-Statistics. Technical report Institute of Statistics (1961). Mimeo Series 302. North Carolina State University, Department of Statistics.
  17. [19]John P. A. Ioannidis (2005). “Why Most Published Research Findings Are False.” PLoS Medicine 2.8, e124.
  18. [20]Sooyong Jang, Sangdon Park, Insup Lee, and Osbert Bastani (July 2022). “Sequential Covariate Shift Detection Using Classifier Two-Sample Tests.” Proceedings of the 39th International Conference on* Machine Learning. Volume 162. Proceedings of Machine Learning Research. PMLR, pages 9845–9880.
  19. [21]Alex Krizhevsky and Geoffrey Hinton (2009). Learning multiple layers of features from tiny images. Technical report. Toronto, Ontario: University of Toronto.
  20. [22]Jonas M. Kübler, Vincent Stimper, Simon Buchholz, Krikamol Muandet, and Bernhard Schölkopf (2022). “AutoML Two-Sample Test.” Advances in Neural Information Processing Systems.arxiv.org/abs/2206.08843
  21. [23]Xiang Li, Feng Ruan, Huiyuan Wang, Qi Long, and Weijie J. Su (2025). “A statistical framework of watermarks for large language models: Pivot, detection efficiency and optimal rules.” The Annals of Statistics 53.1, pages 322–351.DOI
  22. [24]Feng Liu, Wenkai Xu, Jie Lu, Guangquan Zhang, Arthur Gretton, and Danica J. Sutherland (2020). “Learning deep kernels for non-parametric two-sample tests.” Proceedings of the 37th International Conference on Machine Learning. ICML’20.arxiv.org/abs/2002.09116
  23. [25]Mingzhou Liu, Xinwei Sun, Yu Qiao, and Yizhou Wang (2024). “Causal discovery via conditional independence testing with proxy variables.” Proceedings of the 41st International Conference on Machine Learning. ICML’24. Vienna, Austria: JMLR.org.arxiv.org/abs/2305.05281
  24. [26]David Lopez-Paz and Maxime Oquab (2017). “Revisiting Classifier Two-Sample Tests.” International Conference on Learning Representations.
  25. [27]Krikamol Muandet, Bharath Sriperumbudur, Kenji Fukumizu, Arthur Gretton, and Bernhard Schölkopf (2016). “Kernel Mean Shrinkage Estimators.” Journal of Machine Learning Research 17.48, pages 1–41.
  26. [28]Francesco Orabona and Kwang-Sung Jun (2024). “Tight Concentrations and Confidence Sequences From the Regret of Universal Portfolio.” IEEE Transactions on Information Theory 70.1, pages 436–455.
  27. [29]Francesco Orabona and David Pal (2016). “Coin Betting and Parameter-Free Online Learning.” Advances in Neural Information Processing Systems.arxiv.org/abs/1602.04128
  28. [30]Teodora Pandeva, Patrick Forré, Aaditya Ramdas, and Shubhanshu Shekhar (2024). “Deep anytime-valid hypothesis testing.” International Conference on Artificial Intelligence and Statistics, 2-4 May 2024, Palau de Congressos, Valencia, Spain. Volume 238. Proceedings of Machine Learning Research. PMLR, pages 622–630.arxiv.org/abs/2310.19384
  29. [31]Adam Paszke et al. (2019). “PyTorch: an imperative style, high-performance deep learning library.” Proceedings of the 33rd International Conference on Neural Information Processing Systems. Red Hook, NY, USA: Curran Associates Inc.arxiv.org/abs/1912.01703
  30. [32]Jonas Peters, Peter Bühlmann, and Nicolai Meinshausen (2016). “Causal inference by using invariant prediction: identification and confidence intervals.” Journal of the Royal Statistical Society: Series B (Statistical Methodology) 78.5, pages 947–1012.arxiv.org/abs/1501.01332
  31. [33]Niklas Pfister, Peter Bühlmann, and Jonas Peters (2019). “Invariant Causal Prediction for Sequential Data.” Journal of the American Statistical Association 114.527, pages 1264–1276.arxiv.org/abs/1706.08058
  32. [34]Aleksandr Podkopaev, Patrick Blöbaum, Shiva Kasiviswanathan, and Aaditya Ramdas (July 2023). “Sequential Kernelized Independence Testing.” Proceedings of the 40th International Conference on Machine Learning. Volume 202. Proceedings of Machine Learning Research. PMLR, pages 27957–27993.arxiv.org/abs/2212.07383
  33. [35]Aleksandr Podkopaev and Aaditya Ramdas (2023). “Sequential Predictive Two-Sample and Independence Testing.” Advances in Neural Information Processing Systems.arxiv.org/abs/2305.00143
  34. [36]Aaditya Ramdas and Ruodu Wang (July 2024). “Hypothesis Testing with E-values.” Foundations and Trends in Statistics 1.1–2, pages 1–390.DOI
  35. [37]Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar (2018). Do CIFAR-10 Classifiers Generalize to CIFAR-10? arXiv: 1806.00451 [cs.LG].arxiv.org/abs/1806.00451
  36. [38]Yaniv Romano, Stephen Bates, and Emmanuel Candes (2020). “Achieving Equalized Odds by Resampling Sensitive Attributes.” Advances in Neural Information Processing Systems. Volume 33, pages 361–371.arxiv.org/abs/2006.04292
  37. [39]Dino Sejdinovic, Arthur Gretton, Bharath Sriperumbudur, and Kenji Fukumizu (2012). Hypothesis testing using pairwise distances and associated kernels (with Appendix). arXiv: 1205.0411 [cs.LG].DOI
  38. [40]Glenn Shafer (2021). “Testing by betting: A strategy for statistical and scientific communication.” Journal of the Royal Statistical Society. Series A (Statistics in Society) 184.2, pp. 407–431.DOI
  39. [41]Shubhanshu Shekhar and Aaditya Ramdas (2023). “Nonparametric Two-Sample Testing by Betting.” IEEE Transactions on Information Theory 70.2, pages 1178–1203.arxiv.org/abs/2112.09162
  40. [42]Joseph P. Simmons, Leif D. Nelson, and Uri Simonsohn (2011). “False-Positive Psychology: Undisclosed Flexibility in Data Collection and Analysis Allows Presenting Anything as Significant.” Psychological Science 22.11, pages 1359–1366.
  41. [43]Bharath K. Sriperumbudur, Arthur Gretton, Kenji Fukumizu, Bernhard Schölkopf, and Gert R.G. Lanckriet (2010). “Hilbert Space Embeddings and Metrics on Probability Measures.” Journal of Machine Learning Research 11.50, pages 1517–1561.arxiv.org/abs/0907.5309
  42. [44]Danica J. Sutherland and Namrata Deka (2022). Unbiased estimators for the variance of MMD estimators. arXiv: 1906.02104.arxiv.org/abs/1906.02104
  43. [45]Danica J. Sutherland, Hsiao-Yu Tung, Heiko Strathmann, Soumyajit De, Aaditya Ramdas, Alex Smola, and Arthur Gretton (2017). “Generative Models and Model Criticism via Optimized Maximum Mean Discrepancy.” International Conference on Learning Representations.arxiv.org/abs/1611.04488
  44. [46]Ilya O Tolstikhin, Bharath K. Sriperumbudur, and Bernhard Schölkopf (2016). “Minimax Estimation of Maximum Mean Discrepancy with Radial Kernels.” Advances in Neural Information Processing Systems.
  45. [47]Antonio Torralba, Rob Fergus, and William T. Freeman (2008). “80 Million Tiny Images: A Large Data Set for Nonparametric Object and Scene Recognition.” IEEE Transactions on Pattern Analysis and Machine Intelligence 30.11, pages 1958–1970.DOI
  46. [48]Václav Voráček and Francesco Orabona (2025). “STAR-Bets: Sequential TArget-Recalculating Bets for Tighter Confidence Intervals.” The Thirty-ninth Annual Conference on Neural Information Processing Systems.arxiv.org/abs/2505.22422
  47. [49]Vladimir Vovk and Ruodu Wang (June 2021). “E-values: Calibration, combination and applications.” The Annals of Statistics 49.3.DOI
  48. [50]Qiuqi Wang, Ruodu Wang, and Johanna Ziegel (June 2025). “E-backtesting.” Management Science 72.6, pages 4952–4973.
  49. [51]Ian Waudby-Smith and Aaditya Ramdas (2020). “Estimating means of bounded random variables by betting.” Journal of the Royal Statistical Society Series B: Statistical Methodology.
  50. [52]Aaron Wei, Midad Jalali, and Danica J. Sutherland (2026). “Maximum Mean Discrepancy with Unequal Sample Sizes via Generalized U-Statistics.” Transactions on Machine Learning Research. ISSN: 2835-8856.arxiv.org/abs/2512.13997
  51. [53]Hongyi Zhou, Jin Zhu, Pingfan Su, Kai Ye, Ying Yang, Shakeel Gavioli-Akilagun, and Chengchun Shi (2026). “AdaDetectGPT: Adaptive Detection of LLM-Generated Text with Statistical Guarantees.” The Thirty-ninth Annual Conference on Neural Information Processing Systems.arxiv.org/abs/2510.01268

Paper details

vlnc:W_qxg95a5b
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents