ICLR2022

Online Facility Location with Predictions

Shaofeng H.-C. Jiang, Erzhi Liu, You Lyu, Zhihao Gavin Tang, Yubo Zhang

被引用 34 次

摘要

We provide nearly optimal algorithms for online facility location (OFL) with predictions. In OFL, nn demand points arrive in order and the algorithm must irrevocably assign each demand point to an open facility upon its arrival. The objective is to minimize the total connection costs from demand points to assigned facilities plus the facility opening cost. We further assume the algorithm is additionally given for each demand point xix_i a natural prediction fxipredf_{x_i}^{\mathrm{pred}} which is supposed to be the facility fxioptf_{x_i}^{\mathrm{opt}} that serves xix_i in the offline optimal solution. Our main result is an O(min{lognηOPT,logn})O(\min\{\log {\frac{n\eta_\infty}{\mathrm{OPT}}}, \log{n} \})-competitive algorithm where η\eta_\infty is the maximum prediction error (i.e., the distance between fxipredf_{x_i}^{\mathrm{pred}} and fxioptf_{x_i}^{\mathrm{opt}}). Our algorithm overcomes the fundamental Ω(lognloglogn)\Omega(\frac{\log n}{\log \log n}) lower bound of OFL (without predictions) when η\eta_\infty is small, and it still maintains O(logn)O(\log n) ratio even when η\eta_\infty is unbounded. Furthermore, our theoretical analysis is supported by empirical evaluations for the tradeoffs between η\eta_\infty and the competitive ratio on various real datasets of different types.