How to discretize continuous state-action spaces in Q-learning: A symbolic control approach
Sadek Belamfedel Alaoui, Adnane Saoud
TL;DR
The work addresses the challenge of applying Q-learning to systems with continuous state-action spaces by introducing a symbolic abstraction that pairs a continuous system $\Sigma$ with a finite abstract model $\Sigma_{\mathrm{D}}$ through an alternating-simulation relation. It develops a Q-learning framework on the symbolic model that produces two Q-tables, $\underline{q}$ and $\overline{q}$, which bound the true continuous-space Q-values and converge to the optimal policy as the discretization becomes finer. Theoretical results link the tightness of the bounds to the quantization parameters $\eta$ and $\mu$, and show contraction properties, existence of unique optimal values, and conditions under which the extracted controller approaches optimality. Empirical demonstrations on Mountain Car and Van der Pol oscillator illustrate that the dual-Q approach yields accurate, verifiable controllers and outperforms naïve uniform discretization, with convergence guaranteed under appropriate learning settings. The framework provides a principled, controllable way to trade computational complexity for accuracy in continuous-domain reinforcement learning.
Abstract
Q-learning is widely recognized as an effective approach for synthesizing controllers to achieve specific goals. However, handling challenges posed by continuous state-action spaces remains an ongoing research focus. This paper presents a systematic analysis that highlights a major drawback in space discretization methods. To address this challenge, the paper proposes a symbolic model that represents behavioral relations, such as alternating simulation from abstraction to the controlled system. This relation allows for seamless application of the synthesized controller based on abstraction to the original system. Introducing a novel Q-learning technique for symbolic models, the algorithm yields two Q-tables encoding optimal policies. Theoretical analysis demonstrates that these Q-tables serve as both upper and lower bounds on the Q-values of the original system with continuous spaces. Additionally, the paper explores the correlation between the parameters of the space abstraction and the loss in Q-values. The resulting algorithm facilitates achieving optimality within an arbitrary accuracy, providing control over the trade-off between accuracy and computational complexity. The obtained results provide valuable insights for selecting appropriate learning parameters and refining the controller. The engineering relevance of the proposed Q-learning based symbolic model is illustrated through two case studies.
