English

Safe and Near-Optimal Control with Online Dynamics Learning

Systems and Control 2026-02-24 v2 Machine Learning Robotics Systems and Control Dynamical Systems Optimization and Control

Abstract

Achieving both optimality and safety under unknown system dynamics is a central challenge in real-world deployment of agents. To address this, we introduce a notion of maximum safe dynamics learning, where sufficient exploration is performed within the space of safe policies. Our method executes pessimistically\textit{pessimistically} safe policies while optimistically\textit{optimistically} exploring informative states and, despite not reaching them due to model uncertainty, ensures continuous online learning of dynamics. The framework achieves first-of-its-kind results: learning the dynamics model sufficiently - up to an arbitrary small tolerance (subject to noise) - in a finite time, while ensuring provably safe operation throughout with high probability and without requiring resets. Building on this, we propose an algorithm to maximize rewards while learning the dynamics only to the extent needed\textit{only to the extent needed} to achieve close-to-optimal performance. Unlike typical reinforcement learning (RL) methods, our approach operates online in a non-episodic setting and ensures safety throughout the learning process. We demonstrate the effectiveness of our approach in challenging domains such as autonomous car racing and drone navigation under aerodynamic effects - scenarios where safety is critical and accurate modeling is difficult.

Keywords

Cite

@article{arxiv.2509.16650,
  title  = {Safe and Near-Optimal Control with Online Dynamics Learning},
  author = {Manish Prajapat and Johannes Köhler and Melanie N. Zeilinger and Andreas Krause},
  journal= {arXiv preprint arXiv:2509.16650},
  year   = {2026}
}
R2 v1 2026-07-01T05:47:12.336Z