[Paper Review] Competitive Experience Replay
This paper proposes Competitive Experience Replay (CER), a method that enhances exploration in sparse-reward reinforcement learning by pitting two agents against each other in a shared task: one agent (A) is penalized for visiting states also reached by the other (B), while B is rewarded for discovering new states. CER accelerates learning and improves performance in sparse-reward environments like robotic manipulation and navigation, especially when combined with Hindsight Experience Replay (HER), achieving faster convergence and higher success rates without reward shaping.
Deep learning has achieved remarkable successes in solving challenging reinforcement learning (RL) problems when dense reward function is provided. However, in sparse reward environment it still often suffers from the need to carefully shape reward function to guide policy optimization. This limits the applicability of RL in the real world since both reinforcement learning and domain-specific knowledge are required. It is therefore of great practical importance to develop algorithms which can learn from a binary signal indicating successful task completion or other unshaped, sparse reward signals. We propose a novel method called competitive experience replay, which efficiently supplements a sparse reward by placing learning in the context of an exploration competition between a pair of agents. Our method complements the recently proposed hindsight experience replay (HER) by inducing an automatic exploratory curriculum. We evaluate our approach on the tasks of reaching various goal locations in an ant maze and manipulating objects with a robotic arm. Each task provides only binary rewards indicating whether or not the goal is achieved. Our method asymmetrically augments these sparse rewards for a pair of agents each learning the same task, creating a competitive game designed to drive exploration. Extensive experiments demonstrate that this method leads to faster converge and improved task performance.
Motivation & Objective
- To address the challenge of sample inefficiency in deep reinforcement learning under sparse or binary rewards, where traditional reward shaping is impractical.
- To develop a method that automatically generates an exploratory curriculum without requiring hand-designed reward functions or demonstrations.
- To improve exploration and learning efficiency in high-dimensional control tasks such as robotic manipulation and navigation.
- To design a scalable, generalizable approach that complements existing techniques like Hindsight Experience Replay (HER).
- To investigate how intra-agent competition can shape effective off-policy experience replay for better policy optimization.
Proposed method
- CER introduces a competitive dynamic between two agents learning the same goal-conditioned task, where agent A is penalized for overlapping state visits with agent B.
- Agent B is rewarded for visiting states not previously visited by agent A, creating a self-supervised exploration curriculum.
- The method uses two variants: independent CER (B initialized from initial state distribution) and interact CER (B initialized from off-policy samples of A).
- CER maintains the original task’s binary reward signal, ensuring policy optimization remains aligned with the true goal.
- The approach is integrated with Deep Deterministic Policy Gradient (DDPG) and can be combined with HER, which re-labels experiences using achieved goals.
- CER re-labels experiences based on inter-agent behavior rather than intra-agent rollouts, making it algorithmically complementary to HER.
Experimental results
Research questions
- RQ1Can a competitive dynamic between two agents improve exploration efficiency in sparse-reward reinforcement learning environments?
- RQ2How does CER compare to curiosity-driven exploration and HER in terms of sample efficiency and convergence speed?
- RQ3Does the choice of B’s initialization (independent vs. interact) significantly affect learning performance and exploration quality?
- RQ4Can CER be effectively combined with HER to further improve performance in sparse-reward tasks?
- RQ5To what extent does CER generate a meaningful, implicit curriculum that guides agents toward goal states more efficiently?
Key findings
- CER significantly improves learning speed and final performance on sparse-reward tasks such as navigating an ant maze and manipulating robotic arms with binary rewards.
- When combined with HER, CER achieves higher success rates and faster convergence than either method alone or with curiosity-based exploration.
- Ablation studies confirm that CER’s competitive mechanism is essential for performance, as removing it leads to slower learning and lower success rates.
- State visitation analysis shows that CER agents explore more diverse and goal-relevant regions of the state space, especially in later training epochs.
- The interact CER variant, which initializes B from A’s off-policy samples, leads to more effective exploration and better performance than independent CER.
- CER and HER are algorithmically complementary, with CER enhancing exploration and HER improving sample efficiency through goal re-labelling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.