Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendations
Jiaqi Zhai, Lucy Liao, Xing Liu, Yueming Wang, Rui Li, Xuan Cao, Leon Gao, Zhaojie Gong, Fangda Gu, Michael He, Yinghai Lu, Yu Shi
TL;DR
The paper tackles the scalability of industrial recommendation systems operating on billions of heterogeneous features and user actions. It introduces Generative Recommenders (GRs) and a high-performance HSTU encoder to treat user actions as a generative, sequential transduction problem, unifying feature spaces and enabling target-aware inference in streaming settings. Key contributions include the HSTU architecture with pointwise aggregated attention, sparsity-driven efficiency techniques, memory-optimized design, and M-FALCON for cost-aware, batched inference, culminating in up to 12.4% online gains and substantial throughput improvements over DLRMs. A core finding is that GRs exhibit a power-law scaling with training compute across three orders of magnitude, suggesting a path toward foundation-model-scale recommendations with reduced carbon footprint and broader applicability across recommendation, search, and ads. The work is validated on synthetic, public, and real industrial deployments, demonstrating both theoretical and practical advantages of treating recommendations as generative, sequence-based tasks with a unified feature space.
Abstract
Large-scale recommendation systems are characterized by their reliance on high cardinality, heterogeneous features and the need to handle tens of billions of user actions on a daily basis. Despite being trained on huge volume of data with thousands of features, most Deep Learning Recommendation Models (DLRMs) in industry fail to scale with compute. Inspired by success achieved by Transformers in language and vision domains, we revisit fundamental design choices in recommendation systems. We reformulate recommendation problems as sequential transduction tasks within a generative modeling framework ("Generative Recommenders"), and propose a new architecture, HSTU, designed for high cardinality, non-stationary streaming recommendation data. HSTU outperforms baselines over synthetic and public datasets by up to 65.8% in NDCG, and is 5.3x to 15.2x faster than FlashAttention2-based Transformers on 8192 length sequences. HSTU-based Generative Recommenders, with 1.5 trillion parameters, improve metrics in online A/B tests by 12.4% and have been deployed on multiple surfaces of a large internet platform with billions of users. More importantly, the model quality of Generative Recommenders empirically scales as a power-law of training compute across three orders of magnitude, up to GPT-3/LLaMa-2 scale, which reduces carbon footprint needed for future model developments, and further paves the way for the first foundational models in recommendations.
