Realizing Scaling Laws in Recommender Systems: A Foundation-Expert Paradigm for Hyperscale Model Deployment

Dai Li, Kevin Course, Wei Li, Hongwei Li, Jie Hua, Yiqi Chen, Zhao Zhu, Rui Jian, Xuan Cao, Bi Xue, Yu Shi, Jing Qian, Kai Ren, Matt Ma, Qunshu Zhang, Rui LiarXiv 2025 · DOI

Abstract

Scaling laws have revolutionized Natural Language Processing and Computer Vision, yet their application to recommender systems (RecSys) has been hindered by streaming data, surface diversity, and strict latency constraints. This paper introduces a Foundation–Expert paradigm that decouples a massive, cross-surface Foundation Model (FM) from lightweight, surface-specific Expert models. By leveraging target-aware embeddings and the HyperCast infrastructure, the proposed architecture achieves significant performance gains and improves developer velocity while serving tens of billions of daily requests.

Introduction: The Challenge of Scaling RecSys

While the principle that increased data and compute lead to predictable performance gains (scaling laws) is well-established in other AI domains, Recommender Systems face unique hurdles that make monolithic scaling difficult. The authors identify four primary obstacles:

  1. Streaming Data: Models must learn from continuous, one-epoch streams where data distributions shift rapidly.
  2. Surface Diversity: Large platforms manage multiple "surfaces" (e.g., Feed, Reels) with distinct goals and input distributions.
  3. Latency Constraints: Recommendations must be served in milliseconds, making trillion-parameter models computationally prohibitive for direct inference.
  4. Information Loss: Traditional transfer methods like Knowledge Distillation often fail to pass the full performance gains of a large "teacher" model down to a smaller "student."
Comparison between traditional per-surface scaling and the proposed Foundation-Expert paradigm.

The Foundation-Expert Paradigm

To overcome these challenges, the researchers moved away from traditional per-surface scaling toward a decoupled architecture. This paradigm separates general knowledge acquisition from task-specific optimization.

The Foundation Model (FM)

The FM is a massive model based on Hierarchical Sequential Transduction Units (HSTU)—a transformer variant optimized specifically for RecSys. It is trained on "lifelong" user histories across all surfaces to learn generalizable human behavior.

Architecture of the Foundation Model featuring HSTU and Target-Aware Attention.

Target-Aware Embeddings (TAE)

A critical innovation is the use of Target-Aware Embeddings. Instead of generating a static "user embedding," the FM generates a dynamic representation of a user’s interest relative to a specific candidate item. This provides a much higher-fidelity signal for downstream ranking tasks than general-purpose embeddings.

Expert Models

Expert models are lightweight (requiring only 20–40% of the compute of traditional models) and surface-specific. They ingest the TAEs as features and focus on optimizing local objectives, such as "likes" on Reels versus "comments" on Feed. This decoupling allows researchers to iterate on specific app features without the massive overhead of retraining a foundation model.

HyperCast Infrastructure

The paradigm is supported by HyperCast, a re-engineered infrastructure stack designed for hyperscale deployment. It features:

  • Decoupled Training: FM and Experts train independently, allowing for different update cadences.
  • Multi-tier Inference: The system separates the heavy FM embedding generation from the fast Expert ranking stage.
  • Inference Pruning: Advanced techniques are used to minimize latency, ensuring the system meets strict production requirements.

Key Results and Insights

  • Performance Gains: The Foundation-Expert approach showed a ~2-3% improvement in Normalized Entropy (NE) across major tasks compared to production baselines. In industrial RecSys, an improvement of 0.05% is often considered significant.
  • Transfer Efficiency: The authors introduced a "Transfer Ratio" metric to measure how much of the FM's performance gain is inherited by the Expert. They achieved ratios between 0.64 and 1.0, significantly higher than traditional distillation methods.
  • Online Impact: In A/B tests at Meta, the system delivered statistically significant improvements in user engagement and consumption metrics while maintaining neutral serving latency and CPU usage.

Conclusion

The Foundation-Expert paradigm successfully unlocks scaling laws for hyperscale recommender systems. By re-engineering both the model architecture and the underlying infrastructure, the researchers have demonstrated a path toward trillion-parameter scale recommendations that are both performant and computationally feasible in a production environment.

Summary updated

Abstract

Scaling laws have been established for recommender systems, yet efficiently deploying foundation model (FM) across multiple recommendation surfaces remains a major unsolved challenge. Existing methods for transfer learning face fundamental limitations in this setting: knowledge distillation suffers from transfer fidelity degradation in the large-data regime, and static user or item embeddings lack the expressiveness to capture contextualized user-item interactions. We propose the Foundation-Expert paradigm, where a central FM generates target-aware embeddings which are ingested by lightweight surface-specific expert models. Target-aware embeddings are representations that dynamically capture a user's interest in a specific item conditioned on their full interaction history. Unlike knowledge distillation, which transfers FM knowledge as soft labels, our approach provides these embeddings as input features to each expert model, enabling direct interaction with surface-specific representations. This paradigm achieves transfer ratios of 0.64--1.0 from FM to experts, substantially exceeding existing methods. Fully deployed at Meta serving tens of billions of daily requests since 2025, it delivers 0.050% statistically significant online topline metric improvement and 0.359% cumulative gains across multiple surfaces.
BibTeX
@misc{li2025realizing,
  author = {Dai Li and Kevin Course and Wei Li and Hongwei Li and Jie Hua and Yiqi Chen and Zhao Zhu and Rui Jian and Xuan Cao and Bi Xue and Yu Shi and Jing Qian and Kai Ren and Matt Ma and Qunshu Zhang and Rui Li},
  title = {{Realizing Scaling Laws in Recommender Systems: A Foundation-Expert Paradigm for Hyperscale Model Deployment}},
  year = {2025},
  eprint = {2508.02929},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.02929},
}
Figure