Pure Entropic Regularization for Metrical Task Systems

Christian Coester, James R. Lee

Introduction

In the field of online optimization, the Metrical Task Systems (MTS) problem stands as a foundational challenge. It models scenarios where a system must navigate a set of states to process incoming tasks, balancing the cost of processing a task in a specific state (service cost) against the cost of transitioning between states (movement cost). While it has been established for decades that the optimal competitive ratio for an $n$-state system is $\Theta(\log n)$, recent research has pivoted toward "refined" competitive guarantees. These refinements seek to determine if an algorithm can achieve near-perfection in one cost metric (e.g., being 1-competitive for service costs) without sacrificing the logarithmic bound on the other.

This paper provides a definitive answer for tree-like metrics by introducing a novel regularizer based on multiscale conditional entropy. The authors present an algorithm that is 1-competitive for service costs and $O(\log n)$-competitive for movement costs on tree metrics, finally matching the theoretical lower bounds for this classic problem.

The Metrical Task Systems (MTS) Problem

An MTS instance consists of a metric space $(X, d)$ with $n$ points (states). At each discrete time step, a task arrives, represented by a cost function $f_t: X \to \mathbb{R}_+$. An online algorithm must choose a state $x_t$ for each task. The total cost incurred is the sum of the service costs $f_t(x_t)$ and the movement costs $d(x_{t-1}, x_t)$.

The performance of an online algorithm is measured by its competitive ratio: the ratio of the online cost to the cost incurred by an optimal offline adversary who knows the entire sequence of tasks in advance. The "refined" version of this analysis seeks to bound the total cost by $A \cdot \text{ServiceCost(OFF)} + B \cdot \text{MovementCost(OFF)}$, where $A$ is ideally close to 1.

Methodology: Online Mirror Descent and Multiscale Entropy

The authors approach the problem using the Online Mirror Descent (OMD) framework. In OMD, the algorithm maintains a probability distribution over the state space. It moves toward lower-cost regions while being constrained by a "regularizer" function that penalizes large or erratic movements.

The Innovation: Multiscale Conditional Entropy

The primary contribution of this work is the design of a specific regularizer tailored to the hierarchical structure of metric spaces. Previous attempts at refined MTS bounds used multiscale entropy, but these often "overmeasured" uncertainty by counting it multiple times across different levels of a tree.

To solve this, the authors utilize Hierarchically Well-Separated Trees (HSTs)—specialized metric spaces that can approximate any general metric. Their novel regularizer employs multiscale conditional entropy, which looks at the conditional probability of being in a specific subtree given that the algorithm is in its parent node. By applying the chain rule of Shannon entropy, they created a regularizer that balances movement across different scales of the metric without redundant penalties.

Noise Injection and Discretization

A common pitfall in competitive analysis is the "stiffness" of the algorithm when a state's probability is near zero. To ensure the algorithm reacts quickly enough to new tasks, the authors inject a noise parameter ($\delta_u$) into the entropy calculation. The theoretical analysis is initially conducted using continuous-time differential equations, which is then translated into a practical, discrete-time algorithm using iterative Bregman projections.

Key Results

The paper establishes several significant bounds that close the gap between upper and lower theoretical limits:

  1. Optimal Bounds on HSTs: On $n$-point HST metrics, the algorithm achieves a 1-competitive ratio for service costs and an $O(\log n)$-competitive ratio for movement costs. This matches the known lower bound, improving upon the previous best movement bound of $O(\log^2 n)$.
  2. General Metric Performance: By utilizing random embedding theorems to map general metrics into a distribution over HSTs, the algorithm achieves 1-competitive service and $O(\log^2 n)$ movement for any $n$-point metric.
  3. Fine-Grained Control: The authors prove a "finely competitive" result (Theorem 1.3), showing that for any parameter $\kappa \ge 1$, there exists an algorithm that is $(1, 1/\kappa, O(\kappa \log n))$-competitive. This allows practitioners to smoothly trade off between service and movement costs depending on the specific requirements of their system.

Discussion and Future Work

While this work achieves optimality for tree metrics, a small gap remains for general metric spaces. Currently, the best-known competitive ratio for general spaces is $O(\log^2 n)$, though many theorists conjecture that $O(\log n)$ is achievable. This paper improves the refined version of the bound but does not yet break the $O(\log^2 n)$ barrier for non-tree metrics.

Additionally, while the algorithm is polynomial-time, it relies on iterative Bregman projections. Future research may focus on optimizing the per-step computational complexity to make these entropic regularization techniques more viable for massive state spaces in real-time cloud scheduling or resource allocation environments.

Summary updated

BibTeX
@article{coester2022pure,
  author = {Christian Coester and James R. Lee},
  title = {{Pure Entropic Regularization for Metrical Task Systems}},
  journal = {Theory Comput.},
  year = {2022},
  doi = {10.4086/toc.2022.v018a023},
}
Figure