[Paper Review] Coupling optional Pólya trees and the two sample problem
This paper introduces the coupling optional Pólya tree (co-OPT) prior, a Bayesian nonparametric method that jointly models two probability distributions by allowing them to 'couple'—i.e., share the same conditional distribution on subsets of the sample space. The method enables both hypothesis testing for two-sample differences and structural characterization of the discrepancy, outperforming classical tests in high-dimensional settings by leveraging data-adaptive partitioning and improved computational efficiency through MCMC inference.
Testing and characterizing the difference between two data samples is of fundamental interest in statistics. Existing methods such as Kolmogorov-Smirnov and Cramer-von-Mises tests do not scale well as the dimensionality increases and provides no easy way to characterize the difference should it exist. In this work, we propose a theoretical framework for inference that addresses these challenges in the form of a prior for Bayesian nonparametric analysis. The new prior is constructed based on a random-partition-and-assignment procedure similar to the one that defines the standard optional Pólya tree distribution, but has the ability to generate multiple random distributions jointly. These random probability distributions are allowed to "couple", that is to have the same conditional distribution, on subsets of the sample space. We show that this "coupling optional Pólya tree" prior provides a convenient and effective way for both the testing of two sample difference and the learning of the underlying structure of the difference. In addition, we discuss some practical issues in the computational implementation of this prior and provide several numerical examples to demonstrate its work.
Motivation & Objective
- To address the limitations of classical two-sample tests like Kolmogorov-Smirnov and Cramer-von-Mises in high-dimensional settings, where power diminishes and structural interpretation is lost.
- To develop a Bayesian nonparametric framework that jointly models two distributions while allowing them to couple on shared regions of the sample space, enhancing both testing power and interpretability.
- To provide a method that not only tests for distributional differences but also learns the underlying structure of such differences, such as which variables or regions of the space are responsible.
- To overcome the curse of dimensionality in nonparametric two-sample inference by incorporating data-driven partitioning of the sample space through recursive random splitting.
- To enable practical implementation via MCMC algorithms with efficient Gibbs sampling schemes for posterior inference on key parameters like the coupling probability $\epsilon$.
Proposed method
- The co-OPT prior extends the optional Pólya tree (OPT) by introducing a joint random partitioning-and-assignment mechanism that allows two distributions to share conditional distributions on common subregions, enabling coupling.
- The method uses a hierarchical prior structure where the two distributions are modeled as $Q_1 = \epsilon H_0 + (1-\epsilon)H_1$ and $Q_2 = \epsilon H_0 + (1-\epsilon)H_2$, with $H_0, H_1, H_2$ i.i.d. Dirichlet distributed and $\epsilon \sim Beta(a_\epsilon, b_\epsilon)$.
- A Gibbs sampler is employed to iteratively update the latent indicators $J_j^i$ (assigning each observation to $H_0$ or $H_i$), the mixing proportions $\epsilon$, and the base distributions $H_0, H_1, H_2$ using conjugate posterior updates.
- Posterior inference focuses on the expected value of $\epsilon$, estimated from MCMC samples, which quantifies the degree of shared structure between the two samples.
- The method incorporates data-adaptive partitioning via recursive splitting, where the partitioning is guided by the data to reduce dimensionality and improve estimation in sparse regions.
- The framework is extended to both continuous and discrete settings, with specific implementations for multivariate normal mixtures and contingency tables, using conjugate priors and efficient sampling schemes.
Experimental results
Research questions
- RQ1Can a Bayesian nonparametric prior be constructed to jointly model two probability distributions while allowing them to couple on shared regions of the sample space?
- RQ2Does the co-OPT prior improve testing power for two-sample differences in high-dimensional settings compared to classical nonparametric tests?
- RQ3Can the co-OPT framework effectively identify and characterize the structural components of distributional differences, such as which variables or regions contribute to the discrepancy?
- RQ4How can efficient MCMC inference be implemented for the co-OPT prior, particularly in terms of sampling latent assignment indicators and hyperparameters?
- RQ5To what extent does restricting the support of the base Dirichlet prior to observed table cells improve power in sparse, high-dimensional contingency table problems?
Key findings
- The co-OPT prior successfully enables joint modeling of two distributions with coupling, leading to improved detection of differences in high-dimensional settings where classical tests fail.
- The posterior mean of $\epsilon$, estimated from 10,000 MCMC samples with 10,000 burn-in steps, serves as a robust measure of similarity between the two samples, with values near 0 indicating strong divergence.
- In the contingency table example, restricting the Dirichlet prior support to only observed cells significantly improved statistical power due to reduced sparsity effects.
- The Gibbs sampler for $\epsilon$, $J_j^i$, $H_0$, $H_1$, and $H_2$ converges efficiently, with posterior updates based on conjugate distributions, enabling practical implementation.
- The method outperforms standard nonparametric tests by providing not only a p-value-like inference but also interpretable structure—such as which variables or regions drive the difference.
- The framework is flexible and applicable to both continuous (e.g., normal mixture models) and discrete (e.g., contingency tables) data, with consistent performance across numerical examples.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.