Manuscript Offprint
arXiv:2611.06684The Online -Taxi Problem Is Competitive on All Metrics
Abstract
The online -taxi problem is a natural generalization of the -server problem: taxis must serve a sequence of requests in a metric space. Each request is a pair of points , and the algorithm serves the request by first moving a taxi to (to pick up a passenger) and then to (to drop off the passenger). The cost is the total distance traveled by the taxis without a passenger.
Previous bounds for general all depended on the number of points or the aspect ratio of the metric space, both of which can be infinite on general metrics, and competitive algorithms were previously known on general metrics only for . In this work, we give a -competitive randomized algorithm against adaptive online adversaries and, as a corollary, an -competitive deterministic algorithm for the online -taxi problem.
*Funded by the European Union (ERC, CCOO, 101165139). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. Email: christian.coester@cs.ox.ac.uk.
†Supported in part by NSF grant CNS-2107078. Email: yichenhuang@g.harvard.edu.
‡Email: tpoon@andrew.cmu.edu.
1 Introduction
In the online -taxi problem [FRR90], taxis are located in a metric space . Each request is a pair . The algorithm serves the request by first moving a taxi to to pick up a passenger and then driving the passenger to . An online algorithm must select a taxi to serve the current request without knowledge of future requests. The classical -server problem [MMS90] is the special case of -taxi in which for every request.
There are two versions of the problem, depending on which travel distances are included in the cost. In the “easy” version, the cost is simply the total distance traveled by the taxis, and the problem has exactly the same competitive ratio as the -server problem [CK19]. In the “hard” version of the problem, the cost is the total distance traveled to , and the distance from to is excluded. The motivation is that the distance from to is traveled by all algorithms regardless of their decisions, so the hard version charges only the overhead cost. Note that while the (offline) optimal strategy is unchanged, the smaller costs lead to a larger competitive ratio. Hereafter, we mean the hard version when we refer to the -taxi problem.
Despite the interest in the problem, a competitive ratio depending only on was previously known on general metrics only for [Kos96; CK19; CP26]. Other results give bounds that depend on parameters of the metric space. On an -point metric with aspect ratio at most , the randomized algorithm of [CK19] uses HST embedding techniques and is -competitive against oblivious adversaries. [BBCS21] obtains an -competitive randomized algorithm through the framework of metrical service systems with transformations. The algorithm of [BCN23] achieves a competitive ratio of . [GKP24] gives a randomized -competitive algorithm, using a covering relaxation on HSTs and a primal-dual algorithm. [CH26] uses online embedding techniques to achieve a competitive ratio of , where is the number of distinct points appearing in the initial configuration or the request sequence. Note that all competitive ratios involving or are vacuous even on simple metrics like the line or interval , where and are infinite.
Theorem 1.1. On every metric space, there is a randomized algorithm for the online -taxi problem with competitive ratio against adaptive online adversaries.
The ratio is exactly tight for [CK19]. Together with the lower bound for randomized algorithms against adaptive online adversaries [CK19], our result establishes that the optimal competitive ratio is and is tight up to a constant factor in the exponent. Because our proof employs an explicit potential function, we can derandomize the algorithm constructively [BBK+94].
Corollary 1.2. On every metric space, there is a deterministic algorithm for the online -taxi problem with competitive ratio .
Our algorithm behind Theorem 1.1 draws inspiration from the Harmonic algorithm for the -server problem [Gro91; BG00]. The Harmonic algorithm serves a request at with a server chosen
[CK19] proved a lower bound of 9 for deterministic 2-taxi algorithms, and we extend it to randomized algorithms against adaptive online adversaries in Appendix A.
with probability inversely proportional to its distance from . Instead, our algorithm additionally maintains a ranking among the taxis and assigns weight to the taxi with rank , defined by and for . For a request , we select the serving taxi with probability proportional to its weight divided by its distance to . The ranking is updated after each request so that, for each , the locations of the taxis with ranks are precisely the locations occupied by the same algorithm for the -taxi problem.² In particular, the taxi that serves the request moves to rank 1, where its new weight makes it less likely to serve the next request. Other taxis’ ranks (and thus weights) can only increase while they are not serving requests. Thus, taxis tend to increase their likelihood of serving requests the longer they remain idle.
The update rule of the ranking allows us to analyze the change in each prefix of the smallest ranks separately. As a result, we can prove competitiveness using a potential equal to a weighted sum of the minimum injective matching costs from each prefix of taxis to the offline taxis. This gives a new view of potentials involving online and offline configurations: partial configurations of different sizes become building blocks for analyzing the full configuration. Our ranking makes these partial configurations evolve as consistent smaller instances of the same algorithm, creating a hierarchy that enables the analysis. We believe this technique is of independent interest more generally for designing competitive online algorithms.
Note that while the Harmonic algorithm is memoryless, our algorithm uses the ranking of the taxis as additional memory. In fact, using memory is necessary, as we show that no lazy memoryless³ algorithm can be competitive even for on the line. This may be surprising because memory is not needed to obtain competitive algorithms for the -server problem on general metrics due to the Harmonic algorithm [Gro91; BG00], nor for the -taxi problem on ultrametrics/HSTs [CK19].
Theorem 1.3. On the real line, every lazy memoryless randomized algorithm for the online 2-taxi problem has infinite competitive ratio, even against an oblivious adversary.
1.2 Related Work
The -server problem, corresponding to the special case in which for each request, is one of the most prominent problems in online algorithms. Deterministically, the competitive ratio for -server is exactly [MMS90; KP95; CKZ26]. With randomization against oblivious adversaries, polylog-competitive algorithms were obtained in [BBMN15; BCL+18], and OpenAI [Ope26] recently announced one can achieve , matching the lower bound of in [BCR23]. The reader is referred to [Kou09] for a survey on the -server problem. Besides -taxi, many variants of the -server problem have been studied, such as the -server problem [BEJK17; BBCJ20], the infinite server problem [CKL17], the weighted and generalized -server problem [FR94; BEK17; BMC26; KT04; SS06; BEKN18], and online multiserver convex chasing and clustering [BRS21; CHM27].
All of the aforementioned -server variants (not including -taxi) belong to the general class of metrical task systems (MTS) [BLS92], whose tight worst-case competitive ratios on -point metric spaces are for deterministic algorithms and for randomized algorithms [BCLL21;
²An analogous property is known to be satisfied, for example, by Belady’s FiF (farthest-in-future) algorithm for offline paging [Bel66]: Denoting by the set of pages in the cache of that algorithm at time when run with cache size , [BCK+22] observed that for all and for any request sequence (provided the containment holds initially for ). While the property is a consequence of the simple greedy description of FiF, we use this property as a motivating design principle for our algorithm.
³See Section 6 for detailed definitions of memorylessness and laziness. Note that without laziness, algorithms on continuous metrics may encode their history in the lower-order bits of the taxis’ configuration.
CL22; BCR23]. The free passenger relocations in k-taxi are naturally captured by the extension to metrical service systems with transformations introduced by [BBCS21].
In a metrical service system, an algorithm must move to a point in each requested set. The version with sets of cardinality at most [CL91] is equivalent to width- layered graph traversal [PY91; FFK+98]. The reduction in [CK19] from layered graph traversal to -taxi establishes a connection that yields exponential deterministic lower bounds for the latter. This deterministic lower bound is further sharpened in [CT26].
2 Preliminaries
Let be a metric space. A request is an ordered pair and requires a taxi to be moved to (i.e., picking up the passenger) and then relocated to (i.e., transporting the passenger to ). Driving to costs the distance traveled; carrying the passenger from to is free.
We measure performance using the competitive ratio against an adversary who generates the requests and also serves them. An oblivious adversary must fix the request sequence ahead of time (without observing the outcome of the algorithm's random choices) and serves the sequence optimally. An adaptive online adversary can choose each request based on the algorithm's past actions, but must serve it immediately (and thus may not be optimal in hindsight). Note that the adaptive online adversary is more powerful than the oblivious adversary. Since our upper bound holds against adaptive online adversaries and the lower bound for memoryless algorithms against oblivious adversaries, both bounds therefore also extend to the other adversary model. For deterministic algorithms, the two adversary models are equivalent. We use ADV to denote the adversary and ALG to denote our algorithm. With a slight abuse of notation, we also use these symbols to denote their respective total costs. We write and for the respective costs incurred by the adversary and the algorithm in round .
A randomized algorithm is -competitive against an adversary ADV if for the sequence generated by the adversary, , where is a constant independent of the request sequence. For deterministic algorithms, the expectations can be dropped and ADV replaced by an optimal offline algorithm.
For a multiset and an element , we write and to insert or remove a single copy of , respectively.
We will use the exponential distribution. A random variable is sampled from an exponential distribution with rate , written , if the probability density function of is
We will use the following standard fact about exponential races (see, e.g., [Dur12, Equation 2.10] and [MU17, Lemma 8.5]): among independent exponential random variables, the probability that a given variable is the smallest is proportional to its rate.
Theorem 2.1. Let be independent random variables with and . Then,
Throughout this paper, we assume , since is trivial.
3 Algorithm Description
We maintain an initially arbitrary ordered list of the taxis. On receiving a request, we update the ordered list and serve the request with the first taxi in the new ordered list. We use to denote the configuration, which is an ordered list of locations of the taxis. The th taxi in the ordered list has weight , defined by and for . These weights are chosen to satisfy for .
On receiving the request , let . For each taxi such that , draw an independent exponential random variable of rate . The value of for a taxi already at is defined to be zero. Over the course of the ordered list update, we will swap the positions of the taxis in the ordered list, but these values remain attached to the corresponding taxis until the update is completed.
Update the ordered list by scanning the taxis in their original order . If taxi has a smaller value than the taxi currently in the first position, swap the positions of these two taxis in the ordered list; otherwise, do nothing. Finally, serve the request with the taxi in the first position. Pseudocode for the algorithm appears in Algorithm 1.
Algorithm 1 Online k-Taxi
Require: , , and for
Maintain an initially arbitrary ordered list .
while receiving requests do
for do
if then
else
Independently sample
if then
Swap and .
Serve the request with .
For , call the first positions the level- prefix. Within this prefix of the original ordered list, call the taxi with the smallest value the local winner. The taxi with the smallest value overall is called the global winner.
The algorithm always serves the request with the global winner. When some , it always uses a taxi already at r, breaking ties in favor of smaller original ranking. When all , it selects taxi i as the global winner with probability proportional to by Theorem 2.1. Crucially, the same selection rule applies at every level, as established in the following claim.
Claim 3.1 (Effect at each level). For , let be the index of the local winner in the original level- prefix, breaking ties by the smallest index. Let be the multiset of taxi locations in this prefix. After the algorithm updates the list and moves a taxi to , the multiset of locations in the new level- prefix is .
Proof. After the scan has processed slots , these slots still contain exactly the original first taxis, and taxi is at the front. Each later swap involves the taxi in the first position. After the global winner moves to , the multiset of locations in these slots is therefore .
In words, a prefix ending before the global winner's original position loses its local winner and gains the global winner, which is then moved to r, as depicted in Fig. 1. Thus, for any fixed m,

Figure 1: Changes in positions during the update of the ordered list. Here , is the first index with , and is the global winner. The global winner moves to the front, each taxi with moves back to position , and all other taxis keep their positions.
the multiset of locations in the level- prefix changes as if its local winner were moved to . This viewpoint will be helpful for understanding the analysis. Note that here we refer to the locations of the taxis in the level- prefix, instead of the identity of the taxis.
Example 3.2. We give a simple example to illustrate the update rule and the prefix property. Suppose the current ordered configuration is and the corresponding values are . The update produces : it first swaps with , leaves in place, and then swaps with .
The algorithm then moves to for the pickup. The multisets of locations in the level-1, level-2, and level-3 prefixes become , , and , respectively. At levels 2 and 3, these multisets change exactly as if the local winner had performed the pickup. The actual serving taxi is , and the ordered configuration after the pickup is .
A consequence of Claim 3.1 is that the locations of the first taxis in the list have exactly the same distribution as those of the algorithm with taxis running on the same request sequence: one can couple the evolution of the first taxi locations with the -taxi run.
Note that all taxis except the global winner will stay in place or move toward the end of the ordered list. Thus, while we place the global winner first and serve the request with it, a taxi's position in the ordered list is in general not monotone with respect to its value. On the other hand, being placed later in the ordered list increases a taxi's weight in future selections, giving more priority to a taxi that "almost" serves.
4 The Analysis
The central quantity in our analysis is the minimum injective matching cost. For finite multisets of locations in with , define
to be the minimum injective matching cost from to . For an online configuration , which is an ordered sequence of taxi locations, and an adversary configuration , we consider a potential of the form
where is the multiset of taxi locations in the level- prefix, and are coefficients that will be chosen later.
4.1 Setup
Consider a round where a request arrives, and write and for the respective movement costs of our algorithm and the adversary. We analyze round in three steps: First, the adversary moves a taxi to . Next, the algorithm updates its ordered list and moves a taxi to . Finally, both algorithms move their respective taxis from to .
We choose the coefficients to satisfy the following property: in the second step, where the adversary already has a taxi at r, the potential drops enough to pay for the algorithm's movement.
Property 4.1. For every round with request , every online configuration, and every adversary configuration containing ,
where is the potential change during the algorithm's ordered list update and movement to r.
For appropriately chosen such that Property 4.1 holds, Algorithm 1 is competitive:
Lemma 4.2. If Property 4.1 holds, then Algorithm 1 is -competitive against adaptive online adversaries.
Proof. Fix a round with request and condition on the history and the adversary's current move. Analyze the round in the steps discussed above, writing and for the respective movement costs.
- First, the adversary moves a taxi to . Since matching costs are 1-Lipschitz, .
• Next, the algorithm moves a taxi to . Property 4.1 ensures that .
- Finally, both move their respective taxis from to . We have , since an optimal injection can be chosen to match the online and offline taxis that serve the request to each other both before and after the relocation.
Taking full expectations and combining the three steps gives, in every round t,
Summing over all rounds and noting that the initial potential is 0 and the final potential is nonnegative gives .
It thus remains to prove Property 4.1. We begin by bounding the online movement cost. Fix the pickup location and . Recall that for . When , let be the normalizing constant for level .
Lemma 4.3. Fix a round with request and condition on the current configuration. If for all , then . Otherwise, if for some , .
Proof. If for some , then and the global winner must already be at . Otherwise, by Theorem 2.1,
4.2 Proof Idea
Fix a round with request , an online ordered list, and an adversary configuration containing . Recall that is the multiset of taxi locations in the online algorithm's level- prefix. As established in Claim 3.1, we can reason about each level separately. We bound , the expected change in the level- matching cost during the online algorithm's ordered list update and movement to . We first assume that for all and will handle zero distances later. We say a matching uses if it matches some to , and omits otherwise.
For , let be the change in if taxi were moved to :
By Claim 3.1 and the exponential race (Theorem 2.1), the local winner of the level-m prefix is with probability , in which case becomes . Thus, the expected change in the potential is
We fix an optimal matching from to at each level just after the offline algorithm's movement by building it successively. Start from . At level , augment along an augmenting path from to an unused offline vertex that minimizes the increase in matching cost, obtaining an optimal matching with image . The images form a nested sequence. Here and onwards, in slight abuse of notation we use interchangeably for the function from to and for the set of edges of the corresponding matching. Note that after the online update, the optimal target multisets may differ, so we will consider injections directly into after the update. Let be the first index with . In other words, levels omit , and levels use .
Analysis with a simplifying assumption. To illustrate the main idea of the proof, we first give a sketch with the additional assumption that is matched to r in the chosen optimum matching . Since is the first level whose matching uses r, one might naively think that is matched to r.
For levels , the optimum matching from to omits . Hence, if any taxi in is moved to , it can subsequently be matched to at cost 0 and the cost of the level- matching does not increase, i.e., for all . This allows us to upper bound the total expected change in the potential from levels by
For levels , by the triangle inequality, , so . Consequently, we can upper bound the total expected change in potential from levels by
At level , under the assumption that is matched to , the movement of to decreases the cost of the level- matching by exactly , i.e., . The expected change in potential at level is therefore at most
where we use and .
Recall from Lemma 4.3 that the expected online movement cost is . Combining all bounds above and using for gives
Choosing the coefficients to decrease geometrically and sufficiently rapidly with makes the final expression nonpositive and establishes Property 4.1, completing the proof sketch of competitiveness (albeit slightly weaker) under the simplifying assumption.
Roadmap for the general analysis. The main challenge is that the assumption that is matched to at level is not true in general, so the decrease in potential due to level alone may not suffice. However, in the sketch above, we only used the nonpositivity of potential changes for levels . In the general analysis, we will keep the decrease in potential at these levels, and show that a weighted sum of these earlier decreases bounds how far the matching-cost decrease at level falls short of .
To see the high-level idea, note that the symmetric difference is an alternating path from to . If the edges of on this path are short, alternating along this path would give a decrease close to , even if was not directly matched to . In general, the gap to the desired decrease is at most twice the total length of the edges of on this path. On the other hand, if the edges of have large lengths, we can show that the decreases in matching costs of levels are large.
Removing the assumption in this way would give a competitive ratio of . To obtain the sharper bound of , we apply the same argument at every level , rather than only at level . For each such , we can find a taxi with whose movement decreases the matching cost at level by nearly when certain edges of are short. This allows us to choose coefficients whose sum is , as promised.
4.3 Actual Potential Changes at Each Level
For each level , we seek a taxi , with , whose movement to decreases the matching cost by nearly . Equivalently, we want the normalized decrease to be close to 1. This taxi will be the endpoint of the alternating path from in . Alternating along this path reduces the matching cost by the length of the path minus twice the length of the -edges on this path.
Thus, we want to upper bound the length of the -edges on such an alternating path, relative to an unknown . Let

Figure 2: The alternating path in . The dashed old matching edges form the gaps between consecutive -edges. Here . Their online endpoints are within distance of , so their total length is at most . Moving to , matching it there at zero cost, and replacing the solid path edges by the old edges decreases the level- matching cost by at least .
As we show later (in Claim 4.4), a small value of implies that the edges of account for only a small fraction of the total length of any such alternating path from . See Fig. 2 for an illustration.
Write
so that is the expected change in the level- matching cost. We will show:
- (Claim 4.4) At each level , there is a taxi of rank whose movement to decreases the matching cost by at least times its distance to . Bounding the changes from the other taxis using gives
- (Claim 4.6) A weighted sum of the matching-cost decreases at levels bounds the capped value of :
Thus, when the first bound becomes weaker, these lower-level decreases can compensate.
These bounds make the sketch precise without the assumption. When , the first bound recovers the decrease at level under the assumption and improves the estimate for levels . Since the expected potential change is , we can choose exponentially decreasing coefficients so that the earlier decreases compensate for the loss at later levels. The cap at marks the point where the alternating-path analysis above no longer guarantees a strict decrease for levels from the selected taxis' move; in this case, the levels provide enough decrease to compensate.
Levels . The analysis for levels is straightforward from the definition of .
Claim 4.4 (Levels ). For every ,
Proof. Let be the alternating path from in . Since the image of is contained in that of , the path ends at an online taxi with . Let be the total length of and the total length of its -edges.
Switching along with its final edge removed gives a feasible matching of into . Optimality of therefore gives . Moving to and switching the remaining path edges gives
On the other hand, every old online taxi on has , so the definition of gives . Since , combining this with the nonpositive bound above gives
Bounding the changes from the other taxis by and using now gives
Levels . To show the second property, it will help to extend the definition of to all : for and the selected optimum matching , define
Recall that, since omits , is exactly the matching-cost decrease at level if is moved to . Define the normalized matching-cost decrease from moving as
Then . The next claim relates this decrease to the evolution of .
Claim 4.5 (Recurrence on ). For every , .
Proof. If the right-hand side is at least 1/2, the bound is immediate. Otherwise, . Set . We will show that . For each level, write
We will show that for all .
Let be the augmenting path that changes into , starting at and ending at the offline vertex that is unused by . Let be its total length and the total length of its old edges. Then
initial subpath from to : length

Figure 3: An initial subpath of for , with . It starts at and stops at the first online vertex within distance of (shaded). The new edge ending at is counted in because its online endpoint is outside; the final old edge is counted by .
Here every online taxi on is within distance of , and the last inequality follows from the definition of . Since , these inequalities give
The new edges along have total length .
If , retaining all unchanged edges and counting every new edge gives
Now let . If contains no old online taxi within distance of , then . Otherwise, let and be the total lengths of the -edges and -edges of , respectively, whose online endpoints have distance greater than from .
Traverse from , stopping at the first online taxi with (see Fig. 3 for an illustration). Since , this initial subpath has length at least . An offline vertex may already be inside, but every online taxi before is outside. Thus, all new edges on this subpath are counted by , and all old edges except the last are counted by . The last edge is the old assignment edge of , whose length is at most . Therefore,
The change in the cost counted inside distance T is the total matching-cost increase minus the change counted outside. Therefore,
The bound using follows because the old edges counted by and are disjoint, and all their online endpoints are within distance of .
Iterating this bound lets us bound the capped value of by the earlier matching-cost decreases.
Claim 4.6 (Levels ). For every , . Moreover,
Proof. For each , omits , so for every . Together with , this gives . Iterating Claim 4.5 from therefore yields
4.4 Choosing the Coefficients
Since for , the factor in Claim 4.6 suggests tail sums of decreasing by a factor of 9. Here, we first give a simpler, but slightly worse bound of , and then explain how to tighten it to . In this regard, we choose the tail sums for .
Lemma 4.7. For , Property 4.1 holds with
Consequently, Algorithm 1 is -competitive against adaptive online adversaries.
Proof. We first establish Property 4.1 that the potential decrease pays for the movement. First suppose all . The contribution from levels satisfies
The first inequality uses , which follows from for . Since and , replacing by gives an upper bound. The final inequality uses Claim 4.6.
For , the bound in Claim 4.4 is nonnegative, so replacing its denominator by preserves an upper bound. The coefficient choice and give
so Claim 4.4 gives
Combining these bounds with Lemma 4.3 yields
Now suppose a taxi is already at . Let be the smallest ranked taxi at . Every prefix of level is unchanged. If , then the expected change in potential at each changing level is nonpositive. Otherwise, levels form a sequence where . Applying the calculation until gives
Here the potential need only be nonincreasing, since the actual movement cost is zero. This completes the proof of Property 4.1.
Finally, , so Lemma 4.2 gives the competitive bound.
The ratio already suffices to certify a competitive algorithm on general metrics. To obtain the sharper bound, we keep the coefficients for and set . This requires a separate treatment of the level-1 prefix.
Lemma 4.8. For , Property 4.1 holds with
Consequently, Algorithm 1 is -competitive against adaptive online adversaries.
Proof. Only changes from Lemma 4.7. If , the level-1 matching cost is zero before and after the online update, so reducing leaves the preceding bound unchanged.
Now suppose , so . We bound the contribution from levels together with the movement cost. Consider the matching partner of .
If , then consider a modified adversary configuration where the location of is changed to for comparison. This preserves the adversary taxi at , so the preceding argument applies to the modified configuration. For all levels , this modification affects each matching cost by at most both before and after the online update. At level 1, the modified matching cost is zero before and after the online update, whereas the true matching cost decreases from to zero during the online update. Hence
It remains to consider the case , meaning . Here . If all , then using Claim 4.4 gives
which is enough to pay the movement cost. Otherwise, let be the smallest index with , then and only levels change. Truncating the same calculation at bounds the change in potential by , whereas the movement cost is 0. This proves Property 4.1.
Finally, , so Lemma 4.2 gives the competitive bound and proves Theorem 1.1. □
The ratio is tight for our algorithm, as shown in Appendix B.
5 Derandomizing the Algorithm
The derandomization follows from [BBK+94, Thm 3.1]. We provide a sketch here for completeness. Roughly speaking, one can use the distribution of our randomized algorithm as the adversary's distribution.
Proof of Corollary 1.2. We derandomize by using a virtual copy of our randomized algorithm as the adversary. More precisely, maintain an ordered configuration and the exact distribution of the taxi locations of an independent virtual copy of Algorithm 1.
On receiving , first advance the distribution of through its ordered list update and movement, obtaining . Among all possible outcomes of applying our randomized update and movement to , choose one minimizing , where is the movement cost. Since every configuration contains , Property 4.1, averaged over , guarantees that the chosen outcome satisfies
Finally, both the deterministic algorithm and the virtual copy carry the passenger to s.
The virtual movement increases by at most times its expected cost, whereas the simultaneous passenger relocation leaves the potential unchanged. Let and denote the respective total costs of the deterministic algorithm and the virtual copy, and let OPT be the optimal offline cost for the request sequence. Summing the preceding inequality therefore gives
6 Lazy Memoryless Algorithms Are Not Competitive
In this section, we prove that lazy memoryless algorithms cannot have a bounded competitive ratio. An algorithm is lazy if it only moves a single taxi to serve each request if there is no taxi at r, and uses a taxi at r otherwise. A lazy algorithm is memoryless if its distribution over serving locations, conditioned on the history, depends only on the unordered multiset of current taxi locations and the current request.
Theorem 1.3. On the real line, every lazy memoryless randomized algorithm for the online 2-taxi problem has infinite competitive ratio, even against an oblivious adversary.
In the main text, we give a short proof under the additional assumption of reflection invariance; the full proof without this assumption appears in Appendix C. We call a memoryless algorithm reflection-invariant if reflecting all locations about any point preserves the serving probabilities. Explicitly, if it serves from with probability when the taxis are at and , then it serves from with probability when the taxis are at and .
Intuitively, this restriction should be lossless: the line has no distinguished origin or orientation, and reflecting both an algorithm and a request sequence preserves all costs, so an absolute left-right preference should not improve the worst-case ratio.
Proof of Theorem 1.3 for reflection-invariant algorithms. Suppose that ALG is lazy, memoryless, and reflection-invariant. We may assume that its serving choice ignores the destination s by replacing a request with two requests , .
Start at configuration and issue the requests ; more precisely, for , request is . See Fig. 4 for an illustration.

Figure 4: Illustration of the requests. The white circle marks initial taxis. The adversary serves the first request using the taxi at 0 and continues for free. Conditional on being at before request , the online algorithm faces a symmetric pickup and uses the “wrong” taxi on the right with probability .
On the first request, the offline schedule uses its taxi at 0, pays 1, and reaches . It serves every later request for free and finishes request at .
If the online configuration before request is , its serving taxi travels to the midpoint . Reflection about gives probability to each taxi. Choosing the taxi at 0 makes the configurations agree after the request. Choosing the taxi at leaves the online configuration at . Once the configurations agree after a request, every subsequent request is free for the algorithm as well.
It follows by induction that the online configuration before request is with probability . Each request therefore contributes to the expected online cost. After requests, the algorithm has expected cost , while the offline schedule has paid only 1. Thus the competitive ratio is infinite.
AI Methodology
The authors first noticed, without AI assistance, that memory is necessary to achieve a competitive algorithm. Subsequently, the authors explored various algorithmic and analytic ideas, including ideas involving the maintenance of rankings between the taxis. The algorithm and proof in this paper then arose during communications with ChatGPT-6 Astra. ChatGPT-6.1 Sol and Claude Opus 5.5 were also used for polishing the exposition and creating the figures. The authors take full responsibility for the originality and correctness of all content.
A Lower Bound for 2-Taxi against Adaptive Online Adversaries
[CK19] proved that every deterministic algorithm for 2-taxi has competitive ratio at least 9, by a reduction from width-2 layered graph traversal. We prove the same bound for randomized algorithms against adaptive online adversaries by embedding the two-branch search game of [PY91, Section 2] directly into 2-taxi on the integer line.
The requests make the pickup location trace a search on the two sides of the origin: the algorithm either advances outward on its current side or pays to cross to the other side. The comparison schedule commits to one side in advance and pays only for progress on that side. Writing for the distance from the origin immediately before crossing , and setting , the construction will give total costs through crossing satisfying
The algorithm accumulates the lengths of all its excursions, whereas the comparison cost depends only on its progress on one side. We derive these relations and then show that they are incompatible with a competitive ratio below 9. Write for the sign of .
Theorem A.1. Every randomized algorithm for the hard 2-taxi problem has competitive ratio at least 9 against adaptive online adversaries, even on the integer line.
Proof. Suppose an algorithm is -competitive for some , with additive constant . We may assume that it is lazy and uses a taxi already at whenever possible, since deferring the movement of a taxi until it is used for a request can only decrease the cost. More formally, a lazy copy can simulate a virtual copy of any algorithm, maintaining a minimum-cost matching between their configurations. When the virtual serving taxi reaches , move its matched real taxi to ; if a real taxi is already there, an optimal matching can pair the two taxis at , giving a free pickup. Virtual paid movements increase the matching cost by at most their cost, real pickups decrease it by at least their cost, and simultaneous relocation from to leaves it unchanged. Starting from identical configurations, the lazy copy therefore pays no more in total. With deterministic matching tie-breaking, its past is determined by the virtual movement history, so an adaptive-online adversary against the lazy copy is also legal against the virtual algorithm.
Simulating the Two-Branch Search. Start both the online algorithm and the adversary at , issue , and set . Repeatedly issue a pickup test . After observing that the algorithm used the taxi previously at , issue and set . This relocation is a separate request: its destination can depend on the preceding test's outcome, and the taxi now at serves it for free. It ends one unit beyond the serving taxi's location before the test.
Before each test, one online taxi is at , the next integer outward from the current search position. The other is at the next unexplored integer on the opposite side: when the walk leaves a side, its taxi remains one unit beyond the departure point. Choosing the taxi on the current side advances by one unit; choosing the opposite taxi makes cross the origin. In either case, the test costs exactly the distance traveled by , and the relocation restores this invariant. Thus each return to a side resumes the outward search at the next unexplored integer.
For each , stop after the th crossing, including its relocation. Let be immediately before crossing , and put . The walk starts at and turns at alternating locations of absolute values . The initial outward movement costs , each stretch between successive turning points costs , and the final crossing ends at distance from the origin, costing . Summing gives
This is the cost expression in the classical two-branch sequence game [PY91, Lemmas 2.2–2.3].
The Adversary Strategy. The adversary decides how to serve each request before seeing the algorithm's response. Fix and commit in advance to the destination side of crossing : right for odd , left for even . On the initial request , the adversary uses the taxi at if committed to the left, and the taxi at 1 otherwise, paying at most 2. Thereafter, on a pickup test , it uses the taxi at if is on its committed side, paying 1; otherwise, it uses a taxi already at , paying zero. It serves each subsequent relocation request with the taxi at .
These rules maintain the configurations in Fig. 5. Before a test, the configurations agree when is on the committed side; otherwise, the adversary is at . Either possible algorithmic choice preserves this invariant after the following relocation. In particular, the taxi prescribed for each test is available before the algorithm responds. After a test, both players have a taxi at , so the prescribed relocation is also available and free. The relocation destination uses only the

(a) is on the committed side: both configurations are .

(b) is on the uncommitted side: the algorithm is at , and the adversary is at .
Figure 5: The adversary configurations before , with the committed side drawn as and denoting the online taxi on the opposite side of the origin from . Circles mark the algorithm's taxis, triangles mark the adversary's taxis, and crosses mark the pickup location . The adversary serves at cost 1 in (a), with its taxi at , and at cost 0 in (b), with its taxi at . Not drawn to scale.
previous test's outcome, and every adversary serving decision is fixed before the algorithm responds to that request.
The adversary pays once at each integer pickup location on its committed side. Successive visits resume one unit beyond the previous departure point, so these payments cover distinct points. Through crossing , the paid locations have absolute values . For , the walk leaves its committed side at crossing and pays nothing until crossing ; for , there are no unit payments and . Including the initial cost gives
The request-generation rule does not use ; only the comparison schedule and stopping rule do. Since the algorithm is not told either choice, all stopping indices can be coupled to the same random sequence .
Stopping at a Crossing. We must justify that the prescribed crossing occurs and that its costs have finite expectations. Truncate play after crossing or after test-relocation pairs, whichever comes first. Inductively assume , starting with ; use the common continuation above to define even if a truncation stops earlier. The same unit-payment count bounds the comparison cost of every truncation by . Competitiveness therefore bounds the expected online cost by , uniformly in .
Every pair costs at least one. If crossing never occurred, the online cost would consequently tend to infinity as . Monotone convergence and the uniform expectation bound rule this out and give finite expected cost through crossing . Equation (1) then gives , completing the induction and justifying expectations in (1)–(2).
Applying the Classical Sequence Argument. It remains to show that the two cost bounds cannot hold for . Competitiveness and (1)–(2) give
Thus every partial sum of the expected crossing distances is bounded by a multiple of its penultimate term, apart from the fixed constant . To absorb this constant, let for . Since , these shifted partial sums are eventually positive and strictly increasing, while for . For all sufficiently large ,
where the last inequality follows from . These successive growth ratios must exceed 1, but the displayed inequality contracts them by a factor of at most at every step. Iteration therefore forces a ratio below 1, a contradiction.
B A Matching Lower Bound for Our Algorithm
Here, we show that the factor is tight for our algorithm, already on the real line. The construction maintains configurations that differ in only one taxi: the algorithm has an extra taxi at a, and the adversary has an extra taxi at b > a. The remaining k - 1 taxis of each player can be paired at identical locations; we call these taxis common. By moving common taxis for free in both configurations, the adversary repeatedly arranges requests that can increase the gap b - a.
Theorem B.1. For every , our algorithm has competitive ratio at least against adaptive online adversaries on the real line.
The basic step uses the first positions of the online ordered list, for some . Arrange common taxis at and the extra online taxi at in position , then request . All first taxis are at distance from . Since , their local winner is the taxi at with probability and a common taxi at with probability . If the algorithm serves from , the configurations agree. If it serves from , the taxi arriving at becomes common, leaving an extra online taxi at and an extra adversary taxi at . The gap has doubled, so we can repeat the same step with as the new .
When there are later taxis, we place them much farther away. The global winner then comes from the common taxis at with probability approaching . Thus repeated choices from double the gap while their probabilities decrease by a factor approaching . A later taxi is selected with very small probability, but selecting it starts a continuation whose expected cost is proportional to its distance. These rare choices therefore remain significant in expectation and are essential to obtaining the factor . We now describe a finite construction implementing this idea, then calculate its expected cost.
Proof of Theorem B.1. We construct a finite adaptive online adversary that pays exactly one, while the expected online cost can be made arbitrarily close to . Fix a positive integer : for each fixed prefix size , we will issue at most requests of the form , rearranging the common taxis before each one. Choose and set , for . Successive locations satisfy . This large spacing will keep the later taxis far from the pickup even after the gap doubles times.
Starting the Construction. Start all taxis at zero. We first prepare identical configurations with online ordered list at no cost to either player. Recall that, among taxis already at the pickup, the algorithm uses the one appearing first in its ordered list before the update. For , issue exactly times, followed by exactly times. At the start of this step, the first taxis are at zero and every later position is already at its prescribed location. The first group moves these taxis to for free. By the zero-distance tie rule, the second group returns the first positions to zero, leaving position at . Finally issue to move the first taxi to . The adversary makes the same free relocations throughout.
Now issue and let the adversary use its taxi at , paying one. If the algorithm also serves from , terminate. Otherwise, suppose it serves from . The taxi arriving at zero is common, and the configurations now have an extra online taxi at and an extra adversary taxi at . Only the first online positions have changed: they contain the taxi at and common taxis, while every later position is still at and is common. We call the continuation from this configuration a level- stage. Throughout the construction, a taxi's position means its index in the online ordered list.
Continuing a Stage. A level- stage starts with the configuration just described. During the stage, the extra online location and all positions remain fixed, while the extra adversary location may change. We repeat the following preparation and request at most times.
Before issuing , we arrange the first online positions at and position at , as in the basic step. First gather the common prefix taxis at . For each such taxi not already at , issue at its current location , and let the adversary use its common taxi at . Both players serve these requests for free. The adversary can identify the required locations and multiplicities from the online configuration: remove the extra copy at and the suffix copies at , ; the remaining copies are precisely the common prefix taxis. Thus this preparation does not require observing the hidden ordered list.
All first online taxis are now at , and the adversary has common taxis there. Issue exactly times, using an adversary taxi already at each time. After of these requests, the zero-distance tie rule places the first online positions at and leaves positions at . Hence the required arrangement is obtained for free, regardless of the order of the prefix on entry. Every request in this preparation is served by a prefix taxi already at the pickup, so all suffix positions are preserved.
Issue , which the adversary serves for free with its extra taxi at . There are three possible outcomes:
-
If the algorithm serves from , the configurations agree; terminate.
-
If it serves from , the taxi arriving at becomes common, while the adversary has an extra taxi at . Set . The first positions still contain the extra online taxi at and common taxis, so we can repeat the preparation with this new . The gap has doubled. Terminate if this was the stage's th request .
-
If it serves from , the taxi arriving at becomes common, while the adversary has an extra taxi at . Only the first positions change. They contain the extra online taxi at and common taxis, and every later position remains at its prescribed location. Thus we have exactly the entry configuration for a level- stage; start that stage, with a fresh allowance of requests.
In particular, every new stage starts with , as required. Within a level- stage, after choices from , the gap is . For , the next common location therefore satisfies
. This is why we chose the spacing large compared with : the common taxis never reach the later fixed locations during the stage. The serving locations , and , are distinct, so observing the serving location identifies which outcome occurred.
Every request after the initial costs the adversary zero. Each request and the adversary's serving taxi are chosen before the algorithm responds; any relocation depending on a response is a separate subsequent request. The construction uses only visible locations and multiplicities. A new stage always has a strictly larger level, so at most stages occur, each with at most requests and a bounded number of free preparation requests. Thus, for each finite , the entire construction is a finite adaptive online adversary with total cost exactly one.
Expected Cost Starting from a Stage. Keep fixed and let ; all terms below refer to this limit. Working backwards through , we obtain coefficients depending only on . We show that a level- stage, including all subsequent stages, has expected remaining online cost at least . At level , assume these bounds are already known for .
Consider the request after choices from in the current stage, where . Write for the current gap, so . Immediately before this request, the free preparation puts the first positions at and position at , all at distance from . Since , the total exponential rate is
The asymptotic relation holds because and are at most a fixed multiple of , whereas for every . The probability of serving from therefore tends to .
The expected online cost of this one request is exactly . Indeed, a taxi at distance with weight is chosen with probability , so its contribution is ; summing over all positions gives . Thus even the rare choices of later taxis contribute to the immediate expected cost.
We must also count the remaining cost when a later taxi is chosen. For , serving from has probability and starts a level- stage. Its expected contribution, using the inductive bound, is at least
Here : the large continuation cost cancels the small selection probability. Adding these contributions to the immediate request cost gives the lower bound
This accounts for the current request and all later stages started by this request. It does not yet count further requests at the current level.
To reach this request, the preceding requests at level must all have selected a common taxi at . Conditional on reaching each preceding request, the algorithm chooses from with probability tending to . Hence the probability of reaching request tends to . Its gap is . Consequently, its expected contribution has a factor after normalization by the entry gap
. Summing over counts all requests in the stage and all subsequent stages exactly once. Since
we obtain the desired bound by defining and
For , the sum is empty and this gives , starting the induction. The same calculation then gives each preceding coefficient. The estimates are uniform over the finitely many requests and levels, and the free preparation fixes the ordered configuration before each request regardless of the prefix order on entry.
The Resulting Lower Bound. For , compare (3) at and . Since , we obtain
Together with , this gives for . Thus each additional level contributes a factor , approaching 9 as grows.
It remains to count the initial request and the stage it starts. Its total rate is , which tends to one, so its expected immediate cost tends to . Serving from has probability asymptotic to and starts a stage of expected remaining cost at least . Its contribution is therefore at least . Hence
The middle equality follows from (3) at and . The adversary pays exactly one. For fixed finite , taking sufficiently large makes the expected online cost at least this bound minus any prescribed error. Increasing then makes the bound approach .
Finally, we choose finite parameters and remove the additive constant. Fix and an additive constant . Choose finite and then finite so that the expected online cost is . Scale every location by a factor . All exponential rates are divided by , preserving the distribution of serving choices and ordered-list updates, while both costs are multiplied by . The initial configuration remains all zero, so the same additive constant applies. Taking gives .
C The Memoryless Lower Bound Without Reflection Invariance
We prove Theorem 1.3 without the reflection invariance assumption used in Section 6. The midpoint construction there relies on equally likely serving choices. Without symmetry, those choices may be biased. We instead compare the same online configuration and request with two different offline configurations. Memorylessness forces the same serving probability in both comparisons, giving constraints that no bounded discrepancy cost can satisfy.
Theorem 1.3. On the real line, every lazy memoryless randomized algorithm for the online 2-taxi problem has infinite competitive ratio, even against an oblivious adversary.
Suppose that ALG is a lazy memoryless algorithm with competitive ratio and additive constant .
An Oriented Discrepancy Cost. When the configurations differ in one taxi, write for the extra online location and for the extra offline location; the other taxi is common. We will measure the expected online cost that this discrepancy can cause while the offline schedule pays nothing. The common taxi can be relocated to for free in both configurations, giving online configuration and offline configuration . A reverse free relocation restores its former location. By memorylessness, these relocations do not affect the supremum of future costs, so we use these configurations to define our discrepancy cost.
Let free( ) denote the set of finite request sequences that the offline configuration can serve for free. Define by
where ALG starts at . The order of the arguments matters, and need not equal .
To create this discrepancy from identical configurations, start both players at and issue followed by . The starting configuration can itself be obtained for free from any common initial configuration by requesting each of the two initial taxi locations with destination . After , both configurations are . By laziness, the algorithm then uses its taxi at and returns to for free. The offline schedule instead uses its taxi at , pays , and finishes at . Repeating this preparation and a suitable free offline continuation will bound by times the preparation cost.
Lemma C.1. The function F satisfies
Proof. The request costs online and zero offline, proving the lower bound.
For the upper bound, fix a sequence in the definition of . While the offline schedule serves it for free, the configurations either coincide or their only unmatched online taxi remains at x. Indeed, when the algorithm has a taxi at the pickup, both players make the same free relocation. Otherwise, the algorithm either uses its extra taxi at x and makes the configurations agree, or uses the common taxi and leaves the unmatched online taxi at x.
If the final offline configuration is , append , . These requests return the offline configuration to for free. The same discrepancy invariant shows that the online configuration also returns to ; its reset may have positive cost, which only strengthens the lower bound on its total cost.
Repeat the preparation, , and the reset times. This is one finite request sequence fixed in advance: the free offline trajectory, including and , is determined by . Memorylessness makes the expected cost of the same on every repetition, since its online starting configuration is always . The offline schedule pays , so competitiveness gives
Letting removes the additive constant. Taking the supremum over proves the upper bound and, in particular, shows that F is finite.
The second constraint comes from an online configuration and request , for three distinct points . Let be the probability of serving from . With offline configuration , choosing makes the configurations agree, whereas choosing leaves an extra online taxi at and an extra offline taxi at . With offline configuration , choosing makes the configurations agree, whereas choosing leaves an extra online taxi at and an extra offline taxi at . The algorithm sees the same configuration and request in both cases, so the two comparisons use the same .
Lemma C.2. For every three distinct points , there is a such that
Proof. For the first comparison, precede the request by the free request . Starting from the defining configurations for , this gives online configuration and offline configuration . The two serving choices have the costs and discrepancies described above.
To realize the continuation cost , fix a sequence approaching its supremum and append it after the request . If the discrepancy survives, this free request changes online configuration and offline configuration into the defining configurations and . If the configurations have agreed, the same request instead puts both at , and the chosen continuation is free for both. Thus one continuation, chosen before the serving choice is observed, gives the first inequality in Lemma C.2. An arbitrarily close approximation to the supremum suffices.
For the second comparison, start from the defining configurations for and use the free request to reach online configuration and offline configuration . If serving leaves the discrepancy, append to obtain online configuration and offline configuration , then a fixed continuation approaching . On the branch where the configurations agree, the same continuation is free. This proves the second inequality with the same . Each comparison uses a request sequence fixed in advance; neither continuation is selected after observing the random outcome.
We now show that the bounds and comparisons in Lemmas C.1 and C.2 are incompatible. The difficulty is that is oriented: the costs of the two directions of a gap may differ. The next argument uses backward-oriented costs to find short steps, then the two comparisons force the forward-oriented normalized cost to increase.
Lemma C.3. For any finite , no function satisfies the bounds in Lemma C.1 and the comparisons in Lemma C.2.
Proof. We will choose a left endpoint and move the right endpoint towards it, tracking . An averaging argument finds an interval with few exceptional points. At every other point used by our walk, we can take a short step that increases this ratio by at least the logarithm of the factor by which the step reduces the gap. At exceptional points, we take unit steps; their total shortfall from this logarithmic increase is bounded only in terms of . The logarithms telescope to the logarithm of the ratio between the initial and final gaps. Making that ratio sufficiently large forces an increase exceeding , a contradiction.
Finding the Interval. Fix an integer , which will be the ratio of spatial scales, and an integer , providing many scales over which to average. For a fixed right endpoint , we examine the smallest normalized cost of a backward gap as the allowed gap length grows. For each , define
These minima lie in and are nonincreasing in , since increasing allows more candidate lengths. Their total decrease is at most . For , call exceptional at scale if . Each exceptional scale contributes a decrease greater than 1, so a point is exceptional at fewer than scales.
Averaging over the scales, some scale has at most exceptional points. Now partition into blocks of consecutive points. Averaging over these blocks gives one with at most exceptional points. Write it as
At a nonexceptional point in this block, choose an integer attaining . The whole backward gap from to has length , so it is one of the candidates defining . Hence
Thus a short backward gap has normalized cost at most 1 above that of the whole backward gap. We use this bound on to control a serving probability, which in turn forces an increase in the opposite orientation .
Shortening the Gap. Starting at , decrease until . At , take the step chosen above if is nonexceptional, and take the unit step otherwise. Every step has positive integer length at most , so the walk ends at some with . Before every step, , and therefore at a nonexceptional point.
For a nonexceptional step, apply Lemma C.2 to , with . The second comparison involves the backward-oriented costs and gives
Since , the factor multiplying is at least , so . The first comparison reads
Because , its right-hand side is nonincreasing in . Substituting and dividing by yields
where the last inequality uses . The logarithm records the multiplicative reduction in the gap.
At an exceptional point, we do not have the short-gap bound, so we use a unit step. The second comparison, now with , together with and , gives . The first comparison and , together with , give the logarithmic lower bound up to an error:
Since , the error at each exceptional step is at most . The walk visits at most exceptional points because strictly decreases, so the total error is at most , independently of . Adding the step bounds makes the logarithms telescope:
The left-hand side is at most . Choosing sufficiently large gives a contradiction.
By Lemmas C.1 and C.2, the discrepancy cost satisfies both required properties. Applying Lemma C.3 therefore contradicts the assumed finite competitive ratio , proving Theorem 1.3.
References
[BBCJ20] Marcin Bieńkowski, Jarosław Byrka, Christian Coester, and Lukasz Jež. “Unbounded Lower Bound for k-Server against Weak Adversaries”. In: Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing (STOC). ACM, 2020. 2
[BBCS21] Sébastien Bubeck, Niv Buchbinder, Christian Coester, and Mark Sellke. “Metrical Service Systems with Transformations”. In: 12th Innovations in Theoretical Computer Science Conference (ITCS 2021). Vol. 185. Leibniz International Proceedings in Informatics (LIPIcs). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. 1, 3
[BBK+94] Shai Ben-David, Allan Borodin, Richard M. Karp, Gábor Tardos, and Avi Wigderson. “On the Power of Randomization in On-Line Algorithms”. In: Algorithmica 11.1 (1994). 1, 14
[BBMN15] Nikhil Bansal, Niv Buchbinder, Aleksander Madry, and Joseph Naor. “A Polylogarithmic-Competitive Algorithm for the k-Server Problem”. In: Journal of the ACM 62.5 (2015). 2
[BCK+22] Nikhil Bansal, Christian Coester, Ravi Kumar, Manish Purohit, and Erik Vee. “Learning-Augmented Weighted Paging”. In: Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM, 2022. 2
[BCL+18] Sébastien Bubeck, Michael B. Cohen, Yin Tat Lee, James R. Lee, and Aleksander Madry. “k-Server via Multiscale Entropic Regularization”. In: Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing (STOC). ACM, 2018. 2
[BCLL21] Sébastien Bubeck, Michael B. Cohen, James R. Lee, and Yin Tat Lee. “Metrical Task Systems on Trees via Mirror Descent and Unfair Gluing”. In: SIAM Journal on Computing 50.3 (2021). 2
[BCN23] Niv Buchbinder, Christian Coester, and Joseph Naor. “Online k-Taxi via Double Coverage and Time-Reverse Primal-Dual”. In: Mathematical Programming 197.2 (2023). 1
[BCR23] Sébastien Bubeck, Christian Coester, and Yuval Rabani. "The Randomized k-Server Conjecture Is False!" In: Proceedings of the 55th Annual ACM Symposium on Theory of Computing (STOC). ACM, 2023. 2, 3
[BEJK17] Nikhil Bansal, Marek Eliás, Lukasz Jež, and Grigorios Koumoutsos. "The (h, k)-Server Problem on Bounded Depth Trees". In: Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM, 2017. 2
[BEK17] Nikhil Bansal, Marek Eliás, and Grigorios Koumoutsos. "Weighted k-Server Bounds via Combinatorial Dichotomies". In: Proceedings of the 58th Annual IEEE Symposium on Foundations of Computer Science (FOCS). IEEE Computer Society, 2017. 2
[BEKN18] Nikhil Bansal, Marek Eliás, Grigorios Koumoutsos, and Jesper Nederlof. "Competitive Algorithms for Generalized k-Server in Uniform Metrics". In: Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM, 2018. 2
[Bel66] Laszlo A. Belady. "A Study of Replacement Algorithms for a Virtual-Storage Computer". In: IBM Systems Journal 5.2 (1966). 2
[BG00] Yair Bartal and Eddie Grove. "The Harmonic k-Server Algorithm Is Competitive". In: Journal of the ACM 47.1 (2000). 1, 2
[BLS92] Allan Borodin, Nathan Linial, and Michael E. Saks. "An Optimal On-Line Algorithm for Metrical Task System". In: Journal of the ACM 39.4 (1992). 2
[BMC26] Adithya Bijoy, Ankit Mondal, and Ashish Chiplunkar. "Weighted k-Server Admits an Exponentially Competitive Algorithm". In: Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM, 2026. 2
[BRS21] Sébastien Bubeck, Yuval Rabani, and Mark Sellke. "Online Multiserver Convex Chasing and Optimization". In: Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA). Society for Industrial and Applied Mathematics, 2021. 2
[CH26] Christian Coester and Yichen Huang. "Online Monotone Metric Embeddings". In: 53rd International Colloquium on Automata, Languages, and Programming (ICALP). LIPIcs. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026. 1
[CHM27] Christian Coester, Yichen Huang, and Michael Mitzenmacher. "Competitive Online Clustering with Movement Cost". In: Proceedings of the 2027 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM, 2027. 2
[CK19] Christian Coester and Elias Koutsoupias. "The Online k-Taxi Problem". In: Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC). ACM, 2019. 1–3, 15
[CKL17] Christian Coester, Elias Koutsoupias, and Philip Lazos. "The Infinite Server Problem". In: 44th International Colloquium on Automata, Languages, and Programming (ICALP 2017). Vol. 80. Leibniz International Proceedings in Informatics (LIPIcs). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. 2
[CKZ26] Christian Coester, Elias Koutsoupias, and Marek Zbysiński. The k-server conjecture is true. 2026. arXiv: 2609.15979 [cs.DS]. 2
[CL22] Christian Coester and James R. Lee. "Pure Entropic Regularization for Metrical Task Systems". In: Theory of Computing 18.23 (2022). 3
[CL91] Marek Chrobak and Lawrence L. Larmore. "The Server Problem and On-Line Games". In: On-Line Algorithms. Vol. 7. DIMACS Series in Discrete Mathematics and Theoretical Computer Science. American Mathematical Society, 1991. 3
[CP26] Christian Coester and Tze-Yang Poon. "Online 3-Taxi on General Metrics". In: Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM, 2026. 1
[CT26] Christian Coester and Alexa Tudose. "Chasing Small Sets Optimally Against Adaptive Adversaries". In: 53rd International Colloquium on Automata, Languages, and Programming (ICALP). Vol. 374. LIPIcs. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026. 3
[Dur12] Richard Durrett. Essentials of Stochastic Processes. 2nd ed. Springer Texts in Statistics. New York: Springer, 2012. 3
[FFK+98] Amos Fiat, Dean P. Foster, Howard J. Karloff, Yuval Rabani, Yiftach Ravid, and Sundar Vishwanathan. "Competitive Algorithms for Layered Graph Traversal". In: SIAM Journal on Computing 28.2 (1998). 3
[FR94] Amos Fiat and Moty Ricklin. "Competitive Algorithms for the Weighted Server Problem". In: Theoretical Computer Science 130.1 (1994). 2
[FRR90] Amos Fiat, Yuval Rabani, and Yiftach Ravid. "Competitive k-Server Algorithms (Extended Abstract)". In: Proceedings of the 31st Annual Symposium on Foundations of Computer Science (FOCS). IEEE Computer Society, 1990. 1
[GKP24] Anupam Gupta, Amit Kumar, and Debmalya Panigrahi. "Poly-logarithmic Competitiveness for the k-Taxi Problem". In: Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). SIAM, 2024. 1
[Gro91] Edward F. Grove. "The Harmonic Online K-Server Algorithm Is Competitive". In: Proceedings of the 23rd Annual ACM Symposium on Theory of Computing STOC. 1991. 1, 2
[Kos96] Andrew P. Kosoresow. "Design and analysis of online algorithms for mobile server applications". PhD thesis. Stanford University, 1996. 1
[Kou09] Elias Koutsoupias. "The k-server problem". In: Computer Science Review 3.2 (2009). 2
[KP95] Elias Koutsoupias and Christos H. Papadimitriou. "On the k-Server Conjecture". In: Journal of the ACM 42.5 (1995). 2
[KT04] Elias Koutsoupias and David Scot Taylor. "The CNN Problem and Other k-Server Variants". In: Theoretical Computer Science 324.2-3 (2004). 2
[MMS90] Mark S. Manasse, Lyle A. McGeoch, and Daniel D. Sleator. "Competitive Algorithms for Server Problems". In: Journal of Algorithms 11.2 (1990). 1, 2
[MU17] Michael Mitzenmacher and Eli Upfal. Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis. 2nd. Cambridge University Press, 2017. 3
[Ope26] OpenAI. Squared-logarithmic randomized k-server on arbitrary metrics. OpenAI Math Release preprint OAI:Squared-logarithmic-randomized-k-server-on-arbitrary-metrics-September-24-2026. 2026. 2
[PY91] Christos H. Papadimitriou and Mihalis Yannakakis. "Shortest Paths without a Map". In: Theoretical Computer Science 84.1 (1991). 3, 15, 16
[SS06] René A. Sitters and Leen Stougie. "The Generalized Two-Server Problem". In: Journal of the ACM 53.3 (2006). 2