# Poster 28426

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28426

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello and thank you for your time and interest in our paper, Peaky Math's Probabilistic Assessment of the Quality of Generative Model Using Probability Math's Estimation. To provide some motivation for our work, with the advent of generative modeling, the task of inferring a distribution given a set of samples, a vital question to ask is how to assess the quality of a generative model and whether it truly learns the full training data distribution. This is fundamental for all application and is critical for tasks that demand rigorous uncertainty quantification.
Thus, we introduce PQMAS, a statistical method for evaluating how well a generative model learns the full distribution of the training data using only samples. First, we start with two sets of IID samples, a set of samples X coming from the P distribution, which can be defined as a generative model learned distribution. Then we have the set of Y samples coming from the Q distribution, which can be defined as the true distribution.
The hypothesis we want to evaluate if the two distributions are equal to each other. Another way to formulate this is to test if the two sets of samples come from the same underlying distribution. Now to evaluate our hypothesis, we use the fact that two distributions can be defined to be equal to each other given that they assign the same probability mass to all measurable sets R. We define a measurable sets R as a fixed partition of a space in which crucially the partitions are both measurable
and non -overlapping. The decision how to partition the space is not trivial and to ensure our non-overlapping and measurable regions we use Voronoi cells to partition the space. Here we showcase an example given samples from x and y in one partition region the number of samples in the region follows a binomial distribution. Evaluating over the entire partition space we see that the number of samples in the region becomes a multinomial distribution. Thus we have transformed the problem to testing if two sets of multinomial distributions
distributions follow the same underlying density. We evaluate this by building a metric based on the Pearson chi-square statistic where a metric the PQMS chi-square metric is the discrepancy between the observed and expected samples in a given region. We use the Pearson chi-square test here since given any distribution
Our pK -mass chi-square statistic follows a chi-square distribution with a number of regions minus one degrees of freedom. Therefore, we can calculate the p-value, which provides an estimate of the probability that the distributions coincide in the given region. Our metric allows us to statistically evaluate whether the two sets of samples come from the same underlying distribution. Unlike methods that rely on dimensionality reduction or feature extraction, pK-mass retains the full distributional information.
it scales well into high-dimensional spaces.
We showcase the notice by comparing two sets of samples that we know to be equivalent. We define this Gaussian mixture model of 100 dimension and 20 components. Using 100 regions, we generate samples from this Gaussian mixture model, tessellate the space, and calculate our PQ mass chi-square metric, and repeat this process up to 2 to the 14th times. We show that PQ mass chi-square is approximately distributed as a chi-square distribution, thus showcasing in this simple example that PQ mass can correctly identify and identify the PQ mass chi-square distribution.
If two sets of samples come from the same underlying distribution, we then apply PCA on generative models. We train a variational autoencoder and a denoising diffusion model on MNIST over the first 100 epochs. At each epoch, we generate 2,000 samples and compare them to 2,000 MNIST test set samples. We then partition our species into 100 regions and show that PCA can correctly track the improvements of the model over epochs as the model is learning the training data distribution.
We also show that the denoising diffusion model can learn the full training distribution better than a variational autoencoder. We compare our method to alternate methods like feature hood likelihood divergence, FLD, and venture set inception distance, FID, on generative models trained on astrophysical data, in which PQMAS is able to correctly evaluate the model where FLD and FID fail.
We have first demonstrated PQMS's application to evaluating generative models. In the paper, we've also demonstrated many applications of PQMS for various tasks such as detecting small modes or even missing modes.
One of the main advantages of PQMAS is that it performs well in multiple modality given a distance metric can be defined. We've also shown PQMAS applicability for many concrete scientific application and is flexible for your own experiment. PQMAS is a versatile, easy-to-use two-sample test that scales well into high dimensionality data sets, works in any modality where distance metric can be defined, does not require any dimensionality reduction, and is proven to be discriminative.
in the asymptotic limit. Our code is public at this link here. Thank you for your time.
