Vector-Valued Least-Squares Regression under Output Regularity Assumptions

Luc Brogat-Motte, Alessandro Rudi, Céline Brouard, Juho Rousu, Florence d'Alché-Buc

TL;DR

This paper introduces a reduced-rank kernel ridge regression framework capable of handling infinite-dimensional output spaces, extending reduced-rank regression far beyond standard low-rank settings. By projecting predictions onto an estimated $p$-dimensional subspace of the output space, the method achieves faster prediction/decoding speeds and improved statistical excess-risk bounds whenever target signals are more concentrated than the noise. The authors demonstrate its advantages on both synthetic benchmarks and structured prediction tasks, including image reconstruction, multi-label tagging, and metabolite identification.

What Problem Does This Paper Address?

In many machine learning settings—such as multi-label classification, functional regression, and surrogate-based structured prediction—models must predict complex, high-dimensional, or infinite-dimensional outputs. While vector-valued Reproducing Kernel Hilbert Space (vv-RKHS) ridge regression provides strong theoretical guarantees, it suffers from two notable drawbacks:

  1. Computational Bottleneck at Inference: In surrogate structured prediction methods (e.g., Input-Output Kernel Regression, or IOKR), predicting a structured object requires "decoding" by calculating inner products or distances against a large set of candidate outputs. This search scales as $\mathcal{O}(n \cdot n_{\text{test}} \cdot |\mathcal{Z}|)$, where $n$ is the training sample size and $|\mathcal{Z}|$ is the candidate set size, making inference painfully slow.
  2. Statistical Sub-optimality Under Noise: Standard kernel ridge regression treats all output directions equally, incurring variance proportional to the full trace of the noise covariance $\mathrm{Tr}(E)$, even when the true signal lives primarily in a low-dimensional subspace.

Classical reduced-rank regression mitigates these issues in finite dimensions by restricting predictions to a low-rank linear subspace. However, prior theory typically required strictly low-rank targets and homogeneous noise, leaving infinite-dimensional output spaces (such as feature embeddings of graphs, images, or molecular structures) poorly covered.

Methods

The authors formulate a reduced-rank estimator for vector-valued least-squares regression with infinite-dimensional Hilbert output spaces $\mathcal{Y}$:

  • Two-Stage Estimator:
  • First, an unconstrained kernel ridge regression (KRR) estimator $\hat{h}_{\lambda_2}(x)$ is computed.
  • Next, an orthogonal projection operator $\hat{P}_{\lambda_1}$ of rank $p$ is estimated by minimizing the empirical reconstruction error on training predictions: $$\hat{P}_{\lambda_1} := \arg\min_{P \in \mathcal{P}_p} \frac{1}{n} \sum_{i=1}^n \|P \hat{h}_{\lambda_1}(x_i) - \hat{h}_{\lambda_1}(x_i)\|_{\mathcal{Y}}^2$$ where $\mathcal{P}_p$ is the set of rank-$p$ orthogonal projectors on $\mathcal{Y}$.

  • The final estimator is $x \mapsto \hat{P}_{\lambda_1} \hat{h}_{\lambda_2}(x)$.

  • Output Regularity Assumptions: Rather than assuming a hard low-rank cut-off, the authors analyze continuous spectrum decays:
  • Target covariance decay: $M = \mathbb{E}[h^*(x) \otimes h^*(x)]$ has polynomial eigenvalue decay rate $s > 1$.
  • Noise covariance decay: $E = \mathbb{E}[\epsilon \otimes \epsilon]$ has eigenvalue decay rate $e > 1$.
  • Output source condition: A parameter $\beta \in [0, 1]$ governs how well the operator $H$ aligns with the primary components of $M$.
  • Surrogate Structured Prediction (Reduced-Rank IOKR): The estimator is embedded into an Output Kernel Regression framework, yielding closed-form linear algebraic routines (via SVD on the Gram-transformed predictions) that dramatically compress the output representation.

Datasets

