Practical Kernel Selection for Kernel-based Conditional Independence Test

Wenjie Wang, Mingming Gong, Bi-Wei Huang, James Bailey, Bo Han +2 more
1/1/2025

No official code found. Best implementation: wenjiewang3/PowerKCI (3 stars, Python, MIT, last commit 2025-10-21).

Abstract

Conditional independence (CI) testing is a fundamental yet challenging task in modern statistics and machine learning. One pivotal class of methods for assessing conditional independence encompasses kernel-based approaches, known for assessing CI by detecting general conditional dependence without imposing strict assumptions on relationships or data distributions.

Show full abstract

As with any method utilizing kernels, selecting appropriate kernels is crucial for precise identification. However, it remains underexplored in kernel-based CI methods, where the kernels are often determined manually or heuristically. In this paper, we analyze and propose a kernel parameter selection approach for the kernel-based conditional independence test (KCI). The kernel parameters are selected based on the ratio of the statistic to the asymptotic variance, which approximates the test power for the given parameters at large sample sizes. The search procedure is grid-based, allowing for parallelization with manageable additional computation time. We theoretically demonstrate the consistency of the proposed criterion while explicitly accounting for model estimation bias, which is a distinctive challenge specific to CI testing task. Furthermore, we conduct extensive experiments on both synthetic and real-world datasets to empirically validate the effectiveness of our method.

DOISemantic Scholar

Code Implementations(1)

MIT

Official Implementation of "Practical Kernel Selection for Kernel-based Conditional Independence Test"

31PythonOct 20, 20251 years agoMIT

Similar Papers

Cite this paper

@article{wang2025practical,
  title  = {Practical Kernel Selection for Kernel-based Conditional Independence Test},
  author = {Wenjie Wang and Mingming Gong and Bi-Wei Huang and James Bailey and Bo Han and Kun Zhang and Feng Liu},
  year   = {2025},
  doi    = {10.52202/085713-1650},
  url    = {https://doi.org/10.52202/085713-1650},
  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/d0cd43447f49cdb132b16d24cb91978ffe0abd7a.svg)](https://codeofpaper.com/paper/d0cd43447f49cdb132b16d24cb91978ffe0abd7a)

Discussion