[Paper Review] B-test: A Non-parametric, Low Variance Kernel Two-sample Test
The paper introduces B-tests, a family of non-parametric, low-variance kernel two-sample tests based on the maximum mean discrepancy (MMD) that achieve high statistical power with low sample complexity. By using a hyperparameter to balance computational efficiency and variance reduction, B-tests leverage samples more effectively than prior methods, requiring fewer kernel evaluations and avoiding complex null-distribution approximations while maintaining consistency and conservative Type I error control.
We propose a family of maximum mean discrepancy (MMD) kernel two-sample tests that have low sample complexity and are consistent. The test has a hyper-parameter that allows one to control the tradeoff between sample complexity and computational time. Our family of tests, which we denote as B-tests, is both computationally and statistically efficient, combining favorable properties of pre-viously proposed MMD two-sample tests. It does so by better leveraging sam-ples to produce low variance estimates in the finite sample case, while avoiding a quadratic number of kernel evaluations and complex null-hypothesis approxima-tion as would be required by tests relying on one sample U-statistics. The B-test uses a smaller than quadratic number of kernel evaluations and avoids completely the computational burden of complex null-hypothesis approximation, while main-taining consistency and probabilistically conservative thresholds on Type I error. Finally, recent results of combining multiple kernels transfer seamlessly to our hypothesis test, allowing a further increase in discriminative power and decrease in sample complexity. 1
Motivation & Objective
- To develop a computationally efficient and statistically powerful two-sample test for kernel-based distribution comparison.
- To reduce sample complexity while maintaining consistency and Type I error control in finite samples.
- To minimize the number of kernel evaluations compared to traditional U-statistic-based MMD tests.
- To avoid the computational burden of complex null-hypothesis approximation used in prior methods.
- To enable seamless integration of multiple kernel combinations to enhance discriminative power.
Proposed method
- B-tests are a family of MMD-based two-sample tests that use a hyperparameter to control the tradeoff between sample complexity and computational time.
- The method employs a novel estimator that reduces variance by better leveraging finite samples, avoiding the need for a quadratic number of kernel evaluations.
- It replaces one-sample U-statistics with a more efficient estimation strategy that avoids the computational overhead of null-distribution approximation.
- The test maintains consistency and probabilistically conservative thresholds on Type I error by design.
- The framework naturally supports multiple kernel combinations, enhancing discriminative power without increasing computational complexity unduly.
- The approach is non-parametric and robust to distributional assumptions, relying only on kernel embeddings in a reproducing kernel Hilbert space.
Experimental results
Research questions
- RQ1Can a two-sample test be designed with low sample complexity while maintaining statistical consistency and low variance in finite samples?
- RQ2How can computational efficiency be improved in MMD-based tests without sacrificing statistical power or Type I error control?
- RQ3To what extent can variance be reduced in finite-sample MMD estimation through smarter sample utilization?
- RQ4Can the number of kernel evaluations be reduced below quadratic scaling while preserving test reliability?
- RQ5How effectively can multiple kernel learning be integrated into a low-variance MMD test framework?
Key findings
- B-tests achieve low sample complexity by effectively leveraging samples to produce low-variance estimates in finite samples.
- The method requires fewer than quadratic kernel evaluations, significantly reducing computational cost compared to standard U-statistic-based MMD tests.
- B-tests avoid complex null-distribution approximation, eliminating a major computational bottleneck in existing approaches.
- The tests maintain consistency and probabilistically conservative Type I error thresholds, ensuring reliability.
- The integration of multiple kernels enhances discriminative power and further reduces required sample size.
- The framework is both computationally and statistically efficient, combining advantages of prior MMD tests while overcoming their key limitations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.