Generalized Low-Rank Update: Model Parameter Bounds for Low-Rank Training Data Modifications

Hiroyuki Hanada, Noriaki Hashimoto, Kouichi Taji, Ichiro Takeuchi

Introduction

In modern machine learning, model selection and validation often involve minor, repetitive modifications to datasets. For instance, Leave-One-Out Cross-Validation (LOOCV) requires training a model $n$ times, each time removing a single instance. Similarly, stepwise feature selection involves repeatedly adding or removing individual features. For complex models like Support Vector Machines (SVM) and Logistic Regression, retraining from scratch after every such change creates a massive computational bottleneck.

While simple linear models like Ordinary Least Squares benefit from efficient low-rank update formulas, a comprehensive framework for more advanced models has been lacking. This paper introduces Generalized Low-Rank Update (GLRU), a framework designed to provide exact knowledge about new optimal solutions after small data modifications without the prohibitive cost of full retraining.

The GLRU Framework

Instead of solving for the exact new weight vector ($w^{*new}$) after a data update, GLRU identifies a bounded region ($\mathcal{W}$) where that vector must reside. This approach applies to any convex optimization problem where the loss is smooth or the regularization is strongly convex, covering a wide array of L2-regularized models.

Comparison between the Naive retraining method and the GLRU bounding approach.

The core technical innovation utilizes Fenchel Duality. By examining the duality gap—the difference between the primal and dual objective functions—researchers can use the optimal solution from the original dataset to calculate a "budget" for the potential shift in the solution. The authors propose two strategies to bound predictions: Primal-SCB (optimized for small regularization) and Dual-SCB (optimized for large regularization). The computational complexity of these bounds scales with the amount of change in the data (e.g., $O(d)$ for removing one instance) rather than the size of the entire dataset ($O(nd^2)$).

Applications: LOOCV and Feature Selection

The most significant insight of GLRU is that exact optimal weights are often unnecessary for decision-making. In binary classification, if the entire bounded region for a prediction is greater than zero, the model's classification is guaranteed to be positive, regardless of the exact optimum's location.

Workflow comparison for Leave-One-Out Cross-Validation (LOOCV) using Naive vs. GLRU methods.

This leads to a highly efficient "skip" strategy. In tasks like LOOCV, GLRU first checks the bounds. If the bounds are tight enough to determine the classification result, the algorithm skips the training step entirely. Training is only triggered if the bounds are too wide to provide a certain result. This turns a problem that usually scales with the whole dataset into one that scales with the modification size.

Experimental Results

The researchers evaluated GLRU on several high-dimensional datasets, including gisette (~5k features) and large-scale sets like SUSY (5 million samples).

  • LOOCV Speedups: On the gisette dataset, GLRU determined the correct classification for 94% to 97% of instances using only the bounds. This reduced computation time from hours to minutes.
  • Feature Selection: In stepwise feature elimination, GLRU reduced required training cycles by over 50% in most cases.
  • Exactness: Unlike approximate methods (e.g., one-step Newton updates), GLRU provides a range guaranteed to contain the true optimum, ensuring the final results are identical to full retraining.

Conclusion and Future Directions

GLRU represents a significant advancement in incremental learning. While currently optimized for linear prediction models with separable regularization, it offers a robust path toward more efficient model selection. Future work aims to extend these bounds to non-strongly convex problems (like pure L1/Lasso) and non-linear architectures such as deep neural networks.

Summary updated

Abstract

In this study, we have developed an incremental machine learning (ML) method that efficiently obtains the optimal model when a small number of instances or features are added or removed. This problem holds practical importance in model selection, such as cross-validation (CV) and feature selection. Among the class of ML methods known as linear estimators, there exists an efficient model update framework, the low-rank update, that can effectively handle changes in a small number of rows and columns within the data matrix. However, for ML methods beyond linear estimators, there is currently no comprehensive framework available to obtain knowledge about the updated solution within a specific computational complexity. In light of this, our study introduces a the generalized low-rank update (GLRU) method, which extends the low-rank update framework of linear estimators to ML methods formulated as a certain class of regularized empirical risk minimization, including commonly used methods such as support vector machines and logistic regression. The proposed GLRU method not only expands the range of its applicability but also provides information about the updated solutions with a computational complexity proportional to the number of data set changes. To demonstrate the effectiveness of the GLRU method, we conduct experiments showcasing its efficiency in performing cross-validation and feature selection compared to other baseline methods.
BibTeX
@article{hanada2023generalized,
  author = {Hiroyuki Hanada and Noriaki Hashimoto and Kouichi Taji and Ichiro Takeuchi},
  title = {{Generalized Low-Rank Update: Model Parameter Bounds for Low-Rank Training Data Modifications}},
  journal = {Neural Computation},
  year = {2023},
  doi = {10.1162/neco\_a\_01619},
}
Figure