General Frameworks for Conditional Two-Sample Testing
Not on the map. Why?
Abstract (arXiv)
We study the problem of conditional two-sample testing, which aims to determine whether two populations have the same distribution after accounting for confounding factors. This problem commonly arises in various applications, such as domain adaptation and algorithmic fairness, where comparing two groups is essential while controlling for confounding variables. We begin by establishing a hardness result for conditional two-sample testing, demonstrating that no valid test can have significant power against any single alternative without proper assumptions. We then introduce two general frameworks that implicitly or explicitly target specific classes of distributions for their validity and power. Our first framework allows us to convert any conditional independence test into a conditional two-sample test in a black-box manner, while preserving the asymptotic properties of the original conditional independence test. The second framework transforms the problem into comparing marginal distributions with estimated density ratios, which allows us to leverage existing methods for marginal two-sample testing. We demonstrate this idea in a concrete manner with classification and kernel-based methods. Finally, simulation studies are conducted to illustrate the proposed frameworks in finite-sample scenarios.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 27 of its 65 references that are in the map. First posted on arXiv 22 Oct 2024.
Builds on
27 of 65 references.
References · 27
- 2016Equality of Opportunity in Supervised Learningcited by 2,000
- 2016Revisiting Classifier Two-Sample Testscited by 258
- 2020Learning Deep Kernels for Non-Parametric Two-Sample Testscited by 129
- 2016Panning for Gold: Model-X Knockoffs for High-dimensional Controlled Variable Selectioncited by 120
- 2020Telescoping Density-Ratio Estimationcited by 108
- 2017Approximate Kernel-based Conditional Independence Tests for Fast Non-Parametric Causal Discoverycited by 76
- 2021MMD Aggregated Two-Sample Testcited by 74
- 2021Density Ratio Estimation via Infinitesimal Classificationcited by 59
- 2020A general framework for inference on algorithm-agnostic variable importancecited by 44
- 2016Classification accuracy as a proxy for two sample testingcited by 39
- 2021Featurized Density Ratio Estimationcited by 33
- 2021Local permutation tests for conditional independencecited by 23
15 more
- 2020Fast and Powerful Conditional Randomization Testing via Distillationcited by 19
- 2020A Two-Sample Conditional Distribution Test Using Conformal Prediction and Weighted Rank Sumcited by 18
- 2022The Projected Covariance Measure for assumption-lean variable significance testingcited by 16
- 2017Trimmed Density Ratio Estimationcited by 15
- 2024A Short Survey on Importance Weighting for Machine Learningcited by 15
- 2021Significance tests of feature relevance for a black-box learnercited by 14
- 2021The Weighted Generalised Covariance Measurecited by 13
- 2024Practical Kernel Tests of Conditional Independencecited by 13
- 2019On the Use of Random Forest for Two-Sample Testingcited by 12
- 2018Global and Local Two-Sample Tests via Regressioncited by 11
- 2024De-Biased Two-Sample U-Statistics With Application To Conditional Distribution Testingcited by 6
- 2022Distance and Kernel-Based Measures for Global and Local Two-Sample Conditional Distribution Testingcited by 5
- 2024A Kernel-Based Conditional Two-Sample Test Using Nearest Neighbors (with Applications to Calibration, Regression Curves, and Simulation-Based Inference)cited by 5
- 2023Conditional Independence Testing for Discrete Distributions: Beyond chi2- and G-testscited by 3
- 2024Doubly robust and computationally efficient high-dimensional variable selectioncited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2026Separating Covariate Shift from Mechanism Change with Two Discriminators: CJSD, a Conditional Discrepancy with an Exact Covariate-Concept Decompositioncited by 1
- 2026Prompting Particle Physics: Tokenized Multi-modal Foundation Models for Combinatorially Many Taskscited by 1
- 2025Kernel conditional tests from learning-theoretic boundscited by 0
- 2026Prompting Particle Physics: Tokenized Multi-modal Foundation Models for Combinatorially Many Tasks25 Sep 2026
- 2026Separating Covariate Shift from Mechanism Change with Two Discriminators: CJSD, a Conditional Discrepancy with an Exact Covariate-Concept Decomposition20 Aug 2026
- 2025Kernel conditional tests from learning-theoretic bounds4 Jun 2025