Efficient Multi-Task Learning via Generalist Recommender

Luyang Wang, Cangcheng Tang, Chongyang Zhang, Jun Ruan, Kai Huang, Jason Jinquan DaiCIKM 2023

Introduction

In modern large-scale recommendation systems (RS), models are required to predict a variety of user actions simultaneously, such as clicks (CTR), add-to-cart (ATC) events, and final conversions (CVR). Traditionally, organizations have relied on "siloed" models for each task. However, this approach introduces significant challenges: single-task models fail to capture the interconnections between behaviors, suffer from data sparsity in conversion-heavy tasks, and create immense operational complexity.

While Multi-Task Learning (MTL) aims to solve these issues by sharing a single model across tasks, existing architectures often struggle to scale. As the number of tasks grows, inference latency typically increases, which is a critical bottleneck for real-time web applications. To address this, researchers from Verizon and Intel developed GRec, a "Generalist Recommender" designed for efficiency and performance.

The GRec Architecture

GRec introduces an end-to-end architecture inspired by breakthroughs in Large Language Models (LLMs), utilizing a sparse Mixture-of-Experts (MoE) design to handle massive traffic with minimal overhead.

The high-level architecture of GRec, integrating multi-modal inputs and sequence processing through a sparse MoE layer.

The model's design is built upon three key pillars:

  1. Multi-Modal Wide & Deep Layer: Unlike traditional models limited to ID-based features, GRec processes categorical data, numerical features, search text (via Transformer encoders), and visual data (via pre-trained CLIP embeddings).
  2. Parallel Transformer Layer: To process user history sequences efficiently, GRec adopts a "Parallel Transformer" block. By using multi-query single-key-value attention, it shares keys and values across attention heads, drastically reducing computational latency.
  3. Task-Sentence MoE Layer: This is the core innovation of GRec. Standard MoE models route data at either the token level (computationally expensive) or the task level (too coarse). GRec proposes Task-Sentence Routing, which combines a main task and an auxiliary context into a "task sentence." This allows the model to select the optimal experts for specific combinations of business contexts without a massive increase in parameters.

Experimental Evaluation and Results

The authors evaluated GRec using the public AliExpress dataset—comprising traffic logs from five countries—and Verizon's internal transaction data covering various customer "flows" like device upgrades and new service additions.

Performance metrics (AUC) for CTR and CTCVR tasks across different regions as the number of selected experts increases.

Key Findings

  • Computational Efficiency: In offline testing, Task-Sentence routing achieved accuracy comparable to token-level routing while delivering a 50% reduction in FLOPs.
  • Offline Superiority: GRec consistently outperformed the standard Multi-gate Mixture-of-Experts (MMoE) baseline across all metrics, including CTR, CTCVR, and CVR.
  • Real-World Impact: Online A/B testing at Verizon revealed substantial gains over previous state-of-the-art single-task models. Specifically, GRec achieved a +20.3% improvement in accessory conversions for "Add a Line" flows and an +8.5% improvement in device click-through conversions on the home page. These results confirm that the model successfully leverages shared parameters to overcome data sparsity in conversion tasks.

Conclusion and Future Work

GRec demonstrates that a single generalist model can outperform specialized silos by effectively "borrowing" knowledge from data-rich tasks to improve data-poor ones. Its novel routing mechanism ensures that this performance does not come at the cost of production scalability. Future research will focus on analyzing expert specialization and refining strategies for handling cold-start scenarios for new users and items.

Summary updated

BibTeX
@inproceedings{wang2023efficient,
  author = {Luyang Wang and Cangcheng Tang and Chongyang Zhang and Jun Ruan and Kai Huang and Jason Jinquan Dai},
  title = {{Efficient Multi-Task Learning via Generalist Recommender}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
}
Figure