NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Offline Reinforcement Learning for Optimizing Production Bidding Policies

Dmytro Korenkevych, Frank Cheng, Artsiom Balakir, Alex Nikulkov, Lingnan Gao, Zhihao Cen, Zuobing Xu, Zheqing Zhu

TL;DR

Researchers at Meta have developed a hybrid offline reinforcement learning (RL) framework to optimize real-time bidding policies at scale. By using deep neural networks to tune the parameters of simple, explainable heuristic models during training and then discarding the networks for deployment, they achieved statistically significant performance gains in production without the safety risks or infrastructure costs of black-box models.

What Problem Does This Paper Address?

In the high-stakes world of online advertising, platforms run thousands of auctions per second. Advertisers use automated agents to bid for these opportunities, aiming to maximize value while staying within a strict budget.

There is a fundamental tension here:

  1. Performance: Complex models like Deep Neural Networks (DNNs) can find highly optimal bidding strategies.
  2. Safety & Explainability: Because these agents spend real advertiser money, they must be reliable, transparent, and easy to debug. Advertisers and platforms generally prefer "handcrafted" heuristic policies (like PID controllers) because their behavior is predictable.
  3. Infrastructure: Running a massive DNN for every single auction bid is computationally expensive and introduces latency.

The authors sought a way to get the optimization power of RL while maintaining the simplicity and safety of production-grade heuristic policies.

Methods

The authors propose a modular hybrid actor-critic architecture trained via Offline Reinforcement Learning.

The Hybrid Architecture

As shown in Figure 2, the agent is split into two parts during the training phase:

  • The Actor: This is a stochastic policy. Its mean is defined by the existing production base policy (a differentiable heuristic). Its variance is parameterized by a deep neural network.
  • The Critic: A standard deep neural network that estimates the value (Q-function) of specific state-action pairs.
The proposed actor-critic agent architecture. The actor uses a base policy for the mean and a DNN for variance, while the critic is a separate DNN.

Training and Deployment

The team used Conservative Q-Learning (CQL), a state-of-the-art offline RL algorithm designed to learn from logged data without interacting with the live environment. They introduced several key modifications to CQL to make it work for bidding, such as state-dependent uniform sampling to handle bid values that vary across several orders of magnitude.

The "magic" happens at the end: once training is complete, the neural networks are discarded. Only the optimized parameters ($w^*$) for the base heuristic policy are deployed to production (see Figure 1).

The flowchart of the proposed approach: data collection via a behavior policy, offline learning to optimize parameters, and deployment of the tuned base policy.

Datasets

The researchers validated their approach using two primary data sources:

  1. High-Fidelity Simulator: An internal Meta tool that simulates auctions with randomized budgets, audience sizes, and competition. They generated a dataset of ~400,000 episodes (roughly 600 million time steps).
  2. Production Data: Logged data from approximately 200,000 week-long ad campaigns, totaling about 1.2 billion bidding decisions (time steps).

Key Insights and Ideas

  • DNNs as "Training Wheels": The core insight is using powerful black-box models to provide a rich gradient signal during training, which is then "distilled" into the parameters of a simple model. This bypasses the need for complex production infrastructure.
  • Explainability as a Constraint: Rather than trying to explain a neural network, the authors treated the need for a heuristic policy as a hard constraint and built the RL framework around it.
  • Multiplicative Noise: To collect diverse training data without crashing performance, they used multiplicative Gaussian noise. This ensures exploration is proportional to the bid size—crucial when bids can range from cents to hundreds of dollars.
  • Critic Pre-training: They found that pre-training the critic to match the initial performance of the base policy for 300,000 steps led to much more stable actor training.

Key Results

The approach was tested in one of the most demanding environments on earth: Meta's live ad auctions.

  • Simulation: The RL-tuned policy consistently outperformed the baseline by >0.5% across various campaign configurations.
  • Production A/B Tests: In two massive A/B tests involving ~50 billion impressions each, the optimized policy showed a +0.16% to +0.17% gain in the primary performance metric. While these percentages seem small, at Meta's scale, they represent statistically significant improvements in advertiser value and revenue.

Limitations and Future Work

  • Representational Capacity: The final policy is still limited by the functional form of the base heuristic. If the heuristic is too simple, even the best parameters won't reach true optimality.
  • Distributional Shift: Offline RL is sensitive to how much the new policy deviates from the data-collection policy. If the "optimized" bids are too different from what was seen in the logs, the critic's predictions become unreliable.
  • Future Directions: The authors suggest exploring more complex differentiable base policies and investigating iterative online learning, provided the infrastructure challenges can be met.

Summary updated

BibTeX
@inproceedings{korenkevych2024offline,
  author = {Dmytro Korenkevych and Frank Cheng and Artsiom Balakir and Alex Nikulkov and Lingnan Gao and Zhihao Cen and Zuobing Xu and Zheqing Zhu},
  title = {{Offline Reinforcement Learning for Optimizing Production Bidding Policies}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  url = {https://openreview.net/forum?id=n6srJzppxx},
}
Figure