Trajectory-wise Iterative Reinforcement Learning Framework for Auto-bidding

Haoming Li, Yusen Huo, Shuai Dou, Zhenzhe Zheng, Zhilin Zhang, Chuan Yu, Jian Xu, Fan Wu · DOI

Introduction

Automated ad bidding is a critical task for Demand-Side Platforms (DSPs), yet it faces significant challenges when transitioning from simulation to real-world deployment. Traditional Reinforcement Learning (RL) approaches often struggle with the "sim-to-real" gap and the inherent conservatism of offline learning. This paper presents a novel Trajectory-wise Iterative Reinforcement Learning framework designed to overcome these hurdles while ensuring operational safety.

Problem Statement

The deployment of RL in online advertising is hindered by three primary issues:

  1. Sim-to-Real Gap: Discrepancies between simulated training environments and unpredictable real-world dynamics.
  2. Conservatism Trap: Offline RL algorithms typically penalize deviations from the behavior policy to avoid risky actions, often leading to performance plateaus on mediocre datasets.
  3. Safety vs. Exploration: The need to discover high-performing strategies without compromising an advertiser's budget or campaign performance.

Proposed Framework: TEE and SEAS

The authors introduce two core components to address these challenges: Trajectory-wise Exploration and Exploitation (TEE) and Safe Exploration by Adaptive Action Selection (SEAS).

The Trajectory-wise Iterative Reinforcement Learning framework, illustrating the loop between data collection, exploitation, and exploration.

Trajectory-wise Exploration and Exploitation (TEE)

TEE shifts the focus from step-level noise to trajectory-level consistency. By employing Parameter Space Noise (PSN), the agent adds noise to the neural network weights at the start of each 24-hour cycle. This ensures a coherent strategy throughout the day, which is more effective at uncovering high-return trajectories than standard Action Space Noise (ASN).

To break the conservatism of offline RL, TEE utilizes Robust Trajectory Weighting. Instead of treating all data equally, the framework prioritizes successful trajectories. It uses a reward model to estimate expected returns and normalizes performance based on initial campaign states, ensuring that the agent learns from truly superior behaviors rather than "lucky" outliers.

Safe Exploration by Adaptive Action Selection (SEAS)

SEAS serves as a dynamic safety mechanism during online data collection. It evaluates exploratory actions at each time step by predicting whether the cumulative reward will remain above a predefined safety threshold. If an action is deemed too risky, SEAS overrides it with a known safe policy, allowing for aggressive exploration only when the campaign is performing well.

Experimental Results

The framework was evaluated in both a custom-built simulator and on Alibaba’s live display advertising platform.

Simulation Performance

In simulated environments, the TEE+SEAS approach demonstrated rapid convergence, reaching near-expert performance within just five iterations. As shown in the comparative analysis, this method significantly outperforms standard iterative offline RL baselines, which often stall at suboptimal levels.

Performance comparison (Reward R vs. Iteration) of TEE+SEAS variants against baselines and expert performance.

Real-World Impact

A 10-day A/B test involving 1,500 campaigns on Alibaba's platform confirmed the framework's efficacy. The system achieved a +3.59% increase in conversions (BuyCnt) and a +3.36% increase in Gross Merchandise Volume (GMV) compared to static baselines. Furthermore, the SEAS component successfully maintained campaign performance above the 95% safety threshold throughout the learning process.

Conclusion

The Trajectory-wise Iterative Reinforcement Learning framework effectively bridges the gap between offline training and online deployment in high-stakes environments like ad bidding. By combining consistent trajectory-level exploration with robust exploitation and adaptive safety guardrails, it enables continuous policy improvement without sacrificing real-world performance stability.

Summary updated

BibTeX
@inproceedings{li2024trajectory,
  author = {Haoming Li and Yusen Huo and Shuai Dou and Zhenzhe Zheng and Zhilin Zhang and Chuan Yu and Jian Xu and Fan Wu},
  title = {{Trajectory-wise Iterative Reinforcement Learning Framework for Auto-bidding}},
  booktitle = {The Web Conference},
  year = {2024},
  doi = {10.1145/3589334.3645534},
}
Figure