Lune

NeurIPS2025Top-tier venue

On the Hardness of Conditional Independence Testing In Practice

Zheng He, Roman Pogodin, Yazhe Li, Namrata Deka, Arthur Gretton, Danica J. Sutherland

Abstract

Tests of conditional independence (CI) underpin a number of important problems in machine learning and statistics, from causal discovery to evaluation of predictor fairness and out-of-distribution robustness. Shah and Peters (2020) showed that, contrary to the unconditional case, no universally finite-sample valid test can ever achieve nontrivial power. While informative, this result (based on"hiding"dependence) does not seem to explain the frequent practical failures observed with popular CI tests. We investigate the Kernel-based Conditional Independence (KCI) test - of which we show the Generalized Covariance Measure underlying many recent tests is nearly a special case - and identify the major factors underlying its practical behavior. We highlight the key role of errors in the conditional mean embedding estimate for the Type-I error, while pointing out the importance of selecting an appropriate conditioning kernel (not recognized in previous work) as being necessary for good test power but also tending to inflate Type-I error.

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.

2 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

  • Sequential Kernel-based Conditional Independence Testing via Adaptive Betting cites Conditional independence testing under misspecified inductive biases
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Toward Scalable and Valid Conditional Independence Testing with Spectral RepresentationsAlek Fröhlich, Vladimir Kostic, Karim Lounici, Daniel Rodrigues Perazzo et al.ICML 2026
  2. Sequential Kernel-based Conditional Independence Testing via Adaptive BettingZheng He, Danica J SutherlandICML 2026

Builds on8

  1. Learning Deep Kernels for Non-Parametric Two-Sample TestsFeng Liu, Wenkai Xu, Jie Lu, Guangquan Zhang et al.ICML 2020 · 213 citations
  2. A Measure-Theoretic Approach to Kernel Conditional Mean EmbeddingsJunhyung Park, Krikamol MuandetNeurIPS 2020 · 123 citations
  3. Invariant Causal Representation Learning for Out-of-Distribution GeneralizationChaochao Lu, Yuhuai Wu, José Miguel Hernández-Lobato, Bernhard SchölkopfICLR 2022 · 119 citations
  4. Proximal Causal Learning with Kernels: Two-Stage Estimation and Moment RestrictionAfsaneh Mastouri, Yuchen Zhu, Limor Gultchin, Anna Korba et al.ICML 2021 · 78 citations
  5. Conditional independence testing under misspecified inductive biasesFelipe Maia Polo, Yuekai Sun, Moulinath BanerjeeNeurIPS 2023 · 8 citations

Related papers

  1. Practical Kernel Selection for Kernel-based Conditional Independence TestWenjie Wang, Mingming Gong, Biwei Huang, James Bailey et al.NeurIPS 2025 · 2 citations
  2. An Asymptotic Test for Conditional Independence using Analytic Kernel EmbeddingsMeyer Scetbon, Laurent Meunier, Yaniv RomanoICML 2022 · 18 citations
  3. K-Nearest-Neighbor Local Sampling Based Conditional Independence TestingShuai Li, Yingjie Zhang, Hongtu Zhu, Christina Dan Wang et al.NeurIPS 2023 · 15 citations
  4. A Simple Unified Approach to Testing High-Dimensional Conditional Independences for Categorical and Ordinal DataAnkur Ankan, Johannes TextorAAAI 2023 · 9 citations
  5. Testing Independence Between Linear Combinations for Causal DiscoveryHao Zhang, Kun Zhang, Shuigeng Zhou, Jihong Guan et al.AAAI 2021 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines