Manuscript Offprint
arXiv:2610.25188Strategy recovery for Mean-Payoff Games is as hard as solving them from scratch
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Mean-Payoff Games (MPGs) form an interesting family of deterministic, infinite-duration, zero-sum, turn-based games played by two players on a finite weighted directed graph. The goal of the players is to minimize, respectively maximize, the limiting average of the costs of the edges on an infinite path constructed by the two players. The complexity of solving MPGs is a long-standing open question. The decision problem associated with these games is known to be in NP ∩ co-NP, and even UP ∩ co-UP, yet the problem is not known to be in P. This is one of the simplest combinatorial problems with such a status.
A full solution of an MPG gives the value of each vertex of the game, along with a pair of optimal strategies for the two players. (Each player has a succinct positional optimal strategy.) The problem of finding optimal strategies for the players given the values of all vertices is known as the strategy recovery problem. We describe a simple reduction from the problem of solving MPGs to the strategy recovery problem for MPGs. This shows that the strategy recovery problem for MPGs is essentially as hard as solving MPGs from scratch, i.e., without knowing the values. The reduction uses simple game transformations and simple self-reducibility and peeling arguments. This answers a question of Andersson and Miltersen. Mamino obtained a similar result for stochastic games with a limiting average objective, but his technique does not extend to deterministic games such as MPGs. We go one step further and show that finding an optimal strategy for one of the players of an MPG remains hard even if an optimal strategy of the second player, and hence all the values, are known.
1 Introduction
Given the distances from a vertex s to all other vertices in a weighted directed graph, a tree of shortest paths from s can be constructed in linear time. Similarly, given the values of all vertices, or states, of a discounted Markov Decision Process (MDP) [24], or of a discounted 2-Player Turn-Based Stochastic Game (2-TBSG) [16], the 2-player version of MDPs, corresponding optimal strategies of the two players can again be found in linear time. (It is not known, however, how to find the values of a 2-TBSG in polynomial time when the discount factor is part of the input.)
In sharp contrast, we show that for the family of Mean Payoff Games (MPGs) [8], a 2-player deterministic version of 2-TBSGs with a limiting average objective, instead of a discounted objective, the Strategy Recovery problem, i.e., the problem of finding optimal strategies for the two players given the values of all vertices, is, up to polynomial factors, as hard as solving MPGs from scratch.
More formally, we can define four problems related to the solution of MPGs. (See Figure 1.) The first problem asks for a complete solution of an MPG, i.e., obtaining the values of all vertices and a pair of optimal strategies for the two players. (The values can actually be computed in polynomial
*Max Planck Institute for Informatics, Saarbrücken, Germany. E-mail: ddorfman@mpi-inf.mpg.de.
Blavatnik School of Computer Science and AI, Tel Aviv University, Israel. E-mail: zwick@tau.ac.il.

Figure 1: The four MPG problems considered. Here G stands for an MPG, is a vector giving the values of all vertices in G, and and are optimal strategies of the two players. (The values are uniquely determined by G, the optimal strategies and are not necessarily unique.)
time given a pair of optimal strategies, or even just one optimal strategy.) The Strategy Recovery problem, introduced by Andersson and Miltersen [1], asks for the computation of optimal strategies for the two players given the values of all vertices. We introduce two additional problems. The Find Other Strategy problem asks for finding an optimal strategy of one of the players, say player 1, given an optimal strategy of player 0. Finally, the Zero Strategy Recovery problem asks for optimal strategies and of the two players under the promise that all the values in the input game are 0. For brevity, we refer to the four problems as SOLVE, RECOVER, FINDOTHER and ZERORECOVER. Our main result is the following:
Theorem 1.1. The four MPG problems SOLVE, RECOVER, FINDOTHER and ZERORECOVER are equivalent under polynomial time Turing reductions.
This, in particular, answers an open question left by Andersson and Miltersen [1] and extends a result of Mamino [21] that applies only to games that allow stochastic moves. The proof of Theorem 1.1, without introducing stochastic moves, requires some new ideas.
For parity games, Friedmann [12] shows that recovering winning strategies, even when all vertices are known to be winning for a specified player, and the problem of solving the game from scratch are equivalent under polynomial time Turing reductions.
The equivalence of FINDOTHER to the other problems is somewhat surprising. The problem of finding an optimal strategy of a player given an optimal strategy of the other player seems to be a problem that involves only one player, and such problems can usually be solved in polynomial time. Indeed, an optimal counter strategy of a player, also known as a best response, i.e., an optimal strategy for a player when the other player uses a fixed strategy, can be found in polynomial time. However, a best response of player 1 to an optimal strategy of player 0 is not necessarily an optimal strategy for player 1, as can be shown by simple examples. (See Section 8.)
The equivalence of SOLVE to the other three problems is under Turing reductions, and not Karp many-one reductions. We describe a way of solving an MPG by making a polynomial number of calls, and not just one call, to an oracle that solves the RECOVER problem, or the FINDOTHER problem, or the ZERORECOVER problem. Each call is on a problem whose size is polynomial in the size of the input game.
We additionally show that RECOVER, FINDOTHER, and ZERORECOVER are equivalent under Karp many-one reductions.
The strategy recovery problem for MPGs becomes easy again when given not only the values of all vertices, but also corresponding biases, also known as potentials. (See the next section.)
2 Mean-Payoff Games
Mean-Payoff Games (MPGs) are a family of deterministic, infinite-duration, zero-sum, turn-based games played by two players on a finite weighted directed graph. They were defined, among others, by Ehrenfeucht and Mycielski [8], Gurvich, Karzanov, and Khachiyan [15] and Zwick and Paterson [27]. In this section we give a brief introduction to MPGs, and collect all the known facts about MPGs used by our reductions. For a more thorough treatment of MPGs, and for proofs of all the results stated here, see, e.g., Fijalkow et al. [10].
Definition 2.1 (MPGs). A Mean-Payoff Game is a tuple . Here, is the set of vertices of the game, and form a partition of , i.e., and , is the set of directed edges of the game, and is a cost function. It is assumed that each vertex in has at least one outgoing edge. is the set of vertices controlled by player 0, the minimizer, and is the set of vertices controlled by player 1, the maximizer.
Definition 2.2 (Plays and outcomes). The two players of an MPG jointly construct an infinite walk , also known as a play, from an initial vertex , as follows. If , then player 0 extends the walk by choosing an edge . If , then player 1 chooses an edge . The outcome of the game is . Player 0 wants to minimize the outcome, while player 1 wants to maximize it.
Definition 2.3 (Strategies). A strategy of player 0 in G is a function that maps every finite walk in G, where , into an edge . A strategy for player 1 is defined analogously. We let and be the sets of all strategies of player 0 and player 1, respectively. A positional strategy is a strategy that depends on only through . A positional strategy for player 0 is thus a function that maps every vertex to an edge . We let and be the set of all positional strategies of the two players. (Note that and , unlike and , are finite sets.)
Strategies as defined above are deterministic. It is possible to define randomized strategies as probability distributions over deterministic strategies. But, as the games are deterministic and do not involve concurrent moves by the two players, it is not difficult to see that no player can benefit from using a randomized strategy. Thus, all the strategies considered in the paper are deterministic.
The outcome can also be defined as . This makes essentially no difference. The outcome cannot be defined as as this limit is not guaranteed to exist.
Definition 2.4 (play and out ). If and are strategies of the two players, we let play be the walk obtained when the two players use and starting from . We let out be the resulting outcome.
The following intuitive, but non-trivial, theorem says that MPGs are positionally determined, i.e., they have values, and that both players have positional strategies that are optimal from every starting vertex. For a proof of the theorem, see, e.g., Ehrenfeucht and Mycielski [8], Gurvich, Karzanov, and Khachiyan [15], Björklund, Sandberg, and Vorobyov [2], or Fijalkow et al. [10]. The theorem is a very restricted case of much more general theorems that apply to concurrent stochastic games. See, e.g., [9, 13, 20, 22, 25].
Theorem 2.5. For every MPG there is a function such that
Furthermore, there exist positional strategies and of the two players such that
(Note that the sup and inf are over arbitrary strategies.) The strategies and are said to be positional optimal strategies. (Positional optimal strategies are not necessarily unique.)
As Theorem 2.5 establishes the existence of positional optimal strategies, all strategies considered in the rest of the paper are positional. The following useful lemma is immediate:
Lemma 2.6. If is an MPG, and are positional strategies of the two players, and , then is composed of a path that leads to a cycle which is repeated forever, and is the average edge weight on the cycle. In particular, can be computed in linear time.
As mentioned, solving an MPG means finding the values , for every , and a pair of positional strategies and that are optimal from every starting vertex. The corresponding decision problem is easily shown to be in NP co-NP, and even UP co-UP (Jurdziński [18]). Yet the problem is not known to be in P. This is one of the simplest combinatorial problems with such a status. The question whether MPGs can be solved in polynomial time is a major open problem.
The fastest known algorithms for solving MPGs are either pseudopolynomial, i.e., run in polynomial time when the edge costs are integers encoded in unary (Zwick and Paterson [27], Brim, Chaloupka, Doyen, Gentilini, and Raskin [5], Comin and Rizzi [7]), or randomized and subexponential (Björklund and Vorobyov [3, 4], Hansen and Zwick [17], Zwick [26]).
Given a strategy of player 0 in an MPG , it is possible to find in polynomial time an optimal counter strategy of player 1, and vice versa.
Lemma 2.7. Given an MPG and a strategy of player 0, it is possible to find in polynomial time an optimal counter strategy of player 1, i.e., a strategy such that , for every . Similarly, given a strategy of player 1, it is possible to find in polynomial time an optimal counter strategy of player 0.
Lemma 2.7 is proved by noting that finding an optimal counter strategy in an MPG corresponds to solving a 1-player MPG, i.e., an MPG in which or , and such a problem is essentially equivalent to finding Minimum (Maximum) Mean Weight Cycles, a problem that can be easily solved in polynomial time. (See, e.g., Karp [19].) As corollaries of Lemma 2.7 we get the following:
Corollary 2.8. If is known to be an optimal strategy of player 0 in an MPG , then the values , for , can be computed in polynomial time. The same holds if is known to be an optimal strategy of player 1 in .
Proof. Using Lemma 2.7 we compute an optimal counter strategy of player 1 to . We then have , for every . The other case is proved similarly.
Corollary 2.9. Given an MPG and strategies and of the two players, it is possible to check in polynomial time whether both and are optimal strategies. If they are, all values can be computed in polynomial time.
Proof. We use Lemma 2.7 to compute optimal counter strategies and for and . Using and we can check whether and are optimal counter strategies of each other. Indeed, is an optimal counter strategy against if and only if , for every . All these values can be computed in polynomial time using Lemma 2.6. If and are optimal counter strategies of each other, then they are both optimal, and , for every .
We also need the following simple definition.
Definition 2.10 (Restricted subgames). Let be an MPG and let . Assume that each vertex has at least one edge such that . Then, we let be the subgame of restricted to , or induced by , where is the function restricted to .
We also need the following very simple technical lemma. (It is actually a weaker form of Theorem 2.12 below.)
Lemma 2.11. Let be an MPG. Then,
If and are positional optimal strategies of player 0 and player 1, and , where , and then .
Our reductions do not rely on the following theorem. (See, e.g., [14].) It is useful, however, for understanding the general picture. We refer to the theorem in Sections 8 and 9. The theorem uses the standard lexicographic ordering on : if and only if or and .
Theorem 2.12. Let be an MPG. Then, the following set of equations, known as the Lexicographic Bellman Equations, in the unknowns , , for every , has a solution:
The min and max are taken with respect to the lexicographic order. For every solution , for , of this set of equations we have:
-
, for every .
-
if is a strategy of player 0 such that is one of the outgoing edges of that achieves the minimum in the equation corresponding to , for every , then is an optimal strategy for player 0 in .
-
if is a strategy of player 1 such that is one of the outgoing edges of that achieves the maximum in the equation corresponding to , for every , then is an optimal strategy for player 1 in .
The values are known as gains, while the values are known as biases or potentials. Theorem 2.12 says that in any solution of the equations, the gains must equal the values of the vertices, and are thus uniquely determined. The biases, however, are not uniquely determined by the equations, even beyond the fact that an arbitrary constant can be added to all the biases. It is not known how to solve these non-linear equations in polynomial time.
Theorem 2.12 provides a very convenient way of proving that a pair of strategies and are optimal for the two players; we simply need to provide appropriate gains and biases. We note however, that not all pairs of optimal strategies can be certified in this way. We may need separate biases for player 0 and player 1 to prove the optimality of an arbitrary pair of optimal strategies of the two players. (This requires a slight modification of Theorem 2.12 that we do not state here. We could, of course, always use Corollary 2.9 that does not rely on Theorem 2.12.)
It is also interesting to note that given both the values/gains and the biases of all vertices in some solution of the Lexicographic Bellman equations, optimal strategies for both players can be easily recovered. Our reductions show that knowing only the values/gains is not enough, unless MPGs can be solved in polynomial time.
3 Overview
We prove Theorem 1.1 using the following chain of reductions:
The main challenge, to which most of the paper, and in particular Section 5, is devoted to, is the reduction SOLVE ZERORECOVER. The reduction ZERORECOVER FINDOTHER, described in Section 6, is easier but also non-trivial.
The reduction FINDOTHER RECOVER is trivial. The input to FINDOTHER is a game G and an optimal strategy of player 0. By Corollary 2.8, we can use to compute all values , for , in polynomial time. We can then call RECOVER( ) to obtain a pair of optimal strategies, and in particular an optimal strategy of player 1.
The reduction RECOVER SOLVE is even more trivial. We simply ignore the given values and call SOLVE(G) to obtain a pair of optimal strategies.
A reduction from ZERORECOVER to RECOVER is also trivial, as ZERORECOVER is essentially a subproblem of RECOVER. Thus, if we only want to show that SOLVE RECOVER, we can use the chain SOLVE ZERORECOVER RECOVER, without having to rely on the reduction ZERORECOVER FINDOTHER. A simple, but nontrivial, reduction in the opposite direction, i.e., from RECOVER to ZERORECOVER, is given in Section 7.
In the rest of this section we give an overview of the reduction SOLVE ZERORECOVER which, as mentioned, is the most challenging reduction in the paper.
Suppose that is an oracle that given an MPG , along with a promise that all values in are 0, returns a pair of optimal strategies for the two players in . We show that using a polynomial number of calls to such an oracle we can solve an arbitrary MPG from scratch, i.e., implement an algorithm that given an MPG returns the values of all its vertices and a pair of optimal strategies for the two players. We thus obtain a Turing reduction from SOLVE to ZERORECOVER.
The reduction uses the following three transformations:
-
Given an MPG G we can construct in polynomial time an MPG such that the values of all vertices in are equal to the maximal value of a vertex in G. This is done without knowing the values in G. The game is obtained by splitting each edge of G and introducing various jump edges.
-
Given an MPG G we can construct in polynomial time an MPG -G, on the same vertex set as G, such that , for every vertex v of G. (This construction is easy.)
-
Given an MPG G such that all vertices of G have value , and an MPG H such that all vertices of H have value , we can construct an MPG such that all vertices of have value . This is done without knowing and . is essentially the product of G and H, hence the notation . (The construction is actually slightly more general, see below.)
The reduction is then composed of the following steps:
-
Given an MPG G, use the first transformation to obtain an MPG in which the values of all vertices are equal to the maximal, and unknown, value of a vertex in G.
-
Use the second transformation to obtain .
-
Use the third transformation to obtain . The crucial point is that all vertices of have value 0.
-
We can now call to obtain a pair of optimal strategies for . We would like to use and to obtain optimal strategies and for the two players in . Unfortunately, it is not clear how to do it directly. Instead, we use a self-reducibility approach that repeatedly calls , where the 's are subgames of , i.e., games obtained by removing some of the edges of , until eventually finding the desired optimal strategies and for the two players in . (This is why we get a Turing reduction and not a Karp many-one reduction.)
-
Our final challenge is to use the optimal strategies and for the two players in to obtain optimal strategies and for the two players in the original game G. This is again a non-trivial task. It is achieved using a peeling process. The peeling process repeats the above four steps with various subgames of G. The whole process only uses calls to ZERORECOVER.
4 Game transformations
4.1 Making all values equal
We begin with a simple transformation that takes an MPG with maximum value and converts it into an MPG such that , for every , i.e., each vertex of has the maximal value . The transformation does not need to know .

Figure 2: Splitting edges and introducing jump edges. Every edge of the original game G is split into two edges and , where uv is a newly introduced vertex belonging to player 1. The costs of these two edges are set to . From uv there are jump edges of cost -M, where M is a sufficiently large number, to all original vertices of G, except v.
The game is obtained by replacing each edge by two edges and , where is a new vertex belonging to player 1, as shown in Figure 2. We set . We let , where . In other words, on every edge we put an intermediate vertex controlled by player 1. From each new vertex , we add edges for every , with , where is a sufficiently large number. (It is sufficient to let , where is the number of vertices in the game.) In other words, from each such intermediate vertex we allow player 1 to jump to any original vertex of the graph. But, this jump has a very negative cost associated with it. The newly added edges are thus called jump edges.
It is not difficult to see that in the new game , the values of all vertices are equal to , the maximal value of a vertex in . This is because player 1 can always choose to jump to a vertex such that and then follow an optimal strategy in . The cost of this initial jump is very negative, but as only one such jump is needed, it does not affect the value of the game. (This depends crucially on the fact that the limiting-average criterion is used.) The fact that the cost of jumping is so negative means that player 1 cannot benefit from jumping more than once. As all jumps are controlled by player 1, all that player 0 can do is ensure that the value is at most , by following her optimal strategy in the original game. We next formalize this argument.
Lemma 4.1. Let be an MPG with maximum value and let be the MPG constructed above. Then, , for every .
Proof. We begin by describing a strategy of player 1 that achieves a value of at least from every vertex. The strategy is simple. Let . Let be an optimal strategy of player 1 in . Let be an arbitrary vertex. Extend into a strategy of player 1 in in the following way: If and , then . If , let
Let be an arbitrary strategy of player 0 in , and let be the strategy of player 0 in defined by , if , for every . We show that for every we have . Suppose at first that is also a vertex of . If , then the infinite path obtained when player 0 and player 1 play according to and in is identical to the play obtained when they play and in , with each edge in broken into the two new edges and . This follows by Lemma 2.11 as all original vertices encountered have value and thus no jump edges are used. If , , and , where , then either and , or . In both cases, the play enters a vertex of and becomes equivalent to a play in in which player 1 uses the optimal strategy . Thus, the outcome in all these cases is at least . The same holds for all vertices .

