Introduction
Batch Reinforcement Learning (Batch RL) addresses the challenge of training agents using only a fixed dataset of historical trajectories, without any new environment interactions. This paradigm is essential for real-world applications like autonomous driving, industrial control, or healthcare, where online "trial and error" is dangerous or prohibitively expensive.
However, Batch RL faces two primary hurdles:
- Optimization Complexity: The objective function for RL is often highly non-convex with many local optima. Even with perfect data, finding the global maximum is difficult.
- Distribution Shift: When a learned policy chooses actions different from those in the training data (the "behavior policy"), the agent has to guess the value of those actions. This often leads to overoptimistic value estimations for unseen actions, causing the policy to "collapse" into poor performance.
Methodology: The Continuation Method
To overcome these challenges, this paper introduces Soft Policy Iteration through Continuation Method. The core idea is to transform a difficult, hard-constrained optimization problem into a sequence of easier ones.
The authors modify the standard RL objective by adding a Kullback-Leibler (KL) divergence penalty between the learned policy ($\pi$) and the behavior policy ($\beta$). Crucially, they introduce a "temperature" parameter ($\tau$) that weights this penalty, employing a continuation strategy:
- Phase 1 (High $\tau$): The agent is forced to stay very close to the behavior policy (akin to Behavior Cloning). This provides a smooth, easy-to-optimize landscape and highly accurate value estimates because the agent remains strictly within the data distribution.
- Phase 2 (Decaying $\tau$): As training progresses, $\tau$ is gradually decreased. This slowly relaxes the constraint, allowing the agent to improve upon the behavior policy and seek the true optimal policy.
To prevent distribution shift in later stages, the method uses an Uncertainty-Aware Stopping criterion. It employs an ensemble of critic networks; if the variance between these critics becomes too high—indicating the agent is entering sparse, "uncharted" data regions—the decay of $\tau$ is halted, and the previous stable checkpoint is used.
Key Insights
Theoretically, maximizing a KL-regularized objective smooths the loss surface, leading to faster (linear) convergence and helping the agent avoid early sub-optimal plateaus. By starting with behavior cloning, the agent builds a reliable foundation of value estimates before attempting to outperform the behavior policy. The continuation method allows the agent to exhaustively exploit the information in the collected trajectories, while the stopping criterion prevents it from chasing "phantom" rewards in state-action pairs that lack sufficient data support.
Experiments and Results
The method was rigorously evaluated across three distinct benchmarks: MuJoCo continuous control tasks, Atari 2600 vision-based discrete games, and a MovieLens-1M recommendation dataset.
- MuJoCo: The continuation method matched or outperformed six major baselines (including CQL, BEAR, and BRAC) across almost all settings. It proved particularly effective on "mixed" datasets where the behavior policy was mediocre.
- Atari: On 7 out of 8 games, the approach achieved higher scores than BCQ, REM, and CQL, sometimes doubling the score of the next best baseline (e.g., in Seaquest and MsPacman).
- Recommender Systems: Treated as a contextual bandit problem, the method achieved significantly higher precision compared to standard Cross-Entropy and Importance Sampling (IPS) baselines, proving its robustness in industrial settings.
Limitations and Future Work
Despite its strong performance, the method has limitations. It relies heavily on accurately modeling the behavior policy ($\beta$) from the data; if $\beta$ is extremely complex or multimodal, the KL penalty may be less effective. Additionally, it introduces new hyperparameters, such as the decay rate ($\lambda$) and initial temperature ($\tau_0$).
Future work may explore adaptive schedules for decaying $\tau$, perhaps by tying it directly to the local density of the data rather than relying on a global schedule.
Summary updated