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

推荐中大语言模型的协同信息类文本编码

Text-like Encoding of Collaborative Information in Large Language Models for Recommendation

Yang Zhang, Keqin Bao, Ming Yan, Wenjie Wang, Fuli Feng, Xiangnan He

AI总结:

提出BinLLM方法,将外部协同嵌入转换为二进制序列等类文本格式,使大语言模型能直接理解并操作协同信息,提升推荐性能。

摘要:

在适配推荐大语言模型(LLMRec)时,整合协同信息至关重要。现有方法通过在LLMs的潜空间中从零学习协同嵌入或从外部模型映射来实现这一点。然而,它们未能以类文本格式表示信息,可能无法与LLMs最优对齐。为弥补此差距,我们提出BinLLM,一种通过类文本编码无缝整合协同信息的新型LLMRec方法。BinLLM将外部模型的协同嵌入转换为二进制序列——一种LLMs能直接理解并操作的特定文本格式,促进LLMs直接以类文本格式使用协同信息。此外,BinLLM提供使用点分十进制表示法压缩二进制序列的选项,以避免长度过长。大量实验验证BinLLM以更符合LLMs的方式引入协同信息,从而提升性能。代码发布于https://github.com/zyang1580/BinLLM。

英文摘要:

When adapting Large Language Models for Recommendation (LLMRec), it is crucial to integrate collaborative information. Existing methods achieve this by learning collaborative embeddings in LLMs' latent space from scratch or by mapping from external models. However, they fail to represent the information in a text-like format, which may not align optimally with LLMs. To bridge this gap, we introduce BinLLM, a novel LLMRec method that seamlessly integrates collaborative information through text-like encoding. BinLLM converts collaborative embeddings from external models into binary sequences -- a specific text format that LLMs can understand and operate on directly, facilitating the direct usage of collaborative information in text-like format by LLMs. Additionally, BinLLM provides options to compress the binary sequence using dot-decimal notation to avoid excessively long lengths. Extensive experiments validate that BinLLM introduces collaborative information in a manner better aligned with LLMs, resulting in enhanced performance. We release our code at https://github.com/zyang1580/BinLLM.

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

↑