A PRESS statistic for two-block partial least squares regression

Brian McWilliams, Giovanni MontanaarXiv 2010 · DOI

Abstract

Predictive modelling of multivariate data where both the covariates and responses are high-dimensional is an increasingly critical task in data mining. Partial Least Squares (PLS) regression is a robust method for these scenarios, as it performs dimensionality reduction by assuming a small number of latent factors explain the linear dependence between input and output. However, selecting the optimal number of latent factors—a process that controls model complexity and predictive performance—typically requires computationally expensive cross-validation. This paper derives a computationally efficient alternative to leave-one-out cross-validation (LOOCV): a predicted sum of squares (PRESS) statistic for two-block PLS. We demonstrate that this PRESS statistic is nearly identical to LOOCV but requires only the computational expense of a single PLS model fit.

Introduction

In modern data science, researchers frequently encounter "high-dimensional" datasets where the number of features ($p$) and responses ($q$) significantly exceeds the number of samples ($n$). In such environments, standard regression techniques often fail due to multicollinearity, where variables are too highly correlated for stable mathematical inversion.

Two-Block Partial Least Squares (PLS) regression addresses this by identifying a small set of latent factors (hidden variables) that maximize the covariance between the input and output blocks. The primary challenge in applying PLS is determining the exact number of latent factors to retain. Retaining too few leads to underfitting, while retaining too many causes the model to overfit to noise. The gold standard for this selection is Leave-One-Out Cross-Validation (LOOCV), but its $O(n^2)$ complexity makes it prohibitive for large-scale datasets.

The Computational Bottleneck of LOOCV

LOOCV requires the model to be re-trained $n$ times, each time omitting a single observation to test the model's predictive accuracy. For complex algorithms like PLS, this iterative process becomes a significant bottleneck. As datasets grow into the thousands or tens of thousands of samples, the time required to perform a grid search for the optimal number of factors or regularization parameters becomes unmanageable.

Methodology: The PRESS Statistic

To overcome this, we introduce a Predicted Sum of Squares (PRESS) statistic specifically designed for two-block PLS. This approach is inspired by the Sherman-Morrison-Woodbury formula used in Ordinary Least Squares (OLS), which allows for analytical model updates without full re-training.

The Stability Assumption

The core innovation of this method lies in the "stability assumption." In high-dimensional settings, the global structure of the data is remarkably robust. We argue that the core directions of the latent factors (the singular vectors) do not change significantly when a single observation is removed. By holding these directions fixed and analytically updating only the regression coefficients and loadings, we can approximate the LOOCV error with high precision. This shift reduces the computational complexity from $O(n^2)$ to $O(n)$, effectively making the cost of tuning equivalent to a single model fit.

Theoretical Rigor and Convergence

This method is supported by more than just heuristic evidence. We provide a theoretical bound on the approximation error, showing that the difference between the PRESS statistic and the true LOOCV error shrinks at a rate of $O(\sqrt{\log n / n})$ as the sample size increases. This ensures that as the dataset grows—and the need for efficiency becomes more dire—the accuracy of the PRESS statistic actually improves.

Experimental Results

We validated the PRESS statistic using extensive Monte Carlo simulations across various scenarios, including Sparse PLS, where only a subset of variables is relevant.

  1. Accuracy: In simulations where the true number of latent factors ($R$) was known, the PRESS statistic identified the correct model complexity and sparsity parameters ($\gamma$) with accuracy nearly identical to LOOCV.
  2. Speedup: The computational advantage was stark. For a dataset with 1,000 samples, the PRESS statistic provided orders of magnitude in speedup, maintaining linear scaling while LOOCV scaled quadratically.
  3. Error Convergence: Empirical tests confirmed that the approximation error becomes negligible (reaching levels around $10^{-4}$) as the number of samples increases, validating the theoretical stability assumption.

Discussion and Future Work

While the PRESS statistic is highly effective for large $n$, its accuracy may diminish in very small sample sizes ($n \ll p$) where singular vectors are less stable. However, for the majority of modern high-dimensional applications, it offers a transformative increase in efficiency.

Furthermore, because the PRESS statistic is a smooth analytic function, it opens the door for automated model tuning. Future research could utilize this statistic to create objective functions for gradient-based optimization, potentially eliminating the need for manual grid searches entirely. While this paper focuses on the multivariate case, the underlying principles suggest even greater stability in univariate applications, providing a versatile tool for high-dimensional predictive modelling.

Summary updated

BibTeX
@misc{mcwilliams2010press,
  author = {Brian McWilliams and Giovanni Montana},
  title = {{A PRESS statistic for two-block partial least squares regression}},
  year = {2010},
  eprint = {1302.5856},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1302.5856},
}
Figure