EBaReT: Expert-guided Bag Reward Transformer for Auto Bidding

Kaiyuan Li, Pengyu Wang, Yunshan Peng, Pengjia Yuan, Yanxiang Zeng, Rui Xiang, Yanhua Cheng, Xialong Liu, Peng Jiang

Introduction

In the rapidly evolving landscape of online advertising, automated bidding (auto-bidding) has become a cornerstone for advertisers seeking to optimize high-level objectives, such as maximizing conversions within a fixed budget. While Reinforcement Learning (RL) is theoretically well-suited for these sequential decision-making tasks, its real-world application is hindered by two primary challenges: the sub-optimality of historical bidding logs and the extreme sparsity of reward signals.

This paper introduces EBaReT (Expert-guided Bag Reward Transformer), a generative RL framework designed to address these hurdles. By integrating expert trajectory generation with a novel bag-based reward redistribution mechanism, EBaReT significantly improves the stability and performance of auto-bidding agents in both offline benchmarks and live production environments.

Problem Statement

Auto-bidding agents must navigate complex auction environments where the relationship between an action (a bid) and a reward (a conversion) is often obscured. Two specific issues dominate this domain:

  1. Low Data Quality: Historical datasets are typically generated by legacy algorithms or sub-optimal heuristics. Standard offline RL methods, such as Behavioral Cloning, often inadvertently mimic these inefficiencies, leading to poor performance.
  2. Sparse and Uncertain Rewards: Conversions are rare events. An agent may execute a theoretically optimal bid but receive no reward due to external factors (e.g., user intent or creative quality). This "noise" makes it difficult for models to perform accurate credit assignment, as the actual value of a specific bid is often decoupled from the immediate outcome.

The EBaReT Framework

EBaReT builds upon the Decision Transformer (DT) architecture, which treats reinforcement learning as a conditional sequence modeling problem. To overcome the limitations of standard DTs in the bidding context, the authors introduce four key innovations:

1. Expert Trajectory Generation

To provide a high-quality learning signal, the authors utilize "truthful optimal bidding theory" based on Dual Linear Programming. This allows for the generation of synthetic "expert" bidding sequences that represent optimal behavior under known constraints. These trajectories serve as a gold standard to supplement noisy historical data.

2. PU Learning-based Discriminator

Because the offline dataset contains a mixture of high-quality and low-quality transitions, the model employs Positive-Unlabeled (PU) learning. A discriminator is trained to distinguish between the generated "expert" data (positive) and the unlabeled historical logs. This allows the model to identify and prioritize expert-level transitions within the massive, noisy dataset.

3. Bag-based Reward Redistribution

To solve the credit assignment problem, EBaReT groups sequences into "bags" (e.g., 8-step intervals). Instead of relying on a single, potentially zero-value reward at each step, the model uses the discriminator to redistribute the total reward of the bag across individual steps. This "smearing" process creates a smoother and more informative Return-to-Go (RTG) signal, ensuring that bids contributing to a eventual conversion are properly incentivized.

4. Expert-guided Inference

During the inference phase, rather than manually tuning a target reward—a common but unstable practice in Decision Transformers—EBaReT utilizes a discrete "expert token." This token, derived from the discriminator, conditions the transformer to generate actions that align with high-quality, expert-level behavior, leading to more stable bidding strategies in volatile markets.

Experimental Evaluation

Offline Benchmarking

The model was evaluated on AuctionNet, a large-scale benchmark released by Alibaba containing over 500 million records. EBaReT was compared against several state-of-the-art baselines, including IQL, CQL, and the standard Decision Transformer. Across multiple test periods (P14–P20), EBaReT consistently outperformed all baselines in cumulative conversions, demonstrating superior ability to learn from sub-optimal data.

Online Deployment

EBaReT was deployed in a live production environment at Kuaishou, a major short-video platform. In a rigorous A/B test, the framework achieved a +13.46% increase in conversions and a +11.44% increase in revenue compared to the existing production baseline. These gains were achieved while strictly adhering to the original budget and delivery plans, highlighting the model's practical utility.

Conclusion and Future Work

EBaReT represents a significant step forward in applying generative RL to the domain of automated bidding. By filtering noisy data through a PU-learning discriminator and smoothing sparse rewards via bag-based redistribution, the framework effectively bridges the gap between theoretical optimality and real-world constraints.

Future research will focus on automating the selection of hyperparameters, such as bag size and reward-shaping coefficients ($\beta$), to create a more unified, end-to-end learning framework. Additionally, the authors plan to explore more sophisticated temporal modeling to better handle the trade-offs between short-term auction wins and long-term budget optimization.

Summary updated

BibTeX
@inproceedings{li2025ebaret,
  author = {Kaiyuan Li and Pengyu Wang and Yunshan Peng and Pengjia Yuan and Yanxiang Zeng and Rui Xiang and Yanhua Cheng and Xialong Liu and Peng Jiang},
  title = {{EBaReT: Expert-guided Bag Reward Transformer for Auto Bidding}},
  booktitle = {The Web Conference},
  year = {2025},
  doi = {10.1145/3701716.3715512},
}
Figure