Markov Metrical Task Systems
Christian Coester, Alexa Tudose
NeurIPS 2026
TL;DR. We study Metrical Task Systems with requests sampled IID or generated by a Markov chain.
Abstract. We study Metrical Task Systems, a broad class of problems in online algorithms, under a model where input requests are generated by a stochastic process. We first consider the case of requests drawn IID from an unknown distribution, and then extend the model to requests generated by a finite-state Markov chain, where the algorithm observes both the current request and the current state of the chain before making its next move. This formulation captures practical settings in which requests are generated by an evolving environment. In both settings, we show how to find in polynomial time an algorithm whose expected cost per step is arbitrarily close to the cost of the best possible online algorithm. Our theoretical results are complemented by a brief empirical evaluation of our algorithms.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The authors study metrical task systems, which have long been considered from the viewpoint of competitive analysis, as an average reward MDP. Thus the requests are IID or Markovian and the goal is to minimize regret compared to the best stationary/markov policy. They provide methods to achieve this.
The reviewers are concerned that the work appears to rely on standard method rather than introducing new ideas or techniques. 51Vp also points out that the assumptions are rather restrictive. Another source of confusion is that experiments report competitive ratios for comparison despite this not being the object of the theoretical analyses. The method requires a large number of simulated samples of the environment and there is no indication that the method scales subexponentially in high dimensional settings. The paper could be improved by addressing some of these issues and improving the model assumptions and dependence on dimension.
Final justification
The authors have improved the results to not require sample access to a simulator but only a continuous sequence of rollouts (under mixing conditions). The paper still has weaknesses regarding novelty, scalability, and experiments, but it is a solid contribution as a theoretical work and I think it meets the bar for acceptance.
Read meta-review
Meta-review
The authors study metrical task systems, which have long been considered from the viewpoint of competitive analysis, as an average reward MDP. Thus the requests are IID or Markovian and the goal is to minimize regret compared to the best stationary/markov policy. They provide methods to achieve this.
The reviewers are concerned that the work appears to rely on standard method rather than introducing new ideas or techniques. 51Vp also points out that the assumptions are rather restrictive. Another source of confusion is that experiments report competitive ratios for comparison despite this not being the object of the theoretical analyses. The method requires a large number of simulated samples of the environment and there is no indication that the method scales subexponentially in high dimensional settings. The paper could be improved by addressing some of these issues and improving the model assumptions and dependence on dimension.
Final justification
The authors have improved the results to not require sample access to a simulator but only a continuous sequence of rollouts (under mixing conditions). The paper still has weaknesses regarding novelty, scalability, and experiments, but it is a solid contribution as a theoretical work and I think it meets the bar for acceptance.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the metrical task systems problem when the requests (i.e., costs) are generated stochastically from a distribution. Specifically, the paper studies two different settings: one where requests are drawn i.i.d. from some distribution, and another where they are drawn from a Markov chain. The authors propose a method based on Halpern iteration to learn a policy using sample access from the underlying distribution, and prove sample complexity bounds on the convergence of this learned policy to the optimal online policy.
Strengths and weaknesses
Strengths
- Stochastic MTS is a natural problem to study to go beyond the adversarial setting, which can be unrealistic in practice
- The paper's exposition is clear and easy to follow, and many of the technical arguments are presented in the main body of the paper.
Weaknesses
- The results themselves don't appear to be very technically novel, as they heavily rely on direct applications of existing techniques and results from average-reward MDPs.
- Some of the technical assumptions are overly strict: in particular, the assumption that the state space is finite, and that we have query access to the request distribution conditioned on each state . In most practical settings, it is more likely that we can only collect rollout trajectories from the MDP, so an RL-based approach would be more reasonable.
- As the authors mention in the limitations section, their method cannot be extended cases where the metric space is exponentially large (such as in -server) or continuous (such as in convex function chasing).
Questions
- Can the authors please discuss in greater detail how their specific technical contributions go beyond the straightforward application of prior ideas and results in the theory of MDPs?
- Can one extend the current results to the case where query access to is not given, but instead we can collect rollout trajectories from the MDP? How does the sample complexity degrade in this case?
- Would it be possible to extend the current results to metric spaces with larger (e.g., exponential or even continuous) cardinalities? Perhaps using function approximation?
Limitations
Several limitations are acknowledged, but the oracle access to each strikes me as being a significant limitation which warrants further acknowledgment.
Final justification
The authors' rebuttal provided an extension beyond oracle access to that addresses one of my concerns. However, the technical approach is still not particularly novel, so I am increasing my score to a 4.
Formatting concerns
N/A
3 comments
Proof sketch for new extensions beyond oracle access to D_x
To provide further details, we include a proof sketch of the analysis underlying the two extensions beyond oracle access to .
From the proof of Claim 11, we bound the cost of a policy by multiplying the residual of each state by its probability under the stationary distribution:
.
We can further upper-bound this by
.
We can use Halpern iteration to bound the first term as before. To bound the second term, note that it is more important to estimate the Bellman operator accurately for states having high probability under the stationary distribution than for states having lower probability. Moreover, since each residual is at most , rare states with can be ignored, as they contribute at most in total.
Let , i.e., the number of samples used for state . Note that is a random variable. Let . We take an -net of under . Let
.
Using standard concentration bounds, we can show that, with probability at least , the following holds simultaneously for all , , and :
If we can ensure that for every state satisfying , then
.
Recall that, in the first setting, for each sample, a state is drawn from the stationary distribution , after which a fresh pair is observed. In this case, taking
ensures that both
and that for every state with , by a Chernoff bound.
In the second setting, we are given a single rollout . At each time , conditional on the preceding state being , the pair is sampled from .
Let be the transition matrix of the chain. For probability distributions and on , write
,
and define
.
After omitting an initial prefix of length from the rollout, we maximally couple the chain to a stationary copy, with failure probability at most . We then partition the retained trajectory of length into residue classes. Each resulting -spaced subsequence has transition kernel and can be coupled, step by step, to IID samples from the stationary distribution , with total coupling error at most .
Applying a Chernoff bound to the IID samples and taking a union bound over the subsequences and all states shows that, except with probability at most
,
every state with satisfies .
We ensure that each of these three error terms is at most . It suffices to choose , , and .
Thank you for your response. The extension beyond oracle access to strengthens the results, and I encourage the authors to incorporate this into the final version of the paper. However, the techniques themselves are relatively well-established and thus the results still seem somewhat incremental, though strengthened by the extension. As such, I am willing to increase my score to 4.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the metrical task systems (MTS) when the input is generated stochastically. In an MTS, an online algorithm moves a server between the points of a metric space. At each time step, a request appears that has a service cost over any point of the metric space; the algorithm then chooses where to move the server to a point in the metric, incurring a cost as the sum of the movement cost (moved distance in the metric) and the service cost at the chosen point. Several classical online problems are special cases of MTSs, including paging/caching, k-server, and list update.
MTSs are often studied under adversarial settings where the request sequence is generated by an adversary, and algorithms are evaluated by competitive ratio against the offline optimum. This paper instead considers stochastic request sequences. First, the authors assume requests are drawn IID from an unknown distribution. Second, they assume that requests are generated by a finite-state Markov chain, in which the current Markov state is known to the algorithm. In both cases, the online algorithm is compared to the best online algorithm for the given stochastic model (in terms of the expected average cost per step) rather than the standard optimal offline algorithm used for competitive ratio. The main result is an algorithm that, given sample access to the request distribution in the IID setting, or to the transition/request distributions in the Markov setting, computes a policy whose expected cost is within an additive of the optimal online policy.
Strengths and weaknesses
Strengths
- The paper studies a natural stochastic variant of MTS, which is a classic online optimization model. The paper is easy to follow and provides a clean way to achieve near-optimal policies for both IID and Markov request models.
Weaknesses
-
The sampling model is fairly strong, especially for Markov requests. It is assumed that, for any Markov state , one can independently generate enough samples of what the next request and state would be after . In certain applications, one would instead only have a single historical trace (some states may be visited rarely or not at all).
-
The algorithms are polynomial in the explicit MTS state space, but this state space can be large for the main motivating examples. For paging, list update, and k-server, the generic MTS representation grows exponentially or worse in the natural problem parameters. Due to this, the experiments are also quite small; for example, the caching experiment uses only 12 pages.
-
The paper is technically clean, but the technical novelty seems limited: much of the analysis seems to be based on fairly standard tools from stochastic decision processes.
Questions
-
Can the sampling approach be replaced by learning from an initial prefix of the request sequence? This seems relatively straightforward in the IID case, but in the Markov setting, a single prefix may visit some states very rarely or not at all. It would be useful to discuss whether the results in the paper can be extended to this fully online model.
-
Are there lower bounds for the sample complexity of the problem? In particular, in Theorems 1 and 2, is the dependence on the number of MTS states, the diameter, the Markov state space, or optimal, or could some of these dependencies be improved?
Limitations
Yes
Final justification
The rebuttal addressed my main concern about the oracle-access assumption by extending the results to learning from a single trajectory. I still have some concerns about scalability for structured MTS problems and about the level of technical novelty. Overall, however, I think the rebuttal strengthened the paper, and I am keeping my rating at 4 (Borderline Accept).
Formatting concerns
NA
3 comments
Rebuttal
We thank the reviewer for their feedback and suggestions, and provide clarifications below.
Trajectory access instead of conditional-distribution oracles. We agree that extending our analysis for the Markov setting beyond the setup of oracle access to each is both natural and valuable, particularly if data is collected through historical traces. We have now extended the result in two ways:
If we assume that in the training stage we can repeatedly draw a state x from the stationary distribution (or some distribution close to the stationary one), and obtain a fresh sample from , then the total number of required samples to learn an almost-optimal policy is the same as in our initial results (up to polylog factors).
If we assume that in the training stage we have access to a realization of length N of the Markov chain and cost functions, then we can bound N by additionally considering the mixing time of the chain. More precisely, it suffices to take $$
Lower bounds for the sample complexity. The dependency on the diameter D, , and cannot be improved, even in the IID case. To this end, consider an example with 2 MTS states, A and B, located at distance D from each other, and let , , , and . Say that the cost function has probability , and has probability . The optimal online policy simply stays put at A if , and stays put at B otherwise. When , the policy which stays put at A achieves a cost of , and the policy which stays put at B achieves a cost of . The difference between the two is , so the learner should be able to tell that staying put at A is the optimal policy. In other words, the empirical estimate of p should be greater than with probability at least . To achieve this, samples are necessary.
For the number of MTS states and Markov states, we currently do not have a matching lower bound, so it might be possible to improve the dependency.
Practicality for special cases of MTS. It is true that problems like k-server see an exponential blow-up when modeled as MTS. But there are also many applications without such exponential blow-up: For example, MTS models a system that can choose from a finite number of operating modes in which tasks can be serviced; here, the metric state size corresponds directly to the number of operating modes. It also models applications where the metric space points are the possible locations of a single movable object (e.g. process migration). The reason these are not famous named special cases of MTS in the theory literature is that they do not exhibit much additional structure beyond general MTS, not because they are necessarily less common than k-server. But also some named special cases of MTS without exponential blow-up exist: E.g. dynamic power management is an MTS where the metric space size is the number of power states, and ski-rental is an MTS in a 2-point metric space.
Perhaps the most fascinating open problem motivated by our work is whether sample complexities polynomial in natural problem parameters of MTS subproblems with special structure can be obtained (e.g., polynomial in k and metric space size for k-server). We believe that obtaining results for general MTS (rather than structured special cases) is an important first step. Analogously, in classical competitive analysis, results were first obtained for general MTS before they could be refined/improved for k-server several years later. Obtaining refined results for special cases would need to take advantage of the specific problem structure of each special case, which would seem to go beyond the scope of our paper that takes a more general perspective.
Proof sketch for new extensions beyond oracle access to D_x
To provide further details, we have included a proof sketch of the analysis underlying the two extensions beyond oracle access to . This can be found in our reply to Reviewer 51Vp.
Thank you for the additional proof sketch. The extension to learning from a single trajectory addresses my concern regarding the conditional-distribution oracle assumption. I encourage the authors to include these extensions, together with complete proofs, in the revised paper. While the rebuttal discusses the other issues I raised, it does not fully resolve my concerns regarding the scalability of the generic MTS formulation for structured problems or the extent of the paper’s technical novelty. Overall, however, I believe the rebuttal has strengthened the paper, and I retain my positive rating.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies Metrical Task Systems (MTS) under stochastic requests, first for IID requests and then for requests generated by a finite-state Markov chain. The main idea is to characterize the optimal online policy through average-cost Bellman optimality equations and approximate the corresponding fixed point using Halpern iteration on an empirical Bellman operator. The paper claims polynomial-time algorithms that, given sampling access to the request distributions, produce policies whose average cost is arbitrarily close to that of the best online policy.
Strengths and weaknesses
Strengths The work proposes a clean and potentially useful connection between stochastic MTS, average-cost MDPs, and non-expansive fixed-point methods. The Bellman-operator formulation avoids directly treating the full infinite state space induced by arbitrary cost functions, which is the main technical insight. The IID analysis is presented clearly, and the Markov extension is a natural and meaningful generalization. The experiments also attempt to validate the method on both synthetic caching and a real-world-inspired bike-sharing setting. Weaknesses Several key technical claims are not fully verifiable from the main text, especially the Markov-case proofs and the uniform concentration/sample-complexity arguments. The treatment of cost functions that may take value infinity needs stronger assumptions to ensure the Bellman operators and expectations are well defined. The paper also risks overstating practicality: although the algorithm is polynomial in the MTS state space, important reductions such as caching or k-server can make that state space exponentially large. The experimental evaluation is relatively weak compared with the strength of the theoretical claims. The theory gives additive average-cost guarantees, but the experiments report competitive ratios without clearly defining the denominator. Baseline fairness is also unclear, since some baselines appear to receive more model information than the proposed algorithm. The paper lacks sensitivity studies for sample size, Halpern iterations, Markov state design, and runtime scalability.
Questions
- How is the experimental competitive ratio defined, and how is its denominator computed or estimated?
- How are infinite service costs handled in the Bellman operators, expectations, and concentration bounds?
- Is the algorithm practical for reductions such as caching or k-server, where the MTS state space can grow exponentially?
Limitations
The approach relies on sampling access to each conditional request distribution, which may be unrealistic in real applications. It also assumes a finite, observable, irreducible Markov state process, while real workloads may be non-stationary or only partially observed. The method can become computationally expensive when the MTS representation is large, especially for structured problems such as k-server. Finally, the current empirical evidence is too limited to establish robust practical advantages beyond the tested small instances.
Final justification
Thank you for the clarification. I have updated my assessment to evaluate the paper under the authors’ intended Theory contribution type. Under this criterion, I agree that the experimental limitations should be weighted less heavily than in a general/empirical submission, and I appreciate the clarifications regarding the competitive-ratio definition, the treatment of infinite service costs, and the scope of general MTS results.
That said, I do not think all of my concerns are fully resolved. The empirical evaluation still does not directly validate the main theoretical guarantee, since it compares against an offline optimum rather than the best online policy. The real-world experiment also remains illustrative, because the data are not generated by the assumed Markov model. In addition, while I accept that some MTS applications avoid exponential blow-up, the scalability concern remains relevant for important special cases such as caching and k-server, which are also used in the experiments.
Overall, the rebuttal addresses several clarification issues and makes the paper stronger under the correct Theory contribution type. However, the remaining claim-evidence and practicality concerns prevent me from moving to a clear accept. I am therefore raising my rating to 4: Borderline Accept.
Formatting concerns
NO or VERY MINOR ethics concerns only
1 comment
Rebuttal
We thank the reviewer for their feedback and suggestions, and provide clarifications below.
Experimental results. The competitive ratio is defined as the ratio between the cost of the online algorithm and the cost of the optimal offline algorithm. We compute the latter quantity by dynamic programming – it is the minimum of all work function values at the end of the request sequence.
Since the experiments with real-world data are not generated by an actual Markov chain, we do not have the benchmark of an optimal online policy to compare against, and therefore we use the optimal offline policy as a benchmark. The experiments with real-world data show that algorithms designed for the Markov setting (which is often an imperfect model of reality) perform well beyond this idealized abstraction. Moreover, even if we replaced competitive ratio against optimal offline by competitive ratio against optimal online policy, it would only change the shared denominator of all curves, but not alter the relative shapes of the curves.
We believe our paper is best evaluated under the “Theory” contribution type (rather than “General” as selected by the reviewer), since our focus is on theoretical results, and hence we do not entirely agree that the relative brevity of our experimental section compared to the strength of the theoretical results should be seen as a weakness. Nevertheless, we agree that a more extensive experimental evaluation could be an interesting subject for a separate study.
Handling infinite service costs. Even though infinite service costs might seem difficult to handle at first glance, they actually do not create substantial difficulties. Note that if , then serving the request in state A is clearly suboptimal, as it would be cheaper to go from A to B, serve the request in B, and return back to A. Moreover, note that shifting a service cost function by an additive constant has the effect of changing the cost of every online policy by the same amount. Therefore, we can assume without loss of generality that each cost function only takes values in [0, 2D]. We will clarify this in the final version of our paper.
Practicality for special cases of MTS. It is true that problems like k-server see an exponential blow-up when modeled as MTS. We mention this explicitly in section 6, and so we hope our paper is not misleading or “overstating” in this regard. But there are also many applications without such exponential blow-up: For example, MTS models a system that can choose from a finite number of operating modes in which tasks can be serviced; here, the metric state size corresponds directly to the number of operating modes. It also models applications where the metric space points are the possible locations of a single movable object (e.g. process migration). The reason these are not famous named special cases of MTS in the theory literature is that they do not exhibit much additional structure beyond general MTS, not because they are necessarily less common than k-server. But also some named special cases of MTS without exponential blow-up exist: E.g. dynamic power management is an MTS where the metric space size is the number of power states, and ski-rental is an MTS in a 2-point metric space.
Perhaps the most fascinating open problem motivated by our work is whether sample complexities polynomial in natural problem parameters of MTS subproblems with special structure can be obtained (e.g., polynomial in k and metric space size for k-server). We believe that obtaining results for general MTS (rather than structured special cases) is an important first step. Analogously, in classical competitive analysis, results were first obtained for general MTS before they could be refined/improved for k-server several years later. Obtaining refined results for special cases would need to take advantage of the specific problem structure of each special case, which would seem to go beyond the scope of our paper that takes a more general perspective.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for their positive assessment of the problem and exposition. We address the three main concerns below.
Novelty of techniques. We agree that the individual ingredients of our analysis—average-cost Bellman equations, non-expansive operators, and Halpern iteration—are established techniques. The novelty of our paper instead lies in bridging two areas that have largely developed separately: online algorithms, which are traditionally studied in the adversarial setting, and Markov decision processes. Our contribution is not to introduce entirely new techniques, but to identify natural and useful connections between these areas and to rigorously adapt existing tools to the resulting stochastic online problem.
Trajectory access instead of conditional-distribution oracles. We agree that extending our analysis for the Markov setting beyond the setup of oracle access to each Dx is both natural and valuable, particularly if data is collected through historical traces. We have now extended the result in two ways:
If we assume that in the training stage we can repeatedly draw a state x from the stationary distribution (or some distribution close to the stationary one), and obtain a fresh sample from Dx, then the total number of required samples to learn an almost-optimal policy is the same as in our initial results (up to polylog factors).
If we assume that in the training stage we have access to a realization of length N of the Markov chain and cost functions, then we can bound N by additionally considering the mixing time τ of the chain. More precisely, it suffices to take $N=O(D2n∣X∣2/ϵ2+τ(D∣X∣/ϵ+log(1/δ))).$
Improved bounds to special cases of MTS. We share the reviewers’ view that it would be very interesting to obtain similar results for specialized MTS problems with sample complexity polynomial in smaller parameters than MTS state space, but obtaining such results for general MTS (where the metric space size is the main natural parameter) is an important first step. Similarly, the work function algorithm was proved competitive for general MTS several years before researchers were able to show improved guarantees for special cases like k-server. Obtaining refined results for special cases would need to take advantage of the specific problem structure of each special case, which would seem to go beyond the scope of our paper that takes a more general perspective.