arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.25288cs.LGcs.AI
收藏

面向大规模推荐模型的智能嵌入剪枝

Intelligent Embedding Pruning for Large-Scale Recommendation Models

Meta

Anish Khazane, Alex Saad-Falcon, Guanchu Wu, Marcio Porto, Jasper Shan, Fei Yu, Eugene Shulga, Intaik Park, Yongzhe Zhang, Xiaoyu Deng, Sheng Luo, Xiaoya Wang

AI总结:

该研究针对大规模推荐系统嵌入层内存压力问题,提出基于特征重要性的训练中嵌入剪枝方法FI-ITEP,可实现20%-40%内存减少,提升GPU利用率并降低训练成本。

摘要:

现代推荐系统面临巨大的内存压力,这主要来自将高基数类别特征映射为密集向量的稀疏嵌入层。训练中嵌入剪枝(ITEP)会在训练过程中移除不太重要的嵌入行,实现端到端的内存节省,但有时会降低准确率,因为表级剪枝比例是基于大小启发式设置的。我们使用特征重要性(FI)来指导这些比例(FI-ITEP),为与不太重要特征关联的表分配更高的剪枝比例。在三个大规模推荐模型上,FI-ITEP实现了20%-40%的总内存减少,同时达到或优于基于百分位的ITEP的准确率。由于特征重要性信号的计算资源需求极小,这些内存节省转化为具体的系统优势:相同模型可在更少的GPU训练器上训练(例如从112个减少到80个),且每GPU吞吐量更高,每次模型发布可节省1000+ GPU小时。我们在开源的DLRM(Criteo 1TB)上复现了这些趋势,并量化了端到端的训练时间和GPU成本权衡——包括计算FI的负担——为实际系统中的嵌入剪枝提供了实用指导。

英文摘要:

Modern recommendation systems face substantial memory pressure, largely from the sparse embedding layer that maps high-cardinality categorical features into dense vectors. In-training embedding pruning (ITEP) removes less important embedding rows during training, yielding end-to-end memory savings but sometimes degrading accuracy because per-table pruning ratios are set by size-based heuristics. We use feature importance (FI) to guide these ratios (FI-ITEP), assigning higher pruning to tables tied to less important features. Across three large-scale recommendation models, FI-ITEP achieves 20--40% total memory reduction while matching or improving accuracy relative to percentile-based ITEP. Because the feature-importance signal requires minimal resources to compute, these memory savings translate into concrete systems benefits: the same models train on fewer GPU trainers (e.g., 112 to 80) with higher per-GPU throughput, saving 1,000+ GPU-hours per model launch. We reproduce these trends on the open-source DLRM (Criteo 1TB) and quantify the end-to-end training-time and GPU-cost tradeoff---including the burden of computing FI---offering practical guidance for embedding pruning in real-world systems.

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

↑