Download presentation
Presentation is loading. Please wait.
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?
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.