We study the problem of active nonparametric sequential two-sample testing over multiple heterogeneous data sources. In each time slot, a decision-maker adaptively selects one of $K$ data sources and receives a paired sample generated from that source for testing. The goal is to decide as quickly as possible whether the pairs are generated from the same distribution or not. The gain achieved by such adaptive sampling (in terms of smaller expected stopping time or larger error exponents) has been well-characterized for parametric models via Chernoff's adaptive MLE selection rule [1]. However, analogous results are not known for the case of nonparametric problems, such as two-sample testing, where we place no restrictions on the distributions. Our main contribution is a general active nonparametric testing procedure that combines an adaptive source-selecting strategy within the testing-by-betting framework of [2] that works under minimal distributional assumptions. In each time slot, our scheme proceeds by selecting a source according to a probability that mixes exploitation, favoring sources with the largest empirical distinguishability, and exploration via a vanishing greedy strategy. The (paired) observations so collected are then used to update the "betting-wealth process", which is a stochastic process guaranteed to be a nonnegative martingale under the null. The procedure stops and rejects the null when the wealth process exceeds an appropriate threshold; an event that is unlikely under the null. We show that our test controls the type-I error at a prespecified level-$α$ under the null, and establish its power-one property and a bound on its expected sample size under the alternative. Our results provide a precise characterization of the improvements achievable by a principled adaptive sampling strategy over its passive analog.
翻译:本研究探讨了在多源异构数据环境下进行主动非参数序贯双样本检验的问题。在每个时间步,决策者自适应地从$K$个数据源中选择一个,并接收来自该源的配对样本进行检验。目标是在尽可能短的时间内判断这些配对样本是否来自同一分布。对于参数化模型,通过Chernoff的自适应最大似然估计选择规则[1],这种自适应采样带来的增益(表现为更小的期望停止时间或更大的误差指数)已得到充分表征。然而,对于非参数问题(如双样本检验)——即不对分布施加任何限制的情形,类似结论尚未明确。我们的主要贡献是提出了一种通用的主动非参数检验方法,该方法将自适应源选择策略与文献[2]的"投注检验"框架相结合,仅需极弱的分布假设即可运行。在每个时间步,本方案通过混合概率选择数据源:该概率既包含对经验区分度最大数据源的利用倾向,也包含通过渐近贪婪策略实现的探索机制。所收集的(配对)观测数据随后用于更新"投注财富过程"——这是一个在零假设下具有非负鞅性质的随机过程。当财富过程超过适当阈值时(该事件在零假设下发生概率极低),检验过程将停止并拒绝零假设。我们证明了该检验方法能在零假设下将第一类误差控制在预设的$α$水平,并确立了其在备择假设下的功效一致性以及对期望样本量的约束。本研究结果精确刻画了基于原理的自适应采样策略相较于被动采样策略所能实现的性能提升。