The authors evaluated their framework across several domains:

  • Synthetic Benchmark: A controlled $d=300$ dimensional problem designed to evaluate varying output source conditions ($\beta$) and eigenvalue decays ($s, e$).
  • USPS Digits Completion: Handwritten digits ($16 \times 16$ pixels; 7,291 training, 2,007 test samples), predicting the bottom half of a digit from its top half.
  • Multi-Label Benchmarks:
  • Bibtex (text tag recommendation: 4,880 train, 2,515 test, 159 labels).
  • Bookmarks (webpage tag recommendation: 60,000 train, 27,856 test, 208 labels).
  • Corel5k (image keyword annotation: 4,500 train, 499 test, 260 labels).
  • Metabolite Identification: Predicting molecular fingerprint vectors ($d = 7,593$) from tandem mass spectrometry (MS/MS) spectra ($n = 6,974$ labeled examples, candidate pools up to 36,918 molecules).

No new datasets were introduced; all are established benchmarks in the structured prediction literature.

Key Insights and Ideas

  • Rank as a Regularizer Beyond Low-Rank: Reduced-rank projection acts as an explicit regularizer. When the signal is concentrated (large $s$) and the noise is diffuse (small $e$), projecting onto the top $p$ directions discards noise while sacrificing minimal true signal—even when the underlying target function has infinite rank.
  • Decoding Complexity Slashed: At test time, computing distances against candidate targets drops from $\mathcal{O}(n \cdot |\mathcal{Z}|)$ to $\mathcal{O}(p \cdot (n + |\mathcal{Z}|))$, decoupling decoding cost from the training set size $n$.
  • The Role of the Output Source Condition ($\beta$): Accurately estimating the subspace projector $\hat{P}$ requires that the left-singular vectors of $H$ align with the covariance $M$ ($\beta < 1 - 4/s$). Without this alignment, estimation errors in $\hat{P}$ wipe out the benefits of rank reduction.

Key Results

  • Inference Speedup: On the Bookmarks dataset ($n = 60,000$), standard IOKR required ~56 minutes to decode test predictions. Reduced-rank IOKR dropped decoding time to under 4 minutes (a >14× speedup) while achieving competitive $F_1$ performance (39.1% vs. 39.3% for full-rank IOKR, outperforming SPEN at 34.4% and DVN at 37.1%).
  • Small-Data Advantage: When restricted to small sample sizes ($n = 2,000$), the regularizing effect of rank truncation yielded clear performance gains over standard IOKR across all multi-label benchmarks:
  • Bibtex: $F_1$ improved from 35.9% to 39.7%.
  • Bookmarks: $F_1$ improved from 22.9% to 25.9%.
  • Corel5k: $F_1$ improved from 13.7% to 16.1%.
  • Structured Prediction Benchmarks:
  • On USPS image completion, reduced-rank IOKR achieved an RBF reconstruction loss of 0.734, outperforming full-rank IOKR (0.751), KDE (0.764), and SPEN (0.801).
  • On metabolite identification, reduced-rank IOKR attained 30.0% top-1 accuracy (vs. 29.6% for IOKR and 25.9% for SPEN) and reduced MSE from 0.781 to 0.766.

Limitations and Future Work

  • Training Complexity: Exact training requires full kernel matrix inversion and SVD, taking $\mathcal{O}(2n^3)$ operations. For large datasets (e.g., Bookmarks), Nyström sub-sampling approximations were necessary.
  • Hyperparameter Tuning: Introducing the rank parameter $p$ adds an extra dimension to hyperparameter search grids alongside ridge regularizers $\lambda_1$ and $\lambda_2$.
  • Theoretical Dependence on Regularity Alignment: Statistical improvements require the output source condition ($\beta < 1 - 4/s$) and diffuse noise conditions to hold; when noise is highly concentrated along the same directions as the signal, rank reduction yields negligible statistical benefits.

Summary updated

BibTeX
@article{brogatmotte2022vector,
  author = {Luc Brogat-Motte and Alessandro Rudi and Céline Brouard and Juho Rousu and Florence d'Alché-Buc},
  title = {{Vector-Valued Least-Squares Regression under Output Regularity Assumptions}},
  journal = {J. Mach. Learn. Res.},
  year = {2022},
  url = {https://openreview.net/forum?id=L4rx9BZ2gA},
}
Figure