Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Byzantine Secretary Problem

Similar presentations


Presentation on theme: "The Byzantine Secretary Problem"β€” Presentation transcript:

1 The Byzantine Secretary Problem
30th Nov, 2018 Sahil singla Princeton University Joint work with Anupam gupta, Domagoj Bradac, And Goran Zuzic

2 Example: Diamond-Selling
Optimal Stopping-Time Sell One Diamond: Multiple potential buyers Buyers Arrive and Make a Take-it-or-Leave-it Bid Decide Immediately and Irrevocably When to Accept the Bid? Goal: Maximize value of the accepted bid Cannot go back to a declined bid Similar Examples Selling ad-slots Finding a secretary/marriage partner

3 Tight approx factor is 1/𝑒
The Secretary Problem 𝑣 1 Problem n unknown adversarial values 𝑣 1 > 𝑣 2 >…> 𝑣 𝑛 IID arrival times t 𝑒 ~ Unif[0,1] Decide immediately and irrevocably Max probability of selecting 𝑣 1 Dynkin’s Algorithm Ignore elements 𝑒 with 𝑑 𝑒 <1/2 Otherwise, select if larger than all previous elements Pr Selecting v β‰₯ Pr t 1 > 1 2 β‹…Pr t 2 < = 𝑣 2 𝑣 3 𝑣 4 𝑑=0 𝑑=1 𝑑=1/2 Tight approx factor is 1/𝑒

4 Why not Adversarial Arrival?
𝑑=0 𝑑=1 Don’t know the β€œscale” of the problem Sequence of increasing elements, and then all zeroes Select at random ⟹ 𝑛 success probability Why Random order? Mathematically necessary and makes sense intuitively Weaker assumption than iid values from unknown distrib Related Work: Combinatorial problems, e.g, sum of top k, Matchings, Matroids and their intersections, facility location, max indep set on interval graphs Packing linear programs (large budget assumption) What if only some of the arrivals adversarial? (outlier arrivals)

5 Remark: Fine if all reds small
A Byzantine World Byzantine General’s Problem: Lamport, Shostak, Pease Some arrivals adversarial: Red 𝑅 vs Green 𝐺 elements All 𝑛= 𝑅 +|𝐺| values are adversarial Red elements 𝑅 at adversarial times Green elements 𝐺 at t 𝑒 ~ Unif[0,1] Elements do not reveal their color Dynkin’s algorithm no longer works One large red in the beginning Handle outliers: Need robust algorithms What’s even the right benchmark? Largest in 𝑅βˆͺ𝐺? Largest in 𝐺? 𝑑=0 𝑑=1 Remark: Fine if all reds small

6 Value vs Probability Maximization
Dynkin’s Algorithm Needs current time 𝑑. Does not know 𝑛 Only needs relative order (ordinal setting) Maximizes probability of selecting 𝑣 1 Can we do better if given values? Maximize ratio E[Alg] v 1 No! Don’t know the β€œscale” of the problem For any algo, there exist instances with E Alg v 1 ≀ 1 𝑒 +Ο΅ 𝑑=0 𝑑=1

7 OUTLINE Motivation: Secretary Problem in a Byzantine World Benchmark
Value-Maximization Probability-Maximization Other Results and Open Problems

8 Benchmark: Get the Max Overall Max? All green 𝐺 values are zero
Back to adversarial arrival on red elements 𝑅 At best probability 1 |𝑅| Max Green? Only one non-zero green Consider increasing sequence of red elements Don’t know which is green ⟹Θ( 1 |𝑅| ) probability Think Ordinal 𝑑=0 𝑑=1 Green What to do next?

9 Drop the Maximum! Get 2nd Max Green
Can we get the 2nd max green? Maximize probability: β€œVictory” on selecting β‰₯ 𝑣 ⋆ Maximize value: Ratio of E[Alg] to 𝑣 ⋆ Comparing to 2nd max green helps? Unclear! Adversary cannot control relative order of max and 2nd max greens Why it makes sense? Applications where small gap between max and 2nd max Mathematically this is the β€œprice” that we have to pay Similar benchmarks in other applications, e.g., digital goods auctions 𝑣 ⋆ :=𝑣(2nd max green)

10 Main results 𝑣 ⋆ :=𝑣(2nd max green) Thm [BGSZ’18]: For Value Maximization we get O lo g βˆ— n 2 approximation. Remark: Performance guarantee independent of |𝐺|, e.g., even for 𝐺 =2 Thm [BGSZ’18]: For Probability Maximization we get O log n 2 approximation. Pr[selecting β‰₯ 𝑣 ⋆ ] Remark: This result is only existential as it uses the minimax principle

11 OUTLINE Motivation: Secretary Problem in a Byzantine World
Benchmark: Drop the Maximum! Value-Maximization: 𝐎 π₯𝐨𝐠 βˆ— 𝐧 𝟐 approx Probability-Maximization: 𝐎 π₯𝐨𝐠⁑𝐧 𝟐 approx Other Results and Open Problems

12 Approach: Done or Refine Scale
𝑣 ⋆ :=𝑣(2nd max green) Observ: Given 𝑣 ⋆ ∈[π‘Ž , π‘šβ‹…π‘Ž] at 𝑑=0 implies 2β‹…log m approx. Define log m levels: π‘Ž,2π‘Ž , 2π‘Ž, 2 2 π‘Ž , …, 2 log mβˆ’1 π‘Ž, 2 log m π‘Ž Guess β‰ˆπ‘£ ⋆ w.p. 1 log m , and select first element above Question: What if good estimate of 𝑣 ⋆ by 𝑑=1/2? Define Checkpoints 𝑇 𝑖 : Partition time into intervals Idea in any Interval: Either a simple algo works (e.g., Dynkin’s, Select a random element) Or keep refining estimate of 𝑣 ⋆ , and set a threshold in the final interval Only works for value-max setting 𝑑=0 𝑑=1 Done Refine How many Checkpoints?

13 One Checkpoint: 𝐎(π₯𝐨𝐠⁑𝐧) approximation
𝑣 ⋆ :=𝑣(2nd max green) Case 1 (β€œsmall”): Every red before 𝑑= 1 2 is below 𝑣 ⋆ Dynkin’s algorithm works Case 2 (β€œlarge”): Exists a red before 𝑑= 1 2 above 𝑛⋅ 𝑣 ⋆ Select a random element: Correct w.p. 1 𝑛 Otherwise (β€œmedium”): Exists a red before 𝑑= 1 2 with value 𝑣 0 ∈[ 𝑣 ⋆ , 𝑛⋅ 𝑣 ⋆ ] Gives a factor m=𝑛 approx to 𝑣 ⋆ Define log 𝑛 levels. Condition on 𝑣 ⋆ at t> 1 2 Guess β‰ˆπ‘£ ⋆ w.p. 1/ log 𝑛 , and select first above E Alg β‰₯ Pr Guess 𝑣 ⋆ β‹…Pr 𝑣 ⋆ at t> 1 2 β‹… 𝑣 ⋆ β‰₯ 𝑣 ⋆ 4β‹… log n Done 𝑑=0 𝑑=1 𝑑=1/2 Refine Run one of the three algorithms uniformly at random Q.E.D.

14 Two Checkpoints: 𝐎(π₯𝐨𝐠π₯𝐨𝐠⁑𝐧) approx
1 3 2 3 Last slide implies for π‘‘βˆˆ[0, 1 3 ] : Exists a red element with value 𝑣 0 ∈[ 𝑣 ⋆ , 𝑛⋅ 𝑣 ⋆ ] Case 1 (β€œsmall”): For π‘‘βˆˆ[ 1 3 , 2 3 ], all red below 𝑣 ⋆ Dynkin’s algorithm works Case 2 (β€œlarge”): For π‘‘βˆˆ[ 1 3 , 2 3 ] there is a red above ( log 𝑛 β‹… 𝑣 ⋆ ) Random level guessing gets it w.p. 1 log 𝑛 works Otherwise (β€œmedium”): Exists a red for t∈[ 1 3 , 2 3 ] with value 𝑣 1 ∈[ 𝑣 ⋆ , log 𝑛 β‹… 𝑣 ⋆ ] Gives a factor m=log 𝑛 approx to 𝑣 ⋆ Define log log 𝑛 levels: 𝑣 1 log 𝑛 , 2β‹… 𝑣 1 log 𝑛 ,…, 𝑣 1 4 , 𝑣 , 𝑣 1 2 , 𝑣 1 𝑑=0 𝑑=1 Done Definition of β€œlarge” changes Refine Run one of the Θ(1) algorithms randomly Q.E.D.

15 Multiple Checkpoints: 𝐎 π₯𝐨𝐠 βˆ— 𝐧 𝟐 approx
Use lo g βˆ— n checkpoints 𝑇 𝑖 Algorithm Guess a random interval Run a simple algorithm after refining till now Proof Idea Case 1 (β€œsmall”): There is an interval with all small reds Dynkin’s algo Case 2 (β€œlarge”): There is an interval with β€œlarge” red Guess level & Random elem Otherwise (β€œmedium”): Refine till the end to get better scale of 𝑣 ⋆ 𝑇 𝑖 𝑑=0 𝑑=1 Q.E.D.

16 OUTLINE Motivation: Secretary Problem in a Byzantine World
Benchmark: Drop the Maximum! Value-Maximization: 𝐎 π₯𝐨𝐠 βˆ— 𝐧 𝟐 approx Probability-Maximization: 𝐎 π₯𝐨𝐠⁑𝐧 𝟐 approx Other Results and Open Problems

17 How to Capture Scale What does β€œscale” for 2nd max mean?
𝑣 ⋆ :=𝑣(2nd max green) What does β€œscale” for 2nd max mean? There is no notion of values Define a confusion set 𝑆 𝑑 Elements that are candidates to be 𝑣 ⋆ at 𝑑 Idea: Condition on 𝑣 ⋆ arriving in the first interval ⟹ 𝑆 𝑑 always subset of first interval 𝑑=0 𝑑=1 𝑆 𝑑 Observ: Given 𝑆 𝑑 implies 𝑆 𝑑 /(1βˆ’π‘‘) approx. Proof: Set a random element of 𝑆 𝑑 as threshold and let largest green arrive after 𝑑.

18 Application: beating Random guessing
𝑣 ⋆ :=𝑣(2nd max green) Lemma: There exists 𝑂(βˆšπ‘›) approximation. Case 1: Number of red elements above 𝑣 ⋆ is Ξ©(βˆšπ‘›) Select a random element Case 2: Consider top βˆšπ‘› elems at 𝑑= 1 2 as confusion set 𝑆 𝑑 Condition on 𝑣 ⋆ before 𝑑= 1 2 Guess a random elem to be 𝑣 ⋆ & set as threshold: Correct w.p. 1 βˆšπ‘› Pr Selectingβ‰₯ 𝑣 ⋆ β‰₯ Pr Guess of 𝑣 ⋆ correct β‹…Pr max green at 𝑑 > β‰₯ 1 2βˆšπ‘› 𝑑=0 𝑑=1 𝑆 𝑑 Q.E.D. Thm: For Probability Max, there exists O log n 2 approx. How to Refine Confusion Set?

19 Approach Using The Minimax Principle
WLOG, assume we know the correlated arrival distribution General distribution over permutations of elements Values (order) of all 𝑅βˆͺ𝐺 and arrival times of Reds 𝑅 Idea: As time 𝑑 increases, better idea of the permutation Approach: Done or Refine Scale Use log n checkpoints 𝑇 𝑖 Either some simple algorithm works Otherwise: Refine at each checkpoint by discarding half of 𝑆 𝑑 Finally, randomly guess 𝑣 ⋆ when 𝑆 =𝑂(1) For π‘’βˆˆ 𝑆 𝑑 , maintain 𝑝 𝑒 𝑑 =Pr[𝑒 is 𝑣 ⋆ ] 𝑑=0 𝑑=1 𝑇 𝑖 Done 𝑆 𝑇 𝑖 Refine

