paper-with-me

Papers

DreamShard: Generalizable Embedding Table Placement for Recommender Systems

2022-10-05 · Daochen Zha, Louis Feng, Qiaoyu Tan, Zirui Liu, Kwei-Herng Lai, Bhargav Bhushanam, Yuandong Tian, Arun Kejariwal, Xia Hu

We study embedding table placement for distributed recommender systems, which aims to partition and place the tables on multiple hardware devices (e.g., GPUs) to balance the computation and communication costs. Although prior work has explored learning-based approaches for the device placement of computational graphs, embedding table placement remains to be a challenging problem because of 1) the operation fusion of embedding tables, and 2) the generalizability requirement on unseen placement tasks with different numbers of tables and/or devices. To this end, we present DreamShard, a reinforcement learning (RL) approach for embedding table placement. DreamShard achieves the reasoning of operation fusion and generalizability with 1) a cost network to directly predict the costs of the fused operation, and 2) a policy network that is efficiently trained on an estimated Markov decision process (MDP) without real GPU execution, where the states and the rewards are estimated with the cost network. Equipped with sum and max representation reductions, the two networks can directly generalize to any unseen tasks with different numbers of tables and/or devices without fine-tuning. Extensive experiments show that DreamShard substantially outperforms the existing human expert and RNN-based strategies with up to 19% speedup over the strongest baseline on large-scale synthetic tables and our production tables. The code is available at https://github.com/daochenzha/dreamshard

📄 PDF Abstract BibTeX arXiv:2210.02023

Code (1)

daochenzha/dreamshard 공식 구현 pytorch

Tasks

GPURecommendation SystemsReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

Learning Generalizable Device Placement Algorithms for Distributed Machine Learning

2019-12-01 · NeurIPS 2019 12 · Ravichandra Addanki, Shaileshh Bojja Venkatakrishnan, Shreyan Gupta, Hongzi Mao 외

We present Placeto, a reinforcement learning (RL) approach to efficiently find device placements for distributed neural network training. Unlike prior approaches that only find a device placement for a specific computat…

BIG-bench Machine LearningReinforcement LearningReinforcement Learning (RL)

Placeto: Learning Generalizable Device Placement Algorithms for Distributed Machine Learning

2019-06-20 · Ravichandra Addanki, Shaileshh Bojja Venkatakrishnan, Shreyan Gupta, Hongzi Mao 외

We present Placeto, a reinforcement learning (RL) approach to efficiently find device placements for distributed neural network training. Unlike prior approaches that only find a device placement for a specific computati…

BIG-bench Machine LearningReinforcement LearningReinforcement Learning (RL)

PolyRecommender: A Multimodal Recommendation System for Polymer Discovery

2025-11-01 · Xin Wang, Yunhao Xiao, Rui Qiao arxiv

We introduce PolyRecommender, a multimodal discovery framework that integrates chemical language representations from PolyBERT with molecular graph-based representations from a graph encoder. The system first retrieves c…

Multimodal Recommendation

Embedding Compression in Recommender Systems: A Survey

2024-08-05 · Shiwei Li, Huifeng Guo, Xing Tang, Ruiming Tang 외

To alleviate the problem of information explosion, recommender systems are widely deployed to provide personalized information filtering services. Usually, embedding tables are employed in recommender systems to transfor…

Recommendation SystemsSurvey

Learning Multi-granular Quantized Embeddings for Large-Vocab Categorical Features in Recommender Systems

2020-02-20 · Wang-Cheng Kang, Derek Zhiyuan Cheng, Ting Chen, Xinyang Yi 외

Recommender system models often represent various sparse features like users, items, and categorical features via embeddings. A standard approach is to map each unique feature value to an embedding vector. The size of th…

QuantizationRecommendation Systems