Abstract
Standard reinforcement learning algorithms often struggle in environments where rewards are delayed and non-Markovian. This paper introduces a novel off-policy framework that reformulates the Q-function using a "History-Current" (HC) decomposition. By separating the value contribution of past trajectory segments from the current state-action pair, the proposed method provides theoretical convergence guarantees and significantly reduces gradient variance. Empirical evaluations on high-dimensional control tasks demonstrate that this approach achieves near-oracle performance, outperforming existing state-of-the-art baselines.
Introduction
Most reinforcement learning (RL) research assumes the Markov property, where an immediate reward $r(s, a)$ is provided after every action. However, real-world applications like industrial process control or molecular design often feature delayed feedback. In these "Delayed Reward MDPs" (DRMDPs), a single reward signal may reflect the cumulative outcome of a sequence of actions. Applying standard off-policy algorithms like SAC or TD3 to DRMDPs typically results in significant fixed-point bias and high gradient variance, leading to unstable training and sub-optimal policies.
Methodology
The authors propose three key innovations to address the challenges of delayed rewards:
1. Past-Invariant (PI) Condition
The framework identifies a class of environments where the relative credit for different actions depends solely on future experience. This condition encompasses many practical scenarios, such as "sum-form" rewards where the observed signal is the sum of hidden per-step rewards.
2. Reformulated Q-Function
Instead of a standard state-action value function $Q(s, a)$, the authors define a Q-function over trajectory segments, $Q^\pi(\tau)$, capturing dependencies within the "signal interval" (the time between reward observations). They prove this formulation has a unique fixed point and supports a Policy Improvement Theorem for delayed rewards.
3. HC-Decomposition and Regularization
To scale to high-dimensional states, the Q-function is decomposed as: $$Q_\phi(\tau_{history}, s_t, a_t) = H_\phi(\tau_{history}) + C_\phi(s_t, a_t)$$ The History (H) component captures the value contribution of past steps, while the Current (C) component focuses on the immediate action. Crucially, the policy gradient depends only on the $C$ component. To prevent the $H$ component from "over-explaining" rewards, a regularization term ($L_{reg}$) is introduced to ensure meaningful credit assignment to individual actions.
Key Insights: Reducing Variance
A central finding of this work is the "Variance Win." Standard recurrent models (like Q-RNN) suffer because policy updates must account for the entire noisy history. By using HC-decomposition, the agent can update the policy using a significantly cleaner gradient.
As shown in the figure above, HC-decomposition results in substantially lower policy gradient variance compared to standard recurrent architectures. Furthermore, the ablation study highlights that without proper regularization, the model fails to accurately assign credit, underscoring the necessity of balancing the $H$ and $C$ components.
Experimental Results
The researchers evaluated the proposed Q-HC algorithm on modified OpenAI Gym (MuJoCo) benchmarks, including Hopper-v2, Walker2d-v2, and Ant-v2. In these tasks, rewards were only revealed every 20 steps.
The Q-HC algorithms, particularly the "Pairwise" variant, consistently outperformed baselines such as SAC, LIRPG, and RUDDER. In many instances, Q-HC achieved performance levels nearly identical to an "Oracle SAC"—an agent with access to perfect, instantaneous rewards—demonstrating remarkable efficiency despite the sparse feedback.
Conclusion and Future Work
This paper provides a mathematically grounded approach to off-policy RL with delayed rewards. By leveraging HC-decomposition and targeted regularization, the authors overcome the variance and bias issues inherent in DRMDPs. While the current framework relies on the "Past-Invariant" assumption, future work could explore more complex reward structures and extend these techniques to the offline RL setting, where learning from fixed datasets with delayed rewards remains a significant challenge.
Summary updated