7. Web Advertising Flashcards
How do online algorithms differ from the offline or classic model of algorithms?
In the classic model, you seethe entire input and then compute some function on it.
In the online model, you see the input one piece at a time and need to make irrevocable decisions along the way similar to streams
What is a perfect matching in bipartite matching?
When all vertices of the graph are matched
What is a maximum matching in bipartite matching?
A matching that contains the largest possible number of matches
What is the goal of a matching algorithm?
To find a maximum matching for a given bipartite graph. A perfect one should be found if it exists
What is the difference between the online and offline matching algorithms?
The offline algorithm runs in polynomial time and is based on augmenting paths.
The online algorithm is used when we do not know the entire graph up front
What is the general flow of the online graph matching problem?
- Initially we are given all members of one set
- In each round, one member of the other set has their edges revealed
- At that time we either decide to pair the new member with one from the first set or do not pair it with any thing from the other set
How does the greedy algorithm solve the online matching problem?
Pairs the new element from set 2 with any eligible item from set 1. If there is none, do not pair the item
What is the competitive ratio?
A way to measure the worst performance of the greedy algorithm over all possible inputs
Ratio = min (|Mgreedy| / |Mopt|) for all possible inputs I
What is the value of the competitive ratio when Mgreedy != Mopt?
|Mgreedy|/|Mopt| >= 1/2
What is performance-based advertising?
Where advertisers bid on search keywords so the highest bidder’s ad is shown on that word. The advertiser is only charged if the ad is clicked on
What is the adwords problem?
A search engine needs to determine a subset of advertisers whose ads will e shown for a query with the goal of maximizing revenue for the search engine
What is the simple solution to the adwords problem?
Instead of using raw bids, calculate expected revenue per click using the product of the bid and the click-through rate of the ad
What are the two complications of the adwords problem?
- Click-through rate of an ad is unknown
- Advertisers have a limited budget and the search engine guarantees the advertiser won’t be charged more than their daily budget
What information are we given in the adwords problem?
- A set of bids by advertisers for search queries
- A click-through rate for each advertiser-query pair
- A budget for each advertiser
- A limit on the number of ads to be displayed with each query
What is the goal of the adwords problem?
To respond to each query with a set of advertisers such that:
1. The size of the set is no larger than the number of ads limit
2. Each advertiser has bid on the query
3. Each advertiser has enough budget left to pay for the ad if it is clicked on