Efficient Differentiable Approximation of Generalized Low-rank Regularization
Naiqi Li, Yuqiu Xie, Peiyuan Liu, Tao Dai, Yong Jiang, Shu-Tao Xia
TL;DR
This work tackles the optimization bottleneck of low-rank regularization by introducing a differentiable, SVD-free approximation that covers a broad class of relaxations, including the nuclear norm and Schatten-$p$ norms. It defines a stochastic rank surrogate via random projections and leverages Taylor and Laguerre expansions to create differentiable estimators for generalized LRR, enabling gradient-based optimization on standard hardware. Convergence analysis shows that both bias and variance of the rank estimator decline as the sample size $N$ and iteration counts $k_1,k_2$ grow, supporting reliable optimization. Empirically, the method demonstrates versatility across matrix completion, video fore-background separation, and denoising with DNNs, delivering improved performance and efficient GPU-friendly computation. The accompanying code is available at the project GitHub repository.
Abstract
Low-rank regularization (LRR) has been widely applied in various machine learning tasks, but the associated optimization is challenging. Directly optimizing the rank function under constraints is NP-hard in general. To overcome this difficulty, various relaxations of the rank function were studied. However, optimization of these relaxed LRRs typically depends on singular value decomposition, which is a time-consuming and nondifferentiable operator that cannot be optimized with gradient-based techniques. To address these challenges, in this paper we propose an efficient differentiable approximation of the generalized LRR. The considered LRR form subsumes many popular choices like the nuclear norm, the Schatten-$p$ norm, and various nonconvex relaxations. Our method enables LRR terms to be appended to loss functions in a plug-and-play fashion, and the GPU-friendly operations enable efficient and convenient implementation. Furthermore, convergence analysis is presented, which rigorously shows that both the bias and the variance of our rank estimator rapidly reduce with increased sample size and iteration steps. In the experimental study, the proposed method is applied to various tasks, which demonstrates its versatility and efficiency. Code is available at https://github.com/naiqili/EDLRR.
