NoteLLM:一种用于笔记推荐的可检索大型语言模型
NoteLLM: A Retrievable Large Language Model for Note Recommendation
AI总结:
提出NoteLLM框架,利用大型语言模型通过笔记压缩提示和对比学习解决I2I笔记推荐,并通过指令微调自动生成标签/类别,在小红书推荐系统中取得显著改进。
摘要:
人们喜欢在在线社区中分享包含其经验的“笔记”。因此,推荐符合用户兴趣的笔记已成为一项关键任务。现有的在线方法仅将笔记输入基于BERT的模型以生成笔记嵌入,从而评估相似性。然而,它们可能未充分利用一些重要线索,例如代表笔记关键概念的标签或类别。实际上,学习生成标签/类别可以潜在地增强笔记嵌入,因为两者都将关键笔记信息压缩到有限内容中。此外,大型语言模型(LLMs)在理解自然语言方面已显著优于BERT。将LLMs引入笔记推荐具有前景。本文提出了一种名为NoteLLM的新型统一框架,利用LLMs解决物品到物品(I2I)的笔记推荐。具体而言,我们利用笔记压缩提示将笔记压缩为单个特殊标记,并通过对比学习方法进一步学习潜在相关笔记的嵌入。此外,我们通过指令微调使用NoteLLM总结笔记并自动生成标签/类别。在真实场景中的广泛验证证明了所提方法相比在线基线的有效性,并在小红书的推荐系统中显示出重大改进。
英文摘要:
People enjoy sharing "notes" including their experiences within online communities. Therefore, recommending notes aligned with user interests has become a crucial task. Existing online methods only input notes into BERT-based models to generate note embeddings for assessing similarity. However, they may underutilize some important cues, e.g., hashtags or categories, which represent the key concepts of notes. Indeed, learning to generate hashtags/categories can potentially enhance note embeddings, both of which compress key note information into limited content. Besides, Large Language Models (LLMs) have significantly outperformed BERT in understanding natural languages. It is promising to introduce LLMs into note recommendation. In this paper, we propose a novel unified framework called NoteLLM, which leverages LLMs to address the item-to-item (I2I) note recommendation. Specifically, we utilize Note Compression Prompt to compress a note into a single special token, and further learn the potentially related notes' embeddings via a contrastive learning approach. Moreover, we use NoteLLM to summarize the note and generate the hashtag/category automatically through instruction tuning. Extensive validations on real scenarios demonstrate the effectiveness of our proposed method compared with the online baseline and show major improvements in the recommendation system of Xiaohongshu.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。