Abstract
Traditional deep reinforcement learning (RL) relies heavily on discount factors to ensure mathematical convergence, often at the cost of agent foresight and stability. This paper introduces Average-Reward Soft Actor-Critic (ASAC), a novel framework that integrates entropy regularization with the average-reward formulation. By utilizing differential value functions and a new policy improvement theorem, ASAC eliminates the need for discount factor tuning while maintaining the exploration benefits of maximum entropy RL. Evaluated on the MuJoCo locomotion suite, ASAC demonstrates superior performance and faster convergence compared to existing average-reward baselines, effectively solving complex high-dimensional tasks where previous methods struggled.
Introduction: The Problem with Discounting
In standard Reinforcement Learning, a discount factor ($\gamma < 1$) is typically employed to ensure that the sum of future rewards remains finite. While mathematically convenient, discounting acts as a "mathematical crutch" that can force agents into short-sighted behavior. Selecting the optimal $\gamma$ is a notorious challenge: a value too low causes the agent to ignore long-term objectives, while a value too high can lead to numerical instability and training failure.
The average-reward formulation offers a more natural fit for "continuing" tasks, such as a robot walking indefinitely, by optimizing for the steady-state reward rate rather than a discounted sum. However, until now, the RL community lacked a robust deep RL equivalent to entropy-regularized algorithms like Soft Actor-Critic (SAC) for the average-reward setting.
Methodology: Average-Reward Soft Actor-Critic (ASAC)
ASAC bridges the gap between maximum entropy RL and average-reward frameworks through several theoretical and algorithmic innovations:
- ERAR Framework: The authors define Entropy-Regularized Average-Reward (ERAR) MDPs, incorporating a "prior policy" and a temperature parameter ($\beta$) to encourage exploration.
- Differential Value Functions: ASAC utilizes "differential" Q-values, which represent the relative advantage of an action compared to the expected average reward rate ($\theta$).
- Policy Improvement Theorem: The researchers mathematically proved that Boltzmann-style policy updates—the core of SAC—guarantee improvement within the average-reward context.
- Stability Mechanisms: To ensure stable training, ASAC implements "centering" (pinning Q-values to prevent divergence) and adaptive resets for tasks that can fail (e.g., a robot falling), where the penalty scales with current performance.
Experimental Evaluation
The algorithm was evaluated on the Gymnasium MuJoCo suite (v5), including locomotion tasks like HalfCheetah, Ant, Hopper, Walker2d, and Humanoid, as well as the notoriously difficult Swimmer environment.
Key Results
ASAC demonstrated clear superiority over existing average-reward baselines such as APO, ARO-DDPG, and ATRPO across all benchmarks.
- Superior Asymptotic Performance: ASAC achieved higher final rewards in almost every environment.
- Robustness to Complexity: On high-dimensional tasks like the 37-degree-of-freedom Humanoid, ASAC maintained stable learning curves where previous average-reward methods often failed to learn.
- Solving the "Unsolvable": In the Swimmer environment, which typically requires extreme hyperparameter tuning for discounted methods, ASAC succeeded "out of the box" by removing the reliance on a manually tuned horizon.
Conclusion and Future Work
ASAC represents a significant step forward in making average-reward RL practical for complex continuous control. By viewing ASAC as the logical limit of SAC as $\gamma \to 1$, the framework provides a principled way to handle long horizons without numerical instability. Future work will focus on automating the temperature parameter ($\beta$) and integrating sample-efficiency techniques like Prioritized Experience Replay to further accelerate learning.
Summary updated