In classical statistics, Ordinary Least Squares (OLS) regression is the default tool for modeling the relationship between a set of predictor variables $X$ and a target variable $Y$. However, OLS relies on a critical assumption: the predictors must be relatively independent, and the number of observations $N$ must be significantly larger than the number of features $P$.
In modern data science, this assumption frequently breaks down. Consider analyzing hyperspectral imagery to detect soil salinity, where a single pixel contains hundreds of highly correlated spectral bands (Ren). Or consider predicting the moisture content of peanuts from continuous near-infrared (NIR) wavelengths (Sundaram et al.). In these settings, we face two fundamental hurdles:
- Multicollinearity: Predictor variables move together, making the $X^T X$ matrix ill-conditioned and causing OLS coefficients to explode in variance.
- The $P \gg N$ Problem: When features outnumber samples, the system is underdetermined, and OLS cannot be computed at all.
Partial Least Squares Regression (PLSR) solves both problems simultaneously. It does this not by selecting a subset of features, but by projecting the high-dimensional input space into a lower-dimensional space of latent variables that are specifically optimized to predict $Y$.
The Intuition: Variance vs. Covariance
To understand why PLSR works, it is helpful to contrast it with another common workaround: Principal Component Regression (PCR).
PCR attempts to solve multicollinearity via an unsupervised two-step process. First, it applies Principal Component Analysis (PCA) to the predictor matrix $X$ to find orthogonal directions of maximum variance. Second, it runs OLS using these top principal components as the new predictors.
While intuitive, PCR has a major blind spot: it completely ignores $Y$ during the dimensionality reduction phase.
PCA (Unsupervised): Finds directions that maximize Variance(X)
PLS (Supervised): Finds directions that maximize Covariance(X, Y)
If the variations in $X$ that are most useful for explaining $Y$ happen to align with directions of low variance within $X$ itself, PCR will discard them as noise.
PLSR fixes this by making dimensionality reduction supervised. Instead of maximizing variance within $X$, PLSR searches for latent vectors that maximize the covariance between $X$ and $Y$. Because $\text{Cov}(X,Y) = \text{StdDev}(X) \cdot \text{StdDev}(Y) \cdot \text{Corr}(X,Y)$, PLSR strikes a deliberate balance. It looks for directions that have high variance in $X$ (ensuring robust features) and are highly correlated with $Y$ (ensuring predictive power).
How the Mechanism Works
PLSR decomposes both the predictor matrix $X$ and the response matrix $Y$ (or vector $y$) simultaneously into a sum of latent components:
$$X = T P^T + E$$ $$Y = U Q^T + F$$
Where:
- $T$ and $U$ are matrices of scores (the projections of the original data into the latent space).
- $P$ and $Q$ are loadings (which describe how the original variables relate to the latent space).
- $E$ and $F$ are the residual error matrices.
The core optimization objective for the first latent vector pair $(t_1, u_1)$ is to maximize the covariance between them:
$$\max_{\omega, \gamma} \text{Cov}(t, u)^2 = \max_{\omega, \gamma} \text{Cov}(X\omega, Y\gamma)^2$$
subject to the constraint that the weight vectors $\omega$ and $\gamma$ have unit length.
Once the first latent vector is found, the effect of this component is subtracted—or deflated—from both $X$ and $Y$. The algorithm then repeats the process on the remaining residuals to find the second orthogonal latent vector, continuing until adding more components no longer improves predictive generalization.
By projecting highly correlated variables into this lower-dimensional latent space, PLSR filters out redundant information. This allows it to handle massive feature spaces seamlessly, even when the number of samples is tiny (Wu et al.).
Where PLSR Excels: Evidence from the Field
Because PLSR maps wide, noisy feature sets into stable predictive proxies, it has become a foundational tool across several distinct domains.
1. Chemometrics and Spectroscopy
In physical chemistry, sensors capture continuous spectral curves where adjacent wavelengths are nearly identical. Cluff et al. utilized PLSR to map complex surface-enhanced Raman spectroscopy fingerprints to clinical biomarkers for peripheral arterial disease. Similarly, Guo et al. demonstrated that PLSR could capture distributed molecular interactions across an entire micro-FTIR spectrum to predict water adsorption in cellulose films with over 99% accuracy, far outperforming univariate models that look at single spectral peaks.
2. Remote Sensing and Environmental Modeling
Satellite and aerial imagery generate massive, multi-band datasets. Shen et al. used PLSR to combine multispectral indices and structural point clouds to estimate forest volume, leveraging the algorithm's ability to handle collinearity between structural and spectral metrics. When tracking environmental changes over time, Fang et al. stacked multi-year Landsat images into a "time series cube" to map heavy metal pollution, relying on PLSR to maintain model stability across highly correlated temporal variables.
3. Natural Language Processing and Machine Learning Meta-Models
The utility of PLSR extends beyond physical sciences into abstract vector spaces. Ding et al. introduced PLSR to causal inference frameworks in NLP, using it to solve linear structural equation models in high-dimensional spaces to strip gender bias from word embeddings while preserving semantic information.
Furthermore, PLSR serves as an exceptional meta-model in ensemble learning. When combining predictions from multiple deep learning models, the base predictions are often highly correlated, which can destabilize a standard linear meta-model. Hong et al. solved this by using PLSR as the meta-regressor in a stacking ensemble, successfully filtering out base-model redundancy to accurately predict clinical sedimentation rates.
Summary
PLSR works because it acknowledges a fundamental truth about high-dimensional data: much of the observed variance is noise or redundancy. By forcing the dimensionality reduction step to actively listen to the target variable, PLSR constructs a low-dimensional bottleneck that preserves only the variance that truly matters for prediction.