提升基于大语言模型的推荐系统中的参数效率:一种精细剪枝方法
Boosting Parameter Efficiency in LLM-Based Recommendation through Sophisticated Pruning
AI总结:
针对LLM推荐系统部署成本高的问题,提出一种结合层内与逐层剪枝的三阶段精细剪枝方法,在三个数据集上剪除95%以上非嵌入参数,仍保持88%原始性能。
摘要:
基于大语言模型的推荐系统已取得显著进展;然而,与LLM大参数规模相关的部署成本仍然阻碍其实际应用。本研究探索参数剪枝以提高参数效率,同时保持推荐质量,从而便于部署。与现有主要关注层间冗余的方法不同,我们揭示了自注意力和MLP等组件内部存在的层内冗余。基于此分析,我们提出一种更精细的剪枝方法,整合了层内剪枝和逐层剪枝。具体而言,我们引入一个三阶段剪枝策略,从层内到逐层剪枝,或从宽度到深度,逐步剪除模型不同层级和部分的参数。每个阶段还包括使用蒸馏技术的性能恢复步骤,有助于在性能与参数效率之间取得平衡。实证结果证明了我们方法的有效性:在三个数据集上,我们的模型在剪除超过95%的非嵌入参数的同时,平均达到原始模型性能的88%。这凸显了我们的方法在不大幅牺牲推荐质量的前提下显著降低资源需求的潜力。我们的代码将在 https://github.com/zheng-sl/PruneRec 提供。
英文摘要:
LLM-based recommender systems have made significant progress; however, the deployment cost associated with the large parameter volume of LLMs still hinders their real-world applications. This work explores parameter pruning to improve parameter efficiency while maintaining recommendation quality, thereby enabling easier deployment. Unlike existing approaches that focus primarily on inter-layer redundancy, we uncover intra-layer redundancy within components such as self-attention and MLP modules. Building on this analysis, we propose a more fine-grained pruning approach that integrates both intra-layer and layer-wise pruning. Specifically, we introduce a three-stage pruning strategy that progressively prunes parameters at different levels and parts of the model, moving from intra-layer to layer-wise pruning, or from width to depth. Each stage also includes a performance restoration step using distillation techniques, helping to strike a balance between performance and parameter efficiency. Empirical results demonstrate the effectiveness of our approach: across three datasets, our models achieve an average of 88% of the original model's performance while pruning more than 95% of the non-embedding parameters. This underscores the potential of our method to significantly reduce resource requirements without greatly compromising recommendation quality. Our code will be available at: https://github.com/zheng-sl/PruneRec
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。