arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.01722cs.LG
收藏

使用 FAIR 的异构联邦协同过滤:随机子空间中的联邦平均

Heterogeneous federated collaborative filtering using FAIR: Federated Averaging in Random Subspaces

Rice University(莱斯大学);ThirdAI Corp(ThirdAI 公司)

Aditya Desai, Benjamin Meisburger, Zichang Liu, Anshumali Shrivastava

AI总结:

针对联邦推荐中嵌入表超出异构设备内存的问题,本文提出 FAIR,利用基于哈希随机投影的一致可坍缩子空间实现任意压缩和全设备协同训练,并验证其效果与收敛性。

摘要:

针对物品(例如电影、书籍)和广告的推荐系统(RS)被广泛用于在各类互联网平台上为用户定制内容。传统上,推荐模型在中央服务器上训练。然而,由于人们对数据隐私的担忧日益加剧,以及 GDPR 等法规的出台,联邦学习正成为一种越来越受欢迎的范式,在这种范式中,数据永远不会离开客户端设备。将联邦学习应用于推荐模型并非易事,原因在于庞大的嵌入表往往超过大多数用户设备的内存限制。为了在联邦学习中纳入来自所有设备的数据,我们必须能够在具有异构内存容量的设备上对嵌入表进行集体训练。当前针对异构联邦学习的解决方案只能适应较小范围的容量,因此限制了能够参与训练的设备数量。我们提出了随机子空间联邦平均(Federated Averaging in Random subspaces,FAIR),它允许根据设备容量对嵌入表进行任意压缩,并确保所有设备都能参与训练。FAIR 使用我们所称的、由基于哈希的随机投影所定义的一致且可坍缩的子空间,以在用户设备上采用不同压缩量的同时联合训练庞大的嵌入表。我们在多个数据集上的神经协同过滤任务中评估了 FAIR,并验证 FAIR 能够从容量各异的大量设备中收集和共享信息,从而实现无缝协作。我们证明了 FAIR 在非 i.i.d. 数据分布的同构设置下的收敛性。我们的代码已在 {https://github.com/apd10/FLCF} 开源。

英文摘要:

Recommendation systems (RS) for items (e.g., movies, books) and ads are widely used to tailor content to users on various internet platforms. Traditionally, recommendation models are trained on a central server. However, due to rising concerns for data privacy and regulations like the GDPR, federated learning is an increasingly popular paradigm in which data never leaves the client device. Applying federated learning to recommendation models is non-trivial due to large embedding tables, which often exceed the memory constraints of most user devices. To include data from all devices in federated learning, we must enable collective training of embedding tables on devices with heterogeneous memory capacities. Current solutions to heterogeneous federated learning can only accommodate a small range of capacities and thus limit the number of devices that can participate in training. We present Federated Averaging in Random subspaces (FAIR), which allows arbitrary compression of embedding tables based on device capacity and ensures the participation of all devices in training. FAIR uses what we call consistent and collapsible subspaces defined by hashing-based random projections to jointly train large embedding tables while using varying amounts of compression on user devices. We evaluate FAIR on Neural Collaborative Filtering tasks with multiple datasets and verify that FAIR can gather and share information from a wide range of devices with varying capacities, allowing for seamless collaboration. We prove the convergence of FAIR in the homogeneous setting with non-i.i.d data distribution. Our code is open source at {https://github.com/apd10/FLCF}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