Skip to main content
QUICK REVIEW

[Paper Review] On Learning Intrinsic Rewards for Policy Gradient Methods

Zeyu Zheng, Junhyuk Oh|arXiv (Cornell University)|Apr 17, 2018
Reinforcement Learning in RoboticsComputer Science21 references33 citations
TL;DR

This paper proposes LIRPG, a novel stochastic-gradient method to learn parametric intrinsic rewards for policy gradient agents, enabling them to improve learning efficiency on sparse-reward environments. The method trains intrinsic rewards to maximize extrinsic performance, showing significant gains over extrinsic-only and live-bonus baselines in 4 out of 5 MuJoCo domains and all 15 Atari games tested.

ABSTRACT

In many sequential decision making tasks, it is challenging to design reward functions that help an RL agent efficiently learn behavior that is considered good by the agent designer. A number of different formulations of the reward-design problem, or close variants thereof, have been proposed in the literature. In this paper we build on the Optimal Rewards Framework of Singh et.al. that defines the optimal intrinsic reward function as one that when used by an RL agent achieves behavior that optimizes the task-specifying or extrinsic reward function. Previous work in this framework has shown how good intrinsic reward functions can be learned for lookahead search based planning agents. Whether it is possible to learn intrinsic reward functions for learning agents remains an open problem. In this paper we derive a novel algorithm for learning intrinsic rewards for policy-gradient based learning agents. We compare the performance of an augmented agent that uses our algorithm to provide additive intrinsic rewards to an A2C-based policy learner (for Atari games) and a PPO-based policy learner (for Mujoco domains) with a baseline agent that uses the same policy learners but with only extrinsic rewards. Our results show improved performance on most but not all of the domains.

Motivation & Objective

  • Address the challenge of designing effective reward functions in sparse or complex sequential decision-making tasks where extrinsic rewards are sparse or ambiguous.
  • Overcome limitations of traditional reward shaping and intrinsic motivation methods that rely on handcrafted bonuses or fixed function forms.
  • Develop a scalable, end-to-end method to learn intrinsic reward functions that improve policy gradient learning without requiring lookahead planning or external supervision.
  • Enable policy gradient agents to achieve better performance by learning intrinsic rewards that are optimized to maximize extrinsic return, even under computational and representational constraints.

Proposed method

  • Formulate the intrinsic reward learning problem as a bilevel optimization: the policy is trained to maximize the sum of extrinsic and intrinsic rewards, while the intrinsic reward parameters are updated to improve extrinsic performance.
  • Use stochastic gradient descent to jointly optimize policy parameters and intrinsic reward parameters via a differentiable approximation of the policy gradient.
  • Train the intrinsic reward module using a meta-learning objective: the intrinsic reward is updated to maximize the expected extrinsic return achieved by the policy.
  • Apply the method to A2C and PPO agents, using shared architectures and hyperparameters between baseline and augmented agents to ensure fair comparison.
  • Incorporate a delayed reward mechanism in MuJoCo environments to simulate sparse feedback, increasing the difficulty of the learning task.
  • Train the policy using only intrinsic rewards in an ablation study to evaluate whether the learned intrinsic rewards capture sufficient structure to drive complex behavior.

Experimental results

Research questions

  • RQ1Can a learned intrinsic reward function significantly improve the sample efficiency and final performance of policy gradient agents in sparse-reward environments?
  • RQ2Does learning intrinsic rewards via gradient-based optimization outperform fixed intrinsic bonuses such as the 'live bonus' in both Atari and MuJoCo domains?
  • RQ3Can a policy be trained effectively using only the learned intrinsic reward, without any extrinsic reward signal, and still achieve competitive performance?
  • RQ4How robust is the proposed method across diverse environments with varying degrees of sparsity and complexity?
  • RQ5To what extent does the intrinsic reward function capture the underlying structure of the extrinsic reward, enabling generalization beyond simple exploration bonuses?

Key findings

  • LIRPG improved learning performance on 15 Atari games using A2C, with consistent gains across all environments tested.
  • On MuJoCo domains, LIRPG outperformed the extrinsic-only PPO baseline in 4 out of 5 environments (Hopper, HalfCheetah, Walker2d, Ant) when using a 20-step delay in extrinsic rewards.
  • The method outperformed the live-bonus baseline in 4 out of 5 MuJoCo domains, with comparable performance on HalfCheetah.
  • In the ablation study, training the policy using only intrinsic rewards achieved performance comparable to the mixture of intrinsic and extrinsic rewards in 3 out of 5 MuJoCo environments.
  • On Hopper, training with only intrinsic rewards performed worse than the mixture, but still outperformed training with only a live bonus, indicating the intrinsic reward captured more than just survival.
  • The results suggest that the learned intrinsic reward encodes more complex, task-relevant structure than simple exploration bonuses, enabling effective learning even without extrinsic feedback.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.