paper-with-me

홈 › Papers

Accelerating Matrix Factorization by Dynamic Pruning for Fast Recommendation

2024-03-18 · Yining Wu, Shengyu Duan, Gaole Sai, Chenhong Cao, Guobing Zou

Matrix factorization (MF) is a widely used collaborative filtering (CF) algorithm for recommendation systems (RSs), due to its high prediction accuracy, great flexibility and high efficiency in big data processing. However, with the dramatically increased number of users/items in current RSs, the computational complexity for training a MF model largely increases. Many existing works have accelerated MF, by either putting in additional computational resources or utilizing parallel systems, introducing a large cost. In this paper, we propose algorithmic methods to accelerate MF, without inducing any additional computational resources. In specific, we observe fine-grained structured sparsity in the decomposed feature matrices when considering a certain threshold. The fine-grained structured sparsity causes a large amount of unnecessary operations during both matrix multiplication and latent factor update, increasing the computational time of the MF training process. Based on the observation, we firstly propose to rearrange the feature matrices based on joint sparsity, which potentially makes a latent vector with a smaller index more dense than that with a larger index. The feature matrix rearrangement is given to limit the error caused by the later performed pruning process. We then propose to prune the insignificant latent factors by an early stopping process during both matrix multiplication and latent factor update. The pruning process is dynamically performed according to the sparsity of the latent factors for different users/items, to accelerate the process. The experiments show that our method can achieve 1.2-1.65 speedups, with up to 20.08% error increase, compared with the conventional MF training process. We also prove the proposed methods are applicable considering different hyperparameters including optimizer, optimization strategy and initialization method.

📄 PDF Abstract BibTeX arXiv:2404.04265

Code (1)

git-smsun/dp-mf 공식 구현

Tasks

Collaborative FilteringRecommendation Systems

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
Early Stopping Early Stopping is a regularization technique for deep neural networks that stops training when parameter updates no longer begin to yield improves on a validation set. In…

Similar Papers 제목 키워드 기반

Factorization tricks for LSTM networks

2017-03-31 · Oleksii Kuchaiev, Boris Ginsburg

We present two simple ways of reducing the number of parameters and accelerating the training of large Long Short-Term Memory (LSTM) networks: the first one is "matrix factorization by design" of LSTM matrix into the pro…

Language Modelling

Rank and run-time aware compression of NLP Applications

2020-10-06 · EMNLP (sustainlp) 2020 11 · Urmish Thakker, Jesse Beu, Dibakar Gope, Ganesh Dasika 외

Sequence model based NLP applications can be large. Yet, many applications that benefit from them run on small devices with very limited compute and storage capabilities, while still having run-time constraints. As a res…

Intent DetectionLanguage ModelingLanguage ModellingTranslation

Accelerating Power Method with Fast Sketching for Stronger Low-Rank Approximation

2026-05-10 · Shabarish Chenakkod, Michał Dereziński arxiv

The power method is one of the most fundamental tools for extracting top principal components from data through low-rank matrix approximation. Yet, when the target rank is large, the cost of matrix multiplication associa…

Efficient Model-Based Collaborative Filtering with Fast Adaptive PCA

2020-09-04 · Xiangyun Ding, Wenjian Yu, Yuyang Xie, Shenghua Liu

A model-based collaborative filtering (CF) approach utilizing fast adaptive randomized singular value decomposition (SVD) is proposed for the matrix completion problem in recommender system. Firstly, a fast adaptive PCA …

Collaborative FilteringMatrix CompletionRecommendation Systems

Matrix Factorization with Dynamic Multi-view Clustering for Recommender System

2025-04-20 · Shangde Gao, Ke Liu, Yichao Fu, Hongxia Xu 외

Matrix factorization (MF), a cornerstone of recommender systems, decomposes user-item interaction matrices into latent representations. Traditional MF approaches, however, employ a two-stage, non-end-to-end paradigm, seq…

ClusteringRecommendation SystemsRepresentation Learning