Abstract
Markov chains are the de facto finite-state model for stochastic dynamical systems, and Markov decision processes (MDPs) extend Markov chains by incorporating non-deterministic behaviors. Given an MDP and rewards on states, a classical optimization criterion is the maximal expected total reward where the MDP stops after T steps, which can be computed by a simple dynamic programming algorithm. We consider a natural generalization of the problem where the stopping times can be chosen according to a probability distribution, such that the expected stopping time is T, to optimize the expected total reward. Quite surprisingly we establish inter-reducibility of the expected stopping-time problem for Markov chains with the Positivity problem (which is related to the well-known Skolem problem), for which establishing either decidability or undecidability would be a major breakthrough. Given the hardness of the exact problem, we consider the approximate version of the problem: we show that it can be solved in exponential time for Markov chains and in exponential space for MDPs.
Introduction
In stochastic modeling, finite-horizon planning typically asks for the maximum reward achievable when a process stops at a fixed time $T$. In Markov Chains (MCs) and Markov Decision Processes (MDPs), this is a standard problem solvable via dynamic programming. However, real-world scenarios often involve "soft" constraints where a process might stop at a random time with a specific expected value $T$. For instance, a robot's battery might last $T$ hours on average, or a financial strategy might target a mean duration.
This paper introduces the expected stopping-time problem: given a target expectation $T$, how should a probability distribution for the stopping time be chosen to optimize the total expected reward? This generalization introduces significant complexity, as the optimal strategy might involve stopping at times very different from $T$, provided the average is maintained.
Methodology and Geometric Interpretation
The authors analyze the problem through a geometric lens. They demonstrate that the optimal value can be determined by examining "bi-Dirac" distributions—those that stop at only two possible time points, $t_1$ and $t_2$.
As shown in the figure above, the optimal reward corresponds to a point on a line segment connecting two utility points $(t_1, u_{t1})$ and $(t_2, u_{t2})$ that intersects the vertical axis at the target expectation $T$. This geometric approach simplifies the search for optimal distributions but also highlights the potential for non-existence of an optimal distribution in certain sequences.
Beyond geometry, the paper establishes a deep connection to number theory. The authors prove that the exact reward problem for Markov chains is inter-reducible with the Positivity Problem—deciding if all terms in a linear recurrence sequence are positive. This link suggests that the exact problem is as difficult as some of the most famous open problems in mathematics, such as the Skolem problem.
Complexity and Approximation
Given the likely undecidability of the exact problem, the research focuses on approximation algorithms.
- Markov Chains: An $\epsilon$-approximation can be computed in time exponential in the number of states but logarithmic in $1/\epsilon$. This is achieved by leveraging the "steady-state" behavior of Markovian systems, allowing the "tail" of the reward sequence to be bounded.
- MDPs: The approximation problem for MDPs is shown to be solvable in exponential space (EXPSPACE). The authors formulate the strategy choice within the existential theory of the reals, utilizing PSPACE-based decision procedures.
A critical finding is that infinite memory is generally required for optimal strategies in this setting. Unlike standard finite-horizon MDPs where simple Markovian strategies suffice, a player here may need to track the entire history to ensure the stopping distribution satisfies the expectation constraint optimally.
Conclusion and Future Directions
The transition from fixed stopping times to expected stopping times elevates a trivial optimization problem into a complex challenge linked to fundamental questions in number theory. While the exact problem remains a "Skolem-hard" wall, the provided approximation algorithms offer a path forward for practical applications.
Future work remains in narrowing the complexity gaps. It is currently unknown if polynomial-time approximation algorithms exist. Additionally, further investigation into the memory requirements for pure (deterministic) strategies could provide deeper insights into the structural properties of optimal policies in these generalized stochastic processes.
Summary updated