Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

๐Ÿ“— Part 7: Scaling โ€” Generative Ranking Models

Starting from HSTU, the first validation of the Scaling Law in recommender systems, trace how industry players polished the generative paradigm into deployable, scalable, hardware-efficient ranking engines.

๐Ÿ“š 5 sections ยท โฑ๏ธ Estimated 3 weeks ยท ๐ŸŽฏ Target: understand the engineering that makes "bigger model = better recommendations" work in the ranking stage

Traditional deep learning recommendation models (DLRMs) have long been the "exception" to deep learning Scaling Laws: throw in more parameters and more data, and metrics plateau almost immediately. This part follows the thread from Meta's HSTU โ€” the first validation of the Scaling Law in recommender systems โ€” and then unpacks the follow-up work from Xiaohongshu, Meituan, Alibaba, and ByteDance, so you can see how industry turned "generative ranking" from paper numbers into a reality serving billions of users.


What This Part Covers

SectionTopicThe Big Idea
7.1HSTU: The First Exploration of the Scaling LawTreat user behavior history as a "language"; a unified sequence + autoregressive training + an efficient architecture prove for the first time that recommendation can scale
7.2The Overall Generative Ranking Paradigm (GenRank)The autoregressive mechanism is what is essential; Action-Oriented sequence organization halves sequence length and speeds up training by ~79%
7.3MTGR: Hybrid Paradigm ModelingUse a "generative architecture + discriminative objective" to retain cross features, solving the missing-feature problem of pure generative approaches
7.4RankMixer: Hardware Efficiency OptimizationDerive the architecture from GPU hardware characteristics; Token Mixing / Per-Token FFN / Sparse MoE push MFU from 4% to 45%
7.5OneTrans: A Unified TransformerA single Transformer backbone does both sequence modeling and feature interaction, and reuses LLM system optimizations such as KV Caching

What You'll Be Able to Do After This Part

  • ๐ŸŸข Explain why traditional DLRMs struggle to scale, and how HSTU broke through the bottleneck with user-level sequence modeling
  • ๐ŸŸข Distinguish the respective contributions of the "autoregressive mechanism" versus "training paradigm details" within the generative paradigm (see Section 7.2)
  • ๐ŸŸก Explain how MTGR's hybrid paradigm stays compatible with traditional cross features while retaining efficiency (see Section 7.3)
  • ๐ŸŸก Analyze how RankMixer's hardware-aware design raised MFU from 4% to 45% (see Section 7.4)
  • ๐Ÿ”ด Recount how OneTrans achieves end-to-end scalability with a unified Transformer + Pyramid Stack + Cross-Request KV Caching (see Section 7.5)
  • ๐Ÿ”ด Compare the five works' different trade-offs on the "unification vs efficiency vs compatibility" triangle

Core Concepts

ConceptSectionRelevance
Behavior sequence modeling (user-level)7.1Treating recommendation as "language" is the prerequisite for the Scaling Law
Pointwise Aggregation / relative time bias7.1HSTU's three architectural innovations for recommendation
The autoregressive essence at the core of generative models7.2The dividing line between "means" and "ends"
Action-Oriented organization7.2The key trick that halves sequence length
Hybrid paradigm (generative architecture + discriminative objective)7.3A new way to stay compatible with cross features
Group LayerNorm / Dynamic Masking7.3Let heterogeneous tokens coexist in one Transformer
Token Mixing / Per-Token FFN / Sparse MoE7.4Hardware-aware restructuring of the recommendation computation graph
Unified Tokenization / Mixed Parameterization / Pyramid Stack7.5Deep fusion of sequences and features within a single backbone

Prerequisites

  • Having read Part 1 Introduction and the discriminative paradigm foundations in Part 3 Ranking
  • Familiarity with Transformer basics: self-attention, LayerNorm, residual connections
  • Knowing what the Scaling Law means in NLP/CV (performance improves as a power law with compute/data/parameters)

This part is the second stop in the second half of the "generative recommendation storyline". If you have not yet read Part 6 Generative Paradigm Fundamentals, we recommend building up the background on generative retrieval and semantic IDs (RQ-VAE) first.


Tips for This Part

  1. Separate "means" from "ends". The generative architecture (Transformer + sequences) is a powerful representational tool, but it does not have to serve a generative objective โ€” that is exactly the insight of MTGR in 7.3.
  2. Every work answers the same question: how can a recommendation model truly enjoy the dividends of the Scaling Law? Keep cross-checking from the four angles of architecture, training, features, and hardware.
  3. Lean on the figures rather than memorizing formulas. This part is on the frontier; the priority is understanding "why it was designed this way" rather than deriving every formula precisely.

Let's dive in! ๐Ÿš€