Inferring Transition Dynamics from Value Functions
Jacob Adamczyk
TL;DR
The paper tackles inferring environment transition dynamics from pre-trained value functions in reinforcement learning by rearranging the Bellman equation to recover a dynamics model $s' = f(s,a)$ from $Q^\pi$ and $V^\pi$, under some structural assumptions. It provides theoretical guarantees for both continuous and discrete state spaces: in the continuous case, the next-state estimation error scales with the value-function error as $|s' - \hat s'| < \frac{1+\gamma}{\gamma L} \varepsilon$ where $L$ is the reverse-Lipschitz constant, while in the discrete case identifiability holds if $\varepsilon < \delta (2/\gamma + 2)^{-1}$ for a $\delta$-separable $V^\pi$. The work demonstrates a practical proof-of-concept in a tabular grid world, showing that successor states can be recovered from value functions with accuracy governed by these bounds, and discusses how higher discount factors $\gamma$ improve identifiability. Overall, the approach bridges model-free and model-based RL by reusing offline value solutions to infer dynamics, with potential benefits for offline/transfer learning and sample-efficient planning without explicit dynamics models.
Abstract
In reinforcement learning, the value function is typically trained to solve the Bellman equation, which connects the current value to future values. This temporal dependency hints that the value function may contain implicit information about the environment's transition dynamics. By rearranging the Bellman equation, we show that a converged value function encodes a model of the underlying dynamics of the environment. We build on this insight to propose a simple method for inferring dynamics models directly from the value function, potentially mitigating the need for explicit model learning. Furthermore, we explore the challenges of next-state identifiability, discussing conditions under which the inferred dynamics model is well-defined. Our work provides a theoretical foundation for leveraging value functions in dynamics modeling and opens a new avenue for bridging model-free and model-based reinforcement learning.
