arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.17488cs.IRcs.CL
收藏

LightLM:一种用于生成式推荐的轻量级深窄语言模型

LightLM: A Lightweight Deep and Narrow Language Model for Generative Recommendation

Rutgers University(罗格斯大学)

Kai Mei, Yongfeng Zhang

AI总结:

本文提出轻量级深窄Transformer模型LightLM,结合SCI和GCI索引方法及约束生成过程,在生成式推荐中兼顾准确性与效率并超越大规模语言模型。

摘要:

本文提出了LightLM,一种基于Transformer的轻量级语言模型,用于生成式推荐。尽管基于Transformer的生成式建模在自然语言处理和视觉等多个AI子领域中已变得日益重要,但生成式推荐由于其对于个性化生成式建模的独特需求,仍处于起步阶段。现有的生成式推荐工作通常使用面向自然语言处理的Transformer架构,如T5、GPT、LLaMA和M6,这些架构重量级且并非专门为推荐任务设计。LightLM通过引入一种轻量级的深窄Transformer架构来解决这一问题,该架构专门针对推荐条目的直接生成而定制。这种结构特别适用于直接的生成式推荐,并且源于一个观察:对于该任务,语言模型不必过宽,因为输入主要由短token组成,这些短token非常适合模型的容量。我们还表明,我们设计的用户和物品ID索引方法,即谱协同索引(SCI)和图协同索引(GCI),使深窄Transformer架构能够在推荐任务上超越大规模语言模型。此外,为了解决生成物品作为输出时的幻觉问题,我们提出了面向生成式推荐器的约束生成过程。在真实世界数据集上的实验表明,LightLM在推荐准确性和效率方面均优于多种竞争性基线。代码可在https://github.com/dongyuanjushi/LightLM找到。

英文摘要:

This paper presents LightLM, a lightweight Transformer-based language model for generative recommendation. While Transformer-based generative modeling has gained importance in various AI sub-fields such as NLP and vision, generative recommendation is still in its infancy due to its unique demand on personalized generative modeling. Existing works on generative recommendation often use NLP-oriented Transformer architectures such as T5, GPT, LLaMA and M6, which are heavy-weight and are not specifically designed for recommendation tasks. LightLM tackles the issue by introducing a light-weight deep and narrow Transformer architecture, which is specifically tailored for direct generation of recommendation items. This structure is especially apt for straightforward generative recommendation and stems from the observation that language model does not have to be too wide for this task, as the input predominantly consists of short tokens that are well-suited for the model's capacity. We also show that our devised user and item ID indexing methods, i.e., Spectral Collaborative Indexing (SCI) and Graph Collaborative Indexing (GCI), enables the deep and narrow Transformer architecture to outperform large-scale language models for recommendation. Besides, to address the hallucination problem of generating items as output, we propose the constrained generation process for generative recommenders. Experiments on real-world datasets show that LightLM outperforms various competitive baselines in terms of both recommendation accuracy and efficiency. The code can be found at https://github.com/dongyuanjushi/LightLM.

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

↑