Credal Two-Sample Tests of Epistemic Ignorance

Siu Lun Chau, Antonin Schrab, Arthur Gretton, Dino Sejdinovic, Krikamol Muandet

In traditional statistics, we typically compare "precise" distributions—for instance, testing if the mean of one group differs from another. However, real-world data often involves not just randomness (aleatoric uncertainty) but also partial ignorance or ambiguity (epistemic uncertainty). A recent paper by Siu Lun Chau and colleagues introduces a nonparametric framework to move beyond point-distribution comparisons to comparing credal sets—convex sets of probability measures that represent a range of plausible beliefs.

From Points to Sets: Representing Epistemic Uncertainty

Standard two-sample tests, such as the Maximum Mean Discrepancy (MMD), assume samples originate from a single, fixed distribution. In many scenarios, this is an oversimplification. Consider a scientist aggregating data from multiple sources; each source provides a different distribution, and none may perfectly capture the "true" population.

Credal sets address this by representing uncertainty as the convex hull of all available distributions. This allows researchers to model "rational beliefs" rather than forcing a choice of a single distribution.

Transition from precise probability points to a credal set (convex hull) representing epistemic uncertainty.

A Framework for Credal Testing

The authors propose a suite of "credal two-sample tests" to answer nuanced questions about these belief states:

  • Specification ($H_{0,\in}$): Does a specific distribution fit within a set of beliefs?
  • Inclusion ($H_{0,\subseteq}$): Is one set of beliefs more ambiguous (a subset) than another?
  • Equality ($H_{0,=}$): Are two sets of beliefs identical?
  • Plausibility ($H_{0,\cap}$): Is there any overlap between two sets of beliefs?
Visual representation of the null hypotheses available for credal two-sample tests, ranging from simple equality to set inclusion and plausibility.

Methodology: CMMD and Adaptive Splitting

The core of the proposed method is CMMD (Credal Maximum Mean Discrepancy). The testing process involves a two-stage "Epistemic Alignment" process:

  1. Epistemic Alignment (EA): A portion of the data ($n_e$) is used to find the "best fit" weights that align the sets according to the specific null hypothesis. For example, in a plausibility test, the algorithm finds the two points (one from each set) that are closest to each other.
  2. Hypothesis Testing (HT): The remaining data ($n_t$) is used to perform a standard kernel two-sample test using the weights identified in the first stage.

A critical technical hurdle identified by the authors is that fixed sample splitting (e.g., 50/50) leads to inflated Type I errors because the estimation error of the alignment weights does not vanish quickly enough. They solve this with an adaptive split ratio, ensuring the test remains statistically valid as sample sizes grow.

Experimental Validation

The framework was rigorously tested on:

  • Synthetic Data: Using 10-dimensional Gaussians and Student’s t-distributions to confirm Type I error control and statistical power.
  • MNIST Embeddings: Demonstrating the method's efficacy on high-dimensional image data by comparing sets of digit distributions (e.g., digits {1, 3, 7}).

Results showed that CMMD with adaptive splitting successfully maintains significance levels while providing significantly higher power than existing baseline methods like MMDQ.

Conclusion

By generalizing the null hypothesis from single points to convex sets, this work provides a robust tool for statistical inference under ambiguity. While challenges remain in optimal kernel selection and refining split ratios, the CMMD framework marks a significant step toward integrating epistemic uncertainty into modern data science.

Summary updated

Abstract

We introduce credal two-sample testing, a new hypothesis testing framework for comparing credal sets -- convex sets of probability measures where each element captures aleatoric uncertainty and the set itself represents epistemic uncertainty that arises from the modeller's partial ignorance. Compared to classical two-sample tests, which focus on comparing precise distributions, the proposed framework provides a broader and more versatile set of hypotheses. This approach enables the direct integration of epistemic uncertainty, effectively addressing the challenges arising from partial ignorance in hypothesis testing. By generalising two-sample test to compare credal sets, our framework enables reasoning for equality, inclusion, intersection, and mutual exclusivity, each offering unique insights into the modeller's epistemic beliefs. As the first work on nonparametric hypothesis testing for comparing credal sets, we focus on finitely generated credal sets derived from i.i.d. samples from multiple distributions -- referred to as credal samples. We formalise these tests as two-sample tests with nuisance parameters and introduce the first permutation-based solution for this class of problems, significantly improving existing methods. Our approach properly incorporates the modeller's epistemic uncertainty into hypothesis testing, leading to more robust and credible conclusions, with kernel-based implementations for real-world applications.
BibTeX
@inproceedings{chau2025credal,
  author = {Siu Lun Chau and Antonin Schrab and Arthur Gretton and Dino Sejdinovic and Krikamol Muandet},
  title = {{Credal Two-Sample Tests of Epistemic Ignorance}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=Fp6gAobxyP},
}
Figure