Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Ads Remove topic Ads 41 posts RSS

November 2026

Meta Engineering

How Meta Uses AI Agents to Scale ML Innovations Across Ads Ranking Models

Case study 10 min +100 XP

Meta uses AI agents to propagate proven ranking-model techniques (e.g. Wukong layers, Interformer, training optimizations) across a large, heterogeneous fleet of ads ranking models, where a technique rarely transfers without adaptation.

Meta Engineering

Intelligent Delivery: Making Every Unit of Compute Serve Better Ads

Case study 9 min +90 XP

Meta's Intelligent Delivery is an ML-driven layer that allocates serving compute across requests, models, hardware fleets and ranking stages by predicting the marginal utility of each unit of compute, adding about 10% ads ranking performance since 2017.

Meta Engineering

F3 Lightning: How Meta Accelerates Ads ML Features to Production at Scale

Case study 10 min +100 XP

F3 Lightning decouples feature releases from shared execution in Meta's ads ML feature framework, so each of 20,000+ features is compiled, validated, deployed and rolled back independently instead of shipping as one all-or-nothing merged DAG.

October 2026

Meta Engineering

Meta Andromeda: Powering the Next Generation of Ads Retrieval Through Model-System Co-Design

Case study 11 min +110 XP

Meta's next-generation Andromeda ads retrieval engine co-designs model, system and GPU hardware to score every eligible ad with near ranking-level quality at over one billion ads per second per GPU server, a 100x lift over the 2024 system.

OpenAI

How we built ChatGPT’s novel ad stack for user trust and relevance

Case study 14 min +140 XP

ChatGPT's ad stack replaces the event-driven request/response ads pipeline with stateful ads sessions that track evolving intent across turns and conversations, orchestrated by a post-trained LLM that calls tools for query rewriting, ANN retrieval over multiple embedding indices, eligibility filtering (budget, pacing, targeting, policy, dedup), relevance and engagement scoring, and a separate auction tool that handles pricing and final selection.

Meta Engineering

Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI

Case study 14 min +140 XP

Meta's 2026 GEM replaces per-surface ads ranking models with a single central recommendation foundation model trained across Facebook, Instagram, Reels and deep-funnel conversion objectives, reporting 18.9% conversion and 12% CTR gains.

Meta Engineering

Turning Opportunistic AI Inference Capacity Into Better Ads Recommendations

Case study 10 min +100 XP

Meta aggregates locally idle inference capacity, stranded by peak provisioning, delivery timing, resource-ratio and accelerator-type mismatches, into a preemptible opportunistic pool used to improve ads recommendations.

September 2026

August 2026

One line of Python, and a 3× drop in p99

Case study 9 min +90 XP

Removing an unconditional structured-log warning (plus four Prometheus-style metric increments) from a Python ad-decisioning service's hot path cut sustained p99 latency from ~48ms to ~18ms and CPU from 8–10 to 2–4, with pre- and post-deploy latency bands not overlapping at all.

Meta Engineering

From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking

Case study 6 min +60 XP

Meta scales sequence learning for ads ranking by splitting it into two stages: an offline transformer user model processes thousands of user events asynchronously and caches user-level embeddings, and a lightweight online ranking model combines those embeddings with fresh signals and ad candidates under strict latency budgets.

Meta Engineering

GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model

Case study 21 min +210 XP

Meta doubled end-to-end training efficiency of GEM, its LLM-scale ads recommendation foundation model, to 20–25% MFU while scaling training FLOPs 4x in a year, by co-designing kernels, precision, parallelism, networking and memory.

July 2026

From Homegrown to Flink: Migrating a Stateful Ad Event Join at Scale

Case study 12 min +120 XP

Zalando's Ad Platform team replaced a 7-year-old homegrown Java service that joins ad auction (bid) events with user interaction events within a 15-minute window with an Apache Flink pipeline using RocksDB state and incremental checkpoints.

June 2026

May 2026

March 2026

Meta Engineering

Meta Adaptive Ranking Model: Bending the Inference Scaling Curve to Serve LLM-Scale Models for Ads

Case study 9 min +90 XP

Meta Adaptive Ranking Model serves LLM-scale ads ranking models (O(10 GFLOPs) per token, O(1T) parameters) at O(100 ms) latency by routing each request to an appropriately complex model and computing user signals once per request instead of once per ad candidate.

Etsy Code as Craft

Making Ads Count: Using MMoE and Auxiliary Tasks to Better Connect Buyers & Sellers

Case study 11 min +110 XP

Etsy's Ads Search ranking model replaced its shared-bottom multitask architecture (DCN feature crossing plus CTR and post-click conversion towers with Platt-scaled calibration) with a Multigate Mixture of Experts layer, adding add-to-cart as an uncalibrated auxiliary task.

The quest for software engineering knowledge.

Look:
Layout: