Meta

Turning Opportunistic AI Inference Capacity Into Better Ads Recommendations

Oct 12, 2026Jinfu Leng, Rohith Menon, Nicolas Stier, Praveen Sampath, Hunter Zhang, Xiaocong Liang, Haonan Wu, Michael Fulthorp, Tao Cai, Paras M, Zeliang Chen, Shashank Tripathi, Manasi Khanuja
Turning Opportunistic AI Inference Capacity Into Better Ads Recommendations
SummaryAI, from the source post

This post details a new system designed to leverage idle AI inference capacity for ads recommendations. It introduces two elasticity levers, Rank More Ads (RMA) and Serve Better Models (SBM), to adapt to volatile and preemptible opportunistic capacity. RMA increases the number of ad candidates evaluated, requiring CPU and accelerator surplus, while SBM adjusts the share of requests routed to more powerful models, utilizing accelerator-only surplus. The system employs physical and logical isolation to protect baseline workloads, closed feedback loops with PID controllers for RMA latency and value-aware routing for SBM, and multi-layer value-aware load shedding to gracefully degrade when capacity is reclaimed. This system drives significant advertiser value and capacity efficiency by putting otherwise idle capacity to work.

More from the Scalability and Large-Scale Systems Engineering trail