Universal Approximation Theorem of Deep Q-Networks
Qian Qi
TL;DR
The paper develops a continuous-time framework for Deep Q-Networks by linking deep reinforcement learning with stochastic control and Forward-Backward SDEs, enabling rigorous analysis of approximation and training dynamics. It proves a universal approximation theorem for residual-architecture DQNs, showing they can approximate the optimal Q-function $Q^*(t,s,a)$ on high-probability compact sets, with accuracy controlled by $\epsilon$ and local dynamics captured on $K_R$. It then establishes a convergence result for a continuous-time Q-learning scheme, asserting almost sure convergence of the parameter iterates to the optimal Q-function under ergodic sampling, Robbins-Monro steps, and gradient-based assumptions. By connecting the value function $V^*$ to a viscosity-solution formulation of the HJB equation and linking Q-learning to a Bellman operator contraction, the work provides a theoretical foundation for DQNs in continuous-time environments and informs architectural and algorithmic design for systems with physical dynamics or high-frequency data.
Abstract
We establish a continuous-time framework for analyzing Deep Q-Networks (DQNs) via stochastic control and Forward-Backward Stochastic Differential Equations (FBSDEs). Considering a continuous-time Markov Decision Process (MDP) driven by a square-integrable martingale, we analyze DQN approximation properties. We show that DQNs can approximate the optimal Q-function on compact sets with arbitrary accuracy and high probability, leveraging residual network approximation theorems and large deviation bounds for the state-action process. We then analyze the convergence of a general Q-learning algorithm for training DQNs in this setting, adapting stochastic approximation theorems. Our analysis emphasizes the interplay between DQN layer count, time discretization, and the role of viscosity solutions (primarily for the value function $V^*$) in addressing potential non-smoothness of the optimal Q-function. This work bridges deep reinforcement learning and stochastic control, offering insights into DQNs in continuous-time settings, relevant for applications with physical systems or high-frequency data.
