English

Online Facility Location on Semi-Random Streams

Data Structures and Algorithms 2017-11-28 v1

Abstract

In the streaming model, the order of the stream can significantly affect the difficulty of a problem. A tt-semirandom stream was introduced as an interpolation between random-order (t=1t=1) and adversarial-order (t=nt=n) streams where an adversary intercepts a random-order stream and can delay up to tt elements at a time. IITK Sublinear Open Problem \#15 asks to find algorithms whose performance degrades smoothly as tt increases. We show that the celebrated online facility location algorithm achieves an expected competitive ratio of O(logtloglogt)O(\frac{\log t}{\log \log t}). We present a matching lower bound that any randomized algorithm has an expected competitive ratio of Ω(logtloglogt)\Omega(\frac{\log t}{\log \log t}). We use this result to construct an O(1)O(1)-approximate streaming algorithm for kk-median clustering that stores O(klogt)O(k \log t) points and has O(klogt)O(k \log t) worst-case update time. Our technique generalizes to any dissimilarity measure that satisfies a weak triangle inequality, including kk-means, MM-estimators, and p\ell_p norms. The special case t=1t=1 yields an optimal O(k)O(k) space algorithm for random-order streams as well as an optimal O(nk)O(nk) time algorithm in the RAM model, closing a long line of research on this problem.

Keywords

Cite

@article{arxiv.1711.09384,
  title  = {Online Facility Location on Semi-Random Streams},
  author = {Harry Lang},
  journal= {arXiv preprint arXiv:1711.09384},
  year   = {2017}
}
R2 v1 2026-06-22T22:57:07.134Z