Figure 3: Forming the product of two games. If is a vertex of with three outgoing edges , and , and is a vertex of , then contains a vertex with outgoing edges to , and . The costs of these edges are identical to the costs of the original edges in . Vertex belongs to player 0 in if and only if belongs to player 0 in . Similarly, if is a vertex of with two outgoing edges and , and is a vertex of , then contains a vertex with outgoing edges to and . The costs of these edges are identical to the costs of the original edges in .
Let be an optimal strategy of player 0 in . Let be the strategy of player 0 in defined by whenever , for every . Let be an arbitrary strategy of player 1 in . Let and consider the cycle in . If the cycle contains a jump edge of weight , then the average weight of the cycle is smaller than any original edge weight in the graph. In particular, it is smaller than . Otherwise, the cycle corresponds to a cycle that can be formed in when player 0 is using , and its average weight is again at most .
Combining these two facts, we get the value of each vertex in is exactly .
4.2 Negating a game
There is an obvious transformation that takes an MPG and converts it into an MPG , i.e., a game in which the roles of the two players are switched and all costs are negated. The following lemma is then immediate:
Lemma 4.2. Let be an MPG and let . Then, , for every .
4.3 Averaging (or multiplying) two games
Given two MPGs G and H, we construct an MPG that essentially corresponds to playing G and H alternately and obtaining the average of the corresponding values. In the stochastic case, Mamino [21] describes a simple way of achieving a similar effect by essentially taking the union of G and H, with some probabilistic transitions between them. In the deterministic case, we do not know how to achieve this using a union. Instead, we take the product of the two games. The size of the resulting game is still polynomial.
In more detail. Let and be two MPGs. We assume that . (If this does not hold, we take disjoint copies of and .) The vertex set of is . A vertex in thus corresponds to a vertex in and a vertex in . A vertex in indicates that a move in should be made next, while a vertex in indicates that a move in should be made next. All edges in belong to . This ensures that moves in and in are performed alternately. If is an edge of , then is an edge of , for every . The weight of all these edges is equal to the weight of in . This corresponds to making a move in and signaling that the next move should be in . Similarly, if is an edge of , then is an edge of , for every . The weight of all these edges is equal to the weight of in . All edges in are of this form.
More formally, we let be the MPG defined as follows:
and
Alternatively, we could define the vertex set of to be , where the last component specifies whether the next step should be in or in . We continue with the definition , assuming that and are disjoint.
Lemma 4.3. Let and be two MPGs. Then, for every and we have
Proof. Let and be optimal strategies of player 0 in and , respectively. For every edge , we let . Define a strategy of player 0 in as follows:
Consider a play in in which player 0 uses while player 1 uses an arbitrary positional strategy , not necessarily of a product form. It is easy to see that, for a fixed pair , corresponds to the interleaving of two plays in and in which player 0 uses and , respectively, while player 1 uses some not necessarily positional strategies and . As and are optimal strategies for player 0 in and , we get that for every and , and for every strategy used by player 1,
We note that even though and are not necessarily positional strategies, and are eventually periodic because and are positional and hence is eventually periodic. Hence, the limsup's in the definitions of and can be replaced by ordinary limits, justifying the equality above. In the same way we also get that
Similarly, from optimal positional strategies and of player 1 in and , respectively, we can define a positional strategy for player 1 in that guarantees inequalities in the opposite direction, and the lemma follows.
The proof of Lemma 4.3 shows how to convert optimal positional strategies and of player , where , in and , respectively, into an optimal positional strategy of player in . However, there may also exist optimal positional strategies of player in that are entangled, i.e., not of this product form, as shown by the examples given in Section 8. Thus, an optimal positional strategy of player in does not immediately give us optimal positional strategies for player in and . To obtain optimal strategies for the two players in and in , we need to use a self-reducibility approach described in Section 5.1.
5 Reducing SOLVE to ZERORECOVER
Let be an MPG. Let be the game obtained using the transformation of Section 4.1. By Lemma 4.1, the value of all vertices in is , the maximum value in . Let be the negation of , obtained using the transformation of Section 4.2. By Lemma 4.2, the value of all vertices in is . Finally, let , be the product of these two games, obtained using the transformation of Section 4.3. (Since and are defined on the same set of vertices, we take the product of disjoint copies of and .) The size of is polynomial in the size of . By Lemma 4.3, the value of all vertices in is 0.
5.1 The self-reducibility technique
Suppose that all vertices of have value and that all vertices of have value . All vertices of thus have value 0. The call returns a pair of optimal strategies for . Our goal is to obtain a pair of optimal strategies for , and possibly such a pair for . As explained in Section 4.3, player 1, for example, has an optimal strategy in of a product form in which the edge chosen from a vertex of depends only on . Such an optimal strategy yields immediately an optimal strategy for player 1 in . Unfortunately, as shown by an example given in Section 8, an optimal strategy of player 1 in is not necessarily of this form. It is not immediately clear how to extract an optimal strategy for player 1 in from a general optimal strategy for player 1 in .
We can nevertheless recover optimal positional strategies for the two players in the original games G and H by making a polynomial number of calls to ZERORECOVER. Suppose that . We consider, one by one, the vertices of , i.e., the vertices of G controlled by player 1, and for each one of them identify an outgoing edge that appears in an optimal positional strategy for player 1 in G, together with previously selected outgoing edges from other vertices of .
Let , and let , , , be all the outgoing edges of in . If , then must of course be used in all optimal strategies for player 1 in . Assume, therefore, that . For every , let be the game obtained from by leaving as the only outgoing edge of . If there is an optimal positional strategy for player 1 that uses the edge , then the values of all vertices in are , and vice versa. At least one index must satisfy this condition. To check whether all values in are , we form the product and call ZERORECOVER( ). If all values in are indeed , then all values in are 0 and ZERORECOVER( ) returns a pair of optimal strategies of the two players in . By Corollary 2.9, we can verify in polynomial time that the two strategies returned are indeed optimal strategies and that the values of all vertices are 0. If this happens, we know that can be used by an optimal strategy of player 1 in .
What happens, however, if the values of all vertices in are not all ? In this case, not all the values in are 0 and we have absolutely no guarantees on the behavior of ZERORECOVER( ) as the promise that all values in are 0 does not hold. The call may return a pair of strategies in
that are not necessarily optimal, the output may not consist of valid strategies for the two players, the call may abort due to some internal error, or it may actually run forever.
To overcome this difficulty, we run all the calls ZERORECOVER( ), ZERORECOVER( ), ..., ZERORECOVER( ) in parallel, or more precisely, we simulate such a parallel run on our sequential machine, alternately performing operations in each one of these calls. Whenever one of these runs, say, ZERORECOVER( ), terminates, we check whether its output consists of a valid pair of strategies, and if so, we check, in polynomial time, whether they are optimal strategies for the two players in and whether all values in the game are 0. If so, we choose as the outgoing edge of , and abort all the currently running processes. If not, we discard this output and keep running the surviving processes. As mentioned above, at least one of the calls must eventually terminate and pass the test.
When an appropriate outgoing edge is found, we let and repeat the process for the other vertices of until we are left with an optimal positional strategy for player 1 in .
An optimal strategy for player 0 in the original game G (with which we began the subsection) can be found in a similar manner. We can also repeat the process and find optimal strategies for the two players in H, but this is not necessary in our case as we originally have .
By Corollary 2.8, from either recovered optimal strategy we can compute the common value in polynomial time.
5.2 The peeling technique
Using the self-reducibility technique, we obtained the value of all the vertices in and optimal strategies and for the two players in , where is the game obtained from the original game by applying the equalizing transformation of Section 4.1. We still need to compute the values of all vertices in the original game and convert and into optimal strategies and for the two players in . We do this using a peeling technique.
Let be an optimal strategy of player 1 in . Let
be the set of vertices of player 1 in from which uses jump edges. Let
be the set of vertices from which player 0 can force reaching some vertex of when player 1 plays . The set is the winning set of a reachability game that can be easily solved in polynomial time as follows. Initialize . As long as there is a vertex and an edge such that , or a vertex such that and , add to . With some care, can actually be found in linear time.
Let . We first claim that cannot contain all original vertices of , and thus must contain at least one original vertex of . We then claim that ensures a value of from every vertex of without leaving and without using any jump edge.
Lemma 5.1. Let . Then, . In other words, contains at least one original vertex of .
Proof. Assume, for the sake of contradiction, that there is a strategy of player 0 that guarantees reaching a vertex of from every vertex of when player 1 plays . For every , the cycle in play must contain a jump edge of weight . Recall that , where . If the length of the cycle is , where , then
contradicting the assumption that is an optimal strategy of player 1 in that ensures a value of at least from each vertex. Thus and .
Lemma 5.2. ensures a value of at least from every vertex of without leaving and without using any jump edge.
Proof. Any play which starts in in which player 1 plays , and player 0 plays arbitrarily, stays in and does not use any jump edge. Since is a strategy that guarantees a value of at least from every vertex of , the value of each such play is also at least .
Let be a (partial) strategy for player 1 in defined as follows. For every , if , let . The following corollary follows immediately from Lemma 5.2.
Corollary 5.3. ensures a value of at least from every vertex of of without leaving .
We now know that the values of all vertices of is and that ensures at least this value from each vertex of . (The values of the vertices in cannot be larger than , as is assumed to be the largest value of a vertex in .) The set does not necessarily contain all vertices of value in . (The optimal strategy may use jump edges from some vertices even if these jump edges can be avoided.) We can possibly enlarge the set of vertices of known to have value by computing the closure, or the max-attractor
the set of all vertices in from which player 1 can force reaching a vertex of , no matter which strategy is used by player 0. The set can again be found in polynomial time, and even linear time. We can easily extend into a strategy of player 1 that ensures a value of at least from all the vertices of . From a vertex , follow a strategy that ensures getting eventually to some vertex of . From a vertex , follow . (The set is still not guaranteed to contain all vertices of of value .) We thus have:
Lemma 5.4. The strategy of player 1 in G ensures a value of at least from every vertex of A while remaining in A.
We can convert the optimal strategy of player 0 in into a strategy of player 0 in as follows: If , let , for every . The following claim is also obvious:
Lemma 5.5. The strategy of player 0 in G ensures a value of at most from every vertex of V.
We made some progress, as we have discovered the maximum value and identified a nonempty set of vertices that all have the value . If we need to find the values of all vertices in . (Note that and .) We also need to find optimal strategies for the two players that ensure all these values.
If , we consider the game , i.e., the game restricted to . (See Definition 2.10.) The game is obtained by removing all vertices of and their edges from . By the closure of , each vertex has at least one outgoing edge in , so is a valid game. We now claim:
Lemma 5.6. For every , .
Proof. For every we have . We next show that for every we have . Indeed, let be an optimal strategy of player 0 in . Extend it in an arbitrary way into a strategy of player 0 in . Let be an arbitrary strategy of player 1 in . For every , stays in . Hence . As this holds for every , we have and thus .
We next show the opposite inequality. Let be an optimal strategy of player 1 in . Define the following strategy for player 1 in :
Let be an arbitrary strategy of player 0. For every , either remains forever in , or eventually enters and remains there forever. In the first case we have , by the optimality of in . In the second case, we have , by Lemma 5.4. We thus get , for every .
If , we recursively find all the values , for every , and optimal strategies and of the two players in . (Note that this involves repeating the whole process from scratch on .) The depth of the recursion is at most as .
Using Lemma 5.6 we can now recover the values , for every . We next show how to use and to obtain optimal strategies and of the two players in . Let
We let be the strategy of player 1 defined in the proof of Lemma 5.6, and define a strategy for player 0 in G as follows:
Lemma 5.7. The strategies and are optimal strategies for the two players in G.
Proof. We begin by showing that is an optimal strategy for player 0 in . Let be an arbitrary strategy of player 1. Let and consider . If , then ensures that the play remains in . The play is then of the form , where is restricted to , and the optimality of guarantees that . If , there are two cases. If the play remains in , then by Lemma 5.5, we have . If the play ever enters , then the tail of the play remains in and the outcome is smaller than .
We next show that is an optimal strategy for player 1 in . Let be an arbitrary strategy of player 0. Let and consider . We again have two cases. If , then by Lemma 5.4, . If , we have two subcases. If the play remains in , then by the optimality of we have . If the play reaches it remains in and again by Lemma 5.4 we have .
The peeling process can also be described as an iterative process as follows. Let be the original graph. Let be the maximum value of a vertex in , and let be the set of vertices of not known to have value . We then let , compute the maximum value of a vertex in and let be the set of vertices of not known to have value . We define in this way games , values and sets such that . If , then by repeated application of Lemma 5.6 we get that . It is interesting to note that the sequence is not necessarily increasing or decreasing.
6 Reducing ZERORECOVER to FINDOTHER
The reduction from ZERORECOVER to FINDOTHER uses another simple transformation. A similar transformation is used by Björklund and Vorobyov [4] in their reduction to the longest-shortest-path problem.
Let be an MPG in which all values are 0. We construct an MPG in which all values are 0 and in which player 0 has an obvious optimal strategy that ensures the 0 values. We obtain by adding a new sink vertex with a self-loop of cost . From every vertex , we add an escape edge of cost . We let . (The costs of the escape edges can actually be arbitrary, and as has only one outgoing edge, it does not matter which player controls it.) The values of all vertices in are 0 as any use of an escape edge yields an outcome of 0.
Lemma 6.1. The strategy defined by , for every , is an optimal strategy for player 0 in .
Proof. Let be an arbitrary (positional) strategy of player 1 in and in . (Note that the sets of strategies of player 1 in and in are the same, as .) Let . Consider the play and the outcome . The play either reaches a vertex of , escapes to and remains there forever, or visits only vertices of . In the first case, we clearly have . In the second case, the play is identical to a play in the original game , with respect to any strategy of player 0 in , and thus , as otherwise could ensure a positive value from in against any strategy of player 0, contradicting the assumption that all values in are 0.
Lemma 6.2. If is an optimal strategy for player 1 in , then it is also an optimal strategy for player 1 in G.
Proof. Since is an optimal strategy for player 1 in , and all values in are 0, we have for every strategy of player 0 in . Since every strategy of player 0 in is also a strategy of player 0 in , we also have , for every strategy of player 0 in . This proves the optimality of in .
The reduction from ZERORECOVER to FINDOTHER is now extremely simple. Given an MPG G in which all values are 0, we construct the game and the optimal escape strategy for player 0 in defined in Lemma 6.1. We now call and obtain an optimal strategy for player 1 in . By Lemma 6.2, is also an optimal strategy of player 1 in .
To obtain an optimal strategy for player 0 in , we do the same for the game . (Note that an optimal strategy for player 1 in is an optimal strategy for player 0 in .)
As described, the reduction performs two calls to FINDOTHER. We can actually combine the two calls into one by working on a disjoint union of the escape extensions and . This gives us a Karp many-one reduction from ZERORECOVER to FINDOTHER.
7 Reducing RECOVER to ZERORECOVER
We next describe a simple Karp many-one reduction from RECOVER to ZERORECOVER. This proves the equivalence of ZERORECOVER, FINDOTHER and RECOVER under polynomial time Karp reductions. The only Turing reduction remaining is the main reduction from SOLVE to ZERORECOVER.
Let be an MPG. Assume that we are given values , for , and a promise that , for every . By Lemma 2.11, we know that if an edge is used by an optimal strategy of one of the players, then we must have . This suggests constructing an MPG as follows:
By Lemma 2.11, every vertex has at least one value-preserving outgoing edge. Hence is a well-defined MPG.
Lemma 7.1. All values in are 0. Optimal strategies and of the two players in are also optimal strategies of the two players in .
Proof. Let , i.e., the game but with the original edge costs. By Lemma 2.11, we get that , for every , as optimal strategies for the two players in must only use value-preserving edges. Thus, none of the players can benefit by using non-value preserving edges, i.e., edges from .
The game is composed of disjoint components corresponding to the distinct values in . The component corresponding to a value is , where . (A component is not necessarily connected.) By subtracting from the costs of all edges in , as we do in , the values of all the vertices in become 0.
Let be a positional optimal strategy of player 0 in . Since is a subgame of , the strategy is also a valid strategy of player 0 in . Let be an arbitrary positional strategy of player 1 in . Let and suppose that . Consider .
If only uses edges of , then remains in the component of corresponding to and . By the optimality of in we have . Since , we have .
If uses edges of , then these edges must be from . By Lemma 2.11, for any such edge we must have . For every edge from we have . Thus, all vertices in the cycle in must have the same value . Since the tail of corresponds to a play in belonging to the component containing vertices of value , we get by the optimality of for that . Thus, for every strategy of player 1 we have . Hence, is also an optimal strategy for player 0 in . A symmetric argument shows that every optimal strategy of player 1 in is also optimal in : under the values along a play are nondecreasing, and strictly increase whenever player 0 uses an edge outside .
The reduction is now obvious. Given an MPG and the values , for , form the graph and call ZERORECOVER().

