[Paper Review] Approximate leave-future-out cross-validation for time series models
This paper proposes an efficient approximate leave-future-out cross-validation (LFO-CV) method for time series models using Pareto smoothed importance sampling (PSIS) to drastically reduce computational costs while maintaining accuracy. The approach provides reliable predictive performance estimates by simulating future prediction tasks, avoiding the overly optimistic bias of leave-one-out cross-validation in temporal settings.
One of the common goals of time series analysis is to use the observed series to inform predictions for future observations. In the absence of any actual new data to predict, cross-validation can be used to estimate a model's future predictive accuracy, for instance, for the purpose of model comparison or selection. As exact cross-validation for Bayesian models is often computationally expensive, approximate cross-validation methods have been developed; most notably methods for leave-one-out cross-validation (LOO-CV). If the actual prediction task is to predict the future given the past, LOO-CV provides an overly optimistic estimate as the information from future observations is available to influence predictions of the past. To tackle the prediction task properly and account for the time series structure, we can use leave-future-out cross-validation (LFO-CV). Like exact LOO-CV, exact LFO-CV requires refitting the model many times to different subsets of the data. Using Pareto smoothed importance sampling, we propose a method for approximating exact LFO-CV that drastically reduces the computational costs while also providing informative diagnostics about the quality of the approximation.
Motivation & Objective
- To address the limitations of leave-one-out cross-validation (LOO-CV) in time series, which provides overly optimistic estimates due to future information leakage.
- To develop a computationally efficient alternative to exact leave-future-out cross-validation (LFO-CV), which requires repeated model refitting.
- To enable reliable model comparison and selection for future prediction tasks by accurately estimating predictive performance on unseen future data.
- To provide informative diagnostics on the quality of the approximation, ensuring trustworthiness in practical applications.
Proposed method
- The method uses Pareto smoothed importance sampling (PSIS) to approximate exact LFO-CV without refitting the model for each future observation.
- It reweights posterior samples from a single full-model fit to estimate the predictive performance as if each future observation had been left out.
- The approach accounts for the temporal structure by ensuring that predictions for past observations are based only on earlier data, mimicking real future prediction.
- PSIS stabilizes the importance weights using a generalized Pareto distribution, improving robustness and enabling diagnostic checks via the shape parameter.
- The method detects high-leverage future observations that may compromise approximation accuracy, offering warnings when results may be unreliable.
- The final approximation allows for fast computation of expected log predictive density (ELPD) for model comparison.
Experimental results
Research questions
- RQ1Can an approximate LFO-CV method be developed that maintains accuracy while reducing computational cost in time series models?
- RQ2How does the proposed PSIS-LFO-CV method compare to exact LFO-CV in terms of predictive performance estimation?
- RQ3What diagnostics can be provided to assess the reliability of the approximate LFO-CV results?
- RQ4Does the method avoid the optimistic bias inherent in LOO-CV when applied to time series data?
- RQ5Can the method be efficiently applied to Bayesian time series models without repeated full model refitting?
Key findings
- The proposed PSIS-LFO-CV method achieves predictive performance estimates that are close to those of exact LFO-CV, with significantly reduced computational cost.
- The method provides reliable diagnostics through the shape parameter of the generalized Pareto distribution, identifying cases where the approximation may be unreliable.
- By using only a single full-model fit, the method avoids the need for repeated refitting, making it scalable to large time series.
- The approach correctly accounts for temporal dependence, avoiding the future information leakage that plagues LOO-CV in time series contexts.
- The method enables accurate model comparison and selection for future prediction tasks, even in complex Bayesian time series models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.