paperbot · PL 论文追踪

全部论文 待读 收藏

P2 GRACE: A Scalable Graph-Based Approach to Accelerating Recommendation Model Inference

GRACE:一种加速推荐模型推理的可扩展图方法
ASPLOS Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 32023匹配度 1/10 · 该论文研究推荐模型稀疏嵌入层推理加速,属于机器学习系统与体系结构优化,未涉及静态分析、程序分析、形式化验证、LLM/Agent 或浮点/贝叶斯程序分析等用户核心方向。虽然标签含“机器学习与程序语言”,但内容与用户研究画像匹配度很低。引用 16 inbox
Haojie Ye, Sanketh Vedula, Yuhan Chen, Yichen Yang, Alex Bronstein, Ronald Dreslinski, Trevor Mudge, Nishil Talati
crossref: 2026-09-12

AI 速览

一句话:提出基于物品共现图与部分和记忆化的算法-系统协同设计,加速推荐模型稀疏嵌入层推理。

推荐模型的稀疏嵌入层受限于高内存带宽需求,现有异构内存设计与部分嵌入和记忆化方法要么仅针对少量嵌入,要么处理开销过高,难以随现代嵌入表规模扩展。GRACE 提出轻量可扩展的算法-系统协同设计:用物品共现图(ICG)可扩展地记录共现关系,并通过系统感知的 ICG 聚类算法发现任意长度的频繁访问物品组合,计算并记忆化其部分和;高频部分和存入软件管理的缓存空间,配合缓存数据布局与低成本地址计算逻辑,降低内存流量并提升稀疏特征计算吞吐。评估表明,GRACE 相比 SPACE 和 MERCI 分别取得 1.5 倍和 1.4 倍加速。

问题
推荐模型稀疏嵌入层推理受高内存带宽需求制约,现有部分和记忆化方案对嵌入覆盖不全或处理开销过高,难以随现代嵌入表规模扩展。
方法
提出 GRACE 算法-系统协同设计,利用可扩展的物品共现图(ICG)和系统感知聚类发现任意长度频繁物品组合,记忆化部分和并设计软件管理缓存布局与低成本地址计算。
评估
在推荐模型推理负载上,将 GRACE 与现有最优技术 SPACE 和 MERCI 对比,分别获得 1.5 倍和 1.4 倍加速。
原文摘要(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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot10094,
  title = {GRACE: A Scalable Graph-Based Approach to Accelerating Recommendation Model Inference},
  author = {Haojie Ye and Sanketh Vedula and Yuhan Chen and Yichen Yang and Alex Bronstein and Ronald Dreslinski and Trevor Mudge and Nishil Talati},
  booktitle = {ASPLOS},
  year = {2023},
  doi = {10.1145/3582016.3582029}
}