Hidden States as Value Gradients: The Pontryagin Structure of Recurrent Policies
Not on the map. Why?
Abstract (arXiv)
A key capability of intelligent agents is to act effectively under incomplete state observations. Recurrent policies address this by compressing observation histories into a hidden state. In this work, we show that the hidden state of a recurrent policy admits a control-theoretic interpretation: it plays the role of the co-state in Pontryagin's minimum principle, and the readout that maps it to actions implements control-Hamiltonian minimization. The hidden state thus tracks the gradient of the value function, encoding the optimality structure of the underlying control problem. We formalize this correspondence through a class of policies we refer to as co-state policies (CPs) and show that several modern recurrent cells implicitly realize this structure. The correspondence also allows for a co-state loss for actor-critic training, in which the critic's gradient serves as a target for the actor's hidden state. Empirically, we find that hidden states trained with the co-state loss encode co-state information beyond what is linearly decodable from the environment state alone, and that the loss improves policies both within and outside this class on challenging locomotion tasks, including the H1 and Berkeley humanoids. By connecting the minimum principle to recurrent memory, we provide a control-theoretic account of what hidden states compute in continuous control and a mechanism for shaping them toward optimality.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 25 of its 47 references that are in the map. First posted on arXiv 6 May 2026.
Builds on
25 of 47 references.
References · 25
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
- 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 2,026
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2018DeepMind Control Suitecited by 956
- 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 913
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2018Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Modelscited by 774
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
13 more
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2015Deep Recurrent Q-Learning for Partially Observable MDPscited by 465
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2021Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPscited by 122
- 2024RoboMamba: Efficient Vision-Language-Action Model for Robotic Reasoning and Manipulationcited by 103
- 2019Pontryagin Differentiable Programming: An End-to-End Learning and Control Frameworkcited by 52
- 2025RSL-RL: A Learning Library for Robotics Researchcited by 49
- 2019Variational Recurrent Models for Solving Partially Observable Control Taskscited by 47
- 2024Were RNNs All We Needed?cited by 38
- 2025Uncertainty-Aware Robotic World Model Makes Offline Model-Based Reinforcement Learning Work on Real Robotscited by 17
- 2025Optimal Control of Probabilistic Dynamics Models via Mean Hamiltonian Minimizationcited by 3
- 2025Automated Discovery of Laser Dicing Processes with Bayesian Optimization for Semiconductor Manufacturingcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Unraveling the Hidden Dynamical Structure in Recurrent Neural Policies
- 2025Informed Asymmetric Actor-Critic: Leveraging Privileged Signals Beyond Full-State Access
- 2026Memory-State Critic for Asymmetric Actor-Critic with Application to Vision-Based Pursuit-Evasion
- 2026Policy Gradient Methods for Non-Markovian Reinforcement Learning
- 2026Planning as Emergent Behavior in Reinforcement Learning with Relational Hidden States
- 2026Learning Suffers More Than the Policy Class Under Partial Observability: A Closed-Form Analysis
- 2025Functional Critics Are Essential for Actor-Critic: From Off-Policy Stability to Efficient Exploration
- 2025Mutual Information Tracks Policy Coherence in Reinforcement Learning