Sponsored Search, Market Equilibria, and the Hungarian Method

Paul Dütting, Monika Henzinger, Ingmar Weber

TL;DR

This paper tackles the problem of finding stable and "bidder-optimal" matchings in sponsored search markets, where advertisers bid for ad slots. They adapt the classic Hungarian algorithm to handle complex real-world scenarios like individual reserve and maximum prices for each advertiser-item pair, a setting where previous algorithms failed to guarantee optimal solutions.

What Problem Does This Paper Address?

Sponsored search markets, like those used by Google or Bing, are essentially two-sided matching markets. Advertisers want to display their ads for specific keywords (items), and search engines have a limited number of ad slots (items) to offer. The goal is to match advertisers to slots in a way that is both "stable" (no advertiser and slot would prefer to break their current match for each other) and "bidder-optimal" (each advertiser gets the best possible stable outcome).

Previous work on this problem, particularly for sponsored search, often assumed the market was in "general position," meaning all prices and valuations were distinct. This is a strong assumption that rarely holds in practice. When markets are not in general position (e.g., multiple advertisers have the same valuation for an item, or an item has the same maximum price for multiple bidders), existing algorithms might not find a bidder-optimal solution, or such a solution might not even exist under their definition of stability. This paper aims to solve this by developing an algorithm that works for any market configuration and guarantees a bidder-optimal stable matching.

Methods

The core contribution is a modification of Kuhn's Hungarian Method, a well-known algorithm for solving the assignment problem (a simpler form of matching). The authors adapt it to handle the complexities of sponsored search markets, which include:

  • Generalized Linear Utilities: Advertisers have specific valuations for each item, and their utility depends on the price they pay.
  • Per-bidder-item Reserve Prices ($r_{i,j}$): The minimum price an advertiser $i$ is willing to pay for item $j$.
  • Per-bidder-item Maximum Prices ($m_{i,j}$): The maximum price an advertiser $i$ is willing to pay for item $j$.

The modified Hungarian Method iteratively builds a matching. It uses a concept called the "feasible first choice graph" and searches for "alternating paths" to augment the matching. A key innovation is how they handle price updates: when no augmenting path can be found, they strategically increase prices for items within a considered "tree" of potential matches. This price adjustment is designed to eventually create new matching opportunities or break undesirable ones, ensuring progress towards a stable and optimal solution. They also introduce a slightly modified definition of "stability" that guarantees the existence of a bidder-optimal solution even in non-general position markets.

Datasets

Not discussed in the paper. The paper focuses on theoretical algorithm design and analysis, using illustrative examples rather than empirical datasets.

Key Insights and Ideas

  • Stability is Key, but Needs Nuance: The paper highlights that the standard definition of stability (from prior work like Aggarwal et al., 2009) can lead to situations where no bidder-optimal solution exists if the market isn't in "general position." By slightly adjusting the stability definition, they ensure a bidder-optimal solution always exists.
  • Hungarian Method's Adaptability: The Hungarian Method, traditionally used for simpler assignment problems, can be powerful enough to handle the complexities of sponsored search markets with reserve and maximum prices, provided it's carefully adapted.
  • Price Updates Drive Optimality: The algorithm's clever price adjustment mechanism is crucial. It's not just about finding any stable matching, but about systematically adjusting prices to push towards a state where the best possible stable outcome for bidders is achieved.
  • Truthfulness is Not Guaranteed: While the algorithm finds a bidder-optimal matching, it doesn't necessarily mean advertisers will be truthful about their valuations. The paper shows an example where an advertiser can gain a higher utility by misreporting their valuation, implying that mechanisms that guarantee bidder optimality don't automatically guarantee truthfulness in this setting.

Key Results

  • The paper presents a modified Hungarian Method algorithm that finds a feasible and stable matching for sponsored search markets with generalized linear utilities, per-bidder-item reserve prices, and per-bidder-item maximum prices.
  • Crucially, this algorithm guarantees a bidder-optimal matching even for markets that are not in "general position."
  • The algorithm runs in $O(nk^3 \log k)$ time, where $n$ is the number of bidders and $k$ is the number of items (slots).
  • They show how to reduce more general linear utility functions to their setting without loss of performance.

Limitations and Future Work

  • Truthfulness: The paper explicitly notes that their bidder-optimal matching does not imply truthfulness. An advertiser can sometimes improve their outcome by lying about their valuations. This is a significant limitation for mechanisms designed to elicit true preferences.
  • General Position Assumption: While their algorithm removes the need for the "general position" assumption for existence and finding a bidder-optimal solution, the original problem statement and prior work often relied on this for simpler algorithms.
  • Future Work: The paper suggests further research into mechanisms that are truthful, potentially by imposing additional restrictions on the market or exploring different algorithmic approaches. They also mention extending their results to more general utility functions in a separate work.

Summary updated

Abstract

Two-sided matching markets play a prominent role in economic theory. A prime example of such a market is the sponsored search market where $n$ advertisers compete for the assignment of one of $k$ sponsored search results, also known as ``slots'', for certain keywords they are interested in. Here, as in other markets of that kind, market equilibria correspond to stable matchings. In this paper, we show how to modify Kuhn's Hungarian Method (Kuhn, 1955) so that it finds an optimal stable matching between advertisers and advertising slots in settings with generalized linear utilities, per-bidder-item reserve prices, and per-bidder-item maximum prices. The only algorithm for this problem presented so far (Aggarwal et al., 2009) requires the market to be in ``general position''. We do not make this assumption.
BibTeX
@inproceedings{dutting2013sponsored,
  author = {Paul Dütting and Monika Henzinger and Ingmar Weber},
  title = {{Sponsored Search, Market Equilibria, and the Hungarian Method}},
  booktitle = {Inf. Process. Lett},
  year = {2013},
  url = {https://openreview.net/forum?id=U0CyDNznqX},
}
Figure