Incremental Matrix Factorization: A Linear Feature Transformation Perspective

Xunpeng Huang, Le Wu, Enhong Chen, Hengshu Zhu, Qi Liu, Yijun Wang

Introduction

Matrix Factorization (MF) is a cornerstone of modern recommender systems, enabling the prediction of user preferences by decomposing rating matrices into latent user and item vectors. However, in real-world applications, data arrives as a continuous stream. Traditional batch retraining is computationally prohibitive for large-scale systems, while existing incremental methods often suffer from model specificity, high storage requirements, or a lack of theoretical guarantees.

This paper addresses these challenges by introducing the Linear Feature Transformation (LFT) framework, a general approach for updating MF models incrementally with significant improvements in speed and efficiency.

The Linear Feature Transformation (LFT) Framework

The core premise of LFT is that the evolution of latent features can be modeled as a linear transformation. When new ratings arrive, the updated latent feature matrix $Y_{|t+1}$ is expressed as a linear combination of the previous features $Y_{|t}$ and the features derived solely from the new data $\Delta Y_{|t+1}$.

Instead of re-optimizing every user and item vector, LFT learns two compact $K \times K$ transformation matrices, $C$ and $D$. These matrices effectively capture the shift in the latent space caused by the new data.

The LFT framework workflow across successive time periods.

The LFT workflow involves three primary steps:

  1. Decomposition: A standard MF model is applied to the new data batch to obtain incremental features $\Delta Y_{|t+1}$.
  2. Optimization: A small-scale optimization problem is solved to find the transformation matrices that best align with a sample of historical ratings and the new data.
  3. Update: The transformation is applied to generate the updated latent vectors.

The authors implement this framework as FAVA_LFT, an incremental version of the constrained MF model FAVA.

Experimental Evaluation

The LFT framework was evaluated using the MovieLens 1M (ML1M) and MovieLens 10M (ML10M) datasets, comparing it against several baselines including Batch Retraining and Incremental Retraining (IRMF).

Key Results

  • Computational Efficiency: LFT achieved massive speedups. On the ML1M dataset, FAVA_LFT was approximately 174 times faster than IRMF. As shown in the results, the time complexity of LFT remains significantly lower than traditional retraining methods as the number of data parts increases.
  • Storage Savings: Unlike many incremental methods that require storing all historical ratings, LFT utilizes a small, adjustable sample of old ratings to anchor the transformation, drastically reducing storage overhead.
  • Accuracy: The efficiency gains come with a minimal impact on precision. On ML1M, LFT maintained high accuracy, with only a ~2% increase in Root Mean Square Error (RMSE) compared to the most accurate batch baselines.
Comprehensive experimental results on ML1M and ML10M datasets showing RMSE, training time, and storage efficiency.

Conclusion

The Linear Feature Transformation perspective offers a powerful and theoretically grounded approach to incremental Matrix Factorization. By approximating complex feature evolution with linear transformations, LFT enables real-time model updates with minimal computational and storage costs. Future work may explore optimal sampling strategies to further mitigate model drift over extended periods and tighter integration with cold-start solutions.

Summary updated

BibTeX
@inproceedings{huang2017incremental,
  author = {Xunpeng Huang and Le Wu and Enhong Chen and Hengshu Zhu and Qi Liu and Yijun Wang},
  title = {{Incremental Matrix Factorization: A Linear Feature Transformation Perspective}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/264},
}
Figure