Sequential Kernelized Independence Testing
Aleksandr Podkopaev, Patrick Blöbaum, Shiva Prasad Kasiviswanathan, Aaditya Ramdas
TL;DR
The paper tackles sequential independence testing for streaming data by introducing Sequential Kernel Independence Tests (SKIT) that combine the betting framework with kernel-based dependence measures. SKIT leverages HSIC, COCO, and KCC to build payoff functions and applies online wagering (e.g., Online Newton Step) to achieve level-$\alpha$ time-uniform false alarm control and consistency, even under non-i.i.d. drift. It also provides symmetry-based variants and minibatching to enhance practicality, including plug-in estimators for witness functions and scalable eigenproblem solutions. Through synthetic experiments and real-data applications (e.g., climate data, MNIST-inspired tasks), SKIT demonstrates adaptive stopping—requiring fewer samples on easy problems and more on hard ones—while maintaining rigorous error control and competitive power relative to batch alternatives. Overall, the framework enables scalable, anytime-valid, streaming independence testing in time-varying environments, with broad applicability to nonparametric settings.
Abstract
Independence testing is a classical statistical problem that has been extensively studied in the batch setting when one fixes the sample size before collecting data. However, practitioners often prefer procedures that adapt to the complexity of a problem at hand instead of setting sample size in advance. Ideally, such procedures should (a) stop earlier on easy tasks (and later on harder tasks), hence making better use of available resources, and (b) continuously monitor the data and efficiently incorporate statistical evidence after collecting new data, while controlling the false alarm rate. Classical batch tests are not tailored for streaming data: valid inference after data peeking requires correcting for multiple testing which results in low power. Following the principle of testing by betting, we design sequential kernelized independence tests that overcome such shortcomings. We exemplify our broad framework using bets inspired by kernelized dependence measures, e.g., the Hilbert-Schmidt independence criterion. Our test is also valid under non-i.i.d., time-varying settings. We demonstrate the power of our approaches on both simulated and real data.
