Locality in Online Algorithms

02/18/2021
by   Maciej Pacut, et al.
0

Online algorithms make decisions based on past inputs. In general, the decision may depend on the entire history of inputs. If many computers run the same online algorithm with the same input stream but are started at different times, they do not necessarily make consistent decisions. In this work we introduce time-local online algorithms. These are online algorithms where the output at a given time only depends on T = O(1) latest inputs. The use of (deterministic) time-local algorithms in a distributed setting automatically leads to globally consistent decisions. Our key observation is that time-local online algorithms (in which the output at a given time only depends on local inputs in the temporal dimension) are closely connected to local distributed graph algorithms (in which the output of a given node only depends on local inputs in the spatial dimension). This makes it possible to interpret prior work on distributed graph algorithms from the perspective of online algorithms. We describe an algorithm synthesis method that one can use to design optimal time-local online algorithms for small values of T. We demonstrate the power of the technique in the context of a variant of the online file migration problem, and show that e.g. for two nodes and unit migration costs there exists a 3-competitive time-local algorithm with horizon T=4, while no deterministic online algorithm (in the classic sense) can do better. We also derive upper and lower bounds for a more general version of the problem; we show that there is a 6-competitive deterministic time-local algorithm and a 2.62-competitive randomized time-local algorithm for any migration cost α≥ 1.

READ FULL TEXT

page 1

page 2

page 11

page 14

page 15

page 21

page 23

page 29

research
03/21/2023

Online Hitting of Unit Balls and Hypercubes in ℝ^d using Points from ℤ^d

We consider the online hitting set problem for the range space Σ=( X, R)...
research
09/14/2021

Online Algorithms with Lookaround

We introduce a new model of computation: the online LOCAL model (OLOCAL)...
research
04/13/2019

Online Bin Covering with Limited Migration

Semi-online models where decisions may be revoked in a limited way have ...
research
05/07/2018

Online Connected Dominating Set Leasing

We introduce the Online Connected Dominating Set Leasing problem (OCDSL)...
research
08/08/2017

Online unit clustering in higher dimensions

We revisit the online Unit Clustering problem in higher dimensions: Give...
research
06/09/2020

Online Page Migration with ML Advice

We consider online algorithms for the page migration problem that use pr...
research
04/20/2021

Robust Online Algorithms for Dynamic Choosing Problems

Semi-online algorithms that are allowed to perform a bounded amount of r...

Please sign up or login with your details

Forgot password? Click here to reset