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

Dynamic Knapsack Optimization Towards Efficient Multi-Channel Sequential Advertising

Xiaotian Hao, Zhaoqing Peng, Yi Ma, Guan Wang, Junqi Jin, Jianye Hao, Shan Chen, Rongquan Bai, Mingzhou Xie, Miao Xu, Zhenzhe Zheng, Chuan Yu, Han Li, Jian Xu, Kun Gai

Introduction

In the highly competitive landscape of E-commerce, advertising is essential for merchants to reach target users. However, maximizing an advertiser’s cumulative revenue over time under a strict budget constraint is notoriously difficult. This paper introduces MSBCB (Multi-channel Sequential Budget Constrained Bidding), a framework that moves beyond "myopic" online advertising by treating bidding as a Dynamic Knapsack Problem. By combining bilevel optimization and reinforcement learning (RL), MSBCB successfully maximizes long-term cumulative revenue across multiple user interactions, achieving a 10% revenue boost in real-world tests on Alibaba’s Taobao platform.

The Problem: Beyond Myopic Bidding

In Real-Time Bidding (RTB), most systems are "myopic"—they attempt to maximize the immediate revenue of a single ad exposure. However, consumer behavior is rarely that simple. A user might see a display ad, later encounter a social media ad, and finally click a search ad before making a purchase.

Sequential User Behaviors and States

Existing systems often ignore this sequential "mental evolution" of the user. Optimizing for the long term introduces significant challenges:

  1. Complexity: The search space for bidding strategies across millions of users and multiple channels is astronomically large.
  2. Uncertainty: The future value or cost of a user interaction is unknown until it actually happens.
  3. Constraints: Advertisers have strict budget limits that must be dynamically managed across all these sequential interactions.

The MSBCB Framework

To tackle these challenges, the authors formulate the problem as a Dynamic Knapsack Problem and solve it using a novel bilevel optimization framework:

  • Bilevel Decomposition: Instead of solving one massive, intractable problem, MSBCB splits it into two levels. The "Higher-level" manages the global budget by adjusting a single control variable: the Cost-Performance Ratio threshold ($CPR_{thr}$). The "Lower-level" focuses on individual users, learning the best bidding policy for each specific interaction sequence.
  • Reinforcement Learning (RL) with a Custom Reward: User interactions are modeled as a Markov Decision Process (MDP). The reward function is cleverly derived from the authors' mathematical proofs: the RL agent seeks to maximize $Value - (CPR_{thr} \times Cost)$.
  • Action Space Reduction: Standard RL struggles with continuous bid values (e.g., deciding to bid exactly $1.23 vs $1.24). The authors mathematically prove that the agent only needs to make a binary decision: whether to show an ad (0 or 1). If the decision is "yes," the optimal bid amount can be deterministically calculated using a specific formula based on the current state and the global $CPR_{thr}$. This reduction makes the learning process significantly faster and more stable.
  • PID Control: To handle real-time budget fluctuations and pacing, a standard engineering PID controller dynamically adjusts the $CPR_{thr}$ based on actual spending rates.

Key Insights

The most elegant takeaway from MSBCB is the power of the global threshold. The entire complex bidding problem can be effectively controlled by $CPR_{thr}$. If a user's predicted long-term value-to-cost ratio exceeds this threshold, the system bids; if not, it passes. Furthermore, the paper demonstrates that maximizing the Cost-Performance Ratio for every single user isn't actually optimal. Sometimes, it is better to accept a lower CPR on a specific user to capture a much higher total value, provided the overall strategy stays above the global budget threshold.

Experimental Results

The researchers evaluated MSBCB using both controlled simulations and massive real-world A/B testing.

Simulation Performance: In a simulated environment with 10,000 users and 2,000 ads, MSBCB was tested against an "Offline Optimal" solution—a theoretical ceiling calculated via dynamic programming with perfect hindsight.

MSBCB Performance vs. Baselines

MSBCB reached an impressive 98.5% of the theoretical Offline Optimal revenue. Furthermore, it demonstrated incredible sample efficiency, converging to high revenue in just 71 epochs, whereas standard RL methods (like Greedy+DQN) required over 750 epochs to reach similar levels.

Real-World Gains (Taobao): The framework was deployed in an enormous A/B test on Alibaba's Taobao platform involving over 135 million users, 72,147 ad items, and 186 advertisers over a 10-day period. Compared to the production-grade "Cross Entropy Method" (CEM), MSBCB delivered a +10.08% increase in revenue and a +10.31% increase in ROI, all while strictly adhering to the same budget constraints.

Limitations and Future Work

The authors note that their model currently assumes a relatively stable bidding environment (stationarity), as it was applied to a subset of VIP advertisers. If every advertiser on a platform adopted this exact strategy simultaneously, the auction environment would become highly dynamic and competitive. Future work will likely explore Multi-Agent Reinforcement Learning (MARL) approaches to coordinate and maintain these efficiency gains in a fully competitive, non-stationary market.

Summary updated

BibTeX
@inproceedings{hao2020dynamic,
  author = {Xiaotian Hao and Zhaoqing Peng and Yi Ma and Guan Wang and Junqi Jin and Jianye Hao and Shan Chen and Rongquan Bai and Mingzhou Xie and Miao Xu and Zhenzhe Zheng and Chuan Yu and Han Li and Jian Xu and Kun Gai},
  title = {{Dynamic Knapsack Optimization Towards Efficient Multi-Channel Sequential Advertising}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=1PJKu6Lujb},
}
Figure