This article details Meta Andromeda's evolution, focusing on a co-design approach involving ML models, system architecture, and GPU hardware to achieve unprecedented scale and efficiency in personalized ads retrieval. It highlights how fusing model and system workloads into a single GPU pipeline, combined with a Mixture-of-Experts (MoE) architecture, enables near ranking-level performance at retrieval scale, processing over a billion ads per second per GPU.
Read original on Meta EngineeringMeta Andromeda is Meta's machine learning system responsible for personalized ads retrieval, the initial phase in a multi-stage ads recommendation pipeline. Its primary function is to efficiently narrow a vast pool of eligible ads into a smaller, highly relevant set within milliseconds. This stage is crucial because while subsequent ranking stages offer more precise scoring, their computational cost prohibits application at the retrieval's massive scale. The core challenge lies in achieving near ranking-level model performance at an extremely high throughput (billions of ads per second) with a sustainable compute cost, especially as the ad candidate pool rapidly expands due to generative AI creative tools.
To overcome these challenges, Meta Andromeda adopted a novel model-system co-design approach, pushing the boundaries of efficiency and performance through synergistic innovations across ML model architecture, system design, and hardware utilization. This collaborative effort with NVIDIA targeted the NVIDIA GH200 Grace Hopper Superchip.
Inspired by Large Language Models (LLMs), a Mixture-of-Experts (MoE) architecture was introduced for retrieval. This highly expressive yet inference-efficient design establishes a new Pareto frontier for performance-efficiency, achieving near ranking-level model performance with approximately 300x fewer inference-time FLOPs compared to previous iterations. Key aspects include:
System Design Principle: Locality of Reference
By co-locating related computation and data, and minimizing data movement across memory hierarchies and network boundaries, significant performance gains can be achieved. Fusing GPU kernels reduces HBM traffic, while co-locating per-user logic with GPU scoring minimizes network latency and bandwidth consumption.
The 2026 Meta Andromeda system pushes model-system co-design by unifying fragmented workloads onto a single GPU pipeline with two major innovations:
The combined single GPU pipeline processes over one billion ads per second on a single GPU server while scoring every eligible ad, setting a new throughput benchmark for ads retrieval-stage models and demonstrating significant headroom for future growth.