TL;DR
WATERFALL is a new evolutionary framework that automates reward design for Reinforcement Learning (RL) without "cheating." By using Vision-Language Models (VLMs) to judge raw video rollouts and iteratively refine programmatic rewards, it discovers complex behaviors in partially observable environments where the task goals are initially hidden from the agent.
What Problem Does This Paper Address?
In Reinforcement Learning, the "reward function" is the North Star that tells an agent what to do. However, designing these functions is a notorious bottleneck. If the reward is too sparse (only given at the very end), the agent wanders aimlessly. If you try to "shape" the reward to be denser, you often end up with "reward hacking," where the agent finds a shortcut that doesn't actually solve the task.
Recently, researchers have used Large Language Models (LLMs) to write reward code. But there’s a catch: most of these methods rely on privileged information. They assume the reward designer has access to a perfect text description of the goal, expert demonstrations, or ground-truth success metrics.
This is a problem in Partially Observable Markov Decision Processes (POMDPs)—real-world-like scenarios where the agent doesn't know the full state of the world. Imagine a robot in a house it hasn't explored yet; it can't be rewarded for "finding the gold in the locked drawer" if it doesn't even know the drawer exists. The authors introduce strict observability parity, a constraint where the reward generator can only see what the agent sees.
Methods
The authors propose WATERFALL, an iterative, population-based workflow depicted in the figure below:
The workflow operates in three distinct stages:
- Persona-Conditioned Reward Synthesis: To avoid "mode collapse" (where the LLM keeps suggesting the same basic reward), WATERFALL uses 10 distinct "personas" (e.g., "Risk-Taker," "Minimalist," "Biologist"). Each persona steers the LLM to write a different style of reward code based on the agent's available sensors and actions.
- Vision-Only Swiss Tournaments: Once policies are trained using these rewards, WATERFALL needs to pick the "elites." Instead of using a hidden success metric, it shows raw video rollouts to a VLM (like GPT-4o). The VLM acts as a judge in a Swiss-system tournament, performing pairwise comparisons to rank which agent looks like it's making the most progress.
- Longitudinal Assessment and Mutation: WATERFALL doesn't just look at a single snapshot. It maintains a history of how each candidate has performed over time. An "Assessor" VLM looks at this history and decides whether to Continue training, Abort a failure, Stop (if the task is solved), or Escalate (mutate the reward code to try and improve it).
Datasets
The researchers evaluated WATERFALL on four procedurally randomized environments designed to test memory, tool use, and sequential logic:
- Locked Room: A gridworld where the agent must find a key to open a specific room containing a goal.
- Dark Corridor: A cross-shaped environment requiring the agent to find specific tools (key, bucket, sword) to clear blockers (door, fire, enemy).
- Medusa's Revenge: A deceptive environment where the agent must navigate two chambers and defeat a guardian.
- Robotic Button Task: A continuous-control task where a robot arm must press one button to reveal a second, hidden button.
Each was tested in both Fully Observable (FO) and Partially Observable (PO) variants to prove that WATERFALL can handle "reveal-gated" information.
Key Insights and Ideas
-
Personas Drive Discovery: By forcing the LLM to adopt different "personalities," the system explores a much wider variety of behaviors. As shown in the t-SNE plot below, different personas occupy distinct regions of behavior space. t-SNE plot showing how different personas lead to diverse agent behaviors.
-
VLMs are Competent Judges: Surprisingly, a VLM can identify "progress" from raw pixels (e.g., "the agent is spending more time near the door") even without knowing the mathematical goal. This allows for reward discovery without "hand-holding" from a human designer.
- The Swiss-System Advantage: Using a Swiss-system tournament (common in chess) allows the system to rank a large population of agents accurately with far fewer expensive VLM calls than an "all-play-all" Round Robin.
- History Matters: By looking at longitudinal data, the system can distinguish between an agent that is genuinely improving and one that just got lucky in a single rollout.
Key Results
WATERFALL consistently outperformed baselines like Eureka and L2R, particularly in the more difficult POMDP settings.
- POMDP Superiority: In environments where the goal was hidden, WATERFALL achieved high success rates while baselines often stayed at zero. This is because baselines typically require a task description that they can't "see" in a POMDP.
- Sample Efficiency: Even when compared to methods that did have access to privileged information, WATERFALL often reached higher returns faster by discovering more effective "dense" reward structures through its evolutionary loop.
- Robustness: Audit results showed that when the VLM judge called "STOP" (indicating a solved task), it was correct nearly 90% of the time across all seeds.
Limitations and Future Work
While powerful, WATERFALL has a few hurdles to clear before it hits the real world:
- Cost: Running high-end VLMs as tournament judges is currently expensive (though the authors showed that smaller, cheaper models like GPT-4o-mini can often do the job).
- Hyperparameters: The system introduces several new settings (tournament rounds, checkpoint spacing, etc.) that may require tuning for different domains.
- Real-World Robotics: While tested on a simulated robot arm, the authors acknowledge that moving to physical hardware will introduce new challenges in visual noise and safety.
The authors suggest that future work could involve "selective process supervision"—using the VLM to provide feedback more frequently during training rather than just at major checkpoints.
Summary updated