Skip to main content
QUICK REVIEW

[Paper Review] Keeping Your Distance: Solving Sparse Reward Tasks Using Self-Balancing Shaped Rewards

Alexander T. Trott, Stephan Zheng|arXiv (Cornell University)|Nov 4, 2019
Reinforcement Learning in RoboticsComputer Science31 citations
TL;DR

This paper proposes Sibling Rivalry, a self-balancing reward shaping method that uses paired rollouts to prevent agents from getting stuck in local optima when learning from distance-to-goal shaped rewards. By comparing sibling trajectories, the method encourages diverse exploration without additional reward engineering, enabling efficient learning on sparse-reward tasks like maze navigation and 3D construction in Minecraft, where standard shaping and intrinsic curiosity fail.

ABSTRACT

While using shaped rewards can be beneficial when solving sparse reward tasks, their successful application often requires careful engineering and is problem specific. For instance, in tasks where the agent must achieve some goal state, simple distance-to-goal reward shaping often fails, as it renders learning vulnerable to local optima. We introduce a simple and effective model-free method to learn from shaped distance-to-goal rewards on tasks where success depends on reaching a goal state. Our method introduces an auxiliary distance-based reward based on pairs of rollouts to encourage diverse exploration. This approach effectively prevents learning dynamics from stabilizing around local optima induced by the naive distance-to-goal reward shaping and enables policies to efficiently solve sparse reward tasks. Our augmented objective does not require any additional reward engineering or domain expertise to implement and converges to the original sparse objective as the agent learns to solve the task. We demonstrate that our method successfully solves a variety of hard-exploration tasks (including maze navigation and 3D construction in a Minecraft environment), where naive distance-based reward shaping otherwise fails, and intrinsic curiosity and reward relabeling strategies exhibit poor performance.

Motivation & Objective

  • To address the failure of naive distance-to-goal reward shaping in sparse-reward tasks due to local optima.
  • To develop a method that enhances exploration without requiring domain-specific reward engineering or external modules.
  • To maintain alignment with the original sparse reward objective while improving sample efficiency and convergence.
  • To enable effective learning in hard-exploration environments such as 3D navigation and construction in Minecraft.
  • To provide a generalizable, model-free approach that integrates seamlessly into existing RL frameworks.

Proposed method

  • The method introduces an auxiliary reward based on comparing pairs of independently sampled rollouts (sibling trajectories) under the same policy, initial state, and goal.
  • It computes a self-balancing reward that penalizes behaviors that are too similar to other trajectories, thereby discouraging convergence to local optima.
  • The core mechanism uses the relative distance-to-goal between sibling rollouts to estimate local optima and promote exploration away from them.
  • The shaped reward dynamically adjusts: it converges to the original sparse reward as the policy improves and successfully reaches the goal.
  • The approach is model-free and does not require training or maintaining an external world model or curiosity module.
  • It is compatible with hierarchical RL and can be applied to both continuous and discrete action spaces.

Experimental results

Research questions

  • RQ1Can distance-to-goal shaping be made robust to local optima without requiring problem-specific reward engineering?
  • RQ2Can sibling trajectory comparison effectively stabilize learning and prevent premature convergence in sparse-reward environments?
  • RQ3Does the self-balancing reward mechanism preserve the original task objective while improving sample efficiency?
  • RQ4How does the method compare to intrinsic curiosity and hindsight experience replay in hard-exploration tasks?
  • RQ5Can the method generalize across diverse environments, including complex 3D construction tasks?

Key findings

  • Sibling Rivalry successfully solves maze navigation and 3D construction tasks in Minecraft where naive distance-to-goal shaping fails.
  • The method outperforms intrinsic curiosity and reward relabeling baselines in exploration efficiency and final task performance.
  • In the Minecraft environment, the method achieves high success rates on 4806 unique goal-structure configurations, demonstrating strong generalization.
  • The self-balancing reward converges to the sparse reward as the agent learns, ensuring policy optimality is preserved.
  • The approach enables effective learning in hierarchical control settings, showing compatibility with complex task structures.
  • Experiments confirm that sibling trajectory comparison effectively destabilizes local optima without introducing new stable attractors.

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.