Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1.

Slides:



Advertisements
Similar presentations
On allocations that maximize fairness Uriel Feige Microsoft Research and Weizmann Institute.
Advertisements

Coordination Mechanisms for Unrelated Machine Scheduling Yossi Azar joint work with Kamal Jain Vahab Mirrokni.
Routing and Congestion Problems in General Networks Presented by Jun Zou CAS 744.
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Undirected: Optic Fiber.
Size-estimation framework with applications to transitive closure and reachability Presented by Maxim Kalaev Edith Cohen AT&T Bell Labs 1996.
Price Of Anarchy: Routing
1 SOFSEM 2007 Weighted Nearest Neighbor Algorithms for the Graph Exploration Problem on Cycles Eiji Miyano Kyushu Institute of Technology, Japan Joint.
Lecturer: Moni Naor Algorithmic Game Theory Uri Feige Robi Krauthgamer Moni Naor Lecture 8: Regret Minimization.
Fast Convergence of Selfish Re-Routing Eyal Even-Dar, Tel-Aviv University Yishay Mansour, Tel-Aviv University.
Prompt Mechanisms for Online Auctions Speaker: Shahar Dobzinski Joint work with Richard Cole and Lisa Fleischer.
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Optic Fiber.
Online Algorithms Amrinder Arora Permalink:
Regret Minimization and the Price of Total Anarchy Paper by A. Blum, M. Hajiaghayi, K. Ligett, A.Roth Presented by Michael Wunder.
ANDREW MAO, STACY WONG Regrets and Kidneys. Intro to Online Stochastic Optimization Data revealed over time Distribution of future events is known Under.
An Optimal Lower Bound for Buffer Management in Multi-Queue Switches Marcin Bieńkowski.
Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97.
Five Problems CSE 421 Richard Anderson Winter 2009, Lecture 3.
Oblivious Routing for the L p -norm Matthias Englert Harald Räcke 1.
Nick McKeown CS244 Lecture 6 Packet Switches. What you said The very premise of the paper was a bit of an eye- opener for me, for previously I had never.
Approximation Algorithms
The price of anarchy of finite congestion games Kapelushnik Lior Based on the articles: “ The price of anarchy of finite congestion games ” by Christodoulou.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Distributed Coloring in Õ(  log n) Bit Rounds COST 293 GRAAL and.
Network Design Adam Meyerson Carnegie-Mellon University.
Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks Marcin Bieńkowski Joint work with: Jarek Byrka (Centrum voor Wiskunde.
Online Algorithms Motivation and Definitions Paging Problem Competitive Analysis Online Load Balancing.
Online Oblivious Routing Nikhil Bansal, Avrim Blum, Shuchi Chawla & Adam Meyerson Carnegie Mellon University 6/7/2003.
Preference Analysis Joachim Giesen and Eva Schuberth May 24, 2006.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Online Packet Switching Techniques and algorithms Yossi Azar Tel Aviv University.
A General Approach to Online Network Optimization Problems Seffi Naor Computer Science Dept. Technion Haifa, Israel Joint work: Noga Alon, Yossi Azar,
Priority Models Sashka Davis University of California, San Diego June 1, 2003.
Price of Anarchy Bounds Price of Anarchy Convergence Based on Slides by Amir Epstein and by Svetlana Olonetsky Modified/Corrupted by Michal Feldman and.
Online Function Tracking with Generalized Penalties Marcin Bieńkowski Institute of Computer Science, University of Wrocław, Poland Stefan Schmid Deutsche.
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Competitive On-Line Admission Control and Routing By: Gabi Kliot Presentation version.
Online Oblivious Routing Nikhil Bansal, Avrim Blum, Shuchi Chawla & Adam Meyerson Carnegie Mellon University 6/7/2003.
Throughput Competitive Online Routing Baruch Awerbuch Yossi Azar Serge Plotkin.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Online Paging Algorithm By: Puneet C. Jain Bhaskar C. Chawda Yashu Gupta Supervisor: Dr. Naveen Garg, Dr. Kavitha Telikepalli.
1 Server Scheduling in the L p norm Nikhil Bansal (CMU) Kirk Pruhs (Univ. of Pittsburgh)
Batch Scheduling of Conflicting Jobs Hadas Shachnai The Technion Based on joint papers with L. Epstein, M. M. Halldórsson and A. Levin.
Improved Approximation Algorithms for the Quality of Service Steiner Tree Problem M. Karpinski Bonn University I. Măndoiu UC San Diego A. Olshevsky GaTech.
1 Online algorithms Typically when we solve problems and design algorithms we assume that we know all the data a priori. However in many practical situations.
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Lower Bounds in Greedy Model Sashka Davis Advised by Russell Impagliazzo (Slides modified by Jeff) UC San Diego October 6, 2006.
Instructor Neelima Gupta Table of Contents Factor 2 algorithm for Bin Packing Factor 2 algorithm for Minimum Makespan Scheduling Reference:
A Optimal On-line Algorithm for k Servers on Trees Author : Marek Chrobak Lawrence L. Larmore 報告人:羅正偉.
Christoph Lenzen, STOC What is Load Balancing? work sharing low-congestion routing optimizing storage utilization hashing.
© The McGraw-Hill Companies, Inc., Chapter 12 On-Line Algorithms.
Non-Preemptive Buffer Management for Latency Sensitive Packets Moran Feldman Technion Seffi Naor Technion.
1 Windows Scheduling as a Restricted Version of Bin-packing. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
International Graduate School of Dynamic Intelligent Systems, University of Paderborn Fighting Against Two Adversaries: Page Migration in Dynamic Networks.
Matroids, Secretary Problems, and Online Mechanisms Nicole Immorlica, Microsoft Research Joint work with Robert Kleinberg and Moshe Babaioff.
Buffering problems Moran Feldman Technion Based on joint work with Seffi Naor.
11 -1 Chapter 12 On-Line Algorithms On-Line Algorithms On-line algorithms are used to solve on-line problems. The disk scheduling problem The requests.
Models of Greedy Algorithms for Graph Problems Sashka Davis, UCSD Russell Impagliazzo, UCSD SIAM SODA 2004.
The Price of Routing Unsplittable Flow Yossi Azar Joint work with B. Awerbuch and A. Epstein.
Scheduling Parallel DAG Jobs to Minimize the Average Flow Time K. Agrawal, J. Li, K. Lu, B. Moseley.
Theory of Computational Complexity M1 Takao Inoshita Iwama & Ito Lab Graduate School of Informatics, Kyoto University.
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
scheduling for local-area networks”
The Theory of NP-Completeness
University of Pittsburgh
György Dósa – M. Grazia Speranza – Zsolt Tuza:
The Theory of NP-Completeness
The Price of Routing Unsplittable Flow
An Optimal Lower Bound for Buffer Management in Multi-Queue Switches
Presentation transcript:

Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1

Oblivious Algorithms Experts – all past information is known Competitive analysis – the past is known Bandit – only the value of the action taken chose is known What if you do not see the input and do not get any feedback ? Can one design meaningful algorithms which do not see the input ? 2

Visiting a Doctor 3

Balls and Bins m 2 balls to be assigned into m bins m out of the balls are of unit weight & all other balls are of zero weight Goal: minimize the max load Max load of 1 is trivial 4

Deterministic Oblivious Algorithms What if the algorithm does not see the weights (oblivious) ? Any deterministic algorithm: some bin has at least m balls They can all be of unit weight Max load is m (in contrast to 1) 5

Randomized Oblivious Algorithms Assign balls uniformally at random Maximum load is logm/loglogm Algorithm is oblivious of the input (weights) 6

Scheduling on idenitical machines m parallel identical machines Jobs arrive over time – job i has weight w i Each job should be dispatched to some machine Goal: minimize the total flow time Clearly each machine should run SRPT 7

Dispatching Algorithm Send a job to a random machine constant competitive for flow time [ChekuriGoelKhannaKumar, SchulzSkutella] Dispatching algorithm is oblivious (does not see the input) Processing jobs on machines are not oblivious (SRPT) 8

Routing in Graphs Given undirected graph G=(V,E) Request (s i, t i ) with demand d i Allocate a path (flow) for request i Load on edge = flow through edge Minimize the maximum load Offline/Online ratios exact or log|V| 9

Routing in Graphs What if the algorithm does not see the demands (oblivious) ? Routes between any two nodes should be chosen in advance (independent of demand) [Racke] seminal result: can be done up to log|V| factor Path = Randomized (Flow = deterministic) 10

Price of Obliviousness Ratio between serving in the dark (unknown input) vs optimal solution (in the light) 11

Returning back to Balls and Bins Algorithm should extract balls from bins (instead of assign balls into bins) Unit balls arrive to arbitrary bins at arbitrary times 12

Serving In The Dark Game B bins Sequence of Arrival & Extraction Events Arrival–new ball is assigned to empty bin If all bins are full the ball is thrown Extraction – Player chooses a bin, clears it and gains its content Goal: max the gain = # of extracted balls The Player does not get any input during the sequence! 13

Serving Game 14

The Optimal Algorithm The optimal player, in each extraction step, chooses a bin with a ball (if one exists) 15

Serving In The Dark Game 16

The Competitive ratio Price of obliviousness We compare (expected) # of extracted balls by the Player vs. an optimal player which “serves in the light” on the same sequence 17

Deterministic Algorithms The ‘round-robin’ algorithm has a competitive ratio of 2-1/B 2-1/B is a lower bound for any deterministic algorithm 18

Serving Game – ‘Round Robin’ Player Round Robin- Optimal- 19

Randomized Algorithms Suggestion: choose a bin uniformly at random at every extraction Better or worse than RoundRobin ? Competitive ratio about 1.69 [AzarCohenGamzu2013] Is there a better randomized algorithm? 20

New Results: Breaking the Uniformity! ‘Order Based’ algorithm: Order bins by their last extraction event Extraction: choose a bin according to a fixed non-decreasing probabilities, permuted according to the order above Note: extraction events may (or may not) have extracted a ball 21

ACDBE Probability: ` 22

CBDAE Probability: ` 23

Breaking the Uniformity! Round-Robin &Uniform are ‘order based’ We provide probability distribution which achieves a competitive ratio of about 1.56 Lower bound of 1.5 for randomized algorithm 24

Proof Sketch Adversary places a ball in the bin whose extraction is least probable Sequences for which the adversary has no underflow & no overflow Fractional algorithm: extract a fraction from each bin (which sum up to 1) 25

Proof sketch: Grouping bins together: Extraction Event: 26

Proof Sketch Define a deterministic fractional block process: Extraction Event: 27

Proof Sketch (fractional): Characterizing the worst sequence: Alg has overflows – balls arrive until opt is full No overflow – no balls arrives unless opt has underflow Sequence defined up to one parameter – the number of steps between two overflows! (which depend on the probability function) 28

Proof Sketch The sequence between two overflows: The number of 0’s is B-1, the number of 1’s depends on the probability function. Define, the expected number of balls extracted after d steps, starting with full load. The competitive ratio: 29

Proof Sketch Analyze for B >> 1, and smooth p. Define as a portion of the load after steps, i.e., we have Where. The competitive ratio 30

Proof Sketch Analyze the randomized versus the fractional: Analyze a single fractional block versus a single integer block. Define an hybrid process where the first blocks are integer and the rest are fractional. Replace the first fractional block by an integer one, prove that for sequences that would not overflow the first would not overflow the new one. 31

Summary Algorithms can be oblivious and meaningful Cost of Serving in the dark 2  1.69  1.56 Lower bound (randomized) =

Open problems Is the best bound 1.5 or is it larger ??? Explore oblivious algorithms Can we give an oblivious talk ? Can we write an oblivious paper ? 33

Thanks 34