← Latest papers
🤖 machine learning

Goal-Conditioned Agents that Learn Everything All at Once

This paper introduces Learning Everything all at Once (LEO), a method that enables efficient, parallel all-goals off-policy updates in goal-conditioned reinforcement learning by jointly outputting values and actions for every goal, thereby achieving significant performance gains and massive speed-ups over traditional relabelling techniques.

Original authors: Michael Matthews, Matthew Jackson, Michael Beukman, Thomas Foster, Alistair Letcher, Scott Fujimoto, Cédric Colas, Jakob Foerster

Published 2026-05-25
📖 5 min read🧠 Deep dive

Original authors: Michael Matthews, Matthew Jackson, Michael Beukman, Thomas Foster, Alistair Letcher, Scott Fujimoto, Cédric Colas, Jakob Foerster

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a robot to navigate a giant, ever-changing maze. In the old way of doing this (called Goal-Conditioned Reinforcement Learning), you would give the robot a specific instruction, like "Go to the kitchen." The robot would wander around, bump into walls, and eventually maybe find the kitchen.

When the robot finishes, the teacher looks at the path it took. If the robot was told to go to the kitchen but accidentally walked past the library on the way, the old method would say, "That library part was a mistake; throw it away. We only care about the kitchen."

The Problem: This is a waste of information! The robot learned a lot about the library while trying to find the kitchen. By throwing that data away, the robot has to re-learn about the library later if you ever ask it to go there.

The Old "Fix" (Hindsight Experience Replay):
Previously, researchers tried to fix this by looking at the robot's path and saying, "Oh, it ended up at the library! Let's pretend we wanted it to go to the library all along." This helps a little, but it's like trying to re-label a whole movie after watching it. It's slow, and you can only do it for a few different endings at a time.

The New Solution: "Learning Everything All at Once" (LEO)
The authors of this paper propose a smarter way. Instead of teaching the robot one goal at a time, they build a "super-brain" that learns every possible goal simultaneously.

Think of it like a chef who is cooking a massive banquet.

  • The Old Way: The chef cooks one dish (the kitchen), tastes it, throws away the notes on how they chopped the onions, and then starts over to cook the next dish (the library).
  • The LEO Way: The chef cooks the entire banquet in one go. They have a giant board with 512 different recipes (goals) written on it. As they chop an onion, they instantly update their knowledge for all 512 recipes at the same time. They realize, "Hey, chopping onions is useful for the soup, the stew, and the salad!"

How it works technically (but simply):
Usually, a computer network asks, "What is the best move for this specific goal?"
LEO changes the network so it asks, "What is the best move for every single goal right now?" It outputs a giant list of answers for every possible destination in one single pass. This makes learning incredibly fast (over 250 times faster than the old "re-labeling" method) because the robot doesn't have to replay the same journey hundreds of times.

The Catch: The "Late Fusion" Problem
The authors found a small flaw. Because the robot has to think about all goals at once, it sometimes gets confused. It's like a student trying to study for 500 different exams at the exact same moment. They might get a general sense of the material, but they might not be as sharp at answering a specific question as a student who only studied for that one exam.

In the paper, this meant LEO was great at solving hard, complex goals but sometimes worse at simple ones because it was "diluting" its focus.

The Ultimate Fix: "Dual LEO" (The Teacher-Student System)
To solve this, the authors created a team-up:

  1. The Teacher (LEO): This network is the "data sponge." It learns everything about everything, even if it's a bit messy. It provides a rough map of the world.
  2. The Student (Standard Network): This network is the specialist. It focuses only on the specific goal you are currently asking it to do.

The Teacher says to the Student, "Hey, I know the general direction to the library, even if I'm not perfect. Here's a hint." The Student takes that hint and refines it to become an expert at getting to the library.

The Results
The team tested this on a complex video game called Craftax (a bit like Minecraft) and some robot movement tasks.

  • On the big, hard version of the game with 512 different goals, the new Dual LEO method was the clear winner, beating all other methods.
  • It learned much faster and could handle a huge variety of tasks that other methods gave up on.
  • They also showed this works for continuous movements (like a robot arm moving smoothly), not just video game steps.

In Summary
This paper introduces a method where an AI learns to solve every possible problem at the same time, rather than one by one. When it gets too broad and loses focus, they pair it with a specialist "student" network that uses the broad knowledge as a guide. This allows robots and game-playing AIs to learn massive amounts of information much faster and more efficiently than before.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →