Online Facility Location with Predictions

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

Introduction

Imagine operating a logistics network where customers (demand points) arrive sequentially at various locations. You must immediately and irrevocably assign each customer to a warehouse (facility). If a suitable warehouse isn't open, you incur a high cost to open one; otherwise, you pay a "connection cost" proportional to the distance between the customer and the warehouse. This is the classic Online Facility Location (OFL) problem.

The fundamental challenge of OFL is the lack of knowledge about future customer arrivals. Traditional algorithms face a proven mathematical barrier—a lower bound on their performance relative to an "offline optimal" solution that knows the entire future. This paper investigates a modern twist: If we have a noisy machine-learned prediction about which facility should serve each customer, can we use that information to bypass classical limits without risking catastrophic failure if the prediction is wrong?

By incorporating predictions of the optimal facility for each demand point, the authors develop an algorithm that breaks through classical theoretical lower bounds when predictions are accurate, while remaining robust and reliable even when predictions are highly inaccurate.

Methodology: Prediction-Augmented Meyerson

The authors propose a novel algorithm called Prediction-augmented Meyerson, which builds upon a classic randomized approach known as Meyerson’s algorithm.

The algorithm operates in two concurrent steps for every arriving customer:

  1. The Meyerson Step: It runs the standard online algorithm, which decides whether to open a new facility based on the current connection cost.
  2. The Prediction Step: It takes the "budget" generated by the Meyerson step and uses it to open facilities "near" the predicted optimal location.

For more complex settings where facilities have different (non-uniform) opening costs, the authors design a sophisticated geometric search strategy. The algorithm opens a series of facilities in balls of decreasing radii centered at the prediction, doubling the allowed opening cost each time. This ensures that if a "good" facility exists near the prediction, the algorithm will find it without overspending on prohibitively expensive facilities. Additionally, a "calibration" step identifies and ignores predictions that are obviously worse than what a simple online strategy would suggest, preventing the algorithm from being led astray by wildly inaccurate hints.

Datasets and Evaluation

To validate their theoretical findings, the researchers evaluated their algorithm on four distinct datasets covering various real-world scenarios, including both Euclidean and graph-based spaces, as well as uniform and non-uniform facility costs.

Summary of datasets used for empirical evaluation
  • Twitter: A Euclidean dataset representing user locations.
  • Adult: A higher-dimensional Euclidean dataset from the UCI repository.
  • US-PG: A graph-based dataset representing the US power grid, where distances are measured by shortest paths.
  • Non-Uni: A Euclidean dataset specifically chosen for its non-uniform opening costs, representing the most technically challenging scenario.

Key Insights and Results

The paper demonstrates significant advancements in both theoretical guarantees and empirical performance:

  • Breaking the Barrier: Theoretically, the algorithm achieves a competitive ratio of $O(\min\{\log n, \max\{1, \log \frac{n\eta_\infty}{OPT}\}\})$. This is a major breakthrough because it bypasses the fundamental $\Omega(\frac{\log n}{\log \log n})$ lower bound of classical OFL when the maximum prediction error ($\eta_\infty$) is small.
  • Consistency vs. Robustness: The algorithm achieves "consistency" (near-optimal performance with perfect predictions) and "robustness" (it never performs much worse than the best traditional online algorithm, even with "garbage" predictions).
  • Empirical Superiority and Graceful Degradation: In simulations, the algorithm consistently outperformed the standard Meyerson algorithm when prediction error was low. As prediction error increased, the algorithm's performance gracefully converged to match the standard online baseline, avoiding the catastrophic failures seen in "naive" algorithms that blindly trust predictions.
  • Success with Non-Uniform Costs: On the "Non-Uni" dataset, the algorithm successfully balanced the tradeoff between opening costs and proximity to predictions, outperforming the baseline by nearly a factor of two in some cases. The authors also showed that even a very simple predictor (trained on just 30% of the data) was sufficient to provide a significant performance boost.

Limitations and Future Work

While the results are strong, the primary error metric used ($\eta_\infty$) is based on the maximum prediction error. This means a single extremely bad prediction could theoretically degrade the performance guarantee for the entire run (though the authors provide a partial solution for this via a "t-outlier" analysis in the appendix).

Furthermore, the model assumes facilities, once opened, cannot be moved or closed. Future work could explore "dynamic" facility location where facilities can be relocated. Finally, exploring alternative "robust" error measures that ignore a small percentage of outliers remains an open and promising area for research.

Summary updated

BibTeX
@inproceedings{jiang2022online,
  author = {Shaofeng H.-C. Jiang and Erzhi Liu and You Lyu and Zhihao Gavin Tang and Yubo Zhang},
  title = {{Online Facility Location with Predictions}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=DSQHjibtgKR},
}
Figure