Abstract
We develop a novel optimization model to maximize the profit of a Demand-Side Platform (DSP) while ensuring that the budget utilization preferences of the DSP's advertiser clients are adequately met. Our model is highly flexible and can be applied in a Real-Time Bidding environment (RTB) with arbitrary auction types, including both first and second-price auctions. Our proposed formulation leads to a non-convex optimization problem due to the joint optimization over both impression allocation and bid price decisions. Using Fenchel duality theory, we construct a dual problem that is convex and can be solved efficiently to obtain feasible bidding prices and allocation variables. We demonstrate theoretically that our procedure is guaranteed to deliver a globally optimal solution under minimal assumptions. Experiments using real-world DSP data validate our findings, demonstrating that our method successfully trades off between DSP profitability and budget utilization.
Introduction
In the high-stakes world of online advertising, Demand-Side Platforms (DSPs) act as intermediaries, bidding on millions of ad slots per second on behalf of advertisers. This role requires a delicate balancing act: the DSP must maximize its own profit—the margin between what the advertiser pays and the cost of the ad exchange—while ensuring that advertisers' budgets are spent effectively. If a DSP fails to meet budget utilization goals, it risks losing clients to competitors. This "profit vs. pacing" dilemma is further complicated by the industry's shift between different auction formats, such as First-Price and Second-Price auctions.
The Challenge: Joint Optimization and Auction Diversity
DSPs face two primary mathematical hurdles in Real-Time Bidding (RTB):
- Conflicting Objectives: Maximizing immediate profit often leads to "cherry-picking" only the cheapest impressions. While profitable in the short term, this strategy frequently results in significant underspending of advertiser budgets.
- Mathematical Complexity: Simultaneously optimizing for allocation (deciding which campaign should bid for an impression) and the bid price creates a non-convex optimization problem. Such problems are notoriously difficult to solve because they are riddled with local optima—mathematical traps that prevent reaching the true best solution.
Furthermore, the current ad-tech landscape is heterogeneous. Some exchanges utilize First-Price auctions (where the winner pays their exact bid), while others use Second-Price auctions (where the winner pays the second-highest bid plus a small increment). Most existing bidding models are specialized for one format; this research proposes a unified framework capable of handling both.
Methodology: Leveraging Fenchel Duality
The researchers propose a Two-Phase Primal-Dual Scheme to overcome these challenges:
- Utility Functions over Hard Constraints: Instead of treating budgets as rigid caps, the model introduces utility functions ($u_k$). This allows the DSP to define nuanced preferences—such as a quadratic penalty for underspending—making the model far more flexible than traditional "all-or-nothing" constraints.
- Fenchel Duality: The core innovation lies in using Fenchel conjugates to transform the complex, non-convex primal problem into a "dual" version. The authors prove that this dual problem is convex, meaning it can be solved efficiently using standard subgradient methods.
- Separability and Scalability: The dual problem is separable by impression type. This allows the DSP to calculate optimal bidding strategies for different user segments (e.g., based on geography or interests) independently, enabling massive parallelization.
Key Results
The authors validated their model using the iPinYou dataset, a standard benchmark containing real-world bidding logs. The study focused on roughly 3.15 million training logs and 1.5 million test logs across four major advertiser campaigns.
As shown in the experimental results, the proposed optimization model significantly outperforms a standard "Greedy Heuristic" (which always bids for the campaign with the highest expected revenue):
- Profitability: When budgets were highly constrained (e.g., 1/32 of the original iPinYou budget), the proposed model achieved 2.10x the profit of the greedy approach.
- Budget Utilization: The model demonstrated superior "pacing" capabilities. While the greedy approach often exhausted budgets prematurely on low-quality impressions, the optimization framework successfully saved budget for high-value opportunities later in the simulation.
- Zero Duality Gap: A major theoretical contribution is the proof that, under mild assumptions regarding the "bid landscape," there is no gap between the dual and primal solutions. This ensures that solving the computationally efficient convex problem yields the exact global optimum for the original non-convex problem.
Conclusion and Future Work
This framework provides a mathematically grounded way for DSPs to maximize profitability while maintaining client satisfaction through effective budget utilization. While the model currently relies on pre-estimated Click-Through Rates (CTR) and bid landscapes, future work will focus on "robust" optimization to maintain performance even when these estimates are imperfect. Additionally, scaling the subgradient method to handle the millions of impression types encountered in live production environments remains a key area for further development.
Summary updated