The Pontryagin maximum principle and $Q$-functions in rough environments

Estepan Ashkarian, Prakash Chakraborty, Harsha Honnappa, Samy TindelarXiv 2026 · DOI

TL;DR

This paper provides a rigorous mathematical foundation for reinforcement learning (RL) in highly irregular, non-Markovian environments. By extending the Pontryagin Maximum Principle and Q-functions to systems driven by Rough Differential Equations (RDEs), the authors derive a guaranteed policy improvement algorithm for complex noisy settings, such as those modeled by fractional Brownian motion.

What Problem Does This Paper Address?

Most classical control theory and reinforcement learning algorithms rely on the assumption that noise is "well-behaved" (like standard Brownian motion) and that the system is Markovian (the future depends only on the present). However, real-world systems—ranging from high-frequency finance to atmospheric turbulence—often exhibit "roughness" and long-range dependencies that violate these assumptions.

The challenge is that in these "rough" environments, standard calculus fails. You cannot simply take a derivative of the system's state with respect to a control variable because the underlying noise is too jagged. Furthermore, the space of "relaxed controls" (where controls are probability distributions rather than single points) is not a vector space, making traditional functional derivatives unusable. This paper seeks to bridge this gap by creating a formal variational framework for RL in the presence of rough noise.

Methods

The authors employ the framework of Rough Path Theory to handle the irregular noise. Their primary innovation is a novel differentiation procedure based on "spike variations."

  • Spike Variations: Instead of perturbing a control across the entire time horizon, they change the control only on a tiny interval $[t_0, t_0 + \beta]$. By taking the limit as the interval $\beta$ shrinks to zero, they can calculate a "local" derivative even in non-vector spaces.
  • Relaxed Controls: They consider controls as probability measures ($\mathcal{P}(U)$), which allows for "randomized" strategies—a common requirement in RL for exploration.
  • Rough HJB Equations: They utilize Hamilton-Jacobi-Bellman (HJB) equations adapted for rough paths. To prove that their policy updates actually work, they use stochastic characteristics to transform a noisy, jagged PDE into a deterministic one with noisy coefficients, allowing them to apply classical comparison principles.

Datasets

Not discussed in the paper. This is a theoretical mathematical work focused on proving theorems and establishing a framework; it does not include empirical tests on specific datasets.

Key Insights and Ideas

  • Hamiltonian as a Q-Function: The paper formalizes the deep connection between the Hamiltonian (from classical physics and control) and the Q-function (from RL). In this rough setting, the "q-function" is defined as the infinitesimal version of the Q-function derived from spike variations.
  • Entropy-Driven Exploration: By adding an entropic cost constraint (penalizing policies that aren't "spread out" enough), the authors show that the optimal policy naturally takes a Gibbs-form (a softmax distribution). This provides a rigorous justification for the "Boltzmann exploration" strategies used heuristically in many RL algorithms.
  • Path Dependency: In rough environments, the optimal policy is implicitly dependent on the specific "noise path" the system has taken. The authors show that the gradient of the value function "anticipates" the future of the observations, a unique feature of the pathwise approach to control.

Key Results

  • The Rough Maximum Principle (Theorem 3.1): The authors derive a necessary condition for optimality in rough environments, providing a "backward RDE" that describes how the optimal co-state (the sensitivity of the objective to the state) evolves.
  • Policy Improvement Theorem (Theorem 5.9): This is the "aha!" result for RL practitioners. They prove that if you update a policy by choosing the one that maximizes the newly defined rough q-function (specifically, a Gibbs measure based on the q-function), the new policy is guaranteed to be better than (or equal to) the old one.
  • Explicit q-function Representation: They provide a formula (Proposition 4.11) that relates the q-function directly to the time derivative of the reward and the Hamiltonian, making it potentially computable for numerical applications.

Limitations and Future Work

  • The "Offline" Nature: The current framework is largely "pathwise," meaning it assumes we can see the full sample path of the noise. In a real-time "online" setting, we only see the past. The authors suggest that signature expansions (a tool from rough path theory) could be used in the future to create "adapted" versions of these algorithms.
  • Numerical Implementation: While the math is solid, the paper does not provide a discrete algorithm. Future work is needed to turn these continuous-time theorems into practical, discretized code that can run on a computer.
  • Computational Complexity: Approximating value functions in high-dimensional spaces remains a challenge (the "curse of dimensionality"). The authors point toward generalized Hopf-Lax formulas as a potential way to tackle this without traditional grid-based discretization.

Summary updated

Abstract

We derive the Pontryagin maximum principle and $Q$-functions for the relaxed control of noisy rough differential equations. Our main tool is the development of a novel differentiation procedure along `spike variation' perturbations of the optimal state-control pair. We then exploit our development of the infinitesimal $Q$-function (also known as the $q$-function) to derive a policy improvement algorithm for settings with entropic cost constraints.
BibTeX
@misc{ashkarian2026pontryagin,
  author = {Estepan Ashkarian and Prakash Chakraborty and Harsha Honnappa and Samy Tindel},
  title = {{The Pontryagin maximum principle and $Q$-functions in rough environments}},
  year = {2026},
  eprint = {2601.05354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.05354},
}
Figure