Figure 4: An optimal counter strategy to an optimal strategy is not necessarily an optimal strategy. In the figure, and . The strategy is an optimal strategy of player 0. The strategy is another optimal strategy of player 0. They both ensure values of at most 0 from both a and b. The strategy is an optimal counter strategy to , but not to . Hence it is not an optimal strategy for player 1. The optimal strategy for player 1 is which ensures a value of 0 from both vertices.
8 Some examples
We now give some simple examples that illustrate some points made earlier in the paper.
Figure 4 provides a simple example that shows that an optimal counter strategy of an optimal strategy is not necessarily an optimal strategy.
Figure 5 provides two simple games G and H such that both players have entangled, i.e., non-product, optimal strategies in .
A second example of this form is given in Figure 6. This example has two added features. The first is that when both players play according to their entangled optimal strategies and , the same cycle is eventually entered, from every initial vertex. The second advantage is that the optimality of and can be certified via Theorem 2.12 using the biases shown in green in the figure.
9 Concluding remarks and open problems
We showed that the four problems SOLVE, ZERORECOVER, FINDOTHER and RECOVER are equivalent under polynomial time Turing reductions. Furthermore, the last three problems are equivalent under polynomial time Karp reductions. Are the four problems equivalent under polynomial time Karp reductions?
As pointed out by a reviewer, we can actually add a fifth problem to the list of equivalent problems. Let VALUE be the problem of computing the values of all vertices of a game. A simple self-reducibility argument shows that SOLVE Turing-reduces to VALUE.
The most interesting open problem, of course, is to obtain improved algorithms for the solution of MPGs. The techniques that led to a quasipolynomial time algorithm for Parity Games do not seem to give significant asymptotic improvements for MPGs. (See, e.g., Fijalkow, Gawrychowski, and Ohlmann [11], Colcombet, Fijalkow, Gawrychowski, and Ohlmann [6].) Thus, new techniques are probably needed to obtain improved algorithms.
Note added in proof
OpenAI [23] recently announced a quasipolynomial-time algorithm for solving MPGs. As this is not yet a polynomial-time algorithm, all the reductions in this paper are still meaningful.


