arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1911.02079cs.LGcs.IRstat.ML
收藏

嵌入表上后训练4位Quantization

Post-Training 4-bit Quantization on Embedding Tables

North Carolina State University(北卡罗来纳州立大学);Facebook, Inc(脸书公司)

Hui Guan, Andrey Malevich, Jiyan Yang, Jongsoo Park, Hector Yuen

摘要:

连续表示已被广泛采用的推荐系统中,大量的实体表示使用嵌入向量。随着实体基数的增加,嵌入组件可以很容易地包含数百万个参数,并由于大量的内存消耗而成为存储和推理的瓶颈。这项工作的重点是后训练4位量化的连续嵌入。我们提出了逐行均匀量化与贪婪搜索和基于码本的量化,始终优于国家的最先进的量化方法,减少精度退化。我们在Facebook的生产模型上部署了我们的统一量化技术,并证明它可以将模型大小减少到单精度版本的13.89%,同时模型质量保持中立。

英文摘要:

Continuous representations have been widely adopted in recommender systems where a large number of entities are represented using embedding vectors. As the cardinality of the entities increases, the embedding components can easily contain millions of parameters and become the bottleneck in both storage and inference due to large memory consumption. This work focuses on post-training 4-bit quantization on the continuous embeddings. We propose row-wise uniform quantization with greedy search and codebook-based quantization that consistently outperforms state-of-the-art quantization approaches on reducing accuracy degradation. We deploy our uniform quantization technique on a production model in Facebook and demonstrate that it can reduce the model size to only 13.89% of the single-precision version while the model quality stays neutral.

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

↑