iALS ++:利用子空间优化加速矩阵分解
iALS++: Speeding up Matrix Factorization with Subspace Optimization
摘要:
iALS是一种用于从具有交替最小二乘的隐式反馈学习矩阵分解模型的流行算法。该算法是在十多年前发明的,但与最近的方法(如VAE,EASE,SLIM或NCF)相比,仍然显示出具有竞争力的质量。由于避免负采样的计算技巧,iALS非常有效,特别是对于大型项目目录。然而,iALS由于其对d的立方运行时依赖性而不能很好地扩展大的嵌入维度d。坐标下降变化,iCD,已被提出来降低复杂性的二次在d。在这项工作中,我们表明,iCD方法不太适合现代处理器,可以是一个数量级慢于一个仔细的iALS实现小到中等规模的嵌入大小(d ~ 100),只有执行比iALS大嵌入d ~ 1000。我们提出了一种新的求解器iALS++,结合了iALS在矢量处理方面的优势,具有iCD中的低计算复杂性。iALS++对于小嵌入维度和大嵌入维度都比iCD快一个数量级。它可以在几分钟内解决Movielens 20 M或Million Song Dataset等基准问题,甚至可以在几分钟内解决1000维嵌入向量。
英文摘要:
iALS is a popular algorithm for learning matrix factorization models from implicit feedback with alternating least squares. This algorithm was invented over a decade ago but still shows competitive quality compared to recent approaches like VAE, EASE, SLIM, or NCF. Due to a computational trick that avoids negative sampling, iALS is very efficient especially for large item catalogues. However, iALS does not scale well with large embedding dimensions, d, due to its cubic runtime dependency on d. Coordinate descent variations, iCD, have been proposed to lower the complexity to quadratic in d. In this work, we show that iCD approaches are not well suited for modern processors and can be an order of magnitude slower than a careful iALS implementation for small to mid scale embedding sizes (d ~ 100) and only perform better than iALS on large embeddings d ~ 1000. We propose a new solver iALS++ that combines the advantages of iALS in terms of vector processing with a low computational complexity as in iCD. iALS++ is an order of magnitude faster than iCD both for small and large embedding dimensions. It can solve benchmark problems like Movielens 20M or Million Song Dataset even for 1000 dimensional embedding vectors in a few minutes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。