WorksPhysics and Astronomy
Dark Energy Survey Year 6 Results: fast and interpretable posterior predictive checks for correlated cosmic probes
Abstract
We present a fast and numerically stable framework for conducting posterior predictive distribution (PPD) tests of internal consistency in correlated cosmological probes. Our method, developed as a validation check for the Dark Energy Survey (DES) Year 6 combined analysis of weak lensing and galaxy clustering, employs a Gaussian-mixture model to efficiently approximate the high-dimensional PPD and introduces a scalar consistency metric, , defined as the fraction of the PPD at lower probability density than the observed data. This method avoids challenges related to calibration and numerical stability that impacted PPD methods previously used in DES Year 3. After demonstrating performance with a toy model, we confirm that when applied to DES Year 3 measurements, identifies the same inter-probe tensions as published, calibrated PPD results while requiring only minutes per test. We further validate the method on several noise realizations of simulated DES Y6 analyses, demonstrating that responds coherently to injected inconsistency, while highlighting two effects which can complicate the interpretation of PPD tests for increasingly complex models. First, internal tensions that can be absorbed as shifts in nuisance parameters become more difficult to detect. Second, poorly constrained directions in parameter space can induce projection effects in PPDs for disjoint sets of observables, producing reports of tension even for consistent data. We conclude that provides a practical PPD-based diagnostic for multiprobe unblinding, to be interpreted with care alongside other validation checks. This framework has already played an important role in DES analyses and is well suited for application to forthcoming Stage-IV surveys such as LSST, Euclid, and Roman, where fast, robust internal consistency tests will be essential.
(DES Collaboration) 27 Ruhr University Bochum, Faculty of Physics and Astronomy, Astronomical Institute, German Centre for Cosmological Lensing, 44780 Bochum, Germany
28 Departament de Física, EEBE, Universitat Politècnica de Catalunya, c/ Eduard Maristany 16, E-08019 Barcelona, Spain
29 University of Copenhagen, Dark Cosmology Centre, Juliane Maries Vej 30, 2100 Copenhagen O, Denmark
30 Institute of Astronomy, University of Cambridge, Madingley Road, Cambridge CB3 0HA, UK
31 Instituto de Física Teórica UAM/CSIC, Universidad Autónoma de Madrid, 28049 Madrid, Spain
32 Laboratoire de physique des 2 infinis Irène Joliot-Curie, CNRS Université Paris-Saclay, Bât. 100, F-91405 Orsay Cedex, France
33 McWilliams Center for Cosmology and Astrophysics, Department of Physics, Carnegie Mellon University, Pittsburgh, PA 15213, USA
34 ICTP South American Institute for Fundamental Research Instituto de Física Teórica, Universidade Estadual Paulista, São Paulo, Brazil
35 Department of Physics, Duke University Durham, NC 27708, USA
36 Institute for Astronomy, University of Edinburgh, Edinburgh EH9 3HJ, UK
37 INAF-Osservatorio Astronomico di Trieste, via G. B. Tiepolo 11, I-34143 Trieste, Italy
38 Institute of Cosmology and Gravitation, University of Portsmouth, Portsmouth, PO1 3FX, UK
39 Department of Physics & Astronomy, University College London, Gower Street, London, WC1E 6BT, UK
40 School of Mathematics and Physics, University of Queensland, Brisbane, QLD 4072, Australia
41 Oxford College of Emory University, Oxford, GA 30054, USA
42 Department of Physics, IIT Hyderabad, Kandi, Telangana 502285, India
43 Centre for Astrophysics & Supercomputing, Swinburne University of Technology, Victoria 3122, Australia
44 Center for Cosmology and Astro-Particle Physics, The Ohio State University, Columbus, OH 43210, USA
45 Department of Physics, The Ohio State University, Columbus, OH 43210, USA
46 Department of Physics, University of Michigan, Ann Arbor, MI 48109, USA
47 Australian Astronomical Optics, Macquarie University, North Ryde, NSW 2113, Australia
48 Lowell Observatory, 1400 Mars Hill Rd, Flagstaff, AZ 86001, USA
49 George P. and Cynthia Woods Mitchell Institute for Fundamental Physics and Astronomy, and Department of Physics and Astronomy, Texas A&M University, College Station, TX 77843, USA
50 Institució Catalana de Recerca i Estudis Avançats, E-08010 Barcelona, Spain
51 Kavli Institute for Particle Astrophysics & Cosmology, P. O. Box 2450, Stanford University, Stanford, CA 94305, USA
52 Physics Department, Lancaster University, Lancaster, LA1 4YB, UK
53 Computer Science and Mathematics Division, Oak Ridge National Laboratory, Oak Ridge, TN 37831
54 Central University of Kerala, Kasaragod, Kerala, India, 671325
55 Max Planck Institute for Extraterrestrial Physics, Giessenbachstrasse, 85748 Garching, Germany
56 Universitäts-Sternwarte, Fakultät für Physik, Ludwig-Maximilians Universität München, Scheinerstr. 1, 81679 München, Germany
Version October 5, 2026
Introduction
While the growing volume of cosmological data represents great promise for furthering our understanding of the Universe, it also necessitates advances in methodology to ensure analyses are accurate and robust. A crucial component of this effort is the development and characterization of internal consistency tests. This is because many studies, including recent joint analyses of galaxy clustering and weak lensing [21, 43, 56, 72], rely on the combined analysis of multiple correlated observables to separate signals of cosmological physics from astrophysical and measurement uncertainties. Internal consistency tests can include goodness-of-fit assessments, comparisons of parameter constraints derived from data subsets, and model comparison [14, 60, 45, 65, 49, 66, 52, 39, 63, 10, 71]. Tests that can be carried out without revealing cosmology results play a vital role in blind analysis methods [59] when used as pre-unblinding validation checks. In this paper we present a novel approach to conducting internal consistency tests based on posterior predictive distributions (PPD), developed as part of the Dark Energy Survey (DES, Dark Energy Survey Collaboration 2016) Year 6 (Y6) combined analysis of galaxy clustering and weak lensing [24]. Our focus is on the ”3 × 2pt” analysis, which analyzes three two-point correlation functions—cosmic shear, galaxy-galaxy lensing (GGL), and galaxy clustering—in a unified framework, making it a cornerstone of modern cosmological analyses.
The PPD is a Bayesian construction [34] for quantifying the consistency of observables conditioned on an assumed model. It is formally defined as the convolution of a posterior distribution in parameter space with a likelihood function, yielding a probability distribution in data space. Given posterior samples (e.g., from MCMC), the PPD can be readily sampled by drawing from the likelihood evaluated at each posterior sample, without needing to compute this convolution explicitly. Comparing new data to that expected distribution allows us to assess consistency between different measurements. In practice, PPD tests involve applying a summary function to compress the high-dimensional data-space distribution into consistency metrics which can be practically employed as part of analysis validation checks. The underlying rationale is that if the model and data are consistent, the summary of the observed data should lie within the bulk of the PPD summary distribution, and measurements
that are extreme relative to that distribution could indicate problems with the analysis. This is intuitively analogous to reduced- goodness-of-fit tests, where a too-high or too-low minimum indicates, respectively, a model’s inability to fit the data or underestimated error bars. PPD methods have an advantage over reduced tests in that they do not rely on point-estimates of the best-fit parameters, which tend to be noisy and difficult to estimate in high-dimensional parameter spaces. This analogy is not incidental: although the predictive distribution is Bayesian, comparing the observed data to hypothetical replications is a sampling-theory calculation. The PPD thus provides a frequentist form of model criticism built on Bayesian estimation [12, 68].
PPD tests have previously been applied in the DES Year 3 clustering and lensing analyses (DES Y3, [4, 21, 35, 29]) and in a recent LSST modified-gravity forecast to quantify agreement with general relativity [50]. The Kilo-Degree Survey (KiDS) lensing analyses [71, 6] employ a related technique, the translated posterior distribution [45]. Beyond cosmology, PPD methods find applications in diverse quantitative fields, including ecology [13, 18], attesting to their generality as a model-checking framework.
Translating high dimensional PPDs into interpretable consistency metrics, and in particular calibrating them to obtain formal -values, remains an open problem in statistics. Here a -value refers to the probability, assuming a model is correct, that the observables (or a summary function thereof) will be at least as extreme as the measured data. Existing approaches in statistics often assume that independent and identically distributed data realizations are available [57, 58] (Li & Huggins 2022), and are therefore ill-suited for large-scale structure cosmological analyses where only a single data realization exists. In previous large-scale structure analyses, including the DES Y3 combined analysis of galaxy clustering and weak lensing, a commonly used summary function is difference between model predictions and either the observed data or realizations of simulated observables drawn from the PPD. Compressing this into a consistency metric remains difficult, as this comparison requires analyzing many synthetic data realizations at each of many locations in parameter space, introducing challenges related to computational cost and numerical stability. This process additionally requires calibration via simulated analyses to obtain a -value, as uncalibrated PPD metric can be severely biased towards reporting inconsistency [7, 27]. While this DES Y3 PPD methodology was effective enough to serve as a key component of the DES Y3 analysis validation, the associated computational challenges made the process labor-intensive and thus a bottleneck during unblinding.
We propose two innovations to address these challenges: a numerically stable approximation of the PPD using a Gaussian mixture model, and a consistency metric, denoted , that leverages this approximation to efficiently quantify agreement between data and model in an interpretable way even without formal calibration. A key feature of both developments is their streamlined implementation, designed so that the amount of work needed to conduct PPD tests is comparable to other MCMC chain post-processing operations routinely performed in cosmology studies. After introducing this PPD methodology, we present three sets of tests used to characterize its performance. A toy model study serves as an initial test of the Gaussian mixture PPD estimate and metric, and builds intuition for what this metric captures. Next, we apply it to DES Y3 galaxy-clustering and weak-lensing measurements, to assess the agreement between our new metric and the calibrated -value previously employed in that analysis. Finally we study the behavior of our PPD consistency metric when applied to simulated DES Y6 galaxy-clustering and weak-lensing analyses, with and without injected inconsistencies.
While in general our updated PPD framework performs well—particularly regarding improved ease of use and numerical stability compared to previous methods—two findings from our simulated DES Y6 tests merit closer examination. These will be discussed in more detail below, but we highlight them here as important considerations when incorporating PPD tests into an analysis validation strategy. First, we note that the PPD consistency metric can be less sensitive to an injected inconsistency than one might naively expect. If the model is sufficiently flexible, data contamination may shift nuisance parameter posteriors rather than itself. Second, for consistency tests between two different observables, PPD tests can be subject to projection effects when the test and conditioning observables are sensitive to different degenerate combinations of model parameters. Projection effects, studied in the context of their impact on marginalized parameter constraints in e.g. [69, 2, 41, 64, 42], can skew PPD metrics including towards values indicating inconsistency even for consistent input data. This can be accounted for via calibration studies, or more simply — and as was done in practice for DES Y6 — by using simulated analyses to guide how PPD tests should be used during pre-unblinding checks. Taken together, these results support the idea that this PPD framework is a useful diagnostic tool for complex cosmological analyses, but one that should be used with care and in conjunction with complementary validation tests.
The remainder of this paper is organized as follows. In § 2, we review posterior predictive distributions, describe our Gaussian–mixture approximation to the PPD, and introduce our new density-based PPD metric, . In § 3, we apply the method to DES Y3 data and compare its behavior to the published, calibrated PPD tests used in that analysis. § 4 presents our validation of the method on simulated DES Y6 data, including tests with and without an injected inconsistency, and discusses effects that can complicate the interpretation of : absorption of tensions by nuisance parameters, and projection effects in disjoint PPD tests. We summarize our findings and discuss the role of within broader consistency tests in § 5.
Formalism
We consider two sets of measurements from one or several experiments, and . At this stage, and may correspond to (i) independent realizations of the same measurement, or (ii) disjoint, but potentially correlated, measurements. The vector represents parameters of the statistical model for those observables. We use to denote a multivariate Gaussian distribution on with mean and covariance .
Definitions
The posterior predictive distribution (PPD) is the distribution of future realizations of the measurement , conditioned on the observation of a previous realization of , labeled . It is given by
Here is the posterior distribution inferred from , while is the conditional distribution of given model parameters and the observed data . In other words, the PPD is obtained by marginalizing the conditional distribution of over the posterior uncertainty on given . As a result, the PPD is generally broader than the likelihood based on a point estimate of (e.g., the best fit), since it incorporates both parameter uncertainty and the intrinsic scatter described by . While this integral is intractable in general, it can be estimated using a Monte-Carlo sampling method that we propose in the following sections.
To build intuition for what information the PPD captures, it is instructive to consider the analytically tractable case of a linear Gaussian model, where and . Assuming a Gaussian likelihood with covariance and a Gaussian prior , the posterior is also Gaussian. The posterior mean and covariance are given by
where the mean coincides with the posterior maximum (see, e.g., Raveri & Hu [65]). If we also assume that and are disjoint and uncorrelated, the PPD is then also Gaussian with mean and covariance given by
Here the two covariance terms capture the contributions from data noise and parameter uncertainty, respectively. This is in contrast to a goodness-of-fit test, which conditions on a point estimate of and therefore accounts only for data noise—a distinction that proves important when the posterior is broad, as the PPD will then be wider than the likelihood alone (a visual example is provided in § 2.4).
A PPD consistency test is typically based on a scalar-valued function , and in particular, on the comparison of its observed value to the distribution of from PPD samples . More generally, one may define a parameter-dependent summary where, at each posterior sample , is compared to the distribution of sampled at . The fraction of PPD samples with a summary function lower (or higher) than that computed on the data defines a PPD-based metric in the range : values too close to 0 indicate inconsistency while values too close to 1 indicate either over-estimated uncertainty or underestimated cross-correlations. As noted in the introduction, this is analogous to how we interpret too-low or too-high values for the minimum per degree of freedom in point-estimate goodness-of-fit tests.
If the likelihood is Gaussian, then a natural choice for is the difference between and . As we shall see, this parameter-dependent metric has drawbacks, especially when considering consistency tests of disjoint data sets, as explored in Doux et al. [27]. We instead propose to use the density of the PPD itself, , which will become tractable even in high-dimensions for the cosmological analyses we target, given few additional assumptions.
Approximating the PPD for Gaussian likelihoods
For analyses we typically assume a Gaussian likelihood with a parameter-independent covariance.1 This assumption allows us to introduce an efficient approximation for the PPD using a Gaussian mixture model.
For a set of posterior samples with weights such that , a Monte-Carlo estimate of the integral in Eq. (1) may be obtained by writing the PPD as a mixture of conditional likelihood distributions evaluated at the posterior samples, such that
We distinguish two cases:
Goodness-of-fit tests. If and refer to independent measurement realisations where represents either the same observables as or a subset of them, then reduces to the likelihood . If the likelihood is a multivariate Gaussian around a mean with parameter-independent covariance , then Eq. (6) can be written
This is a mixture of multivariate Gaussian distributions with matching covariances but different means, with one Gaussian for each posterior sample .
Disjoint internal consistency tests. If and refer to disjoint components of a set of correlated measurements, then it may be challenging to analytically express the conditional distribution in the general case. However, if the likelihood of the full measurement of both and is a multivariate Gaussian, then so are the conditional distributions. For disjoint data vector subsets and , we write
where represents the cross-covariance matrix between and . It can be shown that , the distribution of conditioned on and , is then also a multivariate Gaussian with mean and covariance given by
Given a measurement of and associated posterior samples with weights , we thus may approximate Eq. (6) as a mixture of multivariate Gaussian distributions
Again, this corresponds to a mixture of multivariate Gaussians with varying means. Note that if the covariance is assumed to be independent of model parameters, the covariance matrix for the conditional distribution is also independent of model parameters.
In both above cases, the posterior predictive distribution is approximated by a mixture of multivariate Gaussians. We can then sample from that approximate distribution and compute the probability density function for a given data realization (observed or simulated). This enables us to define and efficiently compute a new, density-based PPD metric, which will be described in the following section.
PPD consistency metric
In practice, to use the PPD as a tool for validating analyses, we must compress this probability distribution defined over high-dimensional data space into an interpretable summary statistic. To this aim, we define a consistency metric, , given by the probability that a data realization drawn from the PPD has lower probability than the observed data. In other words, this quantity is the fraction of the posterior predictive distribution at lower density than the isocontour corresponding to the probability of the observed data realization . This is formally given by
A low value of indicates that the observed data falls in a low-density region of the PPD relative to typical PPD samples, signaling inconsistency of the data with the model used to describe them. This is similar to the metric defined to quantify tensions in parameter space for difference distributions in Raveri & Doux [63], and corresponds to using the density of the PPD as summary function, i.e. .
Equation (12) may be evaluated numerically to arbitrary precision by rejection sampling. To do so, we generate samples from the approximate Gaussian mixture and compute the corresponding probability density for each. By comparing these to the density evaluated at the observed data vector , we can find the fraction of samples with lower probability, which serves as an unbiased estimator of . Note that for goodness-of-fit tests, the PPD is a distribution over hypothetical future data, but the test assesses the position of the actual observed data within this distribution. Here, the posterior estimate and PPD metric are both evaluated for the same realization, so with . In contrast, for disjoint tests, the PPD is conditioned on one observed dataset, , and assesses the position of a separate observed dataset, .
The reliability of this estimator depends on the fidelity of the PPD approximation, which is tied to the accuracy of the posterior estimate. Given a posterior sample, the stability of the mixture model can be tested by bootstrapping posterior samples and recomputing the PPD and the metric. This procedure yields stable results across all tests presented here. This robustness is expected, since the data covariance governs the effective width of both the likelihood and the posterior, ensuring that representative posterior samples map faithfully into data space through the PPD.
The metric has the desirable characteristic that for consistency tests over disjoint data subsets and , if is weakly informative about (in the sense that depends on model parameters that are poorly constrained by ), the test should generally favor consistency. This is because we expect that for weak constraints, the PPD will be a broad distribution dominated by parameter uncertainty rather than data noise, and thus likely to have high probability density at , resulting in values of that indicate consistency. Note that this expectation may not hold in certain scenarios where has greater sensitivity to parameters that are weakly constrained by , as projection effects can shift the PPD away from and bias towards inconsistency, as will be discussed in § 3 and § 4.
It is also important to note that is not guaranteed to be uniformly distributed over under the null hypothesis of model-data consistency, and therefore does not constitute a -value in a formal sense. In Appendix § 9, we demonstrate this explicitly using the toy model presented in the next section. Deriving a formal -value from would require characterizing its sampling distribution under data replication, which is not uniquely defined in a Bayesian setting. This was nevertheless done for the calibrated DES Y3 PPD metric by repeatedly generating mock data at best fit and computing the PPD metric over those realizations (Doux et al. [27]), as discussed in § 3.1 below.2 In this work, we do not perform such a calibration for . Instead, in § 3 and § 4 we demonstrate on both real and simulated data that itself generally serves as a reliable diagnostic indicator of internal consistency—while also identifying certain regimes where its interpretation requires care.
Toy model
To build intuition for the statistic, we illustrate our PPD framework with a concrete numerical example using a simple toy model. Consider a data vector denoted by
, corresponding to samples of a parameterized curve evaluated at fixed times, with , and let . Let us assume the theoretical prediction is
with parameters . The likelihood then takes the Gaussian form , where is a fixed covariance matrix with mild correlations between adjacent points. For illustration we choose input values , , and . The priors are uniform for and with ranges and , respectively, while follows a unit Gaussian prior.
As illustrated in Figure 1, we first evaluate the model at the input parameters (blue line) and draw a realization from the likelihood (red points with error bars), shown in the left panel. We then estimate the posterior distributions of , , and from this realization (middle panel) and use the resulting posterior samples to generate the PPD. The PPD is shown in orange in the left panel, with the line denoting the PPD mean and the shaded region showing its standard deviation. Finally, we sample from the PPD to compute a histogram of probability-density values and compare them with the observed data (right panel). The quantity indicates the fraction of PPD samples with probability density below that of the observed data. In this demonstration we find , indicating internal consistency.
Figure 1. Illustration of the toy model PPD computation for a goodness-of-fit test, where and denote independent realizations of the same observables. Left: model at input parameters (blue), an observed realization sampled from the likelihood (red), and the PPD band showing its mean (orange). Middle: posterior distributions of , , and for this realization, with input parameters indicated by dashed lines. Right: histogram of log-density values for PPD samples (smoothed with a kernel density estimate) compared to the PPD log-density for the observed data (evaluated for ), with corresponding to the shaded area.
Implementation
The computation of can be practically separated into two stages. The first step is to calculate model predictions for the observables being tested at each posterior sample ( in Eq. (7) and Eq. (11)). This step relies on the same calculations, and thus the same modeling software, used for parameter estimation. In principle, this can be done without additional computation if the predictions are saved as derived parameters when running initial posterior estimation chains. Otherwise, one must parse an existing posterior estimation chain, then compute and save model predictions for each sample. In practice for DES Y6 we do this using the CosmoSIS importance sampler (Zuntz et al. [79]), which allows us to easily run our modeling pipeline for each sample in an initial chain, saving the theoretical prediction for the full pt data vector3 using the software’s extra_output setting.4 The distribution of these model predictions gives the posterior for the associated observables which we must convolve with a distribution accounting for data noise to obtain the PPD.
The second stage of our calculation accounts for this by generating a Gaussian mixture PPD from those model predictions. This step is independent of the modeling pipeline (e.g., of CosmoSIS). We employ the TensorFlow Probability framework (Dillon et al. [26]) to efficiently compute the approximate (log) density of the PPD from Eqs. (7) and (11). Its implementation of mixture distributions leverages GPU vectorization and memory-efficient operations, allowing fast evaluation once posterior samples and corresponding means are available. With our implementation, computing for a given posterior typically takes only a few minutes.
The code for this implementation is publicly available at https://github.com/des-science/y6-ppd-public/.
Application to DES Y3 data
PPD tests were used in DES Y3 as part of the pre-unblinding validation of the joint analyses of galaxy clustering, galaxy–galaxy lensing (GGL), and cosmic shear presented in Amon et al. [4]; DES Collaboration [21]; Giannini et al. [35]; Elvin-Poole, MacCrann et al. [29]. These tests evaluated goodness-of-fit for the (shear), (clustering plus GGL), and (all three) combinations, as well as internal consistency tests in which one two-point function is conditioned on the other two, all under a CDM model. As an initial validation of , we repeat these tests and compare our results to the published calibrated values.
Before presenting the comparison, we emphasize one subtlety that affects consistency tests between disjoint sets of observables in particular. These tests are sensitive to how informative the conditioning data are about the probe being tested, as mentioned in § 2.3. As an example relevant to the studies presented below, both GGL and galaxy-clustering measurements are sensitive to galaxy bias parameters, but for GGL that dependence is approximately linear, while for galaxy clustering it is approximately quadratic.5 That stronger sensitivity to galaxy bias means that the PPD of galaxy clustering given GGL plus shear will yield a broad distribution, resulting in a statistically weak test of internal consistency. This outcome is driven by the limited information that GGL provides on clustering biases. In the following sections, we review how this effect impacted the DES Y3 metric and imposed a calibration step, and demonstrate how our proposed metric, , provides interpretable outputs without calibration.
Calibration challenges of the DES Y3 PPD method
To provide context for comparison with our new PPD framework, here we briefly outline the DES Y3 PPD methodology and the calibration challenges it presented, which are described in detail in Doux et al. [27]. At each posterior sample , a theory prediction is computed and two values are evaluated: one quantifying the difference between and the observed data , and one comparing and a simulated data realization drawn from the PPD (in practice, drawn from the Gaussian likelihood for the observables evaluated at ).
For each posterior sample, we can evaluate whether the theory-vs-PPD-draw is larger than the theory-vs-data . The consistency metric for DES Y3 was defined as the fraction of posterior samples where that condition holds: where there is better agreement between the data and model prediction than between the model and random PPD draws.6 While intuitive, this approach has a key limitation, in that it is systematically biased towards inconsistency for tests where the width of the PPD is dominated by parameter uncertainty rather than by the data covariance, because in that case the theory-vs-data is then systematically larger than the theory-vs-PPD . Obtaining interpretable -values therefore requires calibration.
For DES Y3 analyses, calibration was achieved by first evaluating this -based PPD metric for many noise realizations for simulated data, drawn around the best-fit model prediction. This step samples the expected distribution of the uncalibrated metric assuming the best-fit parameters. We can then compare that distribution to the PPD metric evaluated for the observed data. The fraction of simulated data analyses for which the -based PPD metric is lower than for real data can then be interpreted as a calibrated -value. Difficulties with this approach arose because running a full posterior analysis for each simulated realization was computationally prohibitive. In practice this calibration step was based on approximate posteriors for the simulated data obtained by importance sampling the observed data’s posterior. That importance sampling step was numerically challenging and required careful fine-tuning to yield stable results. Although the published calibrated DES Y3 -values were verified to be accurate, these difficulties directly motivated the development of the new PPD methodology presented in this paper. Because our new Gaussian-mixture model approximation for the PPD and the associated metric generally yield interpretable metrics without calibration, this lessens the need for the numerically unstable importance sampling step.
Results
Like the DES Y3 approach, our new PPD method enables intuitive visual comparisons between the PPD and measured data. Figure 2 shows an example for DES Y3 lensing ( and shown together). In that Figure, the red points indicate real data and the orange band shows the PPD mean one standard deviation, computed using a Gaussian mixture PPD conditioned on that same cosmic shear data. Samples drawn from the PPD (not shown) reproduce the expected mean and variance, confirming consistency of the construction.
Figure 2. Visual representation of the goodness-of-fit test for DES Y3 cosmic shear data ( and are stacked) with standard scale cuts. Real data points are shown in red, while the PPD is represented by the orange band (analytic computation) representing the mean of the distribution, plus or minus one standard deviation. Grey dashed lines separate the measurements from different tomographic bin pairs, which are indicated at the bottom.
Table 1 compares our new metric to the published DES Y3 calibrated PPD -values for three variations of DES Y3 joint analyses of lensing and clustering data. These analyses utilize different lens samples: redMaGiC (2.6 million galaxies in five tomographic bins) and MagLim (11 million galaxies in six bins, with the two farthest bins excluded in the final analysis). Despite anticipated differences in numerical values, (since we do not calibrate ) the two metrics show remarkably consistent trends across all tests, demonstrating that our approach recovers known tensions while avoiding the numerical fragility of the Y3-method.
| Test | Quoted PPD -value | (this work) |
| redMaGiC (5 bins) | ||
| goodness-of-fit | 0.005 | 0.002 |
| goodness-of-fit | 0.038 | 0.004 |
| goodness-of-fit | 0.255 | 0.32 |
| Shear vs GGL+clustering | 0.019 | 0.029 |
| GGL vs shear+clustering | 0.016 | |
| Clustering vs shear+GGL | 0.008 | |
| MagLim (6 bins) | ||
| goodness-of-fit | N/A | |
| goodness-of-fit | ||
| goodness-of-fit | 0.268 | 0.31 |
| Shear vs GGL+clustering | N/A | 0.36 |
| GGL vs shear+clustering | N/A | |
| Clustering vs shear+GGL | N/A | |
| MagLim (4 bins) | ||
| goodness-of-fit | 0.023 | 0.020 |
| goodness-of-fit | 0.019 | 0.021 |
| goodness-of-fit | 0.218 | 0.31 |
| Shear vs GGL+clustering | 0.297 | 0.37 |
| GGL vs shear+clustering | 0.004 | 0.002 |
| Clustering vs shear+GGL | 0.526 | 0.32 |
Table 1. Comparison of PPD tests on DES Y3 data. The first column indicates the specific test, while the second and third columns show results using the calibrated DES Y3 metric and the new metric proposed in this work, , respectively. Results are given for the two DES Y3 lens samples, redMaGiC and MagLim (using either all six bins or with the two farthest bins removed). We evaluate goodness-of-fit for the case (shear), case (clustering plus galaxy–galaxy lensing, GGL), and case (all three), as well as internal consistency tests where one two-point function is conditioned on the other two. When no PPD samples have a probability lower than the data, an upper bound () is reported.
We consider in particular how these metrics respond to a property of the DES Y3 redMaGiC galaxy sample captured by a systematics parameter, , applied as a multiplicative factor to the GGL signal. Effectively, it causes the GGL measurements to be modeled with different galaxy bias parameters than the galaxy clustering signal. While this kind of scaling is expected at small (halo-sized) scales due to the stochastic decorrelation between galaxy and matter distributions, finding at large scales is likely a sign of systematic measurement errors. While the redMaGiC sample passed the DES Y3 unblinding requirements (PPD tests gave for shear and pt goodness of fit, as well as the disjoint test of shear vs pt), in the course of unblinding pt measurements were found to favor lower values than shear alone or pt, and additional post-unblinding PPD tests revealed low -values. Investigation revealed that the property driving this behavior was described by a stochasticity parameter with marginalized constraints of , indicating a suppression of the galaxy–galaxy lensing amplitude relative to the fiducial model, measured at the level. This suppression was traced to a color-dependent photometric issue in the redMaGiC galaxy sample, which was subsequently addressed by modifying the selection criteria [61]. The fact that our new metric and the calibrated Y3 -value metric report a similarly low pt goodness-of-fit, and a comparably good pt fit suggests it is responding to the same -like decorrelation. We also see that gives an order-of-magnitude lower number for pt goodness-of-fit, and substantially lower values for the disjoint tests singling out either GGL or clustering. This is not necessarily a concern because these two metrics and are not expected to be identical. Rather, here we are concerned with whether low values would raise alerts to the same inconsistencies where there were low values for the Y3 metric.
For the MagLim sample, the DES Y3 analysis initially used all six bins but ultimately adopted a more conservative approach by excluding the two highest-redshift bins to mitigate potential systematics and improve robustness. The MagLim analysis also found evidence for a decorrelation similar to that seen for redMaGiC, but the use of fewer redshift bins and the optimized sample selection helped to reduce the impact of systematics, leading to more stable cosmological constraints ([62]). As before, we see that where the Y3 reported low consistency, so does our new metric. Note that cases marked with ‘N/A’ are PPD tests that were not reported in DES Y3 publications.
Application to DES Y6 unblinding
The lessons from DES Y3 directly inform the DES Y6 unblinding protocol, where, among other tests, PPD tests are adopted as a fast and interpretable tool for assessing internal consistency across data subsets, as detailed in Section IV and Appendix § 9 of DES Collaboration [24]. In the DES Y6 analysis, we use PPD to evaluate goodness-of-fit for the pt, pt, and pt combinations, as well as internal consistency tests in which one two-point function is conditioned on the other two. In the absence of formal calibration, we adopt a pragmatic interpretation of the PPD metric: values above 0.01 are considered consistent, values below that trigger further investigation and are assessed in the context of other diagnostics such as nuisance parameter posteriors and standard goodness-of-fit.
Here we present a brief overview of the DES Y6 analysis in order to contextualize the simulated PPD tests presented below. Measurements are made from the DES Y6 Gold catalog ([8]) built from the final DES Data Release 2 ([25]). We consider an updated MagLim lens sample split into six tomographic bins ([75]) using a combination of weights and masking to protect against observational systematics ([67]), and a source sample split into four bins ([76]), with point-spread function modeling done using the PIFF software ([70]). Cosmic shear, GGL, and the pt combination of GGL and galaxy clustering are described in DES Collaboration [22], Giannini et al. [36], and DES Collaboration [23], respectively. The DES Y6 modeling framework builds upon Y3 with several important refinements which provide greater physical realism ([46, 69] (To et al. 2025)). Nonlinear matter clustering is described with HMCode2020 ([55]), validated against the Euclid Emulator v2 ([30] (Euclid Collaboration 2021)), and baryonic effects are modeled via the parameter fixed to a fiducial value of 7.7. Galaxy bias is treated using both a linear prescription and a nonlinear description based on Eulerian perturbation theory, implemented with Fast-PT ([54, 32]) and validated against the Aemulus-HET simulations ([78]). In the nonlinear bias model, each of the six lens galaxy bins has two galaxy bias parameters, and , corresponding to linear and quadratic bias terms in the expansion. In the linear bias model there is one galaxy bias parameter for each lens redshift bin. Additionally, the contribution of magnification to observed galaxy clustering is accounted for with one coefficient per lens bin ([48]), with priors based on synthetic source injections ([5]). Intrinsic alignments are modeled using the TATT parameterization ([11]) in a simplified four-parameter framework. Uncertainties over redshift distributions are marginalized over using mode-projection ([9]), with priors set based on self-organizing map methods and cross-correlations with spectroscopic clustering measurements ((Yin et al. 2025; Giannini et al. 2026b; d’Assignies et al. 2026)). One multiplicative shear bias per source bin accounts for shear calibration uncertainties ([76]), with priors set by image simulation studies ([53]). Scale cuts are validated iteratively to mitigate contamination from baryons, nonlinear clustering, and galaxy bias modeling approximations ([69]).
Simulated Y6 analysis
To validate our PPD methodology for DES Y6, we apply it to simulated analyses. Unlike most simulated analyses used to validate the DES Y6 modeling pipeline, tests of the PPD metric cannot rely on noiseless synthetic data, since by definition the PPD quantifies the statistical consistency between noisy realizations of the data and the model. We therefore generate ten Gaussian noise realizations drawn from the analytic data covariance of ([69]) and add them to two model predictions evaluated at the fiducial cosmology: one unperturbed, and one with an injected internal inconsistency corresponding to a GGL-vs-clustering decorrelation of . Based on the marginalized constraints from a simulated analysis with free , we find that value produces an effective deviation in parameter space relative to CDM ().
To make the analysis of ten noisy realizations computationally feasible, we employ a fast, approximate version of the DES Y6 pt pipeline. This version replaces the full nonlinear matter power spectrum with the Eisenstein & Hu linear approximation ([28]). Also, because this fast pipeline was developed prior to the finalization of the fiducial Y6 nuisance parameter priors and scale cuts, it uses the simpler shift–stretch parameterization of photometric redshift uncertainties (as in Y3) and slightly different angular scale cuts than the final configuration. We consider versions of this analysis with both linear and nonlinear galaxy bias, employing different scale cuts to account for the fact that nonlinear bias modeling is accurate to smaller angular scales. The simulated analyses use normalized redshift distributions based on DES Y3 samples, but the covariance matrix is updated to reflect the larger area and reduced shape noise of Y6. Magnification bias is fixed for each lens bin, rather than varied with a Gaussian prior as in the final Y6 setup, and the covariance does not yet include the large-scale structure weights correction applied in the final analysis. Overall, our simulated DES Y6 pt data vector with linear (nonlinear) bias consists of a total of 653 (669) data points, which are modeled in flat CDM with 6 cosmological parameters including neutrino mass, 6 (12) galaxy bias parameters, and 24 other nuisance parameters describing intrinsic alignments, shear calibration, and photo- uncertainties. Many of the nuisance parameters have Gaussian priors informed by calibration and sample characterization studies. Because this fast pipeline approximately preserves the parameter space dimensionality and modeling degrees of freedom of the full Y6 pipeline, we expect these PPD to be broadly representative of performance for the real data analysis. However, as we will discuss in § 5, the fact that differences between these pipelines may influence the detailed behavior of the PPD metric was a consideration when designing the DES Y6 unblinding protocol.
We use this pipeline to rehearse the PPD-relevant component of the DES Y6 unblinding protocol across three model variants: (i) a nonlinear bias model, (ii) a linear bias model, and (iii) a linear bias model with fixed nuisance parameters. For each variant, we compute PPD metrics for both the fiducial data vector and the one with injected tension,7 sampling posteriors across all ten noise realizations to evaluate .
Results
The results of our simulated DES Y6 analyses are summarized in Figure 3. In that figure, the three columns correspond to different modeling choices, with the most complex nonlinear galaxy bias model on the left, linear bias in the middle, and a version of the linear bias model with fixed nuisance parameters on the right. Each row shows a different PPD test configuration, with sub-panels showing how the inferred changes when evaluated for simulated data with and without an injected inconsistency. Each set of colored markers corresponds to one of the ten noise realizations studied.
Figure 3. PPD tests for DES Y6 simulated data under different model variations. Each column corresponds to a different modeling choice: nonlinear galaxy bias (left), linear bias (middle), and linear bias with fixed nuisance parameters (right). Each row corresponds to a different test, with goodness-of-fit tests shown in the top five rows and consistency tests between disjoint data subsets in the bottom three rows. Individual panels display computed from multiple noise realizations (one color per realization), comparing the fiducial data vector (top of each panel) to a modified data vector with (bottom). We see that fixing nuisance parameters in the linear bias model (right column) yields the strongest shifts in towards inconsistency in the goodness-of-fit test (top row) and disjoint consistency tests (bottom three rows). This sensitivity decreases as the model becomes more flexible, with the nonlinear bias model (left column) yielding much smaller shifts, which we interpret as being partially absorbed by the additional bias and nuisance parameters.
We quantify the shift in , defined as the difference between the mean values for the fiducial and data vectors, normalized by their standard deviations over the ten noise realizations added in quadrature:
The sign convention is such that negative values indicate reduced PPD consistency for the contaminated () data vector relative to the fiducial case. The resulting shifts for all goodness-of-fit and consistency tests, and for each modeling choice considered, are reported in Table 2.
| Test | Nonlinear bias | Linear bias | Linear bias + fixed nuis. |
| goodness-of-fit | -0.2 | -0.1 | -1.7 |
| goodness-of-fit | 0.0 | 0.0 | -0.0 |
| goodness-of-fit | 0.0 | 0.0 | 0.0 |
| Shear+GGL goodness-of-fit | 0.0 | 0.0 | 0.0 |
| Shear+clustering GoF | 0.0 | 0.0 | 0.0 |
| Shear vs clustering+GGL | -1.2 | -1.2 | -1.4 |
| GGL vs shear+clustering | -1.3 | -1.8 | -2.5 |
| Clustering vs shear+GGL | -0.5 | -1.6 | -1.6 |
Table 2. Quantitative summary of the shifts shown in Figure 3. The table reports the shifts in , as defined in Eq. (14), for the DES Y6 simulated data tests under the three model variations considered: nonlinear bias, linear bias, and linear bias with fixed nuisance parameters. Each entry corresponds to the change in induced by setting , for goodness-of-fit tests (top five rows) and consistency tests between disjoint data subsets (bottom three rows). As seen in Figure 3, the largest shifts appear in cross-probe consistency tests and are enhanced when nuisance parameters are fixed.
To aid in the interpretation of these results, it is helpful to consider how the observed two-point functions respond to different parameter combinations. If labels generic galaxy bias parameters, shear signals scale like and are independent of galaxy bias, GGL signals scale like the product , and galaxy clustering scales like . Given these dependencies, we neither expect nor observe goodness-of-fit PPD tests for any pair of these correlation functions to be sensitive to an injected inconsistency. In contrast, we do expect to impact goodness-of-fit tests for the full pt measurement and to impact disjoint tests of one probe conditioned on the other two. Our findings are aligned with
this expectation: the injected inconsistency tends to lower for data combinations that are able to break degeneracies between , , and galaxy bias. While most values decrease with the injected inconsistency, a few instances show an increase; this behavior can arise from statistical fluctuations in the data noise, finite posterior sampling, or the way nuisance parameters interact with their prior boundaries, although we do not attribute these cases to a single specific effect.
However, while generally performs as expected, these tests also reveal two counterintuitive behaviors that inform the metric’s practical application. First, we note that the goodness-of-fit tests are less sensitive to contamination than one might expect given the parameter shift of the injected . Second, we find that for the nonlinear galaxy bias model, the disjoint PPD test of galaxy clustering conditioned on GGL plus shear reports inconsistency even for internally consistent data (see the plot in the bottom-left of Figure 3). We trace these behaviors to different manifestations of the model’s flexibility, as described below.
Nuisance parameters can absorb data contamination.
The goodness-of-fit tests show surprisingly weak responses to the injected tension, with shifts of approximately for the nonlinear bias model and for the linear model. We cross check this PPD test with the best-fit , roughly estimated from posterior samples,8 finding the presence of the contamination increases the minimum by only (mean and standard deviation over the ten realizations) for the contaminated versus fiducial data vector. Given the size of the data vector (corresponding to hundreds of degrees of freedom), this is a modest response to a nominally injected inconsistency. Inspection of the nuisance parameter posteriors reveals why: several lens photo- width parameters shift below their Gaussian priors, particularly at low redshift, allowing the model to partially compensate for the mismatch by boosting the clustering signal relative to GGL. The model thus absorbs the injected inconsistency through its nuisance degrees of freedom rather than expressing it in . This is confirmed by the fixed-nuisance tests shown in the third column of Figure 3 and Table 2, in which the goodness-of-fit shifts by .
The fact that inconsistencies are being absorbed by nuisance parameters does not mean that we are insensitive to them, just that they cannot be detected with a PPD-based metric. Nuisance parameter priors are informed by other aspects of measurements (e.g. photo- calibration), so if a nuisance parameter posterior is offset relative to its prior, this indicates the presence of some effect that is not well described by the model or assumptions about the data. These results underscore the importance of examining nuisance parameter posteriors alongside PPD metrics during unblinding.
Beyond the muted sensitivity due to nuisance parameters, this behavior also highlights an intrinsic property of goodness-of-fit tests in high-dimensional data spaces. A injected inconsistency means that a model comparison adding as a free parameter would show a preference over the fixed- model, corresponding to at the best fit. In contrast, goodness-of-fit tests assess relative to the number of degrees of freedom, and the probability-to-exceed becomes increasingly insensitive to moderate changes as the number of data points grows ([65]). For our simulated DES Y6 analyses with degrees of freedom, the standard deviation of is , so corresponds to only a shift in the goodness-of-fit. In other words, goodness-of-fit tests are less sensitive to a given feature than model comparison tests, which measure how significantly that feature is captured by a single additional parameter.
We expect this to be a general property of goodness-of-fit tests, including those based on PPDs. A benefit of this property is that even if PPD-based tests are conducted for a CDM cosmological model, they are unlikely to report inconsistency simply due to the data preferring an alternative cosmological model, such as dynamical dark energy. In other words: using PPD tests as part of unblinding checks can alert us to significant issues with the analysis pipeline, it presents very little risk of artificially guiding the analysis towards CDM results.
Projection effects can skew PPDs.
A distinct phenomenon appears in internal consistency tests that condition clustering on shear and GGL, particularly for the nonlinear bias model: takes anomalously low values even for fiducial, internally consistent data. We posit that the origin of this behavior lies in projection effects related to parameter degeneracies.
Projection effects (sometimes called prior-volume effects) occur in Bayesian analyses when unconstrained directions in higher-dimensional parameter space cause marginalized (projected) posteriors to be offset from best-fit parameter values. As large-scale structure analyses have grown in complexity, projection effects have become increasingly prevalent in recent years, motivating careful characterization using simulated analyses ([69, 2], complementary frequentist methods (e.g. [41, 64 Herold]. & Karwal 2025; Chintalapati et al. 2022, 2024), as well as approaches using simulation-based priors [17].
How is this related to the observed PPD behavior? Since the PPD is the posterior convolved with the likelihood, it inherits any projection effects impacting the marginalized posteriors, thus breaking the intuition that unconstrained parameters should produce broad PPDs and favor consistency, as discussed in § 2.3. In most cases this is not a concern, because projection effects tend to have less impact on parameters more directly related to observables—which is what motivates, for example, sampling products of galaxy bias and rather than galaxy bias alone Adame et al. [3]. This intuition does not hold, however, for PPD tests between disjoint observables sensitive to different degenerate parameter combinations.
Though combining GGL with shear allows us to break degeneracies between galaxy bias and , for the nonlinear bias model this data combination is only able to constrain degenerate combinations of galaxy bias parameters, leaving individual bias parameters poorly determined, particularly at high redshift. Combined effects from noise, degeneracies with nuisance parameters, and prior boundaries can then produce offsets in marginalized posteriors. Since clustering is sensitive to the square of bias parameters, these offsets are enhanced when translating to predictions for the galaxy-galaxy angular two-point correlation function , shifting the PPD away from the true data realization and producing low even for consistent data (which we observe in the left bottom plot of Figure 3). The disjoint PPD test of GGL conditioned on shear plus clustering is less sensitive to this behavior because of galaxy clustering’s stronger sensitivity to the bias parameters. We would expect that a linear bias model would be less sensitive to this behavior, though the versus sensitivity of GGL and clustering respectively could still potentially skew the disjoint PPD if the GGL-plus-shear bias posteriors are impacted by degeneracies with other nuisance parameters.
To support this intuition, Figure 4 shows the galaxy-clustering PPDs for a subset of data vector realizations (upper panels) alongside marginal distributions of the linear () and nonlinear () bias parameters for each lens bin (lower panels). We find that for certain realizations and bins, the posteriors appear somewhat discrepant with the input bias parameter values, with found consistently high (though still within ), whereas is skewed towards the prior limits. This propagates into offsets of the predicted clustering signal in the upper panels, especially at small scales where contributes significantly (towards the left between vertical lines separating tomographic bins). This particularly affects high redshift bins (right end of each panel), where lower signal-to-noise translates to weaker constraints on the galaxy bias parameters. Switching to a simpler linear bias model tends to mitigate this effect: posteriors recover the input values and the PPD bands better capture the behavior of the input model at all scales. This figure also illustrates the fact that projection effects can only shift the PPD away from the true data realization when parameter uncertainty dominates the data covariance (in the sense of Eq. (5)), because it is only then that offsets in marginalized posteriors translate into visible shifts in the PPD rather than being washed out by data noise. In Figure 4, the PPD is substantially wider than the likelihood at the input model, especially at small scales and high redshifts, confirming that parameter uncertainty dominates the PPD width.
Figure 4. Illustration of projection effects in simulated DES Y6 internal consistency tests with the nonlinear bias model. Five randomly selected realizations (out of the 10 used in Figure 3) of the full pt data vector are shown, each in a different color. Top: clustering measurements (colored points) compared to the PPD band predicted from shear and galaxy-galaxy lensing, both shifted by the fiducial input model and normalized by their standard deviations; vertical grey lines mark the boundaries of the tomographic lens bins. Bottom: marginalized posteriors of the linear and nonlinear bias parameters, respectively, inferred from shear and galaxy-galaxy lensing in each lens bin, with grey lines indicating the input values. The vertical extent corresponds to the uniform prior ranges, for and for .
These observations suggest a simple mitigation strategy. When a flexible model is used, PPD tests should be validated with a few realizations of simulated analyses to check for projection effects that might drive towards anomalously low values—falsely indicating inconsistency—even for perfectly compatible data. Unblinding criteria can then be adjusted to discount PPD test configurations subject to these effects. This is precisely how PPD tests were deployed in the DES Y6 analysis. Of course, one could perform a large ensemble of simulated analyses to calibrate the size of projection effects, thus translating to a formal -value. However, as a practical consideration, running simulated analyses for just a few noise realizations and adjusting validation criteria accordingly is much more feasible within the workflow of a cosmological analysis.
Summary and discussion
In this paper we introduced a fast and interpretable posterior-predictive metric, , for conducting internal consistency tests of correlated cosmological probes. Defined as the fraction of the posterior predictive distribution (PPD)—approximated as a Gaussian mixture built from posterior samples—at lower probability density than the observed data, it compresses the high-dimensional PPD into an interpretable scalar that can be computed in minutes from existing posterior chains. We emphasize that is a diagnostic indicator rather than a calibrated -value. This reflects the hybrid nature of PPD tests, which pose a frequentist consistency question using Bayesian machinery: the data-sampling scheme defining the null hypothesis is not unique, and as demonstrated in Appendix § 9, is not uniformly distributed under the schemes we consider. Obtaining a formal -value would therefore require choosing a scheme and calibrating against a large ensemble of simulated analyses dedicated solely to characterizing its sampling distribution. Given the significant associated computational cost, for practical applications we instead recommend running a few simulated realizations sufficient to validate PPD behavior, which are in any case useful for broader pipeline and model validation.
Applied to DES Y3 data, the uncalibrated metric reproduces the qualitative trends of the calibrated PPD -values reported in DES Y3 analyses (Table 1), identifying the same tensions between probes while avoiding the numerical fragility and computational overhead of DES-Y3-like importance-sampling calibration. We also demonstrate that this PPD method yields intuitive data-space visual checks (Figure 2).
For the simulated DES Y6 analyses, we carried out PPD consistency tests on ten noisy realizations of synthetic data, using both internally consistent realizations and realizations with an injected decorrelation between GGL and clustering (). We considered three modeling variants: a nonlinear galaxy bias model, a linear bias model, and a linear bias model with fixed nuisance parameters. These tests, reported in Figure 3, allowed us to identify regimes where performs as expected, as well as two apparent failure modes that underscore the need to combine PPD tests with other unblinding diagnostics. In some cases, remains high despite an injected inconsistency, highlighting that model flexibility can absorb genuine tensions—as we see when lensing-to- width parameter estimates drift away from their Gaussian priors to compensate for the injected decorrelation. In such cases, pre-unblinding checks of nuisance parameter posteriors serve as important complements to PPD tests. Conversely, low values for consistent simulated data flag potential projection effects due to unconstrained directions in parameter space—as we saw for disjoint tests conditioned on GGL-plus-shear, where poorly constrained bias parameters distort the predicted clustering PPD. This highlights the fact that applications to simulated analyses should guide how PPD tests are used as pre-unblinding checks in a real analysis. In some cases, the study of how projection effects impact the PPD metric may aid in identifying aspects of the modeling that warrant refinement, such as reducing model complexity or tightening prior choices.
These findings directly informed the DES Y6 unblinding protocol, in which PPD tests of real DES Y6 data were used to validate the analysis before cosmological results were revealed and are reported in [22 b,c]. The Y6 protocol used as a threshold for passing consistency tests, with lower values triggering further scrutiny of the analysis pipeline. Goodness-of-fit PPD tests were applied to shear, (GGL+clustering) and for several model variations, as were disjoint tests for shear conditioned on and GGL conditioned on shear-plus-clustering. Based on the projection effects seen in § 4 above, the disjoint test of clustering conditioned on GGL-plus-shear was not used9 and low found for nonlinear bias fits to GGL conditioned on shear plus clustering were not treated as a reason to halt the analysis. Notably, the goodness-of-fit PPD tests, supported by scrutiny of nuisance parameter posteriors, were instrumental in identifying a problem with the second lens redshift bin, which was ultimately removed from the fiducial analysis of DES Collaboration [24].
Looking ahead, the framework introduced here is well suited for application to forthcoming Stage-IV surveys such as LSST, Euclid, and Roman. Their increased statistical power will make fast, robust internal consistency tests essential, while their more complex models will require a clear understanding of of how these metrics couple to modeling choices. This represents a crucial task in the broader project of precision large-scale structure cosmology, but one that this work shows we can carry out effectively.
AUTHOR CONTRIBUTIONS
All authors contributed to this paper and/or carried out infrastructure work that made the analysis possible. C. Doux and E. Baxter developed the initial concept of the Gaussian mixture PPD approximation and the metric. C. Doux created a prototype code implementation used for proof-of-concept tests and carried out the toy model demonstrations of PPD properties. J. Muir led the implementation of the PPD method within the DES Y6 analysis framework, the simulated analyses supporting its validation, and its application within the real DES Y6 analysis, with support from A. Ferté and D. Sanchez Cid. M. Raveri and N. Weaverdyck contributed insight aiding the interpretation of the simulated DES Y6 test results. C. Doux and J. Muir contributed to the writing of the manuscript. T. Karwal and W. d’Assignies served as the internal review committee and provided valuable feedback on the writing and presentation of this paper. M. A. Troxel, C. Chang, M. Crocce, and M. R. Becker contributed to the development of this work as coordinators of the DES Year 6 analysis. The remaining authors have made contributions to this paper that include, but are not limited to the construction of DE-Cam and other aspects of collecting data: data processing and calibration; developing broadly used methods, codes, and simulations; running the pipeline and validation tests; and promoting the science analysis.
DATA AVAILABILITY
The DES Y6 data used in this analysis, including catalogues, data-vector measurements, likelihoods and chains, are publicly available at https://des.ncsa.illinois.edu/releases/y6a2.
The code implementing the PPD method presented in this work is publicly available at https://github.com/des-science/y6-ppd-public/.
ACKNOWLEDGEMENTS
Funding for the DES Projects has been provided by the U.S. Department of Energy, the U.S. National Science Foundation, the Ministry of Science and Education of Spain, the Science and Technology Facilities Council of the United Kingdom, the Higher Education Funding Council for England, the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign, the Kavli Institute of Cosmological Physics at the University of Chicago, the Center for Cosmology and Astro-Particle Physics at the Ohio State University, the Mitchell Institute for Fundamental Physics and Astronomy at Texas A&M University, Financiadora de Estudos e Projetos, Fundação Carlos Chagas Filho de Amparo à Pesquisa do Estado do Rio de Janeiro, Conselho Nacional de Desenvolvimento Científico e Tecnológico and the Ministério da Ciência, Tecnologia e Inovação, the Deutsche Forschungsgemeinschaft and the Collaborating Institutions in the Dark Energy Survey.
The Collaborating Institutions are Argonne National Laboratory, the University of California at Santa Cruz, the University of Cambridge, Centro de Investigaciones Energéticas, Medioambientales y Tecnológicas-Madrid, the University of Chicago, University College London, the DES-Brazil Consortium, the University of Edinburgh, the Eidgenössische Technische Hochschule (ETH) Zürich, Fermi National Accelerator Laboratory, the University of Illinois at Urbana-Champaign, the Institut de Ciéncies de l’Espai (IEEC/CSIC), the Institut de Fisica d’Altes Energies, Lawrence Berkeley National Laboratory, the Ludwig-Maximilians Universität München and the associated Excellence Cluster Universe, the University of Michigan, NSF NOIRLab, the University of Nottingham, The Ohio State University, the University of Pennsylvania, the University of Portsmouth, SLAC National Accelerator Laboratory, Stanford University, the University of Sussex, Texas A&M University, and the OzDES Membership Consortium.
Based in part on observations at NSF Cerro Tololo Inter-American Observatory at NSF NOIRLab (NOIRLab Prop. ID 2012B-0001; PI: J. Frieman), which is managed by the Association of Universities for Research in Astronomy (AURA) under a cooperative agreement with the National Science Foundation.
The DES data management system is supported by the National Science Foundation under Grant Numbers AST-1138766 and AST-1536171. Data access is enabled by Jetstream2 and OSN at Indiana University through allocation PHY240006: Dark Energy Survey from the Advanced Cyberinfrastructure Coordination Ecosystem: Services and Support (ACCESS) program, which is supported by U.S. National Science Foundation grants 2138259, 2138286, 2138307, 2137603, and 2138296. The DES participants from Spanish institutions are partially supported by MICINN under grants PID2021-123012, PID2021-128989, PID2022-141079, SEV-2016-0588, CEX2020-001058-M and CEX2020-001007-S, some of which include ERDF funds from the European Union. IFAE is partially funded by the CERCA program of the Generalitat de Catalunya.
We acknowledge support from the Brazilian Instituto Nacional de Ciência e Tecnologia (INCT) do e-Universo (CNPq grant 465376/2014-2).
This document was prepared by the DES Collaboration using the resources of the Fermi National Accelerator Laboratory (Fermilab), a U.S. Department of Energy, Office of Science, Office of High Energy Physics HEP User Facility. Fermilab is managed by Fermi Forward Discovery Group, LLC, acting under Contract No. 89243024CSC000002.
Some calculations were done using the University of Cincinnati’s Advanced Research Computing center as well as the Symmetry cluster at Perimeter Institute. Research at Perimeter Institute is supported in part by the Government of Canada through the Department of Innovation, Science and Economic Development and by the Province of Ontario through the Ministry of Colleges and Universities.
This work made use of the following software packages: NumPy [40], Matplotlib [44], SciPy [74], TensorFlow [1], TensorFlow Probability [26], Nautilus [47], and CosmoSIS [79].
Is PPD a p-value?
Assuming that the statistical description of and is accurate, i.e. that the likelihood correctly describes the random process that produced the data, then answering this question really amounts to deciding which distribution is drawn from. This ambiguity is a direct consequence of the hybrid nature of the test: asking whether the observed data are typical of the model is a frequentist question, which requires specifying a data-sampling scheme that Bayesian inference alone does not uniquely define.
Under the hypothesis that the observed is itself a realization drawn, a posteriori, from the posterior predictive distribution defined for , then is, by construction, uniformly distributed in the range over realizations of , i.e. it is a -value.
If, instead, we were to average over realizations of drawn by first sampling the prior on and then the likelihood simultaneously with , ahead of inferring the posterior , then would, in general, not be uniformly distributed. Both hypotheses seem reasonable in a Bayesian framework.
In a frequentist context, where and are assumed to be drawn simultaneously from the likelihood at the true (but unknown) value of the model parameters , then repeating the test over such data realizations would, in general, not yield a uniform distribution.
To verify this, we repeat PPD goodness-of-fit tests with the toy model used in § 2.3 one hundred times, either sampling data realizations from the likelihood at fixed input parameters , frequentist approach), or by first sampling the parameters from their priors , Bayesian approach). In both cases, we sample the parameter posterior distributions, generate the PPD and compute , as illustrated in Figure A1. Figure A2 shows the histogram of values, and we find, in both cases, that it does not follow a uniform distribution (although these distributions are themselves indistinguishable using a two-sample Kolmogorov-Smirnov test).
Figure A1. Toy model PPD tests under two frameworks. Left: frequentist approach, where all data realizations are generated from the same input parameters. Right: Bayesian approach, where each data realization is generated from parameters drawn from the prior. In both cases, the corner plot illustrates a subset of posterior distributions (parameters values indicated by grey lines on the left and “+” symbols on the right). The upper-right panels show the histograms of log-density values for PPD samples compared to the data realizations.
Figure A2. Histograms of values from 100 realizations, comparing the frequentist (blue) and Bayesian (orange) approaches. In both cases the distributions deviate from uniformity.
This paper was built using the Open Journal of Astrophysics \LaTeX template. The OJA is a journal which provides fast and easy peer review for new papers in the astro-ph section of the arXiv, making the reviewing process simpler for authors and referees alike. Learn more at http://astro.theoj.org.
References
- [1]Abadi, M. et al. 2016, in 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 16), 265
- [2]Adame, A. G., Aguilar, J., Ahlen, S., et al. 2025a, J. Cosmology Astropart. Phys., 2025, 008
- [3]Adame, A. G., Aguilar, J., Ahlen, S., et al. 2025b, J. Cosmology Astropart. Phys., 2025, 028
- [4]Amon, A. et al. 2022, Phys. Rev. D, 105, 023514
- [5]Anbajagane, D., Tabbutt, M., et al. 2025, The Open Journal of Astrophysics, 8, 65
- [6]Asgari, M., Lin, C.-A., Joachimi, B., et al. 2021, A&A, 645, A104
- [7]Baxter, E. J., Omori, Y., Chang, C., et al. 2019, Phys. Rev. D, 99, 023508
- [8]Bechtol, K. et al. 2026, ApJS, 282, 62
- [9]Bernstein, G. et al. 2026, The Astrophysical Journal, 1002, 95
- [10]Bevins, H. T. J., Handley, W. J., & Gessey-Jones, T. 2025, Phys. Rev. D, 112, 043520
- [11]Blazek, J. A., MacCrann, N., Troxel, M. A., & Fang, X. 2019, Phys. Rev. D, 100, 103506
- [12]Box, G. E. P. 1980, Journal of the Royal Statistical Society A, 143, 383
- [13]Chambert, T., Rotella, J. J., & Higgs, M. D. 2014, Ecology and Evolution, 4, 1389
- [14]Charnock, T., Battye, R. A., & Moss, A. 2017, Phys. Rev. D, 95, 123535
- [17]Chudaykin, A., Ivanov, M. M., & Philcox, O. H. E. 2025, arXiv e-prints, arXiv:2511.20757arxiv.org/abs/2511.20757
- [18]Conn, P. B., Johnson, D. S., Williams, P. J., Melin, S. R., & Hooten, M. B. 2018, Ecological Monographs, 88, 526
- [21]DES Collaboration. 2022, Phys. Rev. D, 105, 023520
- [22]DES Collaboration. 2026a, arXiv e-prints, arXiv:2602.10065
- [23]DES Collaboration. 2026b, in prep
- [24]DES Collaboration. 2026c, arXiv e-prints, arXiv:2601.14559
- [25]DES Collaboration. 2021, ApJS, 255, 20
- [26]Dillon, J. V., Langmore, I., Tran, D., et al. 2017, arXiv e-prints, arXiv:1711.10604arxiv.org/abs/1711.10604
- [27]Doux, C., Jain, B., Zeurcher, D., et al. 2022, MNRAS, 515, 1942
- [28]Eisenstein, D. J. & Hu, W. 1999, ApJ, 511, 5
- [29]Elvin-Poole, J., MacCrann, N., et al. 2023, MNRAS, 523, 3649
- [30]Euclid Collaboration. 2019, MNRAS, 484, 5509
- [32]Fang, X., Blazek, J. A., McEwen, J. E., & Hirata, C. M. 2017, J. Cosmology Astropart. Phys., 2017, 030
- [33]Friedrich, O. et al. 2021, MNRAS, 508, 3125
- [34]Gelman, A., Carlin, J. B., Stern, H. S., et al. 2014, Bayesian Data Analysis
- [35]Giannini, G. et al. 2024, MNRAS, 527, 2010
- [36]Giannini, G. et al. 2026a, Phys. Rev. D, 113, 103503
- [38]Hall, A. & Taylor, A. 2022, Phys. Rev. D, 105, 125327
- [39]Handley, W. & Lemos, P. 2021, Phys. Rev. D, 103, 063529
- [40]Harris, C. R. et al. 2020, Nature, 585, 357
- [41]Herold, L., Ferreira, E. G. M., & Heinrich, L. 2025, Phys. Rev. D, 111, 083504
- [42]Herold, L. & Karwal, T. 2025, arXiv e-prints, arXiv:2506.12004DOI
- [43]Heymans, C., Tröster, T., Asgari, M., et al. 2021, A&A, 646, A140
- [44]Hunter, J. D. 2007, Computing in Science & Engineering, 9, 90
- [45]Köhlinger, F., Joachimi, B., Asgari, M., et al. 2019, MNRAS, 484, 3126
- [46]Krause, E. et al. 2021, arXiv e-prints, arXiv:2105.13548arxiv.org/abs/2105.13548
- [47]Lange, J. U. 2024, in American Astronomical Society Meeting Abstracts, Vol. 244, American Astronomical Society Meeting Abstracts #244, 229.02
- [48]Legnani, E. et al. 2026, Phys. Rev. D, 113, 123520
- [49]Lemos, P., Köhlinger, F., Handley, W., et al. 2020, MNRAS, 496, 4647
- [50]Leonard, C. D., Alam, S., Mandelbaum, R., et al. 2026, Phys. Rev. D, 113, 043547
- [52]Lin, W. & Ishak, M. 2021, J. Cosmology Astropart. Phys., 2021, 009
- [53]Mau, S., Becker, M., et al. 2026, in prep
- [54]McEwen, J. E., Fang, X., Hirata, C. M., & Blazek, J. A. 2016, J. Cosmology Astropart. Phys., 2016, 015
- [55]Mead, A. J., Brieden, S., Tröster, T., & Heymans, C. 2021, MNRAS, 502, 1401
- [56]Miyatake, H., Sugiyama, S., Takada, M., et al. 2023, Phys. Rev. D, 108, 123517
- [57]Moran, G. E., Blei, D. M., & Ranganath, R. 2019, arXiv e-prints, arXiv:1908.00882DOI
- [58]Moran, G. E., Cunningham, J. P., & Blei, D. M. 2021, arXiv e-prints, arXiv:2112.03333DOI
- [59]Muir, J. et al. 2020, MNRAS, 494, 4454
- [60]Nicola, A., Amara, A., & Refregier, A. 2019, J. Cosmology Astropart. Phys., 2019, 011
- [61]Pandey, S. et al. 2022, Phys. Rev. D, 106, 043520
- [62]Porredon, A. et al. 2022, Phys. Rev. D, 106, 103530
- [63]Raveri, M. & Doux, C. 2021, Phys. Rev. D, 104, 043504
- [64]Raveri, M., Doux, C., & Pandey, S. 2024, arXiv e-prints, arXiv:2409.09101arxiv.org/abs/2409.09101
- [65]Raveri, M. & Hu, W. 2019, Phys. Rev. D, 99, 043506
- [66]Raveri, M., Zacharegkas, G., & Hu, W. 2020, Phys. Rev. D, 101, 103527
- [67]Rodríguez-Monroy, M., Weaverdyck, N., et al. 2025, arXiv e-prints, arXiv:2509.07943DOI
- [68]Rubin, D. B. 1984, Annals of Statistics, 12, 1151
- [69]Sanchez-Cid, D., Ferté, A., et al. 2026, arXiv e-prints, arXiv:2601.14859DOI
- [70]Schutt, T. et al. 2025, The Open Journal of Astrophysics, 8, 26
- [71]Stölzner, B., Wright, A. H., Asgari, M., et al. 2025, A&A, 702, A169
- [72]Sugiyama, S., Miyatake, H., More, S., et al. 2023, Phys. Rev. D, 108, 123521
- [74]Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nature Methods, 17, 261
- [75]Weaverdyck, N., Rodríguez-Monroy, M., et al. 2026, arXiv e-prints, arXiv:2601.14484arxiv.org/abs/2601.14484
- [76]Yamamoto, M., Becker, M. R., et al. 2025, MNRAS, 543, 4156
- [78]Zhai, Z., Tinker, J. L., Becker, M. R., et al. 2019, ApJ, 874, 95
- [79]Zuntz, J., Paterno, M., Jennings, E., et al. 2015, Astronomy and Computing, 12, 45





