Online metric allocation

Nikhil Bansal, Christian CoesterarXiv 2021

Abstract

The Metric Allocation Problem (MAP) provides a unifying framework for fundamental online problems such as Metrical Task Systems (MTS) and the fractional $k$-server problem. A central challenge in MAP is its scale-freeness, where an adversary can issue costs at arbitrary scales. This paper presents a novel $O(\log n)$-competitive algorithm for weighted star metrics that utilizes online mirror descent with a time-varying regularizer to adapt to shifting adversarial scales. By decoupling position and rate and modifying standard potential functions, this approach achieves optimal bounds on star metrics and offers a potential path toward resolving the randomized $k$-server conjecture.

Introduction

In the field of online computation, algorithms must make sequential decisions without knowledge of future requests. Two of the most prominent problems in this domain are Metrical Task Systems (MTS) and the $k$-server problem. While both involve managing resources within a metric space to minimize the sum of movement and service costs, they have historically been addressed with distinct mathematical tools.

This paper introduces the Metric Allocation Problem (MAP), a conceptual bridge that encompasses both MTS and fractional $k$-server. In MAP, a resource is fractionally distributed across an $n$-point metric space. At each time step, a convex, non-increasing cost function appears at a specific location. The algorithm must decide how to reallocate its resource mass to minimize the combined cost of movement (based on metric distance) and service (based on the cost function and local resource density).

The Challenge of Scale-Freeness

The primary technical hurdle in MAP is scale-freeness. In the standard $k$-server problem, the scale is fixed—satisfying a request requires exactly $1/k$ of a server's mass. In MAP, however, the adversary can issue cost functions at any arbitrary scale and target any sub-region of the resource distribution.

Standard multiplicative update algorithms, which rely on a fixed scale to determine the rate of resource movement, are insufficient for MAP. Because the adversary can shift the scale dynamically, a static learning rate leads to either excessive movement costs or inadequate response to service costs.

Adversarial preferences in the Metric Allocation Problem under different configurations of the cost function and resource positions.

As shown in Figure 3, the adversary can strategically manipulate the scale parameter $\alpha$ based on the relative positions of the algorithm's current allocation $x_r$ and the adversary's target $y_r$. This ability to play in localized, shifting regions forces the algorithm to explicitly learn the active scale and region in real-time.

Methods: Time-Varying Online Mirror Descent

To address scale-freeness, the authors introduce several novel algorithmic techniques within the continuous-time online mirror descent (OMD) framework:

  1. Decoupling Position and Rate: Instead of updating resource mass directly, the algorithm maintains separate "rate variables." These act as an online estimate of the adversary's active region and scale, dictating the velocity of resource reallocation.
  2. Time-Varying Regularization: Standard OMD uses a static regularization function (e.g., negative entropy). The authors introduce a time-varying regularizer that dynamically adapts to the current scale. This essentially warps the underlying geometry of the decision space to match the adversary's strategy.
  3. Modified Bregman Divergence: The use of a dynamic regularizer makes standard potential functions, like the Bregman divergence, mathematically unstable. The authors developed a heavily modified potential function to carefully control the "leakage" caused by the shifting geometry, ensuring the algorithm's competitiveness remains bounded.

Key Results and Implications

The paper establishes several significant results that advance the state of online optimization:

  • Optimal Bound on Star Metrics: The authors developed a deterministic algorithm for MAP on weighted star metrics that is $O(\log n)$-competitive. This matches the known lower bound for the simpler MTS problem, demonstrating that the added generality of MAP does not necessarily come at a cost in competitiveness.
  • Refined Cost Guarantees: The algorithm achieves a $(1+\epsilon)$-competitive service cost and an $O(1/\epsilon + \log n)$-competitive movement cost. This separation is a critical prerequisite for scaling the algorithm to general metric spaces.
  • Non-Convex Costs: For variants with non-convex cost functions, the authors proved a tight $\Theta(n)$ competitive ratio on tree metrics, which translates to $O(n \log n)$ randomized competitiveness on arbitrary metric spaces via standard embedding techniques.

Conclusion

The Metric Allocation Problem provides a powerful lens through which to view online optimization. By introducing time-varying regularizers and decoupling rate from position, the authors provide a robust framework for handling scale-free adversarial behavior. While the current $O(\log n)$ bound is proven for weighted star metrics, the techniques developed here—specifically the handling of "active regions"—could be the key to finally resolving the randomized $k$-server conjecture on general metrics.

Summary updated

BibTeX
@misc{bansal2021online,
  author = {Nikhil Bansal and Christian Coester},
  title = {{Online metric allocation}},
  year = {2021},
  eprint = {2111.15169},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.15169},
}
Figure