1 / 20

Online Learning for Online Pricing Problems

Online Learning for Online Pricing Problems. Maria Florina Balcan. Three versions (easiest to hardest). Algorithmic Customers’ shopping lists / valuations known to the algorithm. (Seller knows market well) Incentive-compatible auction

rodney
Download Presentation

Online Learning for Online Pricing Problems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Online Learning for Online Pricing Problems Maria Florina Balcan

  2. Three versions (easiest to hardest) Algorithmic • Customers’ shopping lists / valuations known to the algorithm. (Seller knows market well) Incentive-compatible auction • Customers submit lists / valuations to mechanism, which decides who gets what for how much. Must be in customers’ interest to report truthfully. On-line pricing • Customers arrive one at a time, buy what they want at current prices. Seller modifies prices over time.

  3. Adaptive algorithms for pricing a single good. (Connections to experts and bandit problems) $500 a glass

  4. Pricing a single good • Say you are selling lemonade (or a cool new software tool, or tickets to the world’s fair). • Protocol #1: for t=1,2,…T • Seller posts price pt • Buyer arrives with valuation vt • If vt¸ pt, buyer purchases and pays pt, else doesn’t. • vt revealed to algorithm. $1 $5.00 a glass $500 a glass • Protocol #2: same as protocol #1 but without last step. • Assume all valuations in [1,h] • Goal: do nearly as well as best fixed price in hindsight.

  5. Pricing a single good • Say you are selling lemonade (or a cool new software tool, or tickets to the world’s fair). • Protocol #1: for t=1,2,…T • Seller posts price pt • Buyer arrives with valuation vt • If vt¸ pt, buyer purchases and pays pt, else doesn’t. • vt revealed to algorithm. • Bad algorithm: “best price in past” • What if sequence of buyers = 1, h, 1, …, 1, h, 1, …, 1, h, … • Alg makes T/h, OPT makes T. • Ratio of h worse!

  6. Pricing a single good • Say you are selling lemonade (or a cool new software tool, or tickets to the world’s fair). • Protocol #1: for t=1,2,…T • Seller posts price pt • Buyer arrives with valuation vt • If vt¸ pt, buyer purchases and pays pt, else doesn’t. • vt revealed to algorithm. • Good algorithm: “combining expert advice” • Define one expert for each price p = (1+²)i2 [1,h]. • Best price of this form gives profit ¸ OPT/(1+²). • Run RWM algorithm. Get expected gain at least: • OPT/(1+²)2 - O(²-1 h log(²-1 log h)) [extra factor of h coming from range of gains]

  7. Pricing a single good • Say you are selling lemonade (or a cool new software tool, or tickets to the world’s fair) Only arbitrarily small constant factor worse, with O(h log log h) additive loss! Can’t hope to do much better: e.g., if only one high bidder dominates the rest. • Good algorithm: “combining expert advice” • Define one expert for each price p = (1+²)i2 [1,h]. • Best price of this form gives profit ¸ OPT/(1+²). • Run RWM algorithm. Get expected gain at least: • OPT/(1+²)2 - O(²-1 h log(²-1 log h)) [extra factor of h coming from range of gains]

  8. Pricing a single good • Say you are selling lemonade (or a cool new software tool, or tickets to the world’s fair). • What about Protocol #2? [just see accept/reject decision] • Now we can’t run RWM directly since we don’t know how to penalize the experts! • Called the “adversarial bandit problem” • How can we solve that? $1 $5.00 a glass

  9. Pricing a single good OPT Exponential Weights for Exploration and Exploitation (exp3) RWM Expert i ~ qt Distrib pt OPT OPT Exp3 qt $1.25 Gain vector ĝt Gain git ·nh/° qt = (1-°)pt + ° unif ĝt = (0,…,0, git/qit,0,…,0) 1. RWM believes gain is: pt¢ ĝt = pit(git/qit) ´ gtRWM 2. t gtRWM¸ /(1+²) - O(²-1 nh/°log n) 3. Actual gain at t is: git = gtRWM (qit/pit) ¸ gtRWM(1-°)

  10. Pricing a single good OPT Exponential Weights for Exploration and Exploitation (exp3) RWM Expert i ~ qt Distrib pt OPT OPT Exp3 qt $1.25 Gain vector ĝt Gain git ·nh/° qt = (1-°)pt + ° unif ĝt = (0,…,0, git/qit,0,…,0) 1. RWM believes gain is: pt¢ ĝt = pit(git/qit) ´ gtRWM 2. t gtRWM¸ /(1+²) - O(²-1 nh/°log n) 3. Actual gain is at t: git = gtRWM (qit/pit) ¸ gtRWM(1-°) 3.5. Actual overall gain >= (1- °) /(1+²) - O(²-1 nh/°log n) OPT

  11. Pricing a single good OPT Exponential Weights for Exploration and Exploitation (exp3) RWM Expert i ~ qt Distrib pt OPT OPT OPT Exp3 qt $1.25 Gain vector ĝt Gain git ·nh/° qt = (1-°)pt + ° unif ĝt = (0,…,0, git/qit,0,…,0) 1. RWM believes gain is: pt¢ ĝt = pit(git/qit) ´ gtRWM 2. t gtRWM¸ /(1+²) - O(²-1 nh/°log n) 3. Actual gain is at t is: git = gtRWM (qit/pit) ¸ gtRWM(1-°) Because E[ĝjt] = (1- qjt)0 + qjt(gjt/qjt) = gjt , 4. E[ ] ¸OPT. so E[maxj[t ĝjt]] ¸ maxj [ E[t ĝjt] ] = OPT.

  12. Pricing a single good OPT Exponential Weights for Exploration and Exploitation (exp3) RWM Expert i ~ qt Distrib pt OPT Exp3 qt $1.25 Gain vector ĝt Gain git qt = (1-°)pt + ° unif ĝt = (0,…,0, git/qit,0,…,0) Conclusion (° =²): E[Exp3] ¸OPT/(1+²)2 - O(²-2 h log(h) loglog(h))

  13. Algorithmic Problem, Single-minded Bidders • n item types (coffee, cups, sugar, apples), with unlimited supply of each. • m customers. • Each customer i has a shopping list Liand will only shop if the total cost of items in Li is at most some amount wi (otherwise he will go elsewhere). • Say all marginal costs to you are 0 [revisit this in a bit], and you know all the (Li, wi) pairs. What prices on the items will make you the most money? • Easy if all Li are of size 1. • What happens if all Li are of size 2?

  14. 15 10 40 Algorithmic Pricing, Single-minded Bidders 5 • A multigraph G with values we on edges e. 10 • Goal: assign prices on vertices pv¸ 0 to maximize total profit, where: 20 30 5 • APX hard [GHKKKM’05].

  15. L R 15 25 35 15 25 5 40 A Simple 2-Approx. in the Bipartite Case • Given a multigraph G with values we on edges e. • Goal: assign prices on vertices pv¸ 0 as to maximize total profit, where: Algorithm • Set prices in R to 0 and separately fix prices for each node on L. • Set prices in L to 0 and separately fix prices for each node on R • Take the best of both options. simple! Proof OPT=OPTL+OPTR

  16. 5 15 10 10 40 20 30 5 A 4-Approx. for Graph Vertex Pricing • Given a multigraph G with values we on edges e. • Goal: assign prices on vertices pv¸ 0 to maximize total profit, where: Algorithm • Randomly partition the vertices into two sets L and R. • Ignore the edges whose endpoints are on the same side and run the alg. for the bipartite case. Proof simple! In expectation half of OPT’s profit is from edges with one endpoint in L and one endpoint in R.

  17. 15 10 20 Algorithmic Pricing, Single-minded Bidders,k-hypergraph Problem What about lists of size · k? Algorithm • Put each node in L with probability 1/k, in R with probability 1 – 1/k. • Let GOOD = set of edges with exactly one endpoint in L. Set prices in R to 0 and optimize L wrt GOOD. • Let OPTj,e be revenue OPT makes selling item j to customer e. Let Xj,e be indicator RV for j 2 L & e 2 GOOD. • Our expected profit at least:

  18. On-line Pricing Customers arrive one at a time, buy or don’t buy at current prices. In (full information) auction model, we know valuation info for customers 1,…,i-1 when customer i arrives. In posted-price model, only know who bought what for how much. Goal - do well compared to best fixed set of item prices.

  19. On-line Pricing Our O(k)-approx. alg. can be naturally adapted to the online setting, by using results of [BH’05] and [BKRW’03] for the online digital good auction. Can run separate online auctions over items in L, customers in GOOD (customers who want exactly one item in L). Guarantee: perform comparably to best fixed set of item prices (for pts in L, people in GOOD). Let OPTi be the best profit achievable (from item i) using a fixed price for item i from customers in GOOD whose bundle contain item i. Can use [BH’05] auction -- the expected profit of the online auction for item i is

  20. On-line Pricing Can run separate online auctions over items in L, customers in GOOD (customers that who want exactly one item in L). Let OPTi be the best profit achievable (from item i) using a fixed price for item i from customers in GOOD whose bundle contain item i. Using the [BH’05] auction, the expected profit of the online auction for item i is: Overall, we achieve profit at least: Profit of the offline approx. alg.

More Related