Flips: A Flexible Partitioning Strategy Near Memory Processing Architecture for Recommendation System
Personalized recommendation systems are massively deployed in production data centers. The memory-intensive embedding layers of recommendation systems are the crucial performance bottleneck, with operations manifesting as sparse memory lookups and simple reduction computations. Recent studies propose near-memory processing (NMP) architectures to speed up embedding operations by utilizing high internal memory bandwidth. However, these solutions typically employ a fixed vector partitioning strategy that fail to adapt to changes in data center deployment scenarios and lack practicality. We propose Flips, a <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">fl</u>ex<underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">i</u>ble <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">p</u>artitioning <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">s</u>trategy NMP architecture that accelerates embedding layers. Flips supports more than ten partitioning strategies through hardware-software co-design. Novel hardware architectures and address mapping schemes are designed for the memory-side and host-side. We provide two approaches to determine the optimal partitioning strategy for each embedding table, enabling the architecture to accommodate changes in deployment scenarios. Importantly, Flips is decoupled from the NMP level and can utilize rank-level, bank-group-level and bank-level parallelism. In peer-level NMP evaluations, Flips outperforms state-of-the-art NMP solutions, RecNMP, TRiM, and ReCross by up to 4.0×, 4.1×, and 3.5×, respectively.
Authors
- Yudi Qiu (ORCID: https://orcid.org/0000-0001-6770-3681)
- Shiyan Yi (ORCID: https://orcid.org/0000-0002-0744-358X)
- Lingfei Lu (ORCID: https://orcid.org/0009-0006-6416-6474)
- Minge Jing (ORCID: https://orcid.org/0009-0005-0446-5600)
- Yibo Fan (ORCID: https://orcid.org/0000-0003-2523-8261)
- Yang Kong (ORCID: https://orcid.org/0009-0008-7390-8315)
- Xiaoyang Zeng (ORCID: https://orcid.org/0000-0003-3986-137X)
Institutions
- Fudan University (CN)
- Alibaba Group (China) (CN)
Publication Details
- Journal
- IEEE Transactions on Parallel and Distributed Systems
- Published
- 2025-02-06
- DOI
- https://doi.org/10.1109/tpds.2025.3539534
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China