arXiv:2610.01781cs.AIOct 2026

Manuscript Offprint

arXiv:2610.01781

Q-Learning for Reachability in MEC-Free MDPs

Lu-Chin Chang, Suguman Bansal

Abstract

Reinforcement learning (RL) for reachability specifications is fundamental to sequential decision-making. Prior work establishes asymptotic convergence to optimal policies, but only through model-based methods that must explicitly estimate the transition probabilities of the underlying Markov Decision Process (MDP). We present QUASAR, the first model-free algorithm with asymptotic guarantees for reachability on the fragment of MDPs free of non-terminal maximal end components (MECs), a building block to which every MDP reduces by the standard MEC quotient. Our algorithm follows the classical Q-learning approach, using temporal-difference updates to converge to an optimal policy without ever learning the transition probabilities. The resulting learner reduces the memory footprint from the O(∣S∣2∣A∣)O(|S|^{2}|A|) that model-based methods require to O(∣S∣∣A∣)O(|S||A|). On the standardized Quantitative Verification Benchmark Set, our algorithm converges to the optimal policy with orders of magnitude fewer samples than the previous model-based state-of-the-art. Together these results are a concrete step toward the practical deployment of reachability learning and, with it, of specification-guided RL.

1 Introduction

Reinforcement learning (RL) (Sutton and Barto 2018) is the standard framework for sequential decision-making in unknown Markov decision processes (MDPs), and cast as reward maximization it admits strong theoretical guarantees. The strongest is asymptotic convergence (Watkins and Dayan 1992), under which the learned policies are optimal in the limit almost surely, and it is on such guarantees that the practical success of RL rests, from robotic locomotion (Collins et al. 2005) and dexterous manipulation (Andrychowicz et al. 2020) to visuomotor control (Levine et al. 2016).

In this work we seek to carry this guarantee into the setting of formal specifications, where an agent must satisfy a temporal objective rather than maximize a hand-tuned reward (Alur et al. 2026). Specifications in linear temporal logic (LTL) and related ω\omega-regular formalisms express rich behaviours, such as safety and liveness, that are awkward to encode as rewards (Hahn et al. 2019). It is worth noting that an asymptotic guarantee is close to the best one can hope for here, since the finite-sample (PAC) guarantees available for reward-based RL largely fail for specifications. In particular, general LTL objectives are not PAC-learnable (Yang, Littman, and Carbin 2022; Alur et al. 2022), and the PAC guarantees for restricted classes rest on an unobservable quantity of the MDP, such as the smallest transition probability (Ashok, Křetínský, and Weininger 2019; Perez, Somenzi, and Trivedi 2024; Svoboda, Bansal, and Chatterjee 2024).

Among all specifications, reachability is the most fundamental, the primitive from which the richer LTL and ω\omega-regular objectives are built, so that an algorithm learning it with a given guarantee immediately yields one for that entire class (Section 2.3). This makes reachability the linchpin of specification-guided RL, and it is the problem we take up.

For reachability, asymptotic guarantees have been established only recently, and only by model-based means (Palasamudram et al. 2026b; Le et al. 2024). Building a model is a genuine hindrance at scale. A model-based learner stores a transition estimate for every state-action-successor triple, at O(∣S∣2∣A∣)O(|\mathcal{S}|^2|\mathcal{A}|) memory, and must refine it to uniform accuracy before planning, so its sample and time costs track the model size rather than the difficulty of the objective. On the large product MDPs that specifications induce, both are prohibitive. One naturally wonders whether reachability admits a model-free learner that still converges asymptotically.

We answer this affirmatively. We present QUASAR, the first model-free algorithm with asymptotic guarantees for reachability. We operate on the no-EC fragment of MDPs, those with no maximal end component (MEC) among the non-terminal states, a standard structural condition that prevents the agent from postponing termination forever. Every MDP reduces to the no-EC fragment by the standard MEC quotient (de Alfaro 1997), so the fragment is a building block for the general MDP setting rather than a restriction of it. QUASAR is deliberately in the style of Q-learning (Watkins and Dayan 1992). It keeps a single O(∣S∣∣A∣)O(|\mathcal{S}||\mathcal{A}|) table of value estimates, refines them from sampled transitions, and never forms a model. The difficulty lies not in the algorithm but in its analysis. Classical Q-learning converges because a discount factor γ∈(0,1)\gamma \in (0,1) makes the Bellman operator a contraction, and standard discounted-sum RL rewards a trajectory that first reaches the target at step kk with γk\gamma^k. Reachability is precisely the undiscounted case γ=1\gamma = 1 of this scheme, where the contraction that drives Q-learning to converge disappears, so the classical proof does not carry over. The natural remedy, recasting reachability as some other discounted-sum reward, is ruled out by Alur et al. (Alur et al.

2022). No optimality-preserving reduction from reachability to discounted-sum rewards exists, and the gap must therefore be closed directly.

We close it by replacing the missing discount factor with a quantity intrinsic to the MDP, the expected time to termination. Measuring convergence in a norm weighted by this hitting time, we show that the undiscounted Bellman operator contracts after all, with the expected hitting time playing exactly the role that the discount factor plays in the classical analysis. This weight is a property of the MDP, not a parameter the learner must know or tune, so our guarantee rests on no numerical quantity of the MDP, only on the structural no-EC assumption. A stochastic-approximation argument then lifts the contraction from the exact operator to the sampled updates, yielding convergence with probability one. The hitting-time weight may recall the stochastic shortest path problem, but the two are distinct and neither reduces to the other, so its contraction machinery does not apply off the shelf. We return to this in Section 2.3.

These guarantees translate into practice. We evaluate two versions of QUASAR, the online QUASAR-NAIVE and a backward-replay variant QUASAR-BR that preserves the guarantee (Theorem 4). On the standardized Quantitative Verification Benchmark Set (Hartmanns et al. 2019), QUASAR-BR converges to the optimal value on every benchmark, using orders of magnitude fewer samples than the model-based state of the art.

The key contribution of this work is to establish the following two results, formalized as Theorem 2 and Theorem 1.

  1. On no-EC MDPs, the iterates of QUASAR converge to the optimal reachability values almost surely (Theorem 2). It is worth emphasizing that the sole hypothesis is structural (Assumption 1), and the guarantee is conditional on no numerical parameter of the MDP.

  2. QUASAR runs in O(∣S∣∣A∣)O(|\mathcal{S}||\mathcal{A}|) space (Theorem 1), a quadratic improvement over the O(∣S∣2∣A∣)O(|\mathcal{S}|^2|\mathcal{A}|) that model-based methods spend on stored transition estimates.

To the best of our knowledge, QUASAR is the first algorithm to attain an asymptotic guarantee for reachability without either estimating a model or reducing the objective to rewards.

References (39)