Direct answer: Meta broke the storage and I/O wall in long-sequence generative recommenders (like HSTU) by replacing "Fat Row" history snapshotting with Versioned Late Materialization. Instead of duplicating a user's full interaction history into every logged training sample, Meta stores long-term history once in an append-only, immutable tier and reconstructs exact point-in-time sequences at training time using lightweight version timestamps (timestamp <= T). In production, this cut primary dataset write bandwidth by 46.2%, reduced multi-tenant read amplification, and scaled training sequences to 16K–64K events without stalling GPUs.
This is a public engineering breakdown of Meta's paper — read the full paid Substack deep dive for the storage-tier implementation details and trade-offs at How Meta broke the Fat Row scaling wall.
Why "Fat Rows" Collapse Beyond 4,000 User Events
Modern recommendation systems have shifted from candidate-dependent attention (DIN, SIM) toward generative sequential architectures like Meta's HSTU that run causal self-attention over a user's full interaction history. Just like LLM scaling laws, longer sequences produce reliable power-law gains in model quality.
The bottleneck is no longer GPU FLOPs — it is data infrastructure:
- K-fold data duplication: To guarantee online-to-offline (O2O) consistency and avoid future label leakage, teams traditionally snapshot a user's entire interaction history directly into each logged training row (the "Fat Row" pattern). If an active user triggers
Kranking requests overNdays,N - 1days of history are physically duplicatedKtimes. - Data overhead overtakes GPU compute: Around 4,000 historical events, storage, ingestion, feature logging, and preprocessing consume more power and infrastructure capacity than the GPU cluster running forward and backward passes.
- Multi-tenant read amplification: Retrieval, pre-ranking, and ranking models often read from a shared union training log. A lightweight retrieval tower needing 100 events ends up scanning massive payloads materialized solely for the flagship ranker.
The Key Insight: O2O Consistency Is a Database Problem
Meta's paper starts from a clean systems invariant: physical pre-materialization is sufficient for O2O consistency, but it is not necessary.
Because a user's historical interaction stream is strictly append-only, temporally ordered, and immutable once compacted, the exact sequence visible at ranking time T is deterministically defined by a point-in-time predicate:
UIH(user, T) = { event ∈ ImmutableUIH(user) | event.timestamp <= T } ∪ RecentMutableUIH(user, T)
Borrowing Multi-Version Concurrency Control (MVCC) and late materialization from database engines, Meta splits user interaction storage into two tiers:
| Layer | What It Stores | Why It Matters |
|---|---|---|
| Mutable UIH Storage (Hot) | Very recent user interactions tailed directly from the live event stream | Keeps fresh session signals available for low-latency online serving and logged inline with small footprint |
| Immutable UIH Storage (Cold/Compacted) | Normalized, compacted long-term user histories (thousands to 64K events) | Stored once per user instead of K times across every training row |
| Training Data Logger | Label + small mutable tail + version timestamp | Shrinks logged training rows dramatically while preserving exact O2O reproducibility |
| Batch & Streaming Loaders | Versioned point-in-time queries with pushed-down length projections | Lightweight models fetch only 100 events; flagship HSTU rankers materialize 16K–64K on demand |
Production Results
Treating sequence reconstruction as a versioned storage join instead of an inline logging problem delivered immediate fleet-level wins:
- 46.2% reduction in primary training dataset write bandwidth
- Lower multi-tenant read amplification, because storage pushdown only reads the sequence horizon each model actually needs
- 16K–64K sequence scaling in production training without GPU data-loader stalls
Engineering Takeaways for ML Infra Teams
- Audit your training row byte breakdown before buying more GPUs. In long-sequence RecSys and Ads stacks, repeated sequence serialization silently dominates storage and network cost long before compute saturates.
- Exploit immutability. Any append-only historical feature (watch history, click stream, search history) can be version-referenced by timestamp rather than copied per request.
- Push sequence-length projections to storage when multiple funnel stages share one training pipeline.
Read the full storage architecture breakdown in the complete Substack edition: How Meta broke the Fat Row scaling wall.
Go deeper: Sequential & Generative Recommenders (Free Book Chapter) · User Behavior Modeling · Kuaishou OneRec Generative Recommendation.