Skip to main content
QUICK REVIEW

[论文解读] M6-Rec: Generative Pretrained Language Models are Open-Ended Recommender Systems

Zeyu Cui, Jianxin Ma|arXiv (Cornell University)|May 17, 2022
Topic ModelingComputer Science被引用 24
一句话总结

本文提出了 M6-Rec,一种用于推荐系统的开放式基础模型,将任务转换为语言理解/生成,并为云端与边缘设备的高效适配与部署引入技术。

ABSTRACT

Industrial recommender systems have been growing increasingly complex, may involve \emph{diverse domains} such as e-commerce products and user-generated contents, and can comprise \emph{a myriad of tasks} such as retrieval, ranking, explanation generation, and even AI-assisted content production. The mainstream approach so far is to develop individual algorithms for each domain and each task. In this paper, we explore the possibility of developing a unified foundation model to support \emph{open-ended domains and tasks} in an industrial recommender system, which may reduce the demand on downstream settings' data and can minimize the carbon footprint by avoiding training a separate model from scratch for every task. Deriving a unified foundation is challenging due to (i) the potentially unlimited set of downstream domains and tasks, and (ii) the real-world systems' emphasis on computational efficiency. We thus build our foundation upon M6, an existing large-scale industrial pretrained language model similar to GPT-3 and T5, and leverage M6's pretrained ability for sample-efficient downstream adaptation, by representing user behavior data as plain texts and converting the tasks to either language understanding or generation. To deal with a tight hardware budget, we propose an improved version of prompt tuning that outperforms fine-tuning with negligible 1\% task-specific parameters, and employ techniques such as late interaction, early exiting, parameter sharing, and pruning to further reduce the inference time and the model size. We demonstrate the foundation model's versatility on a wide range of tasks such as retrieval, ranking, zero-shot recommendation, explanation generation, personalized content creation, and conversational recommendation, and manage to deploy it on both cloud servers and mobile devices.

研究动机与目标

  • 提出一个统一的工业推荐系统基础模型,覆盖多个领域和任务。
  • 证明基于语言模型的行为数据可以在没有 item IDs 的情况下支持样本高效的下游适配。
  • 展示在云端和移动设备部署的实用高效性技术(option tuning、late interaction、pruning、quantization、early exiting)
  • 验证零-shot、few-shot,以及生成能力任务,如检索、排序、解释生成、个性化内容创建和对话式推荐。

提出的方法

  • 通过将用户行为数据表示为纯文本并将任务转换为语言理解或生成,将 M6 预训练语言模型扩展为 M6-Rec。
  • 引入 option tuning,一种高效的提示调优变体,仅对少量软提示进行调优,同时冻结大多数参数。
  • 采用多段式 late interaction,预计算前几层,并进行最后一层交互以实现低延迟推理。
  • 结合带有 FFN 层的适配器(option-adapter tuning),进一步桥接提示调优和微调。
  • 通过蒸馏将模型压缩到 M6-Edge,以适应边缘设备,然后再进行剪枝、量化和早停以应对不同的硬件预算。
  • 使用对比学习对齐用户和物品表示以进行检索,采用 128-dim 向量和 kNN 搜索。
  • 为可解释的推荐、个性化设计、搜索查询生成和对话式设置定义生成格式。

实验结果

研究问题

  • RQ1单一的基础模型是否能够支持工业推荐系统中的开放域和多任务?
  • RQ2基于文本的用户行为表示是否能在检索、排序、生成和对话等任务中实现有效的零-shot 和少量学习?
  • RQ3基于提示和基于适配器的参数高效调优是否能在尽可能少的任务特定参数下取得具有竞争力的性能?
  • RQ4哪些部署策略(late interaction、pruning、quantization、early exiting)能够在不降低延迟或准确性的前提下实现云端到边缘的部署?
  • RQ5统一模型在解释生成、个性化设计和对话式推荐等生成任务上的表现如何?

主要发现

  • M6-Rec 支持零/few-shot 学习,在检索、排序、生成和对话推荐等任务上均有表现。
  • Option tuning 在仅对极少量参数进行调优的情况下,表现优于标准微调,尤其是与适配器(option-adapter tuning)结合时。
  • 多段式 late interaction 通过预计算早期 transformer 层并缓存分段结果实现低延迟推理。
  • 使用 M6-Edge 的边缘部署在经后蒸馏、剪枝和 8 位量化后,模型大小显著减少(从 300M 降至最低 2M 参数),且保持有竞争力的性能。
  • 基于文本的行为建模支持开放域推荐,减少对 item IDs 的依赖,并使得可解释性推荐和个性化内容创建等生成任务成为可能。
  • 该方法在云端服务器和边缘设备上均有部署展示,在检索、CTR 预测和生成任务上获得可衡量的提升。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。