Abstract
Deep reinforcement learning (DRL) agents excel in solving complex decision-making tasks across various domains. However, they often require a substantial number of training steps and a vast experience replay buffer, leading to significant computational and resource demands. To address these challenges, we introduce a novel theoretical result that leverages the Neyman-Rubin potential outcomes framework into DRL. Unlike most methods that focus on bounding the counterfactual loss, we establish a causal bound on the factual loss, which is analogous to the on-policy loss in DRL. This bound is computed by storing past value network outputs in the experience replay buffer, effectively utilizing data that is usually discarded. Extensive experiments across the Atari 2600 and MuJoCo domains on various agents, such as DQN and SAC, achieve up to 383% higher reward ratio, outperforming the same agents without our proposed term, and reducing the experience replay buffer size by up to 96%, significantly improving sample efficiency at a negligible cost.
Introduction
Deep Reinforcement Learning (DRL) is notoriously resource-heavy, typically requiring millions of interactions and massive experience replay buffers. The field is generally split between on-policy agents (e.g., PPO), which are stable but inefficient due to data disposal, and off-policy agents (e.g., DQN, SAC), which are efficient but suffer from "policy mismatch" instability.
The proposed SUFT (Sample efficient, Upper bound, Factual loss, and Treatment effect) framework aims to bridge this gap. By "recycling" value network outputs that are typically discarded, SUFT establishes a causal bound that allows agents to learn more stably from past experiences. This approach treats the agent's policy as a "treatment" within the Neyman-Rubin potential outcomes framework, effectively turning "sand" (discarded data) into "gold" (a powerful training signal).
The SUFT Framework
The core of SUFT is the realization that the data needed to stabilize off-policy learning is already calculated during the acting phase. By saving these single scalar values ($Q$ or $V$ values) in the replay buffer—a negligible 0.003% space overhead—the agent can quantify the discrepancy between old behavior policies and the current target policy.
Unlike standard causal machine learning that bounds counterfactual error, SUFT bounds the factual loss (what the current policy would experience) using observed "counterfactual" data (old experiences). This creates an auxiliary loss term ($\psi_{SUFT}$) that regularizes learning based on causal principles, making it applicable to value-based, actor-critic, and even traditionally on-policy methods.
Experimental Results
The researchers evaluated SUFT across 57 Atari 2600 games and 5 MuJoCo continuous control environments. SUFT-enhanced versions of DQN, SAC, and PPO were compared against their standard baseline counterparts.
As shown in Figure 2, SUFT-DQN achieved a 383.19% higher mean reward ratio on Atari compared to the baseline. In MuJoCo environments, SUFT-SAC outperformed the baseline in 4 out of 5 environments with a 224.53% mean reward ratio.
Beyond aggregate scores, Figure 1 illustrates that SUFT consistently improves performance across a wide variety of individual Atari games. Notably, SUFT agents using a tiny 4K buffer outperformed baseline agents using a 100K buffer, representing a 96% reduction in memory requirements while maintaining superior performance and faster convergence to human-level results.
Conclusion and Future Work
SUFT demonstrates that causal bounds can significantly enhance DRL efficiency at a negligible computational cost. While the current theoretical proof relies on $L_1$ loss, empirical evidence suggests the bound holds for the more common $L_2$ loss in approximately 80% of cases. Future work aims to provide a rigorous theoretical bridge for $L_2$ loss and apply SUFT to physical robotics, where sample efficiency is critical due to the high cost of real-world failures.
Summary updated