K-Nearest-Neighbor Local Sampling Based Conditional Independence Testing
Shuai Li, Yingjie Zhang, Hongtu Zhu, Christina Dan Wang, Hai Shu, Ziqi Chen, Zhuoran Sun, Yanfeng Yang
Abstract
Conditional independence (CI) testing is a fundamental task in statistics and machine learning, but its effectiveness is hindered by the challenges posed by high-dimensional conditioning variables and limited data samples. This article introduces a novel testing approach to address these challenges and enhance con-trol of the type I error while achieving high power under alternative hypotheses. The proposed approach incorporates a computationally efficient classifier-based conditional mutual information (CMI) estimator, capable of capturing intricate dependence structures among variables. To approximate a distribution encoding the null hypothesis, a k -nearest-neighbor local sampling strategy is employed. An important advantage of this approach is its ability to operate without assumptions about distribution forms or feature dependencies. Furthermore, it eliminates the need to derive asymptotic null distributions for the estimated CMI and avoids dataset splitting, making it particularly suitable for small datasets. The method presented in this article demonstrates asymptotic control of the type I error and consistency against all alternative hypotheses. Extensive analyses using both synthetic and real data highlight the computational efficiency of the proposed test. Moreover, it outperforms existing state-of-the-art methods in terms of type I and II errors, even in scenarios with high-dimensional conditioning sets. Additionally, the proposed approach exhibits robustness in the presence of heavy-tailed data.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6fea34c4-8d06-4fcd-bb05-d56adbe8211bCited by top-tier papers8
- Riemannian Optimization on Relaxed Indicator Matrix ManifoldJinghui Yuan, Fangyuan Xie, Feiping Nie, Xuelong LiICLR 2026 · 6 citations
- Efficient Ensemble Conditional Independence Test Framework for Causal DiscoveryZhengkang Guan, Kun KuangICLR 2026 · 6 citations
- Conditional Diffusion Models Based Conditional Independence TestingYanfeng Yang, Shuai Li, Yingjie Zhang, Zhuoran Sun et al.AAAI 2025 · 4 citations
- Unifying Formal Explanations: A Complexity-Theoretic PerspectiveShahaf Bassan, Xuanxiang Huang, Guy KatzICLR 2026 · 3 citations
- Practical Kernel Selection for Kernel-based Conditional Independence TestWenjie Wang, Mingming Gong, Biwei Huang, James Bailey et al.NeurIPS 2025 · 2 citations
Builds on5
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- On the Role of Sparsity and DAG Constraints for Learning Linear DAGsIgnavier Ng, AmirEmad Ghassami, Kun ZhangNeurIPS 2020 · 306 citations
- Causal Discovery with Reinforcement LearningShengyu Zhu, Ignavier Ng, Zhitang ChenICLR 2020 · 285 citations
- An Asymptotic Test for Conditional Independence using Analytic Kernel EmbeddingsMeyer Scetbon, Laurent Meunier, Yaniv RomanoICML 2022 · 18 citations
- Nearest-Neighbor Sampling Based Conditional Independence TestingShuai Li, Ziqi Chen, Hongtu Zhu, Christina Dan Wang et al.AAAI 2023 · 6 citations
Related papers
- Diffeomorphic Information Neural EstimationBao Duong, Thin NguyenAAAI 2023 · 10 citations
- On the Hardness of Conditional Independence Testing In PracticeZheng He, Roman Pogodin, Yazhe Li, Namrata Deka et al.NeurIPS 2025 · 9 citations
- Testing Conditional Mean Independence Using Generative Neural NetworksYi Zhang, Linjun Huang, Yun Yang, Xiaofeng ShaoICML 2025
- Score-based Generative Modeling for Conditional Independence TestingYixin Ren, Chenghou Jin, Yewei Xia, Li Ke et al.KDD 2025
- A Simple Unified Approach to Testing High-Dimensional Conditional Independences for Categorical and Ordinal DataAnkur Ankan, Johannes TextorAAAI 2023 · 9 citations
