IRLGJul 23, 2025

Scaling Generative Recommendations with Context Parallelism on Hierarchical Sequential Transducers

arXiv:2508.04711v22 citationsh-index: 3RecSys
Originality Synthesis-oriented
AI Analysis

This work addresses memory constraints in production ranking models for large-scale recommendation systems, representing an incremental improvement in parallelism techniques.

The paper tackles the challenge of scaling sequence length in generative recommendation systems by introducing context parallelism with jagged tensor support for Hierarchical Sequential Transducers, enabling a 5.3x increase in supported user interaction sequence length and a 1.55x scaling factor when combined with Distributed Data Parallelism.

Large-scale recommendation systems are pivotal to process an immense volume of daily user interactions, requiring the effective modeling of high cardinality and heterogeneous features to ensure accurate predictions. In prior work, we introduced Hierarchical Sequential Transducers (HSTU), an attention-based architecture for modeling high cardinality, non-stationary streaming recommendation data, providing good scaling law in the generative recommender framework (GR). Recent studies and experiments demonstrate that attending to longer user history sequences yields significant metric improvements. However, scaling sequence length is activation-heavy, necessitating parallelism solutions to effectively shard activation memory. In transformer-based LLMs, context parallelism (CP) is a commonly used technique that distributes computation along the sequence-length dimension across multiple GPUs, effectively reducing memory usage from attention activations. In contrast, production ranking models typically utilize jagged input tensors to represent user interaction features, introducing unique CP implementation challenges. In this work, we introduce context parallelism with jagged tensor support for HSTU attention, establishing foundational capabilities for scaling up sequence dimensions. Our approach enables a 5.3x increase in supported user interaction sequence length, while achieving a 1.55x scaling factor when combined with Distributed Data Parallelism (DDP).

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes