[Paper Review] A Generic Network Compression Framework for Sequential Recommender Systems
This paper proposes CpRec, a generic framework for compressing sequential recommender systems by leveraging block-wise adaptive decomposition of embedding and softmax matrices and layer-wise parameter sharing in deep neural networks. The method achieves up to 4–8× model compression with faster training/inference and improved or comparable accuracy on real-world datasets.
Sequential recommender systems (SRS) have become the key technology in capturing user's dynamic interests and generating high-quality recommendations. Current state-of-the-art sequential recommender models are typically based on a sandwich-structured deep neural network, where one or more middle (hidden) layers are placed between the input embedding layer and output softmax layer. In general, these models require a large number of parameters (such as using a large embedding dimension or a deep network architecture) to obtain their optimal performance. Despite the effectiveness, at some point, further increasing model size may be harder for model deployment in resource-constraint devices, resulting in longer responding time and larger memory footprint. To resolve the issues, we propose a compressed sequential recommendation framework, termed as CpRec, where two generic model shrinking techniques are employed. Specifically, we first propose a block-wise adaptive decomposition to approximate the input and softmax matrices by exploiting the fact that items in SRS obey a long-tailed distribution. To reduce the parameters of the middle layers, we introduce three layer-wise parameter sharing schemes. We instantiate CpRec using deep convolutional neural network with dilated kernels given consideration to both recommendation accuracy and efficiency. By the extensive ablation studies, we demonstrate that the proposed CpRec can achieve up to 4$\sim$8 times compression rates in real-world SRS datasets. Meanwhile, CpRec is faster during training\inference, and in most cases outperforms its uncompressed counterpart.
Motivation & Objective
- Address the challenge of large model sizes in sequential recommender systems (SRS), which hinder deployment on resource-constrained devices.
- Reduce memory consumption and accelerate training and inference without sacrificing recommendation accuracy.
- Develop a generic framework applicable to various deep learning-based SRS models, not limited to specific architectures.
- Overcome the limitations of existing compression techniques by exploiting long-tailed item distributions and structured parameter sharing in hidden layers.
- Enable efficient transfer learning by pre-training compact models that generalize well to downstream tasks.
Proposed method
- Apply block-wise adaptive decomposition to approximate input embedding and output softmax matrices by exploiting the long-tailed distribution of items in SRS.
- Introduce three layer-wise parameter sharing strategies—adjacent-block, cross-block, and cross-layer—to reduce parameters in deep hidden layers.
- Use dilated convolutional neural networks (e.g., NextItNet) as the base architecture to balance accuracy and efficiency.
- Combine block-wise decomposition and layer-wise sharing into a unified framework, named Bio-NextItNet, for optimal compression and performance.
- Design the framework to be modular and extensible, allowing integration with other SRS models like GRU4Rec.
- Evaluate the framework on real-world datasets using standard metrics such as Hit@20, MRR@5, and HR@5, with ablation studies on compression and speed.
Experimental results
Research questions
- RQ1Can adaptive decomposition of embedding and softmax matrices significantly reduce model size while preserving recommendation accuracy?
- RQ2How effective are different layer-wise parameter sharing strategies in compressing deep hidden layers of SRS models?
- RQ3To what extent does the proposed compression framework improve training and inference speed without degrading performance?
- RQ4Can CpRec be generalized across different SRS architectures, such as NextItNet and GRU4Rec?
- RQ5Does the compressed model maintain or improve performance in transfer learning scenarios compared to full-sized models?
Key findings
- CpRec achieves up to 4–8× compression rates on real-world SRS datasets, significantly reducing model size.
- The Bio-NextItNet variant, combining block-wise and layer-wise compression, achieves the highest compression ratio and outperforms the original NextItNet in both accuracy and training speed.
- The adjacent-block parameter sharing strategy (Ab-NextItNet) achieves the best trade-off between accuracy and compression, reducing parameters by 50% while maintaining or improving performance.
- The cross-layer parameter sharing strategy (Cl-NextItNet) achieves the highest compression but causes significant accuracy degradation, indicating a poor trade-off.
- CpRec-based models are faster to train and infer, with pre-training times reduced to about 1/5 of the original model on ColdRec.
- In transfer learning, CpRec models with parameter sharing (e.g., CpRec-Ab) achieve higher MRR@5 and HR@5 than the original NextItNet while using only 31.5M parameters (31% of the original).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.