English

Improving Improved Kernel PLS

Machine Learning 2026-07-17 v1 Data Structures and Algorithms

Abstract

Improved Kernel Partial Least Squares (IKPLS) algorithms 1 and 2 are among the fastest PLS calibration algorithms. This article focuses on two shared steps, the computation of the X\mathbf{X} rotations, R\mathbf{R}, and the Y\mathbf{Y} loadings, Q\mathbf{Q}, and accelerates both. For R\mathbf{R}, term-by-term accumulation is replaced by a direct evaluation strategy that requires the same number of multiplications but parallelizes better on modern hardware. For Q\mathbf{Q}, I identify - to the best of my knowledge, for the first time - equivalences showing that each Y\mathbf{Y} loading is obtainable, up to explicitly derived constants, from quantities already computed earlier in the same iteration, and I exploit them in IKPLS to reduce the cost of each loading from Θ(KM)\Theta\left(KM\right) to Θ(M)\Theta\left(M\right) operations whenever M=1M = 1 or 2M<K2 \leq M < K, with KK predictor variables (number of columns in X\mathbf{X}) and MM response variables (number of columns in Y\mathbf{Y}). Both improvements provably yield exactly the same W\mathbf{W}, P\mathbf{P}, Q\mathbf{Q}, R\mathbf{R}, and T\mathbf{T} as the original algorithms. Benchmarks with NumPy (CPU) and JAX (GPU) show speedups of up to two orders of magnitude for the isolated steps and of approximately 2×2\times (CPU) and 6×6\times (GPU) for entire fits. Both improvements are implemented in the free, open-source Python package \texttt{ikpls}.

Cite

@article{arxiv.2607.16138,
  title  = {Improving Improved Kernel PLS},
  author = {Ole-Christian Galbo Engstrøm},
  journal= {arXiv preprint arXiv:2607.16138},
  year   = {2026}
}