Cost-Aware Agentic Feature Optimization System for Fleet-Scale Ranking Models

Chang Yang, Yao Xuan, Wendan Yan and colleagues at Meta describe a production system in which LLM agents propose and tune feature selections for a fleet of ranking models while deterministic tools run and verify every experiment under shared cost limits.
Ask this paper
Agents propose, tools verify. LLMs generate and shortlist cross features from a combinatorial space. Several importance methods rank all features, and the rankings are blended into one selection using Pareto fronts for multi-task models.
Researcher agent under budget. An LLM Researcher agent tunes each model's feature set over 10 to 25 asynchronous trials with caps on pipeline cost and serving QPS. A trimming step then keeps cost within budget.
Offline gains. Across production models the system improves normalized entropy by 0.31% on average within each model's budget. Trimming cuts feature pipeline cost by 2.3% with no regression beyond measurement noise.
Shipped. The optimized models launched, and online A/B tests showed a 0.20% improvement in a primary online metric.
Abstract
Large Web platforms operate large fleets of ranking models, each selecting features from a shared pool of tens of thousands. We present an end-to-end agentic system that optimizes features across the fleet under resource constraints shared across models and those set per model, such as feature pipeline cost and serving throughput (QPS), respectively. In this system, LLM agents propose hypotheses, and deterministic tools execute experiments and verify them. For each model, an LLM generates and shortlists cross features from a combinatorial candidate space, and all features are then ranked by several importance methods. Feature blending mixes these rankings into a single selection, using Pareto fronts across tasks for multi-task models. An LLM Researcher agent then tunes the feature selection in 10--25 asynchronous trials under resource caps, and a trimming step keeps the pipeline cost within budget. Across production models, the system improves normalized entropy by 0.31% on average within each model's budget, and the trimming step cuts pipeline cost by 2.3% with no regression beyond measurement noise. The optimized models were launched, and in online A/B tests they improved a primary online metric by 0.20%.