arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.09306cs.IRcs.AI
收藏

设备端的大语言模型用于序列推荐

On-Device Large Language Models for Sequential Recommendation

The University of Queensland(昆士兰大学)

Xin Xia, Hongzhi Yin, Shane Culpepper

AI总结:

本文提出OD-LLM框架,通过低秩压缩和分词归一化技术,实现设备端高效准确的序列推荐模型部署。

摘要:

设备端推荐对于许多实际应用至关重要,尤其是在执行延迟、用户隐私和网络连接不稳定或甚至无法连接时要求鲁棒功能的场景中。虽然大语言模型(LLMs)现在可以为序列推荐任务提供卓越的能力来建模用户行为,但其庞大的内存足迹和计算开销使得在资源受限的设备上部署成为高风险的举措。在本文中,我们提出了OD-LLM,这是首个专门为序列推荐任务提供高效且准确的设备端LLM部署的任务自适应压缩框架。OD-LLM独特地集成了两种互补的压缩策略:一种使用奇异值分解(SVD)显著减少模型参数冗余的低秩结构压缩算法,以及一种新的分词归一化技术,该技术更好地补充正在使用的低秩分解过程。此外,为了在使用更高压缩比时最小化任何潜在的性能下降,采用了一种新的渐进对齐算法,用于逐层迭代优化目标模型所需的参数。在序列推荐基准上的实证评估表明,当部署模型大小减半时,OD-LLM在效果上与原始推荐模型没有损失。这些有希望的结果展示了OD-LLM的有效性和可扩展性,使这种新颖的解决方案成为一种实用的替代方案,用于希望取代昂贵远程执行LLM的实时设备端解决方案。

英文摘要:

On-device recommendation is critical for a number of real-world applications, especially in scenarios that have agreements on execution latency, user privacy, and robust functionality when internet connectivity is unstable or even impossible. While large language models (LLMs) can now provide exceptional capabilities that model user behavior for sequential recommendation tasks, their substantial memory footprint and computational overhead make the deployment on resource-constrained devices a high risk proposition. In this paper, we propose OD-LLM, the first task-adaptive compression framework explicitly designed to provide efficient and accurate on-device deployment of LLMs for sequential recommendation tasks. OD-LLM uniquely integrates two complementary compression strategies: a low-rank structural compression algorithm which uses Singular Value Decomposition (SVD) to significantly reduce parameter redundancy in the model, and a novel tokenization normalization technique that better complements the low-rank decomposition process being used. Additionally, to minimize any potential performance degradation when using higher compression ratios, a novel progressive alignment algorithm is used to iteratively refine the parameters required layerwise in the target model. Empirical evaluations conducted on sequential recommendation benchmarks show that OD-LLM exhibits no loss in effectiveness when compared to the original recommendation model, when the deployed model size is halved. These promising results demonstrate the efficacy and scalability of OD-LLM, making this novel solution a practical alternative for real-time, on-device solutions wishing to replace expensive, remotely executed LLMs.

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

↑