Published January 1, 2023 | Version v1
Journal article Open

Load balanced locality-aware parallel SGD on multicore architectures for latent factor based collaborative filtering

  • 1. Bilkent Univ, Comp Engn Dept, Ankara, Turkiye
  • 2. Facebook Inc, Menlo Pk, CA USA

Description

We investigate the parallelization of Stochastic Gradient Descent (SGD) for matrix completion on multicore architectures. We provide an experimental analysis of current SGD algorithms to find out their bottlenecks and limitations. Grid-based methods suffer from load imbalance among 2D blocks of the rating matrix, especially when datasets are skewed and sparse. Asynchronous methods, on the other hand, can face cache issues due to their memory access pattern. We propose bin-packing-based block balancing methods that are alternative to the recently proposed BaPa method. We then introduce Locality Aware SGD (LASGD), a grid-based asynchronous parallel SGD algorithm that efficiently utilizes cache by changing nonzero update sequence without affecting factor update order and carefully arranging latent factor matrices in the memory. Combined with our proposed load balancing methods, our experiments show that LASGD performs significantly better than alternative approaches in parallel shared-memory systems.(c) 2023 Elsevier B.V. All rights reserved.

Files

bib-5bd9e925-687e-4695-b3d0-e97e7d181003.txt

Files (256 Bytes)

Name Size Download all
md5:fc1bf21628f8a447fee64085a5053732
256 Bytes Preview Download