Bid Shading in The Brave New World of First-Price Auctions

Djordje Gligorijevic, Tian Zhou, Bharatbhushan Shetty, Brendan Kitts, Shengjun Pan, Junwei Pan, Aaron Flores · DOI

Abstract

Online auctions play a central role in online advertising, and are one of the main reasons for the industry's scalability and growth. With great changes in how auctions are being organized, such as changing the second- to first-price auction type, advertisers and demand platforms are compelled to adapt to a new volatile environment. Bid shading is a known technique for preventing overpaying in auction systems that can help maintain the strategy equilibrium in first-price auctions, tackling one of its greatest drawbacks. In this study, we propose a machine learning approach of modeling optimal bid shading for non-censored online first-price ad auctions. We clearly motivate the approach and extensively evaluate it in both offline and online settings on a major demand side platform. The results demonstrate the superiority and robustness of the new approach as compared to the existing approaches across a range of performance metrics.

Introduction: The Shift to First-Price Auctions

For decades, the "Generalized Second-Price Auction" (SPA) was the industry standard for online advertising. In an SPA, the winner pays only a penny more than the second-highest bidder. This mechanism naturally encourages "truthful bidding," where advertisers bid exactly what an impression is worth to them, knowing the system will protect them from overpaying.

However, around 2017, the industry began a major pivot toward First-Price Auctions (FPA) to increase transparency and simplify the auction process. In an FPA, the winner pays exactly what they bid. This shift introduced a significant risk: if an advertiser values an ad at $5.00 but the next highest competitor only bids $2.50, bidding the true value results in a $2.50 "waste." To maximize advertiser surplus—the difference between the internal value of an ad and the price paid—advertisers must now employ bid shading, strategically adjusting their bids downward to the minimum amount necessary to win.

Methodology: Predicting the Optimal Shading Ratio

The challenge of bid shading lies in the fact that the "minimum bid to win" is a moving target influenced by millions of variables. The authors propose a framework to predict the shading ratio (the ratio of the highest competing bid to the advertiser's unshaded value) using two key innovations:

1. Factorization Machines (FM)

Standard linear models often struggle with the "sparse" data typical of ad tech, where features like Publisher_ID or User_ID have millions of possible values. Factorization Machines address this by learning latent "embeddings" for features. This allows the model to predict outcomes for feature combinations it hasn't encountered before by modeling the interactions between them explicitly. In testing, this approach outperformed more complex deep learning architectures like Multi-Layer Perceptrons (MLP).

2. The Asymmetric Loss Function

In bid shading, the cost of an error is not symmetric. If you "undershade" (bid too high), you pay more than necessary, reducing your surplus. However, if you "overshade" (bid too low), you lose the auction entirely, resulting in zero value. The authors developed a custom loss function that penalizes losing a bid more heavily than overpaying. This is controlled by a hyperparameter ($\gamma$), allowing platforms to tune the balance between aggressive cost savings and maintaining a high win rate.

Key Insights: Context is King

A critical finding of the research is that the competitive landscape is highly fragmented. The distribution of competing bids varies wildly depending on the specific website, user demographics, and time of day.

Distributions of highest competing bid prices across different contexts, demonstrating the high variance in auction landscapes.

As shown in the figure above, different auction environments present entirely different price distributions. This variability confirms that a simple, "one-size-fits-all" shading percentage is destined to fail; an effective strategy must be deeply contextual.

Experimental Results

The model was trained and evaluated using massive real-world datasets from the Verizon Media DSP, processing approximately 9 million auction feedbacks per day. The FM approach was tested against linear regression and a segmented non-linear production baseline:

  • Surplus Gains: The FM model delivered an 18.57% improvement in offline surplus and a 20.54% improvement in online A/B tests.
  • Win Rate Stability: Despite bidding less on average, the model improved win rates by up to 36% over the baseline by allocating budget more intelligently to auctions the advertiser was likely to win.
  • Robustness: The performance gains were consistent across various campaign goals, including Cost-Per-Click (CPC) and Cost-Per-Action (CPA).

Conclusion and Future Work

While the FM approach provides a significant leap in performance, the authors identify several avenues for future research. Currently, the model primarily utilizes data from won bids; incorporating more granular feedback from lost bids could further refine the understanding of the competitive "price floor." Additionally, as more bidders adopt sophisticated shading algorithms, the game-theoretic dynamics of the auction environment will continue to evolve, requiring models that can adapt to a shifting equilibrium.

Summary updated

Abstract

Online auctions play a central role in online advertising, and are one of the main reasons for the industry's scalability and growth. With great changes in how auctions are being organized, such as changing the second- to first-price auction type, advertisers and demand platforms are compelled to adapt to a new volatile environment. Bid shading is a known technique for preventing overpaying in auction systems that can help maintain the strategy equilibrium in first-price auctions, tackling one of its greatest drawbacks. In this study, we propose a machine learning approach of modeling optimal bid shading for non-censored online first-price ad auctions. We clearly motivate the approach and extensively evaluate it in both offline and online settings on a major demand side platform. The results demonstrate the superiority and robustness of the new approach as compared to the existing approaches across a range of performance metrics.
BibTeX
@inproceedings{gligorijevic2020bid,
  author = {Djordje Gligorijevic and Tian Zhou and Bharatbhushan Shetty and Brendan Kitts and Shengjun Pan and Junwei Pan and Aaron Flores},
  title = {{Bid Shading in The Brave New World of First-Price Auctions}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2020},
  url = {https://openreview.net/forum?id=TxN4p5blB2},
}
Figure