2026-11-26 15:40 UTC

Meta details Intelligent Delivery, a system for allocating ad-serving compute

state: significantheat: mediumuncertainty: mediumrelevance: highmeta advertising recommendation-systems llm-infrastructureMetaZhaojun ZhangQinwei ZhuGang Li

What is this?

Meta Engineering’s November 11, 2026 post, authored by Zhaojun Zhang, Qinwei Zhu, Gang Li and colleagues, describes Intelligent Delivery, a production system that uses ML to allocate scarce serving resources across ad requests, ranking stages, models, data-center regions and hardware. Meta says the system contributed about 10% additional ads-ranking performance from 2017 through the first half of 2026, on top of model and system advances. It describes a shared request-understanding model, layered allocation mechanisms and AI agents that propose and test optimizations, with engineers approving changes before deployment. These are first-party descriptions and performance claims; the supplied sources provide no independent validation. The later HN item points to a related Meta post about AI agents, but its article text is not supplied, so it adds no confirmable detail here.

Why it matters

The notable idea is treating compute allocation itself as a system-wide learning and control problem, rather than only making individual models faster. If Meta’s account is representative, this can extract more ranking quality from fixed capacity, support larger models under latency and hardware constraints, and make serving efficiency a competitive advantage. Meta also reports agents contributed to about 20% of Intelligent Delivery optimizations in the first half of 2026; that suggests AI-assisted infrastructure tuning is already in use, though the extent and impact are company-reported.

Current assessment

New first-party account: Meta says Intelligent Delivery has operated across major ad surfaces and contributed ~10% incremental ranking performance over model and system advances between 2017 and H1 2026. Its described mechanisms include 6B sparse/20M dense-parameter Resource Core Models; request-level estimates of outcome, compute and latency; allocation across regions, CPU/accelerator fleets, hosts and ranking stages; and closed-loop testing for coupled decisions. Meta reports ~20% of optimizations in H1 2026 involved agents, and that agents contribute ~80% of engineering effort on its most automated mechanism, shortening optimization from months to weeks; engineers review and approve changes. These figures and system details are Meta’s claims, not independently corroborated in the supplied evidence. Meta says end-to-end joint real-time optimization and GPU-specific allocation remain areas under development, not completed capabilities. Implication: the scarce resource in large-scale AI may increasingly be not just model quality or accelerator supply, but the orchestration that directs each unit of compute to its highest-value use. This is an ads-serving system, not itself an LLM inference product, though its allocation approach may be relevant to other heterogeneous inference workloads. No primary evidence is supplied for the November 18 AI-agents article linked from the later HN story.

Measured heat

