Abstract
This paper presents the first online algorithm for the $k$-server problem with time windows ($k$-ServerTW) that achieves a poly-logarithmic competitive ratio independent of the number of servers $k$. By introducing a novel hitting set linear programming relaxation on tree metrics and a primal-dual framework that composes "truncated" local LPs across the hierarchy of the metric space, the authors overcome the limitations of previous mirror descent-based approaches. The resulting algorithm is $O(\text{poly} \log(n, \Delta))$-competitive on any $n$-point metric space with aspect ratio $\Delta$.
Introduction
In the classic $k$-server problem, $k$ mobile servers reside in a metric space. Requests arrive sequentially at specific locations, and an online algorithm must move a server to each location to satisfy the request while minimizing total travel distance. The $k$-server with time-windows ($k$-ServerTW) adds a temporal layer: each request $i$ at location $v_i$ has an arrival time $b_i$ and a deadline $e_i$. A server must be present at $v_i$ at some point during the interval $[b_i, e_i]$.
While recent breakthroughs have achieved poly-logarithmic competitive ratios for the standard $k$-server problem, these techniques—often based on mirror descent and entropic regularization—break down when deadlines are introduced. Prior to this work, the best known competitive ratio for $k$-ServerTW was $O(k \cdot \text{poly} \log n)$, which scales linearly with the number of servers. This paper aims to remove that $k$ dependence.
Methodology
The authors focus on Hierarchically Well-Separated Trees (HSTs). Since any metric space can be approximated by a distribution of HSTs with logarithmic distortion, solving the problem on HSTs provides a general solution.
Hitting Set LP Relaxation and Truncation
The problem is formulated as a "covering" linear program, a departure from the "min-cost flow" formulations typically used. This provides more flexibility for temporal constraints. The core technical innovation is defining "truncated" local LPs for every internal node $v$ of the HST. These LPs focus only on the subtree rooted at $v$, creating a localized accounting mechanism to track server movements across the hierarchy.
Primal-Dual Composition and Piggybacking
The algorithm maintains fractional server "mass." When a request becomes "critical" (near its deadline), the algorithm raises primal and dual variables in the local LPs. These local dual solutions are then composed to form a feasible dual for the global LP, used to bound the movement cost. For the time-window case, the algorithm also employs "piggybacking," servicing other "active" requests in nearby subtrees to maintain efficiency.
Key Insights
- Decoupling Movement from Accounting: Primal and dual variables are used primarily for accounting for the cost, while the actual server movements are driven by the state of the "fractional" server mass at the leaves.
- Handling the "Lost" Dual Increase: The authors introduce a concept of "lost" dual increase to account for server transfers that are necessary but don't directly satisfy the "principal" request at a given node, ensuring movement cost is bounded by the dual objective increase.
Results
The algorithm achieves a competitive ratio of $O(\text{poly} \log(n, \Delta))$, where $n$ is the number of points and $\Delta$ is the aspect ratio of the metric space. This is the first result to achieve a competitive ratio for $k$-ServerTW that is poly-logarithmic in $n$ and $\Delta$ without a linear dependence on the number of servers $k$. The paper provides a fractional algorithm and demonstrates how standard rounding techniques for HSTs can transform it into a randomized online algorithm.
Limitations and Future Work
While the $k$ dependence is eliminated, the ratio still depends on the aspect ratio $\Delta$. A major open question is whether this can be improved to $\text{poly} \log(n)$ or even $\text{poly} \log(k)$. Additionally, the authors suggest extending this framework to "prize-collecting" versions with delay penalties or the $k$-taxi problem, where requests have both a source and a destination.
Summary updated