20 How to Refine Let 𝑐 𝑖 ∈ 𝑆 𝑇 𝑖 be the median of 𝑆 𝑇 𝑖 . βˆ‘ 𝑝 𝑒 𝑇 𝑖+1
𝑑=0 𝑑=1 Let 𝑐 𝑖 ∈ 𝑆 𝑇 𝑖 be the median of 𝑆 𝑇 𝑖 . Case 1 (β€œlarge”): At 𝑇 𝑖+1 , confusion probability below 𝑐 𝑖 is β‰ˆ1 𝑆 𝑇 𝑖+1 = Elements in 𝑆 𝑇 𝑖 below 𝑐 𝑖 Case 2 (β€œsmall”): At 𝑇 𝑖+1 , confusion probability below 𝑐 𝑖 is < 1 log 𝑛 𝑆 𝑇 𝑖+1 = Elements in 𝑆 𝑇 𝑖 above 𝑐 𝑖 Otherwise (β€œmedium”): At 𝑇 𝑖+1 , confusion probability below 𝑐 𝑖 is in ( 1 log 𝑛 , 1) Set 𝑐 𝑖 as a threshold and select first element above β‰₯ 1 log 𝑛 probability that 𝑣 ⋆ is below 𝑐 𝑖 . Moreover, exists a red elem above 𝑐 𝑖 . βˆ‘ 𝑝 𝑒 𝑇 𝑖+1 𝑐 𝑖 Refine 𝑆 𝑇 𝑖 𝑆 𝑇 𝑖+1 Done

21 Wrapping Up: O log n 2 Approximation
Use log n checkpoints 𝑇 𝑖 Algorithm Guess a random interval 𝑖 With prob run Dynkin’s algo in ( 𝑇 π‘–βˆ’1 , 𝑇 𝑖 ) Else, set 𝑐 𝑖 as threshold after refining till now Proof Idea Done Case: We β€œcorrectly” guess 𝑖 w.p. 1 log 𝑛 and 𝑣 ⋆ is below 𝑐 𝑖 w.p. 1 log 𝑛 Refine Till End: We guess final checkpoint where 𝑆 =𝑂(1) and set a random element as threshold 𝑇 𝑖 𝑑=0 𝑑=1 𝑆 𝑑 Q.E.D. 21

22 OUTLINE Motivation: Secretary Problem in a Byzantine World
Benchmark: Drop the Maximum! Value-Maximization: 𝐎 π₯𝐨 𝐠 βˆ— ⁑𝐧 𝟐 approx Probability-Maximization: 𝐎 π₯𝐨𝐠⁑𝐧 𝟐 approx Other Results and Open Problems

23 How to Select Multiple Items?
Value Maximization (Sum of values): Arrival contains Red R and Green G elems What is the benchmark? Maximum sum of values in Gβˆ–{ g max } Thm [BGSZ’18]: For uniform Matroids with k=Ξ©(log n) we get O(1) approximation. Thm [BGSZ’18]: For Partition Matroids we get O loglog n 2 approximation. Remark: We get max-green element in most parts. Observation: Easy to get O(log n) approx for general matroids.

24 summary Questions? Byzantine Secretary Model: Compare to 2nd max green
O log βˆ— n 2 approx for value maximization Done or Refine Scale O log n 2 approx for probability maximization Minimax Principle O(1) for uniform and O loglog n 2 for partition matroids Open Problems Super constant lower bound? What are the optimal approx factors? How to make probability maximization algo constructive? How to extend to general matroids and to general packing LPs? Questions?

25

26 Uniform Matroids Thm [BGSZ’18]: For k=Ξ©(log n) we get O(1) approximation.

27 Partition Matroids Thm [BGSZ’18]: For Partition matroids we get O loglog n 2 approx.


Download ppt "The Byzantine Secretary Problem"

Similar presentations


Ads by Google