Matrix completion and extrapolation via kernel regression

Pere Giménez-Febrer, Alba Pagès-Zamora, Georgios B. GiannakisIEEE TSP 2018 · DOI

Abstract

Matrix completion and extrapolation (MCEX) are dealt with here over reproducing kernel Hilbert spaces (RKHSs) in order to account for prior information present in the available data. Aiming at a fast and low-complexity solver, the task is formulated as one of kernel ridge regression. The resultant MCEX algorithm can also afford online implementation, while the class of kernel functions also encompasses several existing approaches to MC with prior information. Numerical tests on synthetic and real datasets show that the novel approach is faster than widespread methods such as alternating least-squares (ALS) or stochastic gradient descent (SGD), and that the recovery error is reduced, especially when dealing with noisy data.

Introduction

Matrix Completion (MC) is a fundamental problem in modern data science, famously exemplified by the Netflix Prize. The goal is to estimate missing entries in a partially observed matrix. Traditionally, this is achieved by assuming the underlying matrix is low-rank, leading to optimization problems involving nuclear norm minimization or factorization techniques like Alternating Least-Squares (ALS) and Stochastic Gradient Descent (SGD).

However, traditional MC methods face significant limitations. First, they are often computationally expensive, requiring repeated Singular Value Decompositions (SVD). Second, they struggle to incorporate "side information"—such as social graphs or spatial coordinates—in a principled way. Finally, they fail at extrapolation: if a row or column has zero observed entries (the "cold start" problem), traditional methods cannot predict its values. This paper introduces a framework that reformulates MC as Kernel Ridge Regression (KRR), addressing these hurdles through the lens of Reproducing Kernel Hilbert Spaces (RKHS).

The MCEX Framework

The core innovation of this research is treating matrix entries not as isolated scalars, but as outputs of a two-dimensional function $v(x, y)$ residing in an RKHS. By defining kernels that represent the relationships between rows ($K_x$) and columns ($K_y$), the authors utilize a Kronecker product kernel $K_z = K_y \otimes K_x$ to model the dependencies across both dimensions simultaneously.

Kronecker Kernel MCEX (KKMCEX)

By applying the Representer Theorem, the authors show that the optimal function $v$ can be expressed as a linear combination of the kernel evaluated at the observed indices. This transforms the matrix completion problem into a convex Kernel Ridge Regression task. While a naive implementation would require inverting a massive $NL \times NL$ matrix (where $N$ and $L$ are the matrix dimensions), the authors leverage the Matrix Inversion Lemma to reduce the complexity to the number of observed entries $S$. This results in a closed-form, globally optimal solution.

Scalability and Online Learning

To handle large-scale datasets where the number of observations $S$ is high, the paper introduces RRMCEX (Ridge Regression MCEX). This variant uses a low-rank approximation of the kernel matrix, reducing computational complexity to $O(d^2S)$, where $d$ is a user-defined approximation rank. Furthermore, the authors derive an online version of the algorithm, allowing the model to update incrementally as new data arrives, which is essential for real-time recommendation systems or streaming sensor data.

Experimental Validation

The researchers evaluated the MCEX framework against standard ALS and SGD methods across three distinct data types:

  1. Synthetic Data: Using $250 \times 250$ matrices generated via Laplacian diffusion kernels on Erdős-Rényi graphs. The KKMCEX approach achieved significantly lower Normalized Mean Square Error (NMSE) than traditional methods, particularly in sparse regimes (1% to 10% observation rates).
  2. Temperature Measurements: A real-world dataset of daily temperature readings from 150 US weather stations. This tested the algorithm's ability to leverage spatio-temporal correlations. The kernel-based approach effectively "smoothed" the data, providing more accurate reconstructions than rank-based factorization.
  3. Mushroom Dataset: A large adjacency matrix ($5,643 \times 5,643$) used for categorical clustering. The results demonstrated that the low-rank RRMCEX approximation could maintain high accuracy while significantly reducing computation time.

Key Insights

Convexity and Global Optima

Unlike traditional matrix factorization, which is bi-convex and prone to getting stuck in local minima, the KRR formulation is strictly convex. This ensures that the algorithm always converges to the global optimum, providing more reliable and reproducible results.

The Power of Extrapolation

Perhaps the most significant advantage of the MCEX framework is its ability to perform extrapolation. Because the model learns a functional mapping based on kernels, it can predict values for a row or column even if that row or column was entirely absent from the training set. As long as the "coordinates" (e.g., the features or graph position) of the missing row/column are known, the kernel can infer the missing values.

Robustness to Noise

Standard MC methods often overfit to noise in the observed entries. By operating in an RKHS, the MCEX method inherently applies a smoothing penalty. In tests with a Signal-to-Noise Ratio (SNR) of 1, the kernel-based methods maintained stable error rates, whereas the performance of ALS and SGD degraded significantly.

Conclusion

By reformulating matrix completion as a kernel regression problem, this work provides a mathematically rigorous and computationally efficient alternative to traditional low-rank methods. The use of Kronecker product kernels allows for the seamless integration of prior information and enables the prediction of entirely missing rows and columns. While the performance remains dependent on the choice of an appropriate kernel, the framework's speed, convexity, and robustness make it a powerful tool for modern data recovery tasks.

Summary updated

BibTeX
@article{gimenezfebrer2018matrix,
  author = {Pere Giménez-Febrer and Alba Pagès-Zamora and Georgios B. Giannakis},
  title = {{Matrix completion and extrapolation via kernel regression}},
  journal = {IEEE Trans. Signal Process.},
  year = {2018},
  doi = {10.1109/tsp.2019.2932875},
}
Figure