Q-Learning for Stochastic Control under General Information Structures and Non-Markovian Environments

Ali Devran Kara, Serdar Yuksel

TL;DR

Standard Q-learning proofs rely heavily on the assumption that the environment is a fully observed, finite Markov Decision Process (MDP)—an assumption that real-world problems routinely violate due to continuous state spaces, partial observability, or multi-agent dynamics. This paper proves a general convergence theorem for Q-learning under non-Markovian, ergodic stochastic environments without needing to separately prove that the iterates remain bounded. The authors then characterize the resulting limits and establish near-optimality bounds across continuous MDP discretizations, finite-memory POMDPs, quantized belief-POMDPs, and decentralized multi-agent systems.

What Problem Does This Paper Address?

In applied reinforcement learning (RL), practitioners frequently treat unknown environments as finite MDPs by feeding in perceived states—such as quantized sensor readings, truncated history windows, or local agent observations. In reality, these systems are rarely truly Markovian:

  • Discretizing or quantizing a continuous state space breaks the Markov property.
  • In Partially Observable MDPs (POMDPs), past history matters; truncating history or quantizing belief states introduces non-Markovian dynamics.
  • In multi-agent settings, concurrent learning makes the environment non-stationary from any single agent's perspective.

This raises two fundamental questions:

  1. Does Q-learning still converge when the Markovian assumption fails?
  2. If it converges, what does the resulting limit actually represent, and how suboptimal is the learned policy?

Methods

The authors tackle this by presenting a unified analytical framework:

  • A General Convergence Theorem (Theorem 2.1): The authors analyze the standard Q-learning iterate: $$Q_{t+1}(s, u) = (1 - \alpha_t(s, u)) Q_t(s, u) + \alpha_t(s, u) \big(C_t + \beta \min_{u'} Q_t(S_{t+1}, u')\big)$$ Under an asymptotic ergodicity condition on the joint process $(S_{t+1}, S_t, U_t, C_t)$ and standard learning rate conditions, they prove that $Q_t(s, u)$ converges almost surely to a fixed point $Q^*(s, u)$ matching an effective average MDP.

  • Boundedness-Free Proof Technique: Unlike classic martingale proofs (e.g., Tsitsiklis, Jaakkola) or ODE methods (Borkar & Meyn) that require establishing a separate boundedness guarantee for iterates, the proof decomposes error into contraction and zero-converging noise terms ($\Delta_t = \delta_t + u_t + v_t$), directly proving stability and convergence together.

  • Application to Specific Non-Markovian Information Structures:
  • Quantized Continuous MDPs: Applying a spatial partition to a continuous MDP equipped with the Wasserstein metric $W_1$.
  • Finite-Window POMDPs: Agents use an observation window of length $N$, $S_t = \{Y_{t-N:t}, U_{t-N:t-1}\}$, relying on uniform geometric filter stability (Dobrushin contraction coefficients).
  • Quantized Belief-POMDPs: Quantizing continuous probability distributions (beliefs) under weak Feller continuity and asymptotic filter stability.
  • Multi-Agent RL & Subjective Q-Learning: Employing a two-timescale exploration scheme where agents hold policies fixed across phases of length $T_k$, proving convergence to subjective Q-learning $\epsilon$-equilibria.

Datasets

  • No empirical datasets were used. As a theoretical paper, the authors validate the results using a synthetic numerical benchmark: a Machine Replacement Problem with non-i.i.d. noise, where the machine condition $x_t \in \{0, 1\}$ is corrupted by noise $w_t \in \{0, 1\}$ evolving as a Markov chain with transition probabilities $P(w_{t+1}=0|w_t=0) = 0.9$ and $P(w_{t+1}=0|w_t=1) = 0.4$.

Key Insights and Ideas

  • Ergodicity Replaces the Markov Property: Convergence does not require the state process itself to be Markovian. As long as empirical averages of state transitions and costs converge to a well-defined stationary marginal measure $\pi$, Q-learning converges to the optimal $Q$-function of the corresponding "averaged" MDP.
  • Relaxing Harris Recurrence: Previous non-Markovian convergence proofs required strong conditions like positive Harris recurrence. The new result relaxes this to unique ergodicity, making it applicable to continuous spaces where recurrence is often too strict.
  • The POMDP Trade-off (History Window vs. Belief Quantization):
  • Finite-window memory is completely model-free (the controller does not need system equations), but requires stricter uniform geometric filter stability.
  • Belief quantization requires only mild asymptotic filter stability in expectation, but is model-based (the agent must compute Bayesian updates before quantizing them) and sensitive to initialization.
  • Subjective Multi-Agent Equilibria: Rather than requiring agents to reach an objective Nash equilibrium, independent learners treating other players as part of their subjective MDP environment converge to a well-defined subjective equilibrium under satisficing dynamics.

Key Results

  • Explicit Suboptimality Bound for Continuous Quantized MDPs: When transition kernels are Lipschitz in the $W_1$ metric with constant $\alpha_T$ ($\beta \alpha_T < 1$) and cost is Lipschitz ($\alpha_c$), the policy $\hat{\gamma}$ generated by quantized Q-learning satisfies: $$\sup_{x_0 \in \mathbb{X}} |J_\beta(x_0, \hat{\gamma}) - J^*_\beta(x_0)| \leq \frac{2\alpha_c}{(1-\beta)^2 (1 - \beta \alpha_T)} \bar{L}$$ where $\bar{L}$ is the maximum diameter of the quantization cells.

  • Machine Replacement Simulation:

  • With discount $\beta = 0.7$, repair cost $R = 1.0$, and broken cost $E = 1.5$, simulating the non-Markov state $s_t = x_t$ yielded exact convergence to the theoretical average MDP $Q$-values, achieving an expected cost of $\approx 2.41$.
  • Augmenting the state to a finite window $s_t = (x_t, x_{t-1})$ maintained convergence while reducing the expected cost to $\approx 2.35$.

Limitations and Future Work

  • Exploration Constraints: The theoretical convergence requires positive stationary probability $\pi(S \times s \times u \times \mathbb{R}) > 0$ for all visited state-action pairs, which restricts purely arbitrary or greedily adaptive exploration strategies.
  • Belief Initialization Sensitivity: For quantized belief POMDPs, the initial belief $\pi_0$ cannot be arbitrary; it must lie in the topological support of the invariant measure $\eta^\gamma$ to prevent the agent from encountering untrained regions.
  • Open Question in Multi-Agent RL: While Algorithm 1 converges to a subjective $\epsilon$-equilibrium if one exists, establishing general existence conditions for subjective Q-learning equilibria via fixed-point theorems (e.g., Kakutani-Fan-Glicksberg) remains an open problem.

Summary updated

BibTeX
@article{kara2023q,
  author = {Ali Devran Kara and Serdar Yuksel},
  title = {{Q-Learning for Stochastic Control under General Information Structures and Non-Markovian Environments}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=1Yp6xpTV55},
}
Figure