DUAL: Learning Diverse Kernels for Aggregated Two-sample and Independence Testing

Zhi-Jian Zhou, Xunye Tian, Liuhua Peng, Chaoxu Lei, Antonin Schrab +2 more
10/1/2025
8 citations

No official code found. Best implementation: yeager20001118/MMD-HSIC-DUAL (3 stars).

Abstract

To adapt kernel two-sample and independence testing to complex structured data, aggregation of multiple kernels is frequently employed to boost testing power compared to single-kernel tests. However, we observe a phenomenon that directly maximizing multiple kernel-based statistics may result in highly similar kernels that capture highly overlapping information, limiting the effectiveness of aggregation.

Show full abstract

To address this, we propose an aggregated statistic that explicitly incorporates kernel diversity based on the covariance between different kernels. Moreover, we identify a fundamental challenge: a trade-off between the diversity among kernels and the test power of individual kernels, i.e., the selected kernels should be both effective and diverse. This motivates a testing framework with selection inference, which leverages information from the training phase to select kernels with strong individual performance from the learned diverse kernel pool. We provide rigorous theoretical statements and proofs to show the consistency on the test power and control of Type-I error, along with asymptotic analysis of the proposed statistics. Lastly, we conducted extensive empirical experiments demonstrating the superior performance of our proposed approach across various benchmarks for both two-sample and independence testing.

View on arXivView PDF

Code Implementations(1)

MMD/HSIC-DUAL package implementing the MMD-DUAL and HSIC-DUAL test proposed in Learning Diverse Kernels for Aggregated Two-sample and Independence Testing by Zhou, Tian, Peng, Lei, Schrab, Sutherland and Liu: https://arxiv.org/abs/2510.11140

31

Similar Papers

Cite this paper

@article{zhou2025dual,
  title  = {DUAL: Learning Diverse Kernels for Aggregated Two-sample and Independence Testing},
  author = {Zhi-Jian Zhou and Xunye Tian and Liuhua Peng and Chaoxu Lei and Antonin Schrab and D. Sutherland and Feng Liu},
  year   = {2025},
  eprint = {2510.11140},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2510.11140},
  url    = {https://doi.org/10.48550/arXiv.2510.11140},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.11140.svg)](https://codeofpaper.com/paper/2510.11140)

Discussion