The embedding-based representation learning is commonly used in deep learning recommendation models to map the raw sparse features to dense vectors. The traditional embedding manner that assigns a uniform size to all features has two issues. First, the numerous features inevitably lead to a gigantic embedding table that causes a high memory usage cost. Second, it is likely to cause the over-fitting problem for those features that do not require too large representation capacity. Existing works that try to address the problem always cause a significant drop in recommendation performance or suffers from the limitation of unaffordable training time cost. In this paper, we proposed a novel approach, named PEP (short for Plug-in Embedding Pruning), to reduce the size of the embedding table while avoiding the drop of recommendation accuracy. PEP prunes embedding parameter where the pruning threshold(s) can be adaptively learned from data. Therefore we can automatically obtain a mixed-dimension embedding-scheme by pruning redundant parameters for each feature. PEP is a general framework that can plug in various base recommendation models. Extensive experiments demonstrate it can efficiently cut down embedding parameters and boost the base model's performance. Specifically, it achieves strong recommendation performance while reducing 97-99% parameters. As for the computation cost, PEP only brings an additional 20-30% time cost compared with base models. Codes are available at https://github.com/ssui-liu/learnable-embed-sizes-for-RecSys.
翻译:深层学习建议模型通常使用嵌入式代表学习方法,以绘制密集矢量的原始稀疏特性。传统的嵌入方式给所有特性都定出一个统一的大小,有两个问题。首先,许多特性不可避免地导致一个巨大的嵌入表,导致记忆使用成本高。第二,它可能会给那些不需要过多代表能力的特征造成不适当的问题。试图解决问题的现有工作总是导致建议性能显著下降,或者受到无法负担的培训时间成本限制的影响。在本文中,我们提出了一个名为PEP(Plug-In Embeding Prurning)的新颖方法,以减少嵌入表的大小,同时避免建议准确性下降。PEP Prunes嵌入参数,在那些不需要过多代表能力的特性的特性中,可以从这些特征中学习到不适应性能阈值。因此,我们可以通过对每个特性的冗余参数进行处理,自动获得混合的嵌入式嵌入式组合。PEP是一个可以在各种基本建议模型中插入的通用框架。广度实验显示它能有效削减嵌入/内嵌入式Rebeb-reduding Prince-dealal laisal lades asu laxal lax lax lax lax lax lax lax lax laus laus laus lax lax lax lax lax lax laus laus laus 20_ lax lax lax