SHALE: An Efficient Algorithm for Allocation of Guaranteed Display Advertising

Vijay Bharadwaj, Peiji Chen, Wenjing Ma, Chandrashekhar Nagarajan, John A. Tomlin, Sergei Vassilvitskii, Erik Vee, Jian Yang

Introduction

In display advertising, "guaranteed" contracts represent a publisher's commitment to deliver a specific number of impressions to a target audience over a set period. Managing these contracts involves solving a massive constrained optimization problem with two primary objectives: feasibility (meeting demand across overlapping contracts) and representativeness (ensuring ads are distributed evenly across eligible inventory).

Traditional approaches often rely on commercial solvers like XPRESS. While effective, these "black box" solutions are frequently slow, memory-intensive, and struggle to scale to the billions of edges found in real-world ad delivery graphs. Moreover, they do not always prioritize the representativeness that advertisers value.

The SHALE Algorithm

To address these challenges, we present SHALE (an efficient algorithm for allocation), a lightweight, "stop-anytime" optimization framework. SHALE bridges the gap between simple greedy heuristics and complex non-linear programming through a two-stage process:

  1. Dual Optimization: SHALE employs coordinate descent to solve for the "dual variables" of the optimization problem. These variables act as "shadow prices," reflecting the scarcity of specific inventory types. The iterative nature of this stage provides a "stop-anytime" property, allowing for a trade-off between computation time and solution optimality.
  2. Primal Construction: The algorithm then uses these dual variables to inform a "dual-aware" version of the High Water Mark (HWM) greedy heuristic. This step generates a compact serving plan requiring only $O(1)$ information per contract, enabling real-time, near-optimal decision-making by ad servers.

Experimental Evaluation

SHALE was evaluated using real-world data from Yahoo!, including six sets of guaranteed display contracts and bipartite graphs generated from inventory samples. The performance was compared against both the standard HWM heuristic and a tuned commercial solver (XPRESS).

Performance and Convergence

A key strength of SHALE is its rapid convergence. As shown in the figure below, the algorithm significantly reduces penalty costs and improves representativeness (measured by $L_2$ distance) within just a few iterations.

Performance metrics of SHALE across iterations compared to the HWM baseline.

After 10 iterations, SHALE's performance was within 2% of the commercial solver regarding penalty costs and under-delivery rates, while being more than five times faster. Notably, SHALE achieved an $L_2$ distance less than half that of the commercial solver, indicating superior allocation quality.

Robustness to Supply Contention

The algorithm's effectiveness was further tested under varying levels of supply contention. In simulations using actual ad server logs, SHALE consistently outperformed the HWM heuristic.

SHALE performance metrics relative to HWM across different levels of average supply contention.

As illustrated above, SHALE maintains a significant advantage over HWM even as inventory becomes scarcer. This robustness is critical for maintaining delivery guarantees in volatile market conditions.

Key Insights and Conclusion

SHALE demonstrates that representativeness can be treated as a first-class citizen in ad allocation by incorporating an $L_2$ distance metric directly into the objective function. Its multi-pass streaming architecture ensures scalability, with a memory footprint independent of the number of edges in the delivery graph.

While SHALE's performance is dependent on the accuracy of inventory forecasts, it provides a powerful tool for publishers to manage large-scale guaranteed contracts efficiently. Future work may involve refining pacing heuristics to ensure smoother delivery over time and adapting the coordinate descent technique for non-guaranteed markets or click-through rate optimization.

Summary updated

BibTeX
@inproceedings{bharadwaj2012shale,
  author = {Vijay Bharadwaj and Peiji Chen and Wenjing Ma and Chandrashekhar Nagarajan and John A. Tomlin and Sergei Vassilvitskii and Erik Vee and Jian Yang},
  title = {{SHALE: An Efficient Algorithm for Allocation of Guaranteed Display Advertising}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2012},
  doi = {10.1145/2339530.2339718},
}
Figure