Skip to main content
QUICK REVIEW

[Paper Review] Leave-group-out cross-validation for latent Gaussian models

Zhedong Liu, Van Niekerk, Janet|arXiv (Cornell University)|Oct 10, 2022
Gaussian Processes and Bayesian InferenceComputer Science16 citations
TL;DR

This paper proposes leave-group-out cross-validation (LGOOCV) for latent Gaussian models to address the limitations of leave-one-out cross-validation (LOOCV) in dependent data settings. By excluding groups of dependent observations rather than single points, LGOOCV better mimics realistic prediction tasks, and the method efficiently computes predictive scores without refitting the model using R-INLA, enabling accurate model evaluation in spatial, temporal, and hierarchical data.

ABSTRACT

Evaluating the predictive performance of a statistical model is commonly done using cross-validation. Among the various methods, leave-one-out cross-validation (LOOCV) is frequently used. Originally designed for exchangeable observations, LOOCV has since been extended to other cases such as hierarchical models. However, it focuses primarily on short-range prediction and may not fully capture long-range prediction scenarios. For structured hierarchical models, particularly those involving multiple random effects, the concepts of short- and long-range predictions become less clear, which can complicate the interpretation of LOOCV results. In this paper, we propose a complementary cross-validation framework specifcally tailored for longer-range prediction in latent Gaussian models, including those with structured random effects. Our approach differs from LOOCV by excluding a carefully constructed set from the training set, which better emulates longer-range prediction conditions. Furthermore, we achieve computational effciency by adjusting the full joint posterior for this modifed cross-validation, thus eliminating the need for model reftting. This method is implemented in the R-INLA package (www.r-inla.org) and can be adapted to a variety of inferential frameworks.

Motivation & Objective

  • To address the over-optimistic predictive performance assessment caused by LOOCV in dependent data, such as spatial, temporal, or hierarchical structures.
  • To define a more realistic prediction task by excluding entire groups of dependent observations instead of single points.
  • To develop a computationally efficient method that avoids full model refitting during cross-validation in latent Gaussian models.
  • To provide a framework for Bayesian model evaluation that aligns with actual prediction scenarios in non-i.i.d. settings.
  • To implement the method in the R-INLA package for broad accessibility and practical use in applied statistics.

Proposed method

  • Proposes leave-group-out cross-validation (LGOOCV) as a modification of LOOCV, where entire groups of dependent observations are excluded from the training set.
  • Automatically determines group structures based on dependence patterns (e.g., spatial proximity, temporal order, hierarchical nesting) to define exclusion sets.
  • Uses the joint posterior distribution from the full model to compute predictive scores for excluded groups without refitting, leveraging conditional independence in latent Gaussian models.
  • Employs efficient computation via sparse matrix operations and reuse of existing precision matrix factorizations to compute predictive densities.
  • Applies linear constraints in the model to handle fixed effects or identifiability conditions while maintaining computational tractability.
  • Uses the logarithmic score as the evaluation metric: $ u_{LGOOCV} = \frac{1}{|I|} \sum_{i \in I} \log \pi(y_i | \boldsymbol{y}_{-I}) $, where $ I $ is the excluded group.

Experimental results

Research questions

  • RQ1How can cross-validation be adapted to better reflect real prediction tasks in dependent data, such as spatial, temporal, or multilevel structures?
  • RQ2What is the impact of excluding single observations (LOOCV) versus entire groups (LGOOCV) on predictive performance evaluation in latent Gaussian models?
  • RQ3Can predictive performance be accurately assessed without refitting the model for each excluded group?
  • RQ4How can the joint posterior be adjusted efficiently to compute predictive scores under group exclusion in latent Gaussian models?
  • RQ5What are the computational and statistical advantages of LGOOCV over LOOCV in non-i.i.d. settings?

Key findings

  • LGOOCV provides a more realistic assessment of predictive performance than LOOCV in dependent data, avoiding the interpolation bias inherent in single-observation exclusion.
  • The method avoids full model refitting by reusing the full posterior and efficiently computing predictive densities via sparse matrix solves and posterior adjustments.
  • The approach is computationally feasible and scalable due to reuse of the Cholesky factorization of the precision matrix in latent Gaussian models.
  • The framework is implemented and available in the R-INLA package, enabling immediate application in spatial, temporal, and hierarchical modeling.
  • Empirical results show that LGOOCV yields more stable and reliable model comparisons than LOOCV in settings with strong dependence structures.
  • The method correctly handles linear constraints in the latent field, ensuring valid inference even under identifiability restrictions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.