@inproceedings{e7183ab7d13d4197b4ae702afd15748a,
title = "GRACE: A Scalable Graph-Based Approach to Accelerating Recommendation Model Inference",
abstract = "The high memory bandwidth demand of sparse embedding layers continues to be a critical challenge in scaling the performance of recommendation models. While prior works have exploited heterogeneous memory system designs and partial embedding sum memoization techniques, they offer limited benefits. This is because prior designs either target a very small subset of embeddings to simplify their analysis or incur a high processing cost to account for all embeddings, which does not scale with the large sizes of modern embedding tables. This paper proposes GRACE-a lightweight and scalable graph-based algorithm-system co-design framework to significantly improve the embedding layer performance of recommendation models. GRACE proposes a novel Item Co-occurrence Graph (ICG) that scalably records item co-occurrences. GRACE then presents a new system-aware ICG clustering algorithm to find frequently accessed item combinations of arbitrary lengths to compute and memoize their partial sums. High-frequency partial sums are stored in a software-managed cache space to reduce memory traffic and improve the throughput of computing sparse features. We further present a cache data layout and low-cost address computation logic to efficiently lookup item embeddings and their partial sums. Our evaluation shows that GRACE significantly outperforms the state-of-the-art techniques SPACE and MERCI by 1.5x and 1.4x, respectively.",
keywords = "Algorithm-System Co-Design, DLRM, Embedding Reduction",
author = "Haojie Ye and Sanketh Vedula and Yuhan Chen and Yichen Yang and Alex Bronstein and Ronald Dreslinski and Trevor Mudge and Nishil Talati",
note = "Publisher Copyright: {\textcopyright} 2023 ACM.; 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS 2023 ; Conference date: 25-03-2023 Through 29-03-2023",
year = "2023",
month = mar,
day = "25",
doi = "https://doi.org/10.1145/3582016.3582029",
language = "الإنجليزيّة",
series = "International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS",
pages = "282--301",
editor = "Aamodt, {Tor M.} and Jerger, {Natalie Enright} and Michael Swift",
booktitle = "ASPLOS 2023 - Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems",
}