Finding the Frame Where the Robot Went Wrong
If you work with robot learning data, you've probably seen this setup. A teleoperator runs a task dozens or hundreds of times, every episode gets saved, and later someone goes through them with a spreadsheet open, marking each episode as a success or a failure. The successes go into training, and the failures get set aside.
That works fine until you need to know why an episode went wrong, or until an episode that technically succeeded but something in it that you wouldn't want a policy to learn. After all, a success or fail label only tells your team how the episode ended. It doesn't tell them if or when something went wrong during the task, or which camera shows it, or what the operator should do differently next time.
We built an episode review interface in Label Studio to answer those questions. Below, we walk through this interface using three public episodes from LeRobot's ALOHA datasets: making a cup of coffee, wiping up spilled wine, and tearing off a paper towel to cover a spill.
Every camera, synced to one timeline
Robot episodes are usually recorded from several cameras at once.
For example, the ALOHA coffee episode has four: a top camera, a camera on each wrist, and a low front camera. Reviewing them as separate video files means scrubbing four players and hoping they line up.
In the Label Studio interface, all of the cameras play from one set of controls. Reviewers can switch between three layouts depending on what they're checking:
- Main + Side centers one large camera and stacks the other cameras beside it.
- Gallery shows all four cameras side by side at the same size.
- One shows a single camera, for close inspection.
Joint positions and gripper state are shown over the main camera, so reviewers can see what the arms were doing at that exact frame. Playback runs at 0.25x to 2x, and the reviewer can step through it frame by frame.
The coffee episode in Main + Side view, paused on "insert capsule."
The same moment in Gallery view, with all four cameras side by side.
Breaking the episode into subtasks
Below the video is a timeline with four tracks: subtasks, mistakes, subgoals and coaching notes. The subtask track splits the episode into the steps of the task. For the coffee episode, that's pick up capsule, hand off capsule, open machine lid, insert capsule, close lid, pick up cup, place cup on tray, and press Hot Water.
Reviewers add and adjust these with New subtask and Split segment, and the label above the timeline shows which subtask is playing right now.
Each subtask is tied to a span of frames, not just a row in a list. When you later want every example of "insert capsule" across hundreds of episodes, you can pull exactly those frames.
The coffee episode went cleanly. Every subtask is marked complete, the episode is rated 5/5, and there are no issues logged. The coaching track has one note on the insert step: "good: capsule aligned with the holder before release." Remember - positive notes are worth keeping too. They show what a good attempt looks like at the moment it matters.
Marking the moment something goes wrong
The wine episode is where a pass/fail label starts to fall short. The Mobile ALOHA robot drives to the sink, grabs a cloth, carries it to the table, lifts the wine glass, wipes up the spill and sets the glass down. The task gets done.
But at 0:10, frame 525, the cloth swings loose while the base is moving. The reviewer pauses there and uses Mark mistake to log it: "cloth swinging during base motion at 0:10."
The mistake shows up on its own track, lined up under the subtask it belongs to, and that subtask is flagged. The reviewer also leaves a coaching note: "tuck the cloth against the gripper before driving."
The wine episode paused at frame 525, with the mistake flagged on "carry cloth to table."
The episode ends up rated 4/5 with one issue.
In a spreadsheet using simple success/fail rows, it would just say "success." But in the Label Studio Interface, your team can see the exact step on the timeline, the exact frame, and a plain-language note on what to change.
Some mistakes need one camera, not four
The paper towel episode is short, about 10 seconds. The robot stabilizes the roll, grasps the edge of a sheet, tears it off, carries it to the spill and lets go. Here the reviewer switches to One view on the top camera, because that's where the problem is clearest.
At 0:04, the sheet tears unevenly. The reviewer marks the mistake on the "tear off sheet" step and adds a coaching note: "pull down along the perforation, not sideways."
The towel episode in One view, with the uneven tear marked at 0:04.
What this gives your team
Reviewing episodes on a timeline takes a bit more time than marking a column pass or fail, but the data you get back is much more useful:
- Time-stamped mistakes. You know which step failed and at which frame, not just that the episode had a problem.
- Subtask segments you can reuse. Every episode is split into labeled steps, so you can pull or compare the same step across many episodes.
- Notes your operators can act on. Coaching notes sit at the moment they refer to, so the next round of teleoperation can fix the specific motion.
- Quality you can filter on. Each episode gets a 1–5 rating and an issue count, so "succeeded, but with a mistake" stays separate from a clean run.
That last point matters most for training data. A policy learns from whatever you give it, including a cloth swinging loose while the robot drives. Knowing exactly where those moments are lets your team decide what to keep, trim or re-record. [Link: The Failure Data You're Throwing Away] covers why the failures are worth keeping too.
Try it on your own episodes
If you're reviewing robot episodes as rows in a sheet or clips in a folder, start small: take a handful of episodes from one task, break them into subtasks, and have two reviewers mark mistakes on the same set. Where they disagree is usually where your task definition needs work.
Browse the use case gallery to see this interface alongside the others we've built, or talk to us about Label Studio Enterprise to set it up for your own robot data.