Introduction
Reinforcement Learning (RL) agents typically rely on value functions to estimate the expected future rewards from a given state. However, in real-world applications, these estimates are often plagued by high variance due to sensor noise and partial observability. Standard model-free methods can react erratically to noisy observations, leading to unstable learning. While Recurrent Neural Networks (RNNs) like LSTMs are a common solution for handling temporal sequences, they are often sample-inefficient and difficult to tune.
This paper introduces Recurrent Value Functions (RVFs), a novel approach that stabilizes value estimation by smoothing estimates along a trajectory. By using a trainable gating mechanism, RVFs effectively disentangle signal from noise, providing a robust alternative to standard recurrent architectures in continuous control tasks.
The Recurrent Value Function (RVF)
The core innovation of this work is the definition of the value function as a convex combination of the current observation's estimate and the previous recurrent estimate. Formally, the RVF ($V^\beta$) is defined as:
$$V^\beta(s_t) = \beta(s_t)V(s_t) + (1 - \beta(s_t))V^\beta(s_{t-1})$$
In this formulation, $\beta(s_t)$ is the emphasis function, a trainable component parametrized by $\omega$. This function acts as a dynamic gate: a high $\beta$ (near 1) indicates the agent trusts the current observation, while a low $\beta$ (near 0) causes the agent to rely more on the smoothed history of the trajectory. To ensure computational efficiency during deep learning implementation, the authors utilize a semi-gradient update rule and recursive eligibility traces.
Experimental Evaluation
The authors evaluated RVFs against standard baselines, including Proximal Policy Optimization (PPO), Advantage Actor-Critic (A2C), and their LSTM-augmented counterparts. Testing was conducted on the MuJoCo suite (e.g., Swimmer-v2, Walker2d-v2, Hopper-v2) under two conditions: "clean" environments and "noisy" environments where Gaussian noise was added to sensor inputs.
As shown in the results, vanilla PPO performance degrades significantly when sensor noise is introduced. In contrast, R-PPO (PPO utilizing RVFs) maintains high performance and stability across all tasks, frequently outperforming even PPO-LSTM. This suggests that smoothing the value function directly is a more sample-efficient way to handle noise than maintaining a complex hidden state.
Interpretability of the Emphasis Function
A key advantage of RVFs is the interpretability of the emphasis function $\beta$. Rather than acting as a simple constant, $\beta$ learns to identify salient moments in a trajectory.
In the Hopper task, $\beta$ exhibits a cyclical pattern, spiking when the agent is about to jump or land—moments where the value estimate changes rapidly and current observations are critical. Conversely, $\beta$ drops while the agent is mid-air, relying on the smoothed historical value when new observations are less informative. This behavior demonstrates that the RVF naturally learns to prioritize "important" states.
Conclusion and Limitations
Recurrent Value Functions offer a simple yet powerful method for improving the robustness of RL agents in noisy, continuous environments. By smoothing value estimates through a learned emphasis function, RVFs achieve superior sample efficiency compared to LSTMs while providing an interpretable signal of state saliency.
Despite these strengths, the authors note potential limitations. Exponential smoothing can introduce bias if the value function changes too rapidly (non-stationarity), and environments with constant rewards may require specific adjustments to the RVF formulation to prevent bias accumulation. Future work may explore using the emphasis function to prioritize experience replay or assist in long-horizon credit assignment.
Summary updated