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

点击率预测中嵌入的自适应低精度训练

Adaptive Low-Precision Training for Embeddings in Click-Through Rate Prediction

Huazhong University of Science and Technology(华中科技大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Shiwei Li, Huifeng Guo, Lu Hou, Wei Zhang, Xing Tang, Ruiming Tang, Rui Zhang, Ruixuan Li

AI总结:

针对 CTR 模型嵌入表庞大的问题,提出 LPT 与自适应 ALPT 量化训练方法,通过梯度学习量化步长,在极低比特下保持精度并首次实现无损 8-bit 嵌入训练。

摘要:

点击率(CTR)预测模型中的嵌入表通常非常庞大。为了高效且经济地训练和部署 CTR 模型,有必要在训练阶段压缩其嵌入表。为此,我们构建了一种新颖的量化训练范式,从训练阶段开始压缩嵌入,称为低精度训练(LPT)。此外,我们对其收敛性进行了理论分析。结果表明,在 LPT 中,随机权重量化比确定式权重量化具有更快的收敛速度和更小的收敛误差。进一步地,为降低精度下降,我们提出自适应低精度训练(ALPT),通过梯度下降学习步长(即量化分辨率)。在两个真实世界数据集上的实验证实了我们的分析,并表明 ALPT 能够显著提升预测精度,尤其是在极低比特宽度下。我们首次在 CTR 模型中成功训练了 8-bit 嵌入,且未牺牲预测精度。ALPT 的代码已公开发布。

英文摘要:

Embedding tables are usually huge in click-through rate (CTR) prediction models. To train and deploy the CTR models efficiently and economically, it is necessary to compress their embedding tables at the training stage. To this end, we formulate a novel quantization training paradigm to compress the embeddings from the training stage, termed low-precision training (LPT). Also, we provide theoretical analysis on its convergence. The results show that stochastic weight quantization has a faster convergence rate and a smaller convergence error than deterministic weight quantization in LPT. Further, to reduce the accuracy degradation, we propose adaptive low-precision training (ALPT) that learns the step size (i.e., the quantization resolution) through gradient descent. Experiments on two real-world datasets confirm our analysis and show that ALPT can significantly improve the prediction accuracy, especially at extremely low bit widths. For the first time in CTR models, we successfully train 8-bit embeddings without sacrificing prediction accuracy. The code of ALPT is publicly available.

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

↑