Download presentation
Presentation is loading. Please wait.
Published byBlaise Wilcox Modified over 5 years ago
1
Online Algorithms via Projections set cover, paging, k-server
Niv Buchbinder Tel-Aviv Anupam Gupta CMU Marco Molinaro PUC-Rio Seffi Naor Technion
2
K-Server problem Finite metric space (π,π) with |π|=π points π= # of βserversβ that algo controls Input: request sequence π 1 , π 2 , β¦, π π‘ , β¦ Output: on seeing π π‘ , algo needs to have a server at π π‘ Min: total distance moved by servers OPT = optimal cost/solution in hindsight Goal: online ALG such that πΌ[πππ π‘(π΄πΏπΊ)] β€ πΌ.πππ π‘(πππ) + πβ²
3
(very partial) history and results
Deterministic 2πβ1 upper bound, π lower bound [Koutsoupias Papadimitriou 95] Randomized Ξ©( log π ) even when metric is a star [folklore 90s?] π(log π) for weighted stars [Bansal Buchbinder Naor 07] π( log 3 π log 2 β‘π) [Bansal Buchbinder Madry Naor 11] πΆ( π₯π¨π π π) [Bubeck Cohen Lee Lee Madry 18] [Lee 18] Rounding, loses πΆ(π) πΆ( log π π ) fractional on HSTs If HSTs, then general metrics, loses πΆ( log π π )
4
(very partial) history and results
Deterministic 2πβ1 upper bound, π lower bound [Koutsoupias Papadimitriou 95] Randomized Ξ©( log π ) even when metric is a star [folklore 90s?] π(log π) for weighted stars [Bansal Buchbinder Naor 07] π( log 3 π log 2 β‘π) [Bansal Buchbinder Madry Naor 11] πΆ( π₯π¨π π π) [Bubeck Cohen Lee Lee Madry 18] πΆ( log π π ) fractional on HSTs
5
π( log 2 π ) on HST Technique: Continuous time online mirror descent - Differential inclusion gives trajectory π₯ π‘ Can be discretized π₯ π‘ π₯ π‘+1 Hopefully some progress in role of regularization in online algo
6
Our result Our result: Very coarse discretization works!
β‘ projection-based algorithm works Projection-based algorithms as a natural option for movement-based online problems? [Buchbinder Chen Naor 14] Thm: Discrete*, projection-based algo gives π( log 2 π ) approximation for fractional k-server on HSTs π₯ π‘ π₯ π‘+1 π₯ π‘ π₯ π‘+1 Hopefully some progress in role of regularization in online algo
7
projection-based algorithm
βBaseβ polytope πΎ based on metric (HST) and π At time t: polytope πΎ π‘ of feasible states where both alg and opt need to be in (i.e. πΎ + some server at the requested position π π‘ ) Distance is a Bregman divergence Use variants of KL divergence π² π π² π₯ π‘ π² π+π Algorithm: π₯ π‘+1 β arg min π₯β πΎ π‘+1 distance(π₯, π₯ π‘ ) π₯ π‘+1
8
rest of the talk - Illustration on a simpler problem: Online Set Cover - Some words about generalization to k-server - Closing remarks
9
online set cover π₯ π‘β1 β π + π At time t: π π‘ , π₯ β₯1 for some π π‘ β 0,1 π Monotonically increase π₯ π‘β1 β π₯ π‘ Satisfy all constraints until now Movement cost at time t: | π₯ π‘ β π₯ π‘β1 | 1 = π, π₯ π‘ β π₯ π‘β1 Min: total movement cost π π, π₯ π‘ β π₯ π‘β1 = π, π₯ π π π π πβπ
10
the projection-based algorithm
Define the feasible states set πΎ π‘ = all constraints up to time t = π₯β₯0 π π , π₯ β₯1 βπ β€π‘} (cannot add monotonicity π₯β₯ π₯ π‘β1 , OPT does not satisfy) π² π
11
the projection-based algorithm
Define the feasible states set πΎ π‘ = all constraints up to time t = π₯β₯0 π π , π₯ β₯1 βπ β€π‘} (cannot add monotonicity π₯β₯ π₯ π‘β1 , OPT does not satisfy) π² π Algorithm: π₯ 0 = 1/n π₯ π‘ β arg min π₯β πΎ π‘ D(π₯| π₯ π‘β1 ) π·(π π = π π π log π π π π β π π + π π unnormalized KL divergence
12
Guarantee of Proj-based algo
Obs: The algo is feasible: π₯ π‘ are monotonically increasing Thm: ALG β€ log π β
OPT+ 1 Not new [Alon et al. 03], [Buchbinder, Chen, Naor 14], ... Comparing our fractional solution π₯ π‘ to integral OPT π¦ π‘
13
Analysis: cost Cost: π, π₯ π‘ β π₯ π‘β1 Algo: π₯ 0 = 1/n π₯ π‘ β arg min π₯β πΎ π‘ D(π₯| π₯ π‘β1 ) π·(π π = π π π log π π π π β π π + π π Main property of divergence: Reverse Pythagorean inequality π·(π¦ π₯ β₯ π·(π¦| π₯ ππππ ) + π·( π₯ ππππ |π₯) π₯ ππππ π₯ β₯π βπ· π¦ π₯ ππππ βπ·(π¦ π₯ β€0 π¦
14
Analysis: cost Cost: π, π₯ π‘ β π₯ π‘β1 Algo: π₯ 0 = 1/n π₯ π‘ β arg min π₯β πΎ π‘ D(π₯| π₯ π‘β1 ) π·(π π = π π π log π π π π β π π + π π Main property of divergence: Reverse Pythagorean inequality π₯ π‘ π₯ π‘β1 πΎ π‘ βπ· π¦ π‘ π₯ π‘ βπ·( π¦ π‘ π₯ π‘β1 β€0 π¦ π‘
15
Analysis: cost Cost: π, π₯ π‘ β π₯ π‘β1 Algo: π₯ 0 = 1/n π₯ π‘ β arg min π₯β πΎ π‘ D(π₯| π₯ π‘β1 ) π·(π π = π π π log π π π π β π π + π π Main property of divergence: Reverse Pythagorean inequality Ξ¦(π¦ π₯ =π· π¦ π₯ + π,π¦ β π,π₯ π₯ π‘ π₯ π‘β1 πΎ π‘ π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘ π₯ π‘β1 β€0 βπ· π¦ π‘ π₯ π‘ βπ·( π¦ π‘ π₯ π‘β1 β€0 π¦ π‘
16
Analysis: cost Cost: π, π₯ π‘ β π₯ π‘β1 Algo: π₯ 0 = 1/n π₯ π‘ β arg min π₯β πΎ π‘ D(π₯| π₯ π‘β1 ) π·(π π = π π π log π π π π β π π + π π Main property of divergence: Reverse Pythagorean inequality Ξ¦(π¦ π₯ =π· π¦ π₯ + π,π¦ β π,π₯ π₯ π‘β1 π₯ π‘ π¦ π‘ πΎ π‘ π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘β1 π₯ π‘β1 β€Ξ¦( π¦ π‘ π₯ π‘β1 βΞ¦( π¦ π‘β1 π₯ π‘β1 π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘ π₯ π‘β1 β€0 ALGs cost change in potential β OPTs cost ?
17
Analysis: cost π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘ π₯ π‘β1 β€0
Algo: π₯ 0 = 1/n π₯ π‘ β arg min π₯β πΎ π‘ D(π₯| π₯ π‘β1 ) π·(π π = π π π log π π π π β π π + π π Ξ¦(π¦ π₯ =π· π¦ π₯ + π,π¦ β π,π₯ π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘ π₯ π‘β1 β€0 π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘β1 π₯ π‘β1 β€Ξ¦( π¦ π‘ π₯ π‘β1 βΞ¦( π¦ π‘β1 π₯ π‘β1 βπ· π¦ π‘ π₯ π‘ βπ·( π¦ π‘ π₯ π‘β1 β€0 β OPTs cost ? Lemma: RHS β€ log π β OPTs cost Pf: If OPT increases π¦ π π‘β1 =0 β π¦ π π‘ =1 OPTs cost = +1 ΞΞ¦=1 log 1 π₯ π π‘β1 β0 log 0 π₯ π π‘β1 β€ log π (because π₯ π π‘β1 β₯ π₯ π 0 β₯ 1 π )
18
Analysis: cost π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘ π₯ π‘β1 β€0
Algo: π₯ 0 = 1/n π₯ π‘ β arg min π₯β πΎ π‘ D(π₯| π₯ π‘β1 ) π·(π π = π π π log π π π π β π π + π π Ξ¦(π¦ π₯ =π· π¦ π₯ + π,π¦ β π,π₯ π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘ π₯ π‘β1 β€0 π, π₯ π‘ β π₯ π‘β1 +Ξ¦( π¦ π‘ π₯ π‘ β Ξ¦( π¦ π‘β1 π₯ π‘β1 β€Ξ¦( π¦ π‘ π₯ π‘β1 βΞ¦( π¦ π‘β1 π₯ π‘β1 βπ· π¦ π‘ π₯ π‘ βπ·( π¦ π‘ π₯ π‘β1 β€0 log π β OPTs cost Adding over all times t: ALGs total cost β€ logβ‘πβ OPTs total cost + Ξ¦( π¦ 0 | π₯ 0 ) β€ logβ‘πβ OPTs total cost + 1
19
rest of the talk - Illustration on a simpler problem: Online Set Cover - Some words about generalization to k-server - Closing remarks
20
k-server polytope and distance
Use the non-trivial LP from Bubeck Cohen Lee Lee Madry 18 (~unary encoding of # servers + β¦) πΎ = { π₯ : π₯ π’,π β[0,1] π₯ root, π β€ π πβ€π β πβπ πβ€|π| π₯ π π , π β₯ π£,β βπ π₯ π£,β } (actual polytope: βanti-serverβ polytope) πΎ π‘ =πΎβ© π₯ π π‘ β₯ 1 Also use divergence from Bubeck Cohen Lee Lee Madry 18 π·(π π = β π’ π€ π’ ( β π π π’,π log π π’,π π π’,π β π π’,π + π π’,π ) β S with common parent
21
proof elements Very inspired in proof of Bubeck Cohen Lee Lee Madry 18
πΎ π‘ = { π₯ : π₯ π’,π β[0,1] π₯ root, π β₯ π π>π β πβπ πβ€|π| π₯ π π , π β₯ π£,β βπ π₯ π£,β β S with common parent π₯ π π‘ , β€ πΏ } Very inspired in proof of Bubeck Cohen Lee Lee Madry 18 Simplification and KKT Potential: D + linear terms Cost function not linear anymore (||β| β 1 -type but no monotonicity) Stronger version of Reverse Pythagorean ineq, relates to duals To avoid dependence on height, additional potential, delicate
22
closing remarks Discrete projection-based algorithms for k-server (and paging) π( log 2 π) -competitive for fractional k-server on HSTs Matches results of Bubeck et al. 18 Show tight π( log π) result k-server on HSTs, and on general graphs? Other problems? What are crucial properties of the LP? Right divergence?
23
Thank you!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.