Menu
Meta Engineering·November 11, 2026

Meta's Intelligent Delivery: ML-Driven Resource Allocation for Ad Serving

Meta's Intelligent Delivery is an ML-driven system designed to optimize resource allocation across a complex ad serving stack. It addresses challenges like heterogeneous compute impact, local vs. global optimality, and continuously shifting optimization landscapes to efficiently serve ads. By leveraging advanced ML models and a hierarchy of decision engines, it directs compute resources to maximize ranking performance within latency budgets.

Read original on Meta Engineering

The article from Meta Engineering describes Intelligent Delivery, an advanced machine learning system that optimizes compute resource allocation for ad ranking. The core challenge is efficiently running large-scale ad ranking models (approaching LLM scale) across a diverse, globally distributed hardware fleet, while adhering to strict latency budgets and achieving global system-wide optimality. This system is crucial because the marginal impact of compute is highly variable and the optimal allocation is a moving target due to continuous changes in models, hardware, and user behavior.

Key Challenges in Ad Delivery Resource Optimization

  • Heterogeneous and Context-Dependent Marginal Impact: The value of an extra unit of compute varies significantly based on product surface, user intent, candidate quality, and system state. Predicting this value per request across a vast decision space in milliseconds is critical.
  • Local vs. Global Optimality: Ad delivery involves a multi-stage ranking funnel with hundreds of models, different hardware generations, and multiple data centers. Optimizing a single component locally does not guarantee global system efficiency.
  • Continuously Shifting Optimization Landscape: New models, hardware, and architectures constantly change the optimal resource allocation strategy, requiring continuous adaptation.

Architectural Capabilities of Intelligent Delivery

1. Request Understanding: Shared ML Intelligence Layer

Intelligent Delivery employs a Resource Core Model, a deep learning model with billions of parameters, to predict the marginal utility of compute for each ad request. This model runs early in the request lifecycle and generates embeddings and signals that inform specialized models about outcome, compute consumption, and latency impact. This shared intelligence layer allows the system to understand which requests benefit most from additional compute, replacing rigid, unscalable rule-based policies.

2. Allocation Mechanisms: Hierarchy of Decision Engines

To manage resource allocation across a globally distributed, heterogeneous fleet, Intelligent Delivery uses a hierarchical approach: a dedicated decision engine for each layer of the serving stack. This decomposes the complex problem into manageable steps, from high-level traffic routing to fine-grained host-level resource management. For example, it dynamically shifts traffic between regions to balance efficiency, assigns workloads to optimal hardware SKUs based on measured efficiency, and within a host, it uses a constrained optimization to maximize impact within latency budgets by trimming low-impact work first.

💡

Hierarchical Resource Allocation

Designing a multi-layered allocation system like this is crucial for managing complexity in large-scale distributed environments. Each layer addresses a specific scope of the problem, allowing for more granular control while contributing to a global objective.

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

To address the continuously shifting optimization landscape and the impracticality of manual configuration across millions of dimensions, Intelligent Delivery incorporates agentic AI. These AI agents continuously monitor the system, propose configuration changes, design experiments, and converge on optimal adjustments. This significantly shortens the optimization loop from months to weeks, automating much of the engineering effort while keeping human oversight for final approvals. This demonstrates an advanced approach to autonomous system management in a production environment.

resource allocationMLOpsad servingoptimizationdistributed systemsreal-time systemsagentic AIsystem efficiency

Comments

Loading comments...