now 0 pts/hpeak 8 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 386h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-10 13:00⭐ origin echo-reconstructedThis Meta Engineering post is the earliest primary artifact in the chain. It describes Intelligent Delivery as an ML-driven system for alloc
Meta Engineering (by Zhaojun Zhang, Qinwei Zhu, Gang Li, Jianwei Xiao, Yanan Wang, Hongmei Li, Deepak Vijaywargi, Ke Pan, and Li Yu) on blog (echo) · attributed from hn.story.50456339
—
11-11 17:56first on hacker news · published · +28.9hMeta's Intelligent Ads Delivery: Making Every Unit of Compute Serve Better Ads
sptmbr
—
11-11 17:56amplified on hacker news 👑hn.story.50456339
sptmbr
peak 3 · 0 comments · 49% of case engagement
11-19 16:06amplified on hacker newshn.story.50561912
gmays
peak 3 · 0 comments · 49% of case engagement
11-11 18:20our radar first saw it · +29.4hdiscovery anchor: hn.story.50456339—
pace: p40 vs 1845 stories at the 336h mark (now 386h old) — ahead of abmaze-protein-fitness-agent-benchmark (1.3x), behind agentplay-coding-agent-cost-dashboard (0.8x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnMeta's Intelligent Ads Delivery: Making Every Unit of Compute Serve Better Ads
Retrieved article excerpt

Open article · Retrieved 2026-11-11T18:21:58.511902+00:00

POSTED ON NOVEMBER 11, 2026 TO [ML Applications](https://engineering.fb.com/category/ml-applications/)

# Intelligent Delivery: Making Every Unit of Compute Serve Better Ads


 

By [Zhaojun Zhang](https://engineering.fb.com/author/zhaojun-zhang/ "Posts by Zhaojun Zhang"), [Qinwei Zhu](https://engineering.fb.com/author/qinwei-zhu/ "Posts by Qinwei Zhu"), [Gang Li](https://engineering.fb.com/author/gang-li/ "Posts by Gang Li"), [Jianwei Xiao](https://engineering.fb.com/author/jianwei-xiao/ "Posts by Jianwei Xiao"), [Yanan Wang](https://engineering.fb.com/author/yanan-wang/ "Posts by Yanan Wang"), [Hongmei Li](https://engineering.fb.com/author/hongmei-li/ "Posts by Hongmei Li"), [Deepak Vijaywargi](https://engineering.fb.com/author/deepak-vijaywargi/ "Posts by Deepak Vijaywargi"), [Ke Pan](https://engineering.fb.com/author/ke-pan/ "Posts by Ke Pan"), [Li Yu](https://engineering.fb.com/author/li-yu/ "Posts by Li Yu")

- Ads ranking models are growing toward LLM scale faster than the hardware to run them can keep up. An extra unit of compute has more impact on some ad requests, models, and chips than on others. The challenge is deciding where to allocate it to get the best outcome for the entire system.
- We built Intelligent Delivery, an ML-driven system that allocates resources across the serving stack toward the system-wide optimum. It has delivered ~10% incremental ranking performance on top of model and system advancements since 2017.
- We’re sharing a few of Intelligent Delivery’s capabilities: how we build ML models to predict the marginal utility of compute, multi-layered mechanisms to move resources across the system, and how we increasingly leverage agentic AI to continuously detect and respond to system shifts.

As frontier ads ranking systems advance toward larger models, broader candidate sets, and richer delivery architectures, they also place greater demands on serving efficiency. Compute resources do not scale at the rate that models and system complexity do. The challenge is not just how to build more powerful models, but how to operate them efficiently across a heterogeneous system, with finite serving capacity, and under a tight latency budget. We recently shared how we [put idle inference capacity to work](https://engineering.fb.com/2026/10/12/ml-applications/turning-opportunistic-ai-inference-capacity-into-better-ads-recommendations/). This post covers how we decide where each unit of compute goes to achieve globally optimal system efficiency.

**Intelligent Delivery** is our approach to the problem, and it has contributed an additional ~10% improvement in ads ranking performance on top of model and system advancements across major surfaces, from 2017 through the first half of 2026. It introduces an ML-driven, increasingly AI-operated adaptive optimization layer that continuously directs resources toward the requests, models, hardware fleets, and ranking stages with the highest marginal utility. This helps us run advanced ads ranking models efficiently in production, getting more out of every unit of compute to serve better ads for people who use our apps and services.

## The Goal and What Makes It Difficult

One of our goals is to create a delivery system that continuously converges on its global optimum, regardless of how user behavior changes, models evolve, and the serving stack grows more complex. 

Three fundamental properties of ads delivery systems make this challenging:

**The marginal impact of compute is highly heterogeneous and context-dependent:** The same additional unit of compute can generate very different returns depending on the product surface, user intent, candidate quality, and system state. Request-aware signals alone are not sufficient; allocating well means estimating, for every request, the return on every available tunable system parameter, where each knob behaves differently at each stage of the funnel. We need to produce a per-request result calculation across a vast decision space within milliseconds.

**Local optimality does not translate to global optimality:** Result estimation is just the start; the serving stack must also be dynamically controllable. Ads delivery spans [multi-stage ranking](https://engineering.fb.com/2026/08/05/ml-applications/from-user-sequences-to-scaling-laws-a-multi-stage-architecture-for-metas-ads-ranking/), hundreds of models, generations of hardware, and many data centers. Resources cannot be shifted freely and reliably across these boundaries without adaptive controls that account for complex dependencies throughout the stack. 

**The global optimum is a moving target:** The optimization landscape is continuously shifting. Every new model, hardware generation, or new architecture changes the landscape and can invalidate previously optimal allocation decisions. The system needs to adapt quickly enough to retain its optimality. 

Intelligent Delivery includes three capabilities, each designed to address one of these fundamental system challenges.

## Capabilities of Intelligent Delivery

### **1. Request Understanding:** A Shared ML Intelligence Layer for Compute

Some ad requests benefit more from additional computation than others. Initially, we captured these differences through coarse segments: Requests were grouped by attributes such as surface, context, and ad creative representation, with engineers creating policies to allocate resources for each group. This approach delivered improvements but did not scale. Every new signal multiplied the rules, making the effort unsustainable, and independent segments could not capture the nonlinear interactions among thousands of signals, which limited accuracy.

We achieved about a 20% improvement in identifying the highest-impact ad requests in offline benchmarks on major surfaces, relative to our previous production model, after reframing this into two ML problems: **Which ad requests are most likely to benefit from additional compute? And how will different resource settings affect their outcomes and serving performance?**

A side-by-side comparison of static rule-based segmentation, where every request in a bucket gets the same compute, and signal-driven decisions, where an ML-driven predictor sets compute for each request.

To answer the first question, we built the **Resource Core Model**, deep learning models with 6B sparse parameters and 20M dense parameters that run once before candidate retrieval and are shared across the delivery funnel. Learned embeddings and deep feature interactions capture nuanced request patterns that manually defined segments cannot.

We then fine-tune the Resource Core Model into a set of specialized models, each generating incremental signals about outcome, compute consumption, and latency impact. Together this forms a shared ML intelligence layer for resource allocation: The Resource Core Model understands each request and its serving behavior, while individual mechanisms determine how to translate those predictions into actions.

An architecture diagram of the Resource Core Model, showing how dense and sparse request features pass through stacked interaction layers to predict each request’s outcome, compute consumption, and latency impact.

### **2. Allocation Mechanisms:** A Hierarchy of Decision Engines

Ads serving runs on a globally distributed, heterogeneous fleet with many data center regions, several hardware generations, and millions of hosts, all shared by a multi-tier serving stack. A single allocation mechanism cannot control the complex resource distribution end to end. So we decomposed the problem into a hierarchy of layers and built a dedicated decision engine for each. The easiest way to see the hierarchy is to follow a single request through it.

Someone opens their feed. An ad request is created, and over the next few hundred milliseconds it passes through a chain of resource allocation decisions. This leads us to three important questions and answers.

**Which region serves it?** Traffic and capacity are not colocated, and each region carries a different hardware mix and a different amount of headroom — so the same unit of compute is more efficient in some places than in others. We built real-time infrastructure to dynamically shift traffic between regions in a cycle of minutes, driving toward the point where every region achieves the same level of efficiency on its marginal unit of capacity.

**What hardware does it land on?** Our fleet spans CPUs from Intel, AMD, and Arm and accelerators from NVIDIA, AMD, and our own [Meta Training and Inference Accelerator (MTIA)](https://ai.meta.com/blog/meta-mtia-scale-ai-chips-for-billions/), across several generations of each. The hard part isn’t the variety; it’s that capacity isn’t interchangeable. Our stages are bound by different resources — retrieval by memory capacity, ranking by compute, and model inference by accelerator throughput — so there is no single fastest SKU, only a best match per workload. We benchmark measured efficiency for every workload-SKU pair, then solve the assignment so that scarce hardware goes to the workloads that convert it into the most useful work. 

**Inside the host, how much of this machine does the request get?** Concurrent requests differ in latency budget and impact, under a hard tail-latency SLO. We predict each request’s expected outcome and its compute and latency cost in real time using our advanced deep learning models, and solve a constrained optimization that maximizes impact delivered within the host’s latency budget — as the host load increases, the performance trade-off rises and resource-intensive low-impact work is trimmed first. Enforcing those decisions takes control across the whole stack, so the framework spans from kernel-level scheduler up to application-level thread pools.

A three-step flowchart following one ad request through the decision hierarchy: which region serves it, which hardware it runs on, and how much of the host it gets.

These three steps are just a subset of the allocation decisions we make during a request’s lifecycle. Following this, we optimize the number of ads to rank for each request in each ranking stage, what ad candidates enter the pool, and much more.

These allocation decisions are tightly coupled, so a resource change in any one of them ripples across the whole system. Shifting traffic between regions changes per-host load, which drives the feedback controller that sets how much work each request gets. We validate these changes in an end-to-end, closed-loop hardware testing environment to make sure we are optimizing for the global optimum instead of a local optimum.

### **3. Optimization Loop:** Self-Optimizing Serving with Agentic AI

As our ad system advances, productionizing a new model, a new mechanism, or new hardware into the system requires a lot of effort to achieve seamless integration. We can’t brute-force every single configuration across millions of tunable dimensions built in our system for a new change. That would require too much time and far more hardware resources than we have. 

We relied heavily on human expertise and engineers’ prior knowledge to identify promising configurations. But this approach didn’t scale, because every new model, mechanism, and hardware generation expanded the search space faster than engineers could explore it.  
  
We tried automating this with a constrained optimization approach, which delivered improvements but remained inflexible and slow. We found that it lacked the ability to generalize (it could only cover a few key knobs) and couldn’t effectively incorporate human intuition from prior experience.

Instead of doing a blind search, AI agents continuously monitor the entire system landscape, identifying changes and inefficiencies to address. In a long context window, an agent reads mechanism source code, design documents, and a decade of experiment logs and narrows that to a handful of changes worth testing. Engineers re
sptmbr30
🟧 echo.blog ⭐This Meta Engineering post is the earliest primary artifact in the chain. It describes Intelligent Delivery as an ML-driven system for allocMeta Engineering (by Zhaojun Zhang, Qinwei Zhu, Gang Li, Jianwei Xiao, Yanan Wang, Hongmei Li, Deepak Vijaywargi, Ke Pan, and Li Yu)——
🟧 hnHow Meta Uses AI Agents to Scale ML Innovations Across Ads Ranking Modelsgmays30

Interpretation history

Decision trace