Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI
- GEM
- Kunlun
- LoopFM
- Solaris
- Jagged Flash Attention
- Interformer
AI Summary
Meta outlines the evolution of its Generative Ads Model (GEM), a large-scale recommendation system foundation model designed to unify ad optimization across Facebook, Instagram, and Reels. Transitioning from isolated per-domain models to a single central foundation model, Meta addresses key challenges in recommender system scaling laws, real-time serving latency, and GPU compute efficiency across thousands of GPUs. To achieve this, Meta introduces the LLM-style Kunlun architecture, Generalized Dot-Product Attention (GDPA), LoopFM for knowledge transfer, Solaris for elastic pre-computation, and custom low-precision kernels like Jagged Flash Attention (JFA).
Key Takeaways
- Kunlun architecture unifies lifelong sequence modeling with scalable recommendation-specific cross-interaction, replacing older per-domain optimizations.
- Generalized Dot-Product Attention (GDPA) and per-example Feed-Forward Networks (pFFN) reformulations deliver up to a 2x forward speedup.
- Solaris and LoopFM solve the real-time inference constraint by precomputing user-ad representations and transferring internal foundation model representations asynchronously.
Why it matters
GEM demonstrates how to scale recommendation system foundation models using LLM-style architectures, custom hardware co-design, and novel post-training/serving techniques like speculative pre-computation. This provides valuable architectural patterns for engineers tackling massive heterogeneous features, high training cluster efficiency, and strict real-time inference latency budgets.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.