Lune

NeurIPS2023Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient Ensemble Conditional Independence Test Framework for Causal Discovery cites An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddings
  • Efficient Ensemble Conditional Independence Test Framework for Causal Discovery cites Causal Discovery with Reinforcement Learning
  • Efficient Ensemble Conditional Independence Test Framework for Causal Discovery cites On the Role of Sparsity and DAG Constraints for Learning Linear DAGs
  • Efficient Ensemble Conditional Independence Test Framework for Causal Discovery cites Nearest-Neighbor Sampling Based Conditional Independence Testing
  • Efficient Ensemble Conditional Independence Test Framework for Causal Discovery cites Practical Kernel Selection for Kernel-based Conditional Independence Test
  • On the Role of Sparsity and DAG Constraints for Learning Linear DAGs cites Causal Discovery with Reinforcement Learning
  • Conditional Diffusion Models Based Conditional Independence Testing cites An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddings
  • Conditional Diffusion Models Based Conditional Independence Testing cites Nearest-Neighbor Sampling Based Conditional Independence Testing
  • Practical Kernel Selection for Kernel-based Conditional Independence Test cites An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddings
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Riemannian Optimization on Relaxed Indicator Matrix ManifoldJinghui Yuan, Fangyuan Xie, Feiping Nie, Xuelong LiICLR 2026 · 6 citations
  2. Efficient Ensemble Conditional Independence Test Framework for Causal DiscoveryZhengkang Guan, Kun KuangICLR 2026 · 6 citations
  3. Conditional Diffusion Models Based Conditional Independence TestingYanfeng Yang, Shuai Li, Yingjie Zhang, Zhuoran Sun et al.AAAI 2025 · 4 citations
  4. Unifying Formal Explanations: A Complexity-Theoretic PerspectiveShahaf Bassan, Xuanxiang Huang, Guy KatzICLR 2026 · 3 citations
  5. Practical Kernel Selection for Kernel-based Conditional Independence TestWenjie Wang, Mingming Gong, Biwei Huang, James Bailey et al.NeurIPS 2025 · 2 citations

Builds on5

  1. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  2. On the Role of Sparsity and DAG Constraints for Learning Linear DAGsIgnavier Ng, AmirEmad Ghassami, Kun ZhangNeurIPS 2020 · 306 citations
  3. Causal Discovery with Reinforcement LearningShengyu Zhu, Ignavier Ng, Zhitang ChenICLR 2020 · 285 citations
  4. An Asymptotic Test for Conditional Independence using Analytic Kernel EmbeddingsMeyer Scetbon, Laurent Meunier, Yaniv RomanoICML 2022 · 18 citations
  5. Nearest-Neighbor Sampling Based Conditional Independence TestingShuai Li, Ziqi Chen, Hongtu Zhu, Christina Dan Wang et al.AAAI 2023 · 6 citations

Related papers

  1. Diffeomorphic Information Neural EstimationBao Duong, Thin NguyenAAAI 2023 · 10 citations
  2. On the Hardness of Conditional Independence Testing In PracticeZheng He, Roman Pogodin, Yazhe Li, Namrata Deka et al.NeurIPS 2025 · 9 citations
  3. Testing Conditional Mean Independence Using Generative Neural NetworksYi Zhang, Linjun Huang, Yun Yang, Xiaofeng ShaoICML 2025
  4. Score-based Generative Modeling for Conditional Independence TestingYixin Ren, Chenghou Jin, Yewei Xia, Li Ke et al.KDD 2025
  5. A Simple Unified Approach to Testing High-Dimensional Conditional Independences for Categorical and Ordinal DataAnkur Ankan, Johannes TextorAAAI 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines