Repetition as Reinforcement: Enhancing Sample Efficiency via Instant Episode Repetition in Reinforcement Learning
Organizations: Robot Learning Team, Center for Automation and Robotic Engineering Science (CARES), Department of Electrical, Computer and Software Engineering, University of Auckland, New Zealand
Abstract
Repetition is a fundamental mechanism in human learning, where revisiting successful experiences strengthens memory, consolidates skills, and improves future performance. Motivated by this biological principle, we introduce Instant Episode Repetition (IER), a simple and novel mechanism that improves sample efficiency by immediately repeating action sequences from successful episodes during environment interaction. Unlike conventional approaches such as Experience Replay and Self-Imitation Learning (SIL), which passively reuse past experience during training updates, IER directly influences the data collection process. Upon identifying a high-reward episode, the agent repeats its action sequence for a fixed number of subsequent episodes, reinforcing valuable behaviors through renewed interaction with the environment. We integrate IER into state-of-the-art SAC and TD3 algorithms and evaluate its effectiveness on continuous-control benchmarks, including MuJoCo, the DeepMind Control Suite, and a real-world dynamic object translation task with a robotic manipulator. Experimental results demonstrate that this simple mechanism improves learning performance over standard and self-imitation-based baselines.
Figures & tables
| Task | Agreement RN | Selection Type |
|---|---|---|
| Ant-v4 | RN1 | Intersection |
| Cheetah-Run | RN3 | Intersection |
| Walker-Walk | RN5 | Intersection |
| Cartpole-Swingup | RN2 | Intersection |
| HalfCheetah-v4 | RN4 | Rank-based |
| Hopper-v4 | RN2 | Rank-based |
| Environment | Suite | Task Type | Description | Approx. Difficulty |
|---|---|---|---|---|
| Ant-v4 | MuJoCo | Locomotion | Quadruped; coordination-heavy with complex contact dynamics. | High |
| HalfCheetah-v4 | MuJoCo | Locomotion | Planar biped; dense unbounded rewards support long-term learning. | Medium |
| Humanoid-v4 | MuJoCo | Locomotion | Biped with high DOF; unstable dynamics and sensitive to control noise. | High |
| Hopper-v4 | MuJoCo | Locomotion | Single-legged hopping; requires balance and precise control, with early termination on failure. | Medium |
| Walker-Walk | DMC | Locomotion | Bipedal walking; fewer DOF than Humanoid, but still unstable. | Medium |
| Cheetah-Run | DMC | Locomotion | Fast planar cheetah; velocity-based control under bounded rewards. | Low |
| Environment | Observation Space | Action Space | Horizon |
|---|---|---|---|
| MuJoCo (vector-based) | |||
| Ant-v4 | 1000 (may terminate early due to instability) | ||
| HalfCheetah-v4 | 1000 | ||
| Humanoid-v4 | 1000 (may terminate early due to instability) | ||
| Hopper-v4 | 1000 | ||
| DeepMind Control Suite (vector-based) | |||
| Feature | Description |
|---|---|
| Task Overview | |
| Task Type | Dynamic cube translation with robotic gripper |
| Object | Cube tracked via ArUco markers |
| Goal | Translate cube as far as possible within camera view |
| Reward Components | Force-closure grasp + lateral displacement |
| Hardware Setup | |
| Parameter | Value (Description) |
|---|---|
| Shared Parameters | |
| batch_size | 256 (Mini-batch size) |
| buffer_size | (Replay buffer size) |
| max_steps_exploration | (Exploration steps before training) |
| max_steps_training | (Total training steps) |
| number_steps_per_evaluation | (Steps between evaluations) |
Reinforcement Learning
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.
See all 1,717 papers