Figure 5: An example of two simple games G and H such that in both players have entangled optimal strategies, i.e., optimal strategies that are not product strategies. The vertices a and b of G are controlled by player 0. The vertices A and B of H are controlled by player 1. All omitted edge costs in are 0. All values in G and in H, and hence also in , are 0. An optimal strategy of player 0 is given by the bold blue edges. The strategy is entangled as while . Similarly, an optimal strategy of player 1 is given by the bold brown edges. The strategy is entangled as while .



Figure 6: The second example. The entangled optimal strategies and of the two players in are again given by the bold blue and brown edges. All values are again 0. The optimality of and can be certified using the biases , and 0 for all other pairs. The two non-zero biases are shown in green next to and .
Declaration
Interactions with ChatGPT 5.6 Pro influenced the content of Section 5.2, Section 6 and Section 7. The authors assume responsibility for all content.
Acknowledgments
The second author would like to thank Peter Bro Miltersen for bringing the strategy recovery problem to his attention and for some interesting discussions. We also thank an anonymous reviewer for pointing out that a fifth problem can be added to the list of equivalent problems.
References
[1] Daniel Andersson and Peter Bro Miltersen. The complexity of solving stochastic games on graphs. In Proc. of 20th ISAAC, pages 112–121, 2009. doi:10.1007/978-3-642-10631-6_13.
[2] Henrik Björklund, Sven Sandberg, and Sergei Vorobyov. Memoryless determinacy of parity and mean payoff games: a simple proof. Theoretical Computer Science, 310(1–3):365–378, 2004. doi:10.1016/S0304-3975(03)00427-4.
[3] Henrik Björklund and Sergei Vorobyov. Combinatorial structure and randomized subexponential algorithms for infinite games. Theoretical Computer Science, 349(3):347–360, 2005. doi:10.1016/j.tcs.2005.07.041.
[4] Henrik Björklund and Sergei G. Vorobyov. A combinatorial strongly subexponential strategy improvement algorithm for mean payoff games. Discret. Appl. Math., 155(2):210–229, 2007. URL: https://doi.org/10.1016/j.dam.2006.04.029, doi:10.1016/J.DAM.2006.04.029.
[5] Luboš Brim, Jakub Chaloupka, Laurent Doyen, Raffaella Gentilini, and Jean-François Raskin. Faster algorithms for mean-payoff games. Formal Methods in System Design, 38(2):97–118, 2011. doi:10.1007/s10703-010-0105-x.
[6] Thomas Colcombet, Nathanaël Fijalkow, Paweł Gawrychowski, and Pierre Ohlmann. The theory of universal graphs for infinite duration games. Log. Methods Comput. Sci., 18(3), 2022. doi:10.46298/lmcs-18(3:29)2022.
[7] Carlo Comin and Romeo Rizzi. Improved pseudo-polynomial bound for the value problem and optimal strategy synthesis in mean payoff games. Algorithmica, 77(4):995–1021, 2017. doi:10.1007/s00453-016-0123-1.
[8] Andrzej Ehrenfeucht and Jan Mycielski. Positional strategies for mean payoff games. International Journal of Game Theory, 8:109–113, 1979. doi:10.1007/BF01768705.
[9] Hugh Everett. Recursive games. In Contributions to the Theory of Games, Volume III, volume 39 of Annals of Mathematics Studies, pages 67–78. Princeton University Press, Princeton, NJ, 1957.
[10] Nathanaël Fijalkow, editor. Games on Graphs: From Logic and Automata to Algorithms. Cambridge University Press, 2026. doi:10.1017/9781009500678.
[11] Nathanaël Fijalkow, Paweł Gawrychowski, and Pierre Ohlmann. Value iteration using universal graphs and the complexity of mean payoff games. In 45th International Symposium on Mathematical Foundations of Computer Science, MFCS 2020, volume 170 of LIPIcs, pages 34:1–34:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.MFCS.2020.34.
[12] Oliver Friedmann. Exponential Lower Bounds for Solving Infinitary Payoff Games and Linear Programs. PhD thesis, Ludwig-Maximilians-Universität München, 2011. URL: https://oliverfriedmann.com/downloads/theses/phd.pdf.
[13] Dean Gillette. Stochastic games with zero stop probability. In Contributions to the Theory of Games, Volume III, volume 39 of Annals of Mathematics Studies, pages 179–187. Princeton University Press, Princeton, NJ, 1957.
[14] Shibashis Guha, Marcin Jurdzinski, Shankara Narayanan Krishna, and Ashutosh Trivedi. Mean-payoff games on timed automata. In 36th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2016, Chennai, India, December 13-15, 2016, volume 65 of LIPIcs, pages 44:1–44:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2016. URL: https://doi.org/10.4230/LIPIcs.FSTTCS.2016.44, doi:10.4230/LIPICS.FSTTCS.2016.44.
[15] Vladimir A. Gurvich, Alexander V. Karzanov, and Leonid G. Khachiyan. Cyclic games and an algorithm to find minimax cycle means in directed graphs. USSR Computational Mathematics and Mathematical Physics, 28:85–91, 1988. Translated from Zhurnal Vychislitel'noi Matematiki i Matematicheskoi Fiziki 28 (1988) 1407–1417.
[16] Thomas Dueholm Hansen, Peter Bro Miltersen, and Uri Zwick. Strategy iteration is strongly polynomial for 2-player turn-based stochastic games with a constant discount factor. Journal of the ACM, 60(1):1, 2013. doi:10.1145/2432622.2432623.
[17] Thomas Dueholm Hansen and Uri Zwick. An improved version of the random-facet pivoting rule for the simplex algorithm. In Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing, STOC 2015, pages 209–218. ACM, 2015. doi:10.1145/2746539.2746557.
[18] Marcin Jurdziński. Deciding the winner in parity games is in UP ∩ co-UP. Information Processing Letters, 68(3):119–124, 1998. doi:10.1016/S0020-0190(98)00150-1.
[19] Richard M. Karp. A characterization of the minimum cycle mean in a digraph. Discret. Math., 23(3):309–311, 1978. doi:10.1016/0012-365X(78)90011-0.
[20] Thomas M. Liggett and Steven A. Lippman. Stochastic games with perfect information and time average payoff. SIAM Review, 11(4):604–607, 1969. doi:10.1137/1011093.
[21] Marcello Mamino. Strategy recovery for stochastic mean payoff games. Theor. Comput. Sci., 675:101–104, 2017. doi:10.1016/j.tcs.2017.02.015.
[22] Jean-François Mertens and Abraham Neyman. Stochastic games. International Journal of Game Theory, 10(2):53–64, 1981. doi:10.1007/BF01769259.
[23] OpenAI. Deterministic quasipolynomial-time mean-payoff games. OpenAI Math Release preprint OAI:Deterministic-quasipolynomial-time-mean-payoff-games-September-25-2026, 2026.
[24] Martin L. Puterman. Markov decision processes. Wiley, 1994. doi:10.1002/9780470316887.
[25] Lloyd S. Shapley. Stochastic games. Proceedings of the National Academy of Sciences U.S.A., 39:1095–1100, 1953. doi:10.1073/pnas.39.10.1095.
[26] Uri Zwick. Improved subexponential analysis of the Random-Action-Removal algorithm for 2-player turn-based games and non-binary AUSOs, 2026. arXiv:2607.06334.
[27] Uri Zwick and Michael S. Paterson. The complexity of mean payoff games on graphs. Theoretical Computer Science, 158(1–2):343–359, 1996. doi:10.1016/0304-3975(95)00188-3.