Learning From Failures: Efficient Reinforcement Learning Control with Episodic Memory
Chenyang Miao, Bingchen Zhou, Yu Jianliang, Zeyang Liu, Xingyu Chen, Qiongjie Cui, Xuguang Lan
NeurIPS page · Open on the map
Category: Reinforcement Learning & Games › Intrinsic Motivation and Exploration · Type: new method · Keywords: reinforcement learning, episodic memory, robot control, sample efficiency, failure avoidance
Areas: RL for LLMs & Agents › Language Model Reinforcement Learning › Reward Specification; Robotics & Embodied AI › Robotic Control and Planning › Reinforcement Learning
Summary
FEMA (Failure Episodic Memory Alert) stores failure experiences in an episodic memory to avoid repeated unstable states, yielding a 33.11% sample-efficiency improvement on MuJoCo tasks.
Explained to a 5-year-old
Robots learn by trying things and getting rewards when they do well. Sometimes they fall down or crash into things before they learn. The robot remembers those bad tries in a special notebook. When it is about to do something similar, the robot looks at the notebook and avoids the bad moves. This helps the robot learn faster and not fall as often.
Explained to a 5-year-old, longer
Robots are machines that can move and do tasks by themselves. They learn by trying many actions and seeing which ones give good results. When a robot tries something and it hurts itself, like falling, that is a failure. If a robot keeps doing the same mistake, it will not learn well. The researchers gave the robot a place to keep a memory of all the failures it has had. This memory works like a storybook where the robot can read about past mistakes. When the robot is about to do something similar to a failure, it looks at the storybook. It then chooses a different action that might work better instead of repeating the bad one. This helps the robot avoid falling again and again. Because it avoids the bad actions, the robot can try more useful things faster. The robot ends up learning how to do tasks with fewer falls and crashes. This makes the robot smarter and safer, especially in real-world places like homes or factories.
For a technical reader
The system adds an episodic memory buffer that stores failure trajectories encountered during reinforcement learning. During training, the agent retrieves similar past failures and uses them to modify its policy, preventing repeated unstable behaviors. This mechanism integrates seamlessly with existing model-free RL algorithms, requiring no changes to the underlying learning loop. As a result, the agent achieves significantly higher sample efficiency, reducing the number of interactions needed to converge. The approach was validated on simulated MuJoCo tasks and a real bipedal robot, showing consistent improvements across multiple RL baselines.
Problem
Reinforcement learning for robot control frequently encounters early-stage failures like collisions and falls. These short-horizon, low-return trajectories overwhelm learning and hinder convergence and long-horizon exploration.
Method
The approach uses an episodic memory module to explicitly store failure experiences and retrieves similar past failures during interaction to steer the policy away from unstable states. It can be integrated with model-free RL algorithms and operates without requiring a learned dynamics model.
Results
The approach achieves a 33.11% sample-efficiency improvement on MuJoCo tasks across several RL algorithms, and when integrated into a parallelized PPO pipeline it demonstrates effectiveness on a real-world bipedal robot.
Contributions
It introduces an episodic memory mechanism for storing and retrieving failure experiences to avoid repeated unstable states, and shows substantial sample-efficiency gains across multiple RL algorithms and a real robot.
Practical relevance
The method enables more efficient and safer robot learning, making RL more practical for real-world robotic control tasks.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction