Actively Learning Reinforcement Learning: A Stochastic Optimal Control Approach

Mohammad S. Ramadan, Mahmoud A. Hayajnh, Michael T. Tolley, Kyriakos G. Vamvoudakis · DOI

Abstract

In this paper we propose a framework towards achieving two intertwined objectives: (i) equipping reinforcement learning with active exploration and deliberate information gathering, such that it regulates state and parameter uncertainties resulting from modeling mismatches and noisy sensory; and (ii) overcoming the computational intractability of stochastic optimal control. We approach both objectives by using reinforcement learning to compute the stochastic optimal control law. On one hand, we avoid the curse of dimensionality prohibiting the direct solution of the stochastic dynamic programming equation. On the other hand, the resulting stochastic optimal control reinforcement learning agent admits caution and probing, that is, optimal online exploration and exploitation. Unlike fixed exploration and exploitation balance, caution and probing are employed automatically by the controller in real-time, even after the learning process is terminated. We conclude the paper with a numerical simulation, illustrating how a Linear Quadratic Regulator with the certainty equivalence assumption may lead to poor performance and filter divergence, while our proposed approach is stabilizing, of an acceptable performance, and computationally convenient.

Introduction

Autonomous systems operating in the real world face two primary challenges: noisy sensory data and modeling mismatches between simulation and reality. While standard Reinforcement Learning (RL) typically assumes perfect state observability, Stochastic Optimal Control (SOC)—specifically "dual control"—offers a theoretical framework for handling uncertainty. A dual controller exhibits two critical behaviors: caution (acting conservatively under high uncertainty) and probing (actively taking actions to gather information). However, SOC is traditionally computationally intractable due to the "curse of dimensionality." This paper proposes using Deep RL as a numerical engine to solve these complex control laws, making SOC practical for higher-dimensional systems.

Methodology: RL as a Stochastic Optimal Control Solver

The proposed framework combines classical state estimation with modern Deep RL to bypass the need for solving stochastic dynamic programming equations directly.

Information State Approximation

Instead of tracking an infinite-dimensional probability distribution, the system utilizes an Extended Kalman Filter (EKF) to provide a "wide-sense" approximation of the state. This approximation consists of the mean (estimated position) and the covariance (uncertainty level). This 9-dimensional "information state" serves as the input for a Deep Deterministic Policy Gradient (DDPG) agent.

Reward for Active Learning

The reward function is augmented to include the trace of the covariance matrix, explicitly penalizing uncertainty. This incentivizes the agent to maintain a clear "vision" of its state. Consequently, the agent learns to "probe": if uncertainty rises, the policy steers the system toward high-observability regions to recalibrate.

Conceptual illustration of an agent navigating between high and low observability regions to manage state uncertainty.

Experimental Results

The framework was evaluated using a 3D nonlinear Hammerstein–Wiener model. The environment was designed with a "blind spot" where sensors provide no useful information if the state moves into a specific region ($x < 0$).

Stability vs. Divergence

In simulations, a standard Linear Quadratic Gaussian (LQG) controller failed because it attempted to drive the system toward a goal located in the blind region. This led to filter divergence and total system failure. In contrast, the RL-based dual controller learned to stay within visible regions. When moving toward the goal, it did so cautiously, deliberately returning to high-observability zones if uncertainty spiked.

Computational Feasibility

Training the agent on a single NVIDIA V-100 GPU took approximately 75 minutes. This demonstrates that using RL as a solver for SOC is computationally accessible, even for systems with nearly ten dimensions in their information state.

Normalized reward over training episodes, demonstrating the agent's ability to learn an effective control policy.

Conclusion and Future Work

This approach successfully demonstrates that RL can serve as a powerful tool for solving intractable optimal control problems. By training on the information state, the agent develops an enduring ability to probe and exercise caution, which remains active even after training is complete. Future work will explore scaling these methods to higher-dimensional robotics applications and investigating more systematic ways to tune the balance between caution and probing in the reward signal.

Summary updated

BibTeX
@misc{ramadan2023actively,
  author = {Mohammad S. Ramadan and Mahmoud A. Hayajnh and Michael T. Tolley and Kyriakos G. Vamvoudakis},
  title = {{Actively Learning Reinforcement Learning: A Stochastic Optimal Control Approach}},
  year = {2023},
  eprint = {2309.10831},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.10831},
}
Figure