Conditional Diffusion Models Based Conditional Independence Testing
Yanfeng Yang, Shuai Li, Yingjie Zhang, Zhuoran Sun, Hai Shu, Ziqi Chen, Renming Zhang
Abstract
Conditional independence (CI) testing is a fundamental task in modern statistics and machine learning. The conditional randomization test (CRT) was recently introduced to test whether two random variables, X and Y , are conditionally independent given a potentially high-dimensional set of random variables, Z. The CRT operates exceptionally well under the assumption that the conditional distribution X|Z is known. However, since this distribution is typically unknown in practice, accurately approximating it becomes crucial. In this paper, we propose using conditional diffusion models (CDMs) to learn the distribution of X|Z. Theoretically and empirically, it is shown that CDMs closely approximate the true conditional distribution. Furthermore, CDMs offer a more accurate approximation of X|Z compared to GANs, potentially leading to a CRT that performs better than those based on GANs. To accommodate complex dependency structures, we utilize a computationally efficient classifier-based conditional mutual information (CMI) estimator as our test statistic. The proposed testing procedure performs effectively without requiring assumptions about specific distribution forms or feature dependencies, and is capable of handling mixed-type conditioning sets that include both continuous and discrete variables. Theoretical analysis shows that our proposed test achieves a valid control of the type I error. A series of experiments on synthetic data demonstrates that our new test effectively controls both type-I and type-II errors, even in high dimensional scenarios.
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Toward Scalable and Valid Conditional Independence Testing with Spectral Representations cites An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddings
- Video Diffusion Models cites Denoising Diffusion Probabilistic Models
- Score-based Generative Modeling for Conditional Independence Testing cites An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddings
- Score-based Generative Modeling for Conditional Independence Testing cites Denoising Diffusion Probabilistic Models
- Score-based Generative Modeling for Conditional Independence Testing cites Score-Based Generative Modeling through Stochastic Differential Equations
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- Denoising Diffusion Implicit Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Score-Based Generative Modeling through Stochastic Differential Equations cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers2
Builds on8
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Video Diffusion ModelsJonathan Ho, Tim Salimans, Alexey A. Gritsenko, William Chan et al.NeurIPS 2022 · 2,948 citations
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
- An Asymptotic Test for Conditional Independence using Analytic Kernel EmbeddingsMeyer Scetbon, Laurent Meunier, Yaniv RomanoICML 2022 · 18 citations
Related papers
- Nearest-Neighbor Sampling Based Conditional Independence TestingShuai Li, Ziqi Chen, Hongtu Zhu, Christina Dan Wang et al.AAAI 2023 · 6 citations
- K-Nearest-Neighbor Local Sampling Based Conditional Independence TestingShuai Li, Yingjie Zhang, Hongtu Zhu, Christina Dan Wang et al.NeurIPS 2023 · 15 citations
- Diffeomorphic Information Neural EstimationBao Duong, Thin NguyenAAAI 2023 · 10 citations
- Testing Conditional Mean Independence Using Generative Neural NetworksYi Zhang, Linjun Huang, Yun Yang, Xiaofeng ShaoICML 2025
- CARD: Classification and Regression Diffusion ModelsXizewen Han, Huangjie Zheng, Mingyuan ZhouNeurIPS 2022 · 185 citations
