Automatic Successive Reinforcement Learning with Multiple Auxiliary Rewards

Zhao-Yang Fu, De-Chuan Zhan, Xin-Chun Li, Yi-Xing Lu

Abstract

Reinforcement Learning (RL) often struggles with "sparse rewards," where an agent receives feedback too infrequently to learn efficiently. This paper introduces Automatic Successive Reinforcement Learning (ASR), a framework that automatically selects and weights multiple auxiliary rewards at different stages of training to guide the agent toward the optimal policy faster and more reliably than standard methods.

Introduction

In many real-world RL tasks, the "true" reward is sparse—for example, a robot only gets a point when it successfully assembles a complex part. Without intermediate feedback, the agent wanders aimlessly. Researchers often use auxiliary rewards (reward shaping) to provide "hints," but this creates new problems: manual design of weights and static weighting throughout training. A reward helpful at the start might be distracting later. The authors propose ASR to automate stage-dependent reward selection, allowing the agent to decide which "hints" are most valuable at any given moment in its learning journey.

Methodology

The ASR framework is built upon Trust Region Policy Optimization (TRPO), a popular RL algorithm known for stable updates. The core innovation lies in handling a vector of multiple auxiliary rewards. At each training iteration, ASR calculates the gradient for every available auxiliary reward and solves an optimization problem to find the best weights ($w$) based on three proposed strategies:

  1. ASR-L1 (Reward Selection): Uses an $L_1$ constraint to produce sparse weights, picking the single best auxiliary reward for that step.
  2. ASR-L2 (Reward Shrinking): Uses an $L_2$ constraint to spread weights across multiple rewards, allowing the agent to benefit from a combination of signals.
  3. ASR-MG (Maximum Gradient): Seeks the weight combination resulting in the largest policy parameter change for fastest learning.

Crucially, using potential-based reward shaping ensures the optimal policy remains unchanged regardless of auxiliary reward prioritization. By defining auxiliary rewards as differences in a potential function, the authors guarantee that the set of optimal policies for the augmented reward function is identical to that of the original sparse reward.

Experimental Setup

ASR was evaluated on standard benchmarks with added auxiliary rewards:

  • OpenAI Classical Control: MountainCar (auxiliaries: height, speed, position), CartPole (auxiliaries: cart position, pole angle), and Acrobot (auxiliary: end-effector height).
  • Video Games: Freeway (Atari) and Catcher (PyGame). In Catcher, a dense reward was added based on the horizontal distance between the paddle and the fruit.

Results and Analysis

Performance Against Single-Reward Baselines

ASR methods significantly outperformed standard single-reward algorithms. In environments like Acrobot, ASR reached peak performance much faster than PPO, A2C, or basic TRPO. The dynamic weighting allows the agent to bypass the initial exploration phase that often stalls standard algorithms in sparse-reward settings.

Acrobot performance compared to single-reward methods.

Comparison with Multi-Reward Strategies

ASR also demonstrated superiority over static weighting methods like LSRH (Linear Sparse Reward Heuristic) and voting-based Ensemble methods. In MountainCar, ASR maintained higher stability and faster convergence, proving that dynamic weighting is superior to a fixed linear combination of rewards.

MountainCar performance compared to multiple reward methods.

Key Insights

  • Dynamic Weighting: ASR often assigns very low weight to the original reward early in training, relying on auxiliary hints until they are no longer needed. This mimics a "curriculum" that emerges automatically from data.
  • Efficiency: The optimization overhead is negligible as the number of auxiliary rewards is typically small (3–5), making the cost of solving for weights minor compared to deep neural network updates.

Conclusion and Future Work

ASR provides a robust way to automate reward weighting in RL. While it still requires human-defined auxiliary rewards and is currently tied to TRPO, it shows great promise for complex environments. Future work includes extending it to other base learners like PPO and exploring its performance in higher-dimensional tasks like autonomous driving simulations.

Summary updated

BibTeX
@inproceedings{fu2019automatic,
  author = {Zhao-Yang Fu and De-Chuan Zhan and Xin-Chun Li and Yi-Xing Lu},
  title = {{Automatic Successive Reinforcement Learning with Multiple Auxiliary Rewards}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/324},
}
Figure