I have summarized the "Reward Model" in "LeRobot".
1. Introduction
In "LeRobot v0.6", a common interface for Reward Models has been established, allowing "SARM", "Robometer", and "TOPReward" to be used through a unified mechanism. Additionally, "HIL-SERL" has been integrated as a reinforcement learning feature, which utilizes a Reward Classifier for success determination internally.
With the addition of Reward Models,
the AI itself can now evaluate these aspects.
This article introduces the role, importance, available models in LeRobot, and how to use Reward Models.
2. The Role of Reward Models
2-1. What is a Reward Model?A "Reward Model" is an AI that evaluates a robot's observations or execution trajectories and outputs task progress, success probability, rewards, etc.
For example, in a task like "placing a cup on a shelf",
it estimates progress or success probability from 0.0 to 1.0 for a series of actions. The specific output format varies depending on the Reward Model.
In traditional reinforcement learning, humans had to design detailed reward functions for each task. By using a Reward Model, it becomes possible to estimate rewards from images, videos, robot states, task instructions, and more.
2-2. Complementing Behavior Cloning"Behavior Cloning" is a learning method that mimics actions contained in human demonstrations.
However, even if the demonstrations contain,
they are usually learned in the same way as other actions.
By using a Reward Model, you can highly evaluate actions that lead closer to success and lower the weight of actions that lead to failure or stagnation. This enables Behavior Cloning that prioritizes better data.
One method that uses this approach is RA-BC (Reward-Aligned Behavior Cloning).
2-3. Can be used for reinforcement learning rewardsIn reinforcement learning, the policy is generally improved through the following flow:
However, in robot manipulation, it can be difficult for humans to design 'what state to assign how many points to.'
By connecting a Reward Model to the reinforcement learning loop, you can generate rewards for learning from observations or trajectories during execution. This allows you to consider a configuration where you learn an initial policy with Behavior Cloning and then perform additional improvements using reinforcement learning.
2-4. Can automate success judgment and data evaluationDepending on the type of Reward Model, you can estimate the following information:
These estimation results can be used not only for learning but also for organizing datasets and evaluating policies.
For example, you can automatically label a large number of episodes as success/failure, exclude low-quality data, or compare multiple policies using the same criteria.
2-5. What you can do with a Reward ModelThe main uses of a Reward Model are as follows:
The important role of a Reward Model is to automate evaluations that were previously performed by humans through visual inspection or manual work, and to reuse those evaluation results for subsequent learning.
3. Reward Models available in LeRobot
3-1. SARMSARM (Stage-Aware Reward Modeling) is a Reward Model for long-horizon tasks.
・Input
Instead of simply determining whether a task succeeded or failed, it recognizes steps such as "approaching an object," "grasping," and "transporting to a destination," and estimates the current task stage and progress within that stage for each frame. These are ultimately converted into an overall progress score from 0 to 1. After training, you can infer progress and rewards for new robot trajectories.
In addition to determining episode success and evaluating data quality, inferred rewards can also be used for "RA-BC" (Reward-Aligned Behavior Cloning). RA-BC is a method that weights training data using changes in progress from the Reward Model.
For example, actions that lead closer to success are learned more strongly, while actions that lead to stopping, hesitation, or failure are given lower weights. A key feature is the ability to focus learning on parts that lead to success, rather than uniformly imitating all demonstration actions as in standard Behavior Cloning.
3-2. RobometerRobometer is a pre-trained, general-purpose Reward Model.
・Input
It estimates task progress and success from video and language. It is trained on the large-scale robot trajectory dataset "RBM-1M" and is intended for zero-shot use on unseen tasks and robots.
3-3. TOPRewardTOPReward is a method that uses an existing VLM as a Reward Model.
・Input
It uses the log probability of the VLM outputting a "True" token, conditioned on the video and task description, as the reward. Therefore, it can be used zero-shot.
3-4. HIL-SERL Reward ClassifierHIL-SERL is a reinforcement learning method that incorporates human intervention.
・Input
The Reward Classifier categorizes success/failure, and the result is used as a reward for reinforcement learning.
4. How to use in LeRobot
4-1. Choosing a Reward Model to useFirst, choose a Reward Model based on your objective.
SARM and the HIL-SERL Reward Classifier basically use proprietary data to train a model tailored to the task. On the other hand, LeRobot's Robometer integration focuses on inference using publicly available checkpoints. TOPReward uses an existing VLM, so it does not require training specifically for a Reward Model.
4-2. Preparing the LeRobot DatasetThe video and states input into the Reward Model are read from the LeRobot dataset.
The dataset mainly stores the following information:
The required information varies depending on the Reward Model.
SARM uses subtask information during training in addition to camera images, robot states, and task descriptions. Robometer and TOPReward mainly use video and task descriptions. The HIL-SERL Reward Classifier uses camera images labeled with success/failure. SARM's subtask information is used to divide long tasks into multiple steps and create progress labels for each frame.
4-3. Training or Loading a Reward ModelWhen using SARM, you train the Reward Model from a LeRobot dataset that includes subtask information. The trained model will be able to estimate the current stage and task progress from camera images, robot states, and task descriptions.
For the HIL-SERL Reward Classifier, you train a binary classifier using images of success and failure states. After training, it determines whether the current image is in a success state while the robot is executing.
For Robometer, you load and use the pre-trained Robometer-4B published by LeRobot. The current LeRobot integration is for inference only and does not target training from scratch using proprietary data.
For TOPReward, you load an existing VLM such as Qwen3-VL. Instead of training a dedicated Reward Model, it calculates rewards directly from the video and language understanding capabilities of the VLM.
4-4. Inferring Rewards for New TrajectoriesYou can infer rewards by inputting new robot trajectories into a trained or pre-trained Reward Model.
The basic processing flow is as follows:
In preprocessing, necessary frames are extracted from the specified camera video and passed to the model along with task descriptions and robot states.
The meaning of the output reward varies depending on the model.
LeRobot's Robometer integration calculates per-frame progress and success degree internally, which can be obtained as scalar rewards that are easy to use in downstream processing.
4-5. Appending inference results to the datasetValues output by the Reward Model can be saved in association with the original dataset.
You can associate inference results with the original frames or episodes and save them as separate Parquet files or additional features.
Examples of values to save are as follows:
This allows you to extract only successful episodes, exclude low-quality data, or weight training data according to progress.
Note that the output of the Reward Model is not necessarily always correct. Since evaluations change depending on camera position, lighting, object appearance, and how task descriptions are written, it is necessary to have humans check some trajectories to verify whether the estimation results are appropriate.
4-6. Using for policy learningInferred rewards can be used for Behavior Cloning or reinforcement learning.
In SARM, it can be used for RA-BC, which adjusts the training weight of each frame using changes in progress. It learns actions that approach success more strongly and reduces the influence of actions that lead to stagnation or regression.
In reinforcement learning, the state is evaluated by the Reward Model every time the robot acts, and that reward is used to update the policy. In HIL-SERL, learning proceeds on the actual machine by combining success judgments from the Reward Classifier with minimal human intervention.
Also, by using evaluation values from Robometer or TOPReward, you can compare multiple trajectories or use only good trajectories for policy learning.
4-7. Evaluating the trained policyThe Reward Model can also be used for automatic evaluation after policy learning.
By executing the policy multiple times and evaluating each episode with the Reward Model, you can aggregate indicators such as the following:
However, it is dangerous to judge final performance solely based on evaluation by the Reward Model. Since the Reward Model may make incorrect judgments, it is safer to evaluate by combining it with actual success rates, visual confirmation by humans, and ground truth labels that can be obtained from the environment side.
4-8. Running in a local environmentThe LeRobot Reward Model API is a local Python API used within LeRobot, rather than an external cloud inference service.
While pre-trained models and VLM weights can be downloaded from the Hugging Face Hub, inference processing is basically executed on your local PC or GPU server.
This is the configuration.
In particular, since Robometer and TOPReward are based on large-scale VLMs, execution on CPU alone is slow, and the use of a GPU is recommended. Robometer is based on Qwen3-VL-4B, and the standard configuration for TOPReward is based on Qwen3-VL-8B.
5. Summary
A Reward Model is an AI used to evaluate 'how close the robot has come to its goal'.
In LeRobot v0.6, a common interface for Reward Models handling SARM, Robometer, and TOPReward has been established, making it easier to incorporate progress estimation, success determination, and reward generation into LeRobot's data processing and training flows. Additionally, HIL-SERL has been integrated as a reinforcement learning feature, supporting real-world training using a Reward Classifier for success determination.
As a result, robot learning is moving beyond just 'collecting data and imitating' toward a cycle where 'AI evaluates the results and uses that evaluation to further improve.' Reward Models have become a crucial technology supporting that learning loop.