Skip to main content
QUICK REVIEW

[Paper Review] M6-Rec: Generative Pretrained Language Models are Open-Ended Recommender Systems

Zeyu Cui, Jianxin Ma|arXiv (Cornell University)|May 17, 2022
Topic ModelingComputer Science24 citations
TL;DR

The paper presents M6-Rec, an open-ended foundation model for recommender systems that converts tasks into language understanding/generation, and introduces efficient adaptation and deployment techniques for both cloud and edge devices.

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.

Motivation & Objective

  • Motivate a unified foundation model for industrial recommender systems spanning multiple domains and tasks.
  • Show that language-model-based behavior data can support sample-efficient downstream adaptation without item IDs.
  • Demonstrate practical efficiency techniques (option tuning, late interaction, pruning, quantization, early exiting) for deployment on cloud and mobile devices.
  • Validate zero-shot, few-shot, and generation-enabled tasks such as retrieval, ranking, explanation generation, personalized content creation, and conversational recommendation.

Proposed method

  • Extend the M6 pretrained language model into M6-Rec by representing user behavior data as plain text and converting tasks to language understanding or generation.
  • Introduce option tuning, an efficient variant of prompt tuning, to tune only a small set of soft prompts while freezing most parameters.
  • Adopt multi-segment late interaction to pre-compute first layers and perform last-layer interaction for low-latency inference.
  • Incorporate adapters with FFN layers (option-adapter tuning) to further bridge prompt tuning and fine-tuning.
  • Compress models for edge devices via distillation to M6-Edge, followed by pruning, quantization, and early exiting for variable hardware budgets.
  • Use contrastive learning to align user and item representations for retrieval via 128-dim vectors and kNN search.
  • Define generation formats for explainable recommendations, personalized design, search query generation, and conversational setups.

Experimental results

Research questions

  • RQ1Can a single foundation model support open-ended domains and tasks in industrial recommender systems?
  • RQ2Does text-based representation of user behavior enable effective zero-shot and few-shot learning across tasks like retrieval, ranking, generation, and conversation?
  • RQ3Can prompt-based and adapter-based parameter-efficient tuning achieve competitive performance with minimal task-specific parameters?
  • RQ4What deployment strategies (late interaction, pruning, quantization, early exiting) enable cloud-to-edge deployment without compromising latency or accuracy?
  • RQ5How well does a unified model handle generation tasks such as explanations, personalized design, and conversational recommendations?

Key findings

  • M6-Rec supports zero/few-shot learning and performs across tasks from retrieval and ranking to generation and conversational recommendation.
  • Option tuning outperforms standard fine-tuning while tuning only a small fraction of parameters, especially when combined with adapters (option-adapter tuning).
  • Multi-segment late interaction enables low-latency inference by pre-computing early transformer layers and caching segment results.
  • Edge deployment with M6-Edge achieves substantial model size reduction (from 300M to as low as 2M params) with competitive performance after post-distillation, pruning, and 8-bit quantization.
  • Text-based behavior modeling allows open-domain recommendation, reducing reliance on item IDs and enabling generation tasks such as explainable recommendations and personalized content creation.
  • The approach demonstrates deployment on both cloud servers and edge devices, with measurable gains in retrieval, CTR prediction, and generation tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.