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

高效的基于设备会话的推荐

Efficient On-Device Session-Based Recommendation

Xin Xia, Junliang Yu, Qinyong Wang, Chaoqun Yang, Quoc Viet Hung Nguyen, Hongzhi Yin

摘要:

设备上基于会话的推荐系统在提供有希望的推荐性能的同时由于低能量/资源消耗和隐私保护而获得越来越多的关注。为了适应资源受限的移动设备中强大的基于神经会话的推荐模型,张量训练分解及其变体已被广泛应用于通过将嵌入表分解为更小的张量来减少内存占用,在压缩推荐模型方面显示出巨大的潜力。然而,这些模型压缩技术由于生成索引列表和一系列张量乘法以形成项嵌入的复杂过程而显著增加了局部推理时间,并且所得到的设备上推荐器不能提供实时响应和推荐。为了提高在线推荐的效率,我们建议学习基于组合编码的紧凑项目表示。具体来说,每个项目都由一个由几个码字组成的组合码表示,我们学习嵌入向量来表示每个码字,而不是每个项目。然后,来自不同嵌入矩阵的码字嵌入向量的合成(即,码本)形成项嵌入。由于码本的大小可以非常小,因此推荐模型能够适应资源受限的设备,同时可以节省码本用于快速局部推理。此外,为了防止压缩导致的模型容量损失,我们提出了一个双向自监督知识蒸馏框架。在两个基准数据集上的大量实验结果表明,与现有方法相比,所提出的设备上推荐器不仅实现了8倍的推理加速和大的压缩比,而且还显示出优越的推荐性能。

英文摘要:

On-device session-based recommendation systems have been achieving increasing attention on account of the low energy/resource consumption and privacy protection while providing promising recommendation performance. To fit the powerful neural session-based recommendation models in resource-constrained mobile devices, tensor-train decomposition and its variants have been widely applied to reduce memory footprint by decomposing the embedding table into smaller tensors, showing great potential in compressing recommendation models. However, these model compression techniques significantly increase the local inference time due to the complex process of generating index lists and a series of tensor multiplications to form item embeddings, and the resultant on-device recommender fails to provide real-time response and recommendation. To improve the online recommendation efficiency, we propose to learn compositional encoding-based compact item representations. Specifically, each item is represented by a compositional code that consists of several codewords, and we learn embedding vectors to represent each codeword instead of each item. Then the composition of the codeword embedding vectors from different embedding matrices (i.e., codebooks) forms the item embedding. Since the size of codebooks can be extremely small, the recommender model is thus able to fit in resource-constrained devices and meanwhile can save the codebooks for fast local inference.Besides, to prevent the loss of model capacity caused by compression, we propose a bidirectional self-supervised knowledge distillation framework. Extensive experimental results on two benchmark datasets demonstrate that compared with existing methods, the proposed on-device recommender not only achieves an 8x inference speedup with a large compression ratio but also shows superior recommendation performance.

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

↑