Approximating Bayesian leave-one-group-out cross-validation
summary
The gist
Approximating Bayesian leave-one-group-out cross-validation provides estimators for predictive performance in hierarchical models by addressing two main challenges…
In short
The paper investigates leave-one-group-out cross-validation (LOGO-CV) for hierarchical models to estimate predictive performance using expected log predictive density (elpdlogo). It compares eleven estimation strategies, finding that Laplace approximation combined with PSIS offers the best trade-off between accuracy and computational cost across various model settings.
Key concepts
- LOGO-CV
- This method approximates Bayesian leave-one-group-out cross-validation to estimate predictive performance in hierarchical models. It measures performance using elpdlogo, which is the sum of the log predictive densities for each group when one group's data is held out.
- elpdlogo
- Expected log predictive density (elpdlogo) is a metric used to quantify how well a model predicts new data. It is calculated as the sum of the logarithm of the probability density for each observation, given its specific group parameters and the full data set minus that group.
- Laplace approximation combined with PSIS
- This combination was found to be the most practical default approach. Laplace approximation helps approximate complex posterior distributions, while Pareto-smoothed importance sampling (PSIS) improves the reliability of importance sampling estimates, providing a strong balance between accuracy and speed.
Terminology used across episodes
This episode discusses
- Approximating Bayesian leave-one-group-out cross-validation · Paper Radio
- Stochastic Convergence Rates and Applications of Adaptive Quadrature in Bayesian Inference
- Partial pooling predicts cross-validation reliability: a closed-form triage and Rao-Blackwellised cure for hierarchical LOO
- Bayesian Workflow
- Adaptive sequential Monte Carlo for structured cross validation in Bayesian hierarchical models
- Implementation and Workflows for INLA-Based Approximate Bayesian Structural Equation Modelling · Paper Radio
- Bridge Sampling Diagnostics
- Supporting Bayesian modelling workflows with iterative filtering for multiverse analysis
- Adaptive Path Sampling in Metastable Posterior Distributions
The paper
Approximating Bayesian leave-one-group-out cross-validation · Read on arXiv
Department of Computer Science, Aalto University · Department of Statistics, TU Dortmund University
When data are grouped, hierarchical or multilevel models are commonly used to account for group-level variation with group-specific parameters. Leave-one-group-out cross-validation (LOGO-CV) is a suitable tool for evaluating predictive performance for new groups, providing an estimator of the expected log predictive density (elpd). Brute-force LOGO-CV requires one model refit per held-out group, often using computationally expensive inference algorithms such as MCMC. This is costly, particularly, for large numbers of groups or complex model structures. Commonly used importance sampling approximations, intended to reduce this cost, can fail because the group-specific parameters of the held-out group must be integrated out. We identify two key challenges in LOGO-CV elpd estimation: approximating the LOGO posterior and computing the grouped marginal likelihood. We compare 11 strategies, including 5 newly proposed, to address them. Among others, we combine Pareto-smoothed importance sampling or adaptive importance sampling with integration techniques such as Laplace approximation, adaptive Gauss-Hermite quadrature, and bridge sampling. We evaluate these strategies in both simulation experiments and real-world case studies, which show that marginalising over the group-specific parameters substantially improves the reliability of the importance sampling approaches.
Transcript
Introduction to the show: ident: Statistics. The day in statistics: methods, theory and the inference under them.
Tom: We're looking at the paper: "Approximating Bayesian leave-one-group-out cross-validation".
Title and authors: Tom: So, this paper is about approximating Bayesian leave-one-group-out cross-validation, or LOGO-CV, which is a tool they use to estimate how well a hierarchical model predicts data from brand new groups.
Jane: That sounds complicated. So what's the main goal here? They are trying to figure out predictive performance for these new groups without having to refit the whole model every single time, right?
Lu: Exactly. The paper focuses on estimating the expected log predictive density, or elpdlogo. They define it as a sum over all groups of the log probability of an outcome given the covariates and data from all other groups minus that one group they are testing against > Page two <ref:2609.05713#pg1>.
Meng: That sounds like it involves summing up predictions across every single group, which means if you have many groups, you're doing a lot of work there. What’s the real problem they found in trying to calculate this elpdlogo?
Tom: The paper points out two major challenges when estimating that elpdlogo. First is approximating the LOGO posterior, which is that posterior distribution p (xi, tau D minus j) for each held-out group j > Page three <ref:2609.05713#pg3>.
Jane: And the second challenge they mentioned is computing the grouped marginal likelihood, which they call p (yj xj, xi, tau) summed over phi j under the prior p (phi j tau) > Page three <ref:2609.05713#pg3>.
Lu: That second part is tricky because you have to integrate out those group-specific parameters, phi j, to get that average predictive density for a new group > Page three <ref:2609.05713#pg3>.
Meng: So if we look at how they tackle these two problems, they compare eleven different strategies > Page five <ref:2609.05713#pg3>. Brute force approaches involve doing a full model refit for every held-out group using something like MCMC methods > Page seven.
Tom: Brute force sounds slow and expensive because you have to repeat the entire inference process for each group just to get those posterior draws > Page forty. They also mention that importance sampling methods, which try to approximate the LOGO posterior from the full-data posterior, often don't work well on their own > Page eight.
Jane: So what’s the key finding when they compare these strategies? Did they find a method that works reliably across all settings?
Lu: They found that standard methods like PSIS and related importance sampling approaches often give unreliable LOGO-CV estimates > Page four. The authors show that marginalizing over the group specific parameters strongly increases the reliability of all those importance sampling approaches > Page five <ref:2609.05713#pg3>.
Tom: And for the best trade-off between accuracy and computation, they found that Laplace approximation combined with PSIS provided a good balance across most settings considered > Page four.
Jane: That’s interesting because they started with standard importance sampling failing, and then suggested this specific combination as a practical default approach > Page five <ref:2609.05713#pg3>. What about the limitations of this whole study?
Title and authors: Lu: One limitation is that all the hierarchical models they looked at were restricted to only two levels, which might change how LOGO-CV is defined depending on which grouping level you hold out > Page three <ref:2609.05713#pg3>.
Meng: And there's also a question about using the Pareto-k diagnostic for brute force methods, because they observed it might not always be appropriate when assessing those full model refits in more complex models > Page five <ref:2609.05713#pg3>.
Tom: So, to wrap up, the paper suggests that Laplace approximation combined with PSIS is a practical default approach offering a favorable trade-off between reliability and computational cost for these two-level hierarchical models > Page fifty-seven.
Jane: It sounds like they’ve given us a concrete tool when we need to evaluate new groups in hierarchical models, even if it’s not perfect every time. What are the implications for us who use these kinds of models?
Lu: The implication is that we can get a more trustworthy estimate of predictive performance than just using brute force or standard importance sampling alone > Page fifty-seven. We can now use elpdlogo to compare model quality in a way that's more comparable to metrics like WAIC and DIC > Page two <ref:2609.05713#pg1>.
Meng: From an engineering side, if we were deploying these models at scale, knowing that Laplace approximation plus PSIS is the most computationally efficient reliable method gives us a clear path for implementation > Page fifty-seven. We know what to expect regarding the speed of training versus accuracy gain > Page forty.
Tom: So the paper shows that you don't always need a full MCMC refit for every group; there are faster, more targeted approximations that actually give you reliable numbers when they matter > Page fifty-seven.
Jane: It’s about making sure that when we test a model on something it hasn't seen before, our performance evaluation isn't just a guess > Page two <ref:2609.05713#pg1>. It moves us toward better confidence in our model selection process for these complex structures.
Lu: The paper also suggests that bridge sampling combined with PSIS might be preferable if the group specific marginal likelihoods are expected to be really non-normal > Page fifty-seven. That tells us when to choose a more specialized technique > Page fifty-seven.
Meng: If we’re dealing with highly non-normal parameters, then maybe we should look at bridge sampling instead of the Laplace approximation route just for that specific part of the calculation > Page fifty-seven.
Tom: So, in summary, this paper on Approximating Bayesian leave-one-group-out cross-validation lays out how to handle the tough math behind evaluating new groups in hierarchical models using a specific combination of techniques > Page one <ref:2609.05713#pg1,Approximating Bayesian leave-one-group-out cross-validation>. We’ve seen the challenges with approximating the posterior and integrating out parameters > Page three <ref:2609.05713#pg3>.
Title and authors: Jane: That approximation, which is getting the LOGO posterior and that grouped marginal likelihood, is what makes this work difficult for standard methods like importance sampling to handle directly > Page four.
Lu: The paper’s main contribution is identifying that combining Laplace approximation with PSIS provides a reliable result across most settings considered > Page five <ref:2609.05713#pg3>. This method gives us the best trade-off between how accurate the estimate is and how much time it takes to compute it > Page four.
Meng: For deployment, that means we can use this approach to get our performance estimates without waiting for hours of MCMC refits per group > Page forty. It makes the whole evaluation pipeline much more practical when dealing with a large number of groups > Page fifty-seven.
Tom: I think the main implication is that we can move away from just brute force approaches when we want to know how a model will actually perform on genuinely new data structures > Page fifty-seven. It’s about getting reliable numbers for the elpdlogo, which is a direct measure of predictive utility > Page two <ref:2609.05713#pg1>.
Jane: So, for anyone working with complex hierarchical models, this paper gives us a concrete strategy to estimate performance on unseen groups using Laplace approximation and PSIS > Page fifty-seven. It’s a useful piece of practical advice for our daily work > Page forty-eight.
Lu: Ultimately, the paper shows that while there are specific scenarios where we might want to try bridge sampling if parameters are highly non-normal, the Laplace approximation combined with PSIS is the most reliable default choice for most two-level hierarchical models > Page fifty-seven.
Meng: So yeah, the take away is that for a lot of our work, we can rely on this specific combination to get good results efficiently without needing to do everything from scratch every time > Page fifty-seven. It simplifies the whole process immensely > Page forty-eight.
Tom: To wrap up on Approximating Bayesian leave-one-group-out cross-validation, it’s about giving us a way to estimate predictive performance for new groups in hierarchical models by tackling those tough challenges with a specific set of approximations > Page one <ref:2609.05713#pg1,Approximating Bayesian leave-one-group-out cross-validation>. We’ve seen the challenges with approximating the posterior and computing the grouped marginal likelihood > Page three <ref:2609.05713#pg3>.
Jane: That approximation is what makes things hard, and this paper shows us how to make that hard math tractable for real-world use > Page fifty-seven. It's a useful piece of practical advice for our daily work on these models > Page forty-eight.
Lu: And it gives us a clear path forward by suggesting the Laplace approximation combined with PSIS as the most reliable default method when we don’t have more specific information about the group parameters being non-normal > Page fifty-seven.
Meng: So, for running models at scale, this is a method that balances accuracy and computational cost well across many settings > Page fifty-seven. It simplifies the whole evaluation pipeline immensely > Page forty-eight.
The paper's summary: Tom: So we just talked about how hard it is to estimate performance on new groups in hierarchical models, and now we’re looking at what they actually found in this paper on "Approximating Bayesian leave-one-group-out cross-validation."
Jane: Right. Basically, the paper sets out eleven different ways to tackle that tough math—approximating the posterior and calculating that grouped marginal likelihood—and it’s all about finding a way that is both trustworthy and not too slow.
Lu: The core idea they are pushing is using this method to estimate the expected log predictive density, or elpdlogo, which lets you compare model quality directly to things like WAIC or DIC across different groups.
Meng: But the problem with the standard tools, like just doing a full MCMC refit for every single group one by one, is that it’s just too expensive when you have a lot of groups.
Tom: That’s right. They show that standard importance sampling methods alone often give you unreliable numbers for this elpdlogo estimate across most settings.
Jane: So what did they actually suggest as the winner? What was the specific trick they found that works best?
Lu: They found that combining Laplace approximation with PSIS, which is a specific kind of importance sampling, provides a really good balance between accuracy and how much computing time you spend > Page five.
Tom: That’s interesting because they showed this combination worked best across most settings they tested, even when things got more complex with higher dimensions or more parameters > Page five.
Jane: And the authors also pointed out some things that are important caveats. For example, one limitation they mentioned is that all the models they studied were restricted to only two levels, which might change how you define leave-one-group-out cross-validation if you hold out a different level > Page three.
Meng: I noticed they also questioned whether the Pareto k diagnostic is always appropriate when assessing those brute force methods in more complex models, suggesting it might not always be right > Page five.
Tom: So, what’s the real-world implication here for someone just trying to deploy a model? Does this mean we can finally get reliable performance metrics without running massive simulations every time?
Jane: Exactly. It means we can use elpdlogo to get a more trustworthy idea of how well our model will actually predict data from groups it hasn't seen before, which is crucial for making sure the model is robust > Page two.
Lu: The paper suggests that if you’re dealing with those group-specific parameters being really non-normal, then bridge sampling combined with PSIS might be a better choice to use > Page fifty-seven.
Tom: So, to wrap up on this paper's main point, it’s that for many two-level hierarchical models, Laplace approximation plus PSIS is the most practical default approach you can take right now for getting reliable performance numbers without needing a massive MCMC run for every single group > Page fifty-seven.
Jane: And they’ve given us a clear direction on what to use when things get really complicated, like suggesting bridge sampling if those parameters are behaving in a way that standard methods struggle with > Page fifty-seven.
Lu: It boils down to this: you can get reliable estimates for performance on new groups without doing the most computationally demanding brute force work every time, provided you use this Laplace approximation and PSIS setup > Page forty-eight.
The paper's improvements: Tom: So we’ve talked about how they found Laplace approximation plus PSIS to be the most reliable default choice for two-level hierarchical models, and now we're looking at what they suggest as improvements to that approach.
Jane: Right. The paper isn't just stopping there; it’s proposing a few ways to make that estimation even better or more versatile than just using Laplace approximation with PSIS > Page fifty-seven.
Lu: They suggest using bridge sampling combined with PSIS when the group specific marginal likelihoods are expected to be really non-normal, which is a move toward handling those tricky distributions > Page fifty-seven.
Meng: If we’re shipping models in production, that tells me there’s a situation where standard importance sampling might break down, and they're giving us a specialized tool for when the data structure is weird > Page fifty-seven.
Tom: It sounds like they are saying that while Laplace approximation plus PSIS is the reliable workhorse, bridge sampling with PSIS is the specialized tool you pull out when you know your parameters aren't behaving nicely > Page fifty-seven.
Jane: That’s a clear distinction for us listeners who are trying to understand what to use and when, because it moves beyond just saying "use this method" to giving conditions for that choice > Page fifty-seven.
Lu: They also pointed out that some of the methods they tested, like Importance weighted moment matching or IWMM, can actually improve the reliability of predictive performance estimates for new groups > Page fifty-seven.
Tom: So it’s not just about one method being best; it’s about having a toolbox where you can pick the right approximation based on what you know about your model's parameters > Page fifty-seven.
Jane: That makes sense because they showed that in some settings, like higher dimensional Bernoulli data models, standard PSIS and even Importance weighted moment matching just don't show much improvement > Page forty-nine.
Meng: So if I’m running a model with a lot of parameters and it’s high dimensional, I should be wary of relying on those other importance sampling techniques unless the results look very close to the brute force baseline > Page forty-eight.
Tom: That leads me to thinking about efficiency again, because they highlighted that Laplace approximation combined with PSIS is still the most computationally efficient strategy in their settings > Page fifty-seven.
Jane: So even when we introduce these more complex scenarios and specialized sampling methods, the overall goal is to keep the computational cost down while trying to stay accurate > Page forty-eight.
Lu: Exactly. The authors are trying to show that you can get better results, whether it's through a specific approximation or by adding another layer of importance sampling like IWMM, without completely blowing up the computation time > Page fifty-seven.
Conclusion: Tom: So we're wrapping up our look at "Approximating Bayesian leave-one-group-out cross-validation." The big picture here is that they’ve given us a practical way to estimate how a model will perform on entirely new groups without needing to do the most computationally expensive full refit every single time > Page one.
Jane: It really boils down to having a reliable way to measure predictive utility, which they call the expected log predictive density, or elpdlogo, and this paper shows that Laplace approximation combined with PSIS is the best bet for getting those reliable numbers across most settings > Page five.
Lu: The implication for model building is that we can move away from just using brute force approaches when we want to know how a model will actually perform on genuinely new data structures, because you get a better estimate than you would otherwise > Page fifty-seven.
Meng: For us at the startup level, it means we don't have to wait hours for MCMC runs just to test if our model is good on some new customer segment; this method lets us deploy faster and still get a solid performance check > Page forty-eight.
Lalam: I’m confident in this conclusion. The paper establishes that for two-level hierarchical models, the combination of Laplace approximation with PSIS is the most efficient reliable default approach across a wide range of settings > Page fifty-seven.
Tom: So, we've seen how they tackle those two main headaches—approximating the posterior and computing that grouped marginal likelihood—and it turns out there’s a specific combination that works well for real-world deployment > Page one.
Jane: It’s a useful piece of practical advice for anyone working with complex hierarchical models, moving us toward better confidence in our model selection process > Page forty-eight.
Lu: The authors also flag that if you're dealing with group specific parameters that are highly non-normal, then bridge sampling combined with PSIS is the more specialized tool to use instead > Page fifty-seven.
Meng: That tells me we need to be careful when our model’s underlying structure is complex and those parameters aren't behaving in a simple way; we need that option ready > Page fifty-seven.
Lalam: I think it’s clear: this paper on "Approximating Bayesian leave-one-group-out cross-validation" provides the tools to estimate performance on unseen groups efficiently > Page one.
Tom: It’s a solid piece of work, showing that approximations can lead to very practical results when you have a lot of groups to manage > Page fifty-seven.
Jane: Yeah, so for anyone listening who wants to know how to actually test if their model is good on something it hasn't seen before, this paper gives them a concrete strategy > Page forty-eight.
Lu: It shows the idea that you can get more trustworthy metrics for predictive utility than just doing the brute force calculation every time > Page fifty-seven.
Tom: We’ve covered how they tackled those two main challenges in estimating expected log predictive density, and it turns out Laplace approximation plus PSIS is a solid baseline > Page one.
Jane: And that's good to know because it gives us a way to compare model quality directly to things like WAIC or DIC across different groups > Page two.
Lu: The paper also suggests that if you’re dealing with those group specific parameters being really non-normal, then bridge sampling combined with PSIS is the more specialized tool to use instead > Page fifty-seven.
Meng: So in short, it’s a toolbox where you pick the right approximation based on what you know about your model’s structure and parameter behavior > Page fifty-seven.
Lalam: I'm confident in this conclusion: for two-level hierarchical models, Laplace approximation with PSIS is the most efficient reliable default approach across a wide range of settings > Page fifty-seven.
Tom: So, we've seen how they tackled those two main headaches in estimating expected log predictive density, and it turns out Laplace approximation plus PSIS is a solid baseline > Page one.
Jane: And that's good to know because it gives us a way to compare model quality directly to things like WAIC or DIC across different groups > Page two.
Lu: The paper also suggests that if you’re dealing with group specific parameters being really non-normal, then bridge sampling combined with PSIS is the more specialized tool to use instead > Page fifty-seven.
Meng: So in short, it’s a toolbox where you pick the right approximation based on what you know about your model’s structure and parameter behavior > Page fifty-seven.
Lalam: I'm confident in this conclusion: for two-level hierarchical models, Laplace approximation with PSIS is the most efficient reliable default approach across a wide range of settings > Page fifty-seven.
More episodes
- 2603.24122-Scoring Rules with Normalized Upper Order Statistics for Tail Inference
- 2604.16221-Network Meta-analysis and Diffusion
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2605.19034-Sparse Latent Class Analysis For Dichotomous Responses: Post-Estimation Refinement via Item-level Pseudo-Likelihood
- 2112.01338-Using Ecometric Data to Explore Sources of Cross-Site Impact Variance in Multi-Site Trials
- 2304.04519-On new omnibus tests of uniformity on the hypersphere
- 2503.08987-Multilevel Primary Aim Analyses of Clustered SMARTs: With Applications in Health Policy
- 2506.21190-Survival Inference with Label-Shifted, Label-Censored Source Data and Unlabeled Target Data
- 2510.01577-SLOPE and Designing Robust Studies for Generalization