Online Rounding and Learning Augmented Algorithms for Facility Location

Silvio Lattanzi, Debmalya Panigrahi, Ola SvenssonICLR 2026

Introduction

Facility Location is a fundamental problem in clustering and unsupervised learning. The objective is to serve a set of "clients" (data points) by opening "facilities" (cluster centers). The total cost is a combination of the price to open a facility and the distance-based cost of connecting each client to its nearest open facility. The goal is to minimize this sum.

In the online version of this problem, clients arrive sequentially, and the algorithm must decide immediately and irrevocably whether to open a new facility. Recently, researchers have sought to improve these algorithms using machine learning advice—predictions about where future clients might appear.

While existing "fractional" algorithms perform well with ML advice (allowing the algorithm to open, for example, 30% of a facility at one location and 70% at another), there has been a significant gap in translating these into practical, "integral" solutions (where a facility is strictly open or closed) without losing substantial accuracy. This paper bridges that gap by providing the first efficient online rounding algorithms for the Facility Location problem.

Rounding Methodologies

The authors propose two distinct online rounding algorithms tailored to different cost structures:

1. Deterministic Rounding (Uniform Costs)

For scenarios where every facility costs the same to open, the authors introduce a three-level covering scheme. The algorithm monitors "balls" (regions) within the metric space. If a region accumulates enough fractional mass—meaning the underlying fractional algorithm has "opened" at least 0.5 of a facility in that area—but lacks a physical facility nearby, the algorithm triggers a sequence of checks to open an actual, integral facility.

Overlapping regions (balls) in the metric space used by the rounding algorithms to monitor fractional mass.

2. Randomized Rounding (Non-uniform Costs)

When facilities have varying opening costs, the approach requires more complexity. The algorithm employs level counters for each potential facility location and identifies "critical balls." These are regions with significant fractional mass that do not overlap with other high-priority regions. The algorithm then opens facilities with a probability proportional to their fractional mass.

The core technical innovation across both methods is ensuring $\gamma$-consistency. This guarantees that if the fractional solution places significant "mass" in a region, the integral solution will reliably place a physical facility within a distance proportional to that region's radius.

Theoretical Insights and Key Results

This research is purely theoretical, focusing on algorithmic proofs and competitive analysis rather than empirical datasets. The results are validated through mathematical proofs of "competitive ratios," which compare the algorithm's performance to an optimal offline solution.

  • Rounding is Not the Bottleneck: A major takeaway is that the inherent difficulty of the online facility location problem does not stem from making binary (0/1) decisions. Instead, the true challenge lies in finding a high-quality fractional solution initially.
  • Exploiting Geometry: Unlike general "Set Cover" problems, Facility Location occurs in a metric space. By exploiting the triangle inequality, the authors achieve much tighter rounding bounds—$O(1)$ or $O(\log \log \Delta)$—than the logarithmic bounds typically seen in non-metric settings.
  • The "Predecessor" Argument: To prove their algorithms do not open an excessive number of facilities, the authors utilize a charging argument. They demonstrate that every time a new facility is opened, it is justified by a significant increase in fractional mass that has accumulated since the last "predecessor" facility was opened in that neighborhood.
  • Performance Bounds: The deterministic algorithm for uniform costs achieves a constant-factor overhead, meaning the real-world solution's cost is only a fixed multiple of the theoretical fractional cost. The randomized algorithm for non-uniform costs loses only an $O(\log \log \Delta)$ factor (where $\Delta$ is the ratio of the largest to smallest distance in the data), marking a significant improvement over prior methods.
  • Learning-Augmented Success: When paired with existing fractional algorithms, these rounding techniques yield the first integral algorithms for online facility location with ML predictions that achieve "tight" consistency (optimal performance when predictions are accurate) and robustness (bounded failure when predictions are poor).

Limitations and Future Work

While the $O(\log \log \Delta)$ bound for non-uniform costs is strong, the authors leave open the question of whether a constant-factor ($O(1)$) rounding algorithm exists for this more general case. Furthermore, while the rounding process itself is nearly optimal, the underlying fractional algorithms for learning-augmented facility location could still be improved to reach the theoretical lower bounds of the problem. Finally, as a theory-heavy paper, future work is needed to explore how these algorithms behave on messy, real-world data and how sensitive they are to the specific types of ML advice provided.

Summary updated

BibTeX
@inproceedings{lattanzi2026online,
  author = {Silvio Lattanzi and Debmalya Panigrahi and Ola Svensson},
  title = {{Online Rounding and Learning Augmented Algorithms for Facility Location}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=euOVJEhflG},
}
Figure