一人一模型--顺序推荐的学习复合路由器
One Person, One Model--Learning Compound Router for Sequential Recommendation
摘要:
深度学习在用于捕获动态用户兴趣的顺序推荐(SR)方面带来了重大突破。最近的一系列研究表明,具有更多参数的模型通常可以实现SR任务的最佳性能,这不可避免地导致在实际系统中部署它们的巨大挑战。在这项工作中,我们提出了CANet,这是一个概念上简单但非常可扩展的框架,用于以依赖于输入的方式分配自适应网络架构,以减少不必要的计算。CANet的核心思想是通过一个轻量级的路由器模块对输入的用户行为进行路由。具体来说,我们首先构建路由空间与各种子模型参数化的多个模型维度,如层数,隐藏大小和嵌入大小。为了避免路由空间的额外存储开销,我们采用了一个权重切片模式来维护一个网络中的所有子模型。此外,我们利用几种解决方案来解决由路由器模块引起的离散优化问题。由于它们,CANet可以以端到端的方式自适应地调整其网络架构,以有效地捕获用户偏好。为了评估我们的工作,我们对基准数据集进行了广泛的实验。实验结果表明,CANet在保持原模型精度的前提下,计算量减少了55 ~ 65%。我们的代码可在https://github.com/icantnamemyself/CANet上获得。
英文摘要:
Deep learning has brought significant breakthroughs in sequential recommendation (SR) for capturing dynamic user interests. A series of recent research revealed that models with more parameters usually achieve optimal performance for SR tasks, inevitably resulting in great challenges for deploying them in real systems. Following the simple assumption that light networks might already suffice for certain users, in this work, we propose CANet, a conceptually simple yet very scalable framework for assigning adaptive network architecture in an input-dependent manner to reduce unnecessary computation. The core idea of CANet is to route the input user behaviors with a light-weighted router module. Specifically, we first construct the routing space with various submodels parameterized in terms of multiple model dimensions such as the number of layers, hidden size and embedding size. To avoid extra storage overhead of the routing space, we employ a weight-slicing schema to maintain all the submodels in exactly one network. Furthermore, we leverage several solutions to solve the discrete optimization issues caused by the router module. Thanks to them, CANet could adaptively adjust its network architecture for each input in an end-to-end manner, in which the user preference can be effectively captured. To evaluate our work, we conduct extensive experiments on benchmark datasets. Experimental results show that CANet reduces computation by 55 ~ 65% while preserving the accuracy of the original model. Our codes are available at https://github.com/icantnamemyself/CANet.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。