Guide
How to Write a UMI Data Collection Spec
Short answer
A UMI data collection spec is the written brief you give a provider. Define the task and its success and failure criteria, the environments and objects, what one episode is, the per-episode fields and format you need, labels and QA rules, consent and licensing, then run a pilot before scaling. Treat all numbers as your own targets.
Last reviewed:
What is a UMI data collection spec?
A UMI data collection spec is the written brief you hand to a provider that records UMI-style demonstrations for you. It says what task to record, where, with which objects, what one episode is, which fields and format you need back, how episodes are labelled and checked, and under what consent and licence terms the data ships. A pilot is judged against it, and a reviewer accepts or rejects batches by it.
UMI is the Universal Manipulation Interface: a handheld gripper with a wrist-mounted fisheye camera, carried through a task by a person with no robot present, with the end-effector pose recovered after recording (paper: https://arxiv.org/abs/2402.10329; project page: https://umi-gripper.github.io). Because actions are recovered later, a UMI spec must cover things a teleoperation brief would not, such as scene mapping and failed pose recovery.
This guide is the buyer-side template. To choose between providers, see how to choose a UMI data collection vendor. For accept criteria, see how to write a skill spec; for a general RFP structure, the robotics training data RFP checklist.
Why does a UMI project need a written spec?
Three properties of the UMI method make a verbal brief risky. First, actions are not measured directly. The paper recovers the 6-DoF end-effector pose after recording with an inertial-monocular SLAM system, and the repository README calls the SLAM stage the most fragile part of the pipeline (https://github.com/real-stanford/universal_manipulation_interface). Some demonstrations will not process, so the spec should say how that loss is reported and replaced.
Second, the paper names sufficient scene texture as a limitation of its SLAM-based action recovery, so the environments you list change how many episodes are usable. Third, in the authors’ protocol each new scene is mapped first and each demonstration is one video whose start and end mark the episode (paper appendix). A provider without your episode definition will choose its own.
What does a UMI data collection spec template look like?
Use one row per spec section and fill every example entry with your own values. Bracketed items are placeholders you choose; this page sets no volumes, rates or timelines for you.
| Spec section | What to define | Example entry (your values) | Why it matters |
|---|---|---|---|
| Task | One verb and noun, with the start state and end state of an episode. | [Your verb] [your object], from [start state] to [end state]. | A named task can be accepted or rejected. A category cannot. |
| Success and failure | A written definition of success, plus which failures and recoveries to keep. | Success: [observable outcome]. Failures kept and labelled: [your list]. Recoveries: [kept or not]. | Labels decide which episodes you imitate and which you study. |
| Environments | Environment types, share of each, lighting and surfaces. | [Home, workplace or factory type] at [your target share]; [lighting]; [surfaces]. | Policies fail on conditions they never saw. The UMI paper lists scene texture as a limitation. |
| Objects | The object set and how it varies. | [Your number of objects] with variation in [colour, shape, material]. | Object variety is what the authors varied to test generalisation. |
| Episode structure | What starts and ends an episode, the reset, and initial-state variation. | Episode starts at [event], ends at [event]; reset is [cut or kept]. | The provider cuts episodes where it likes if you do not say. |
| Gripper and robot | Single or bimanual, gripper design or build, target robot and workspace. | [Single or bimanual]; [your gripper design or build]; [your robot and workspace]. | Kinematic feasibility depends on the robot. |
| Delivered fields | The per-episode fields, paired head-mounted video, and the container your code reads. | Fields in the next table; paired video: [needed or not]; format: [your format and version]. | A missing stream cannot be recovered later. UMI-style delivery format is scoped on request. |
| Labels, QA and sign-off | Label and metadata names, reject rules, loss reporting, recapture, and who signs off. | Labels: [your list]. Reject if [your rules]; dropped episodes [recaptured or not]; sign-off by [named role]. | Written rules replace a meeting at delivery. |
| Consent, privacy and licence | Consent documents, anonymization, commercial rights and exclusivity. | Commercial training use: [yes]; exclusivity: [needed or not]. | Unclear rights block commercial training later. |
| Pilot and scale | The pilot task and size, then volume and cadence. | Pilot: [your target]. Scale: [your target volume] in [your cadence]. | A pilot proves the spec before volume is committed. |
UMI data collection spec template. Every bracketed entry is a placeholder the buyer chooses, not a Firsthand figure.
How do you define the task and success criteria?
Write the task as a verb and a noun and give it observable start and end states. The UMI authors show the level of detail that helps. For their cup arrangement task they define success as the cup placed upright on the saucer with its handle within plus or minus 15 degrees to the left, and for dish washing they treat residual ketchup spots below a stated size as clean (paper appendix, evaluation protocol). Those are the authors’ rubrics for their own policies, not requirements for your task; the point is that a person can apply them. The authors say their rubrics contain subjective elements, so name who applies yours.
- Task: one verb and one noun, plus the start state and the end state of an episode.
- Success: the observable outcome, written so a second reviewer reaches the same answer.
- Failure: the failure modes to keep and label, such as a drop or a miss, not silently discard.
- Recovery: whether episodes that recover from a mistake are included. The authors’ dish-washing data includes explicit recovery demonstrations.
- Initial states: which starting conditions to randomise and over what range, as your target.
Firsthand’s own skill-spec method uses the same discipline: a named skill, the geometry that must stay in frame, a budget per condition, a reject rule and one acceptance test. The template is in how to write a skill spec. A UMI spec adds the gripper-specific rows in the table above.
Which environments and objects should the spec list?
List the environment types and the share of each, then the objects and how they vary. Name the homes, workplaces or factory settings that match where your robot will run. Firsthand records UMI-style demonstrations in real homes, workplaces and factories through a network of capture providers.
The authors’ in-the-wild result shows why variety is a spec line and not a hope. They report 3 demonstrators collecting 1,400 cup-arrangement demonstrations in 12 person-hours across 30 locations, with 15 cups of different colours, shapes and materials. They also report that a policy trained only on narrow-domain data from one lab environment reached 0% success in the unseen environments (paper, section VI). Those are the authors’ figures; Firsthand states no hour or episode count of its own, so put your own targets in the spec.
- Lighting: the README notes its cup policy does not work well under direct sunlight, because the data was collected during a rainy week. List the lighting you will deploy in.
- Surfaces and texture: the paper names insufficient environment texture as a limitation of its SLAM-based action recovery. Say which plain or low-texture scenes you need and ask the provider how it decides whether a site will give usable pose recovery.
- Objects: your object set and the variation you need, such as colour, shape or material.
- Scene mapping: the authors map each new scene with a short scan before demonstrations. Ask the provider to confirm its mapping step per scene.
What should each episode contain?
Define the episode before you define the fields. In the authors’ protocol the demonstrator records one video per demonstration, the video itself marks the start and end of the episode, and demonstrations within a scene share the map made at the start (paper appendix, data collection protocol). State in your spec what starts an episode, what ends it, and whether a failed attempt is its own episode.
- Single gripper or bimanual: for bimanual capture the authors synchronise the clocks of the two cameras and relocalise both grippers to the same scene map, so the relative pose between the grippers can be computed (paper, section III-B). If you need that relative pose, say so; see inter-gripper proprioception. Deriving it from delivered trajectories needs both in one scene frame, so ask the provider to confirm.
- Left and right identity: in the authors’ script, left and right grippers are told apart by camera serial number. Ask for each gripper to be labelled in bimanual episodes.
- Paired head-mounted egocentric video: needed or not. It is available on request.
- Alignment: the tolerance for aligning video, trajectory, width and IMU streams, as your target.
Which fields and formats should you ask for?
Ask for fields by name and per episode. Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Paired head-mounted egocentric video is available on request. Force/torque, tactile and gripper depth are scoped on request. The table sets each field against what the UMI sources say about the same signal, so you can see why it belongs in the spec.
| Field | What it holds | Source |
|---|---|---|
| Gripper-camera video | Video from the camera on the handheld gripper, showing the scene as the gripper sees it. | Site copy. The paper’s gripper has a wrist-mounted fisheye camera as its only sensor. |
| 6-DoF end-effector trajectory | Position and orientation of the gripper over the episode. | Site copy. The paper recovers the pose after recording with inertial-monocular SLAM. |
| Continuous gripper width | The opening of the gripper jaws over time as a continuous value. | Site copy. The paper tracks finger width continuously with fiducial markers. |
| IMU | Inertial readings recorded with the video. | Site copy. The paper records IMU data into the video file and uses it in tracking. |
| Timestamps | A time reference for each stream. | Site copy. The paper’s policy interface assumes synchronised observation streams. |
| Task and episode metadata | Task, episode and capture details used to filter, balance and split episodes. | Site copy. The UMI sources state no metadata schema, so name your fields. |
| Success and failure labels | A label per episode saying whether the task succeeded. | Site copy. The paper judges evaluation episodes against written rubrics; it defines no label field. |
| Paired head-mounted egocentric video | The same task seen from a head-mounted human view. | Site copy: on request. Not part of the paper’s gripper. |
| Force/torque, tactile, gripper depth | Contact and depth signals beyond the standard field list. | Site copy: scoped on request. |
Delivered fields to request. Source separates site copy from what the official UMI sources state.
Format is a spec line of its own. The site lists RLDS, LeRobot, WebDataset, HDF5, zarr and Rerun format pages, plus an episode schema they all project from. Which of them apply to UMI-style data is agreed in the spec, so delivery format for UMI-style data is scoped on request. The authors’ pipeline writes a Zarr dataset, dataset.zarr.zip (README). Firsthand does not state UMI-compatible Zarr delivery, so if your code expects it, say so and confirm it on the pilot.
For how fields map across formats, see UMI dataset formats and the UMI Zarr replay buffer. The conversion guides cover LeRobot, RLDS and MCAP.
How should labels and QA be specified?
Write labels and QA as accept and reject rules, not as intentions.
- Labels and metadata: success, failure and failure categories with one written definition each, plus metadata fields listed by name.
- Reject rules: what makes an episode unusable, such as a missing stream or failed pose recovery, written before capture.
- Loss reporting: the README’s SLAM run prints how much raw data was used and how many demonstrations were dropped. For its example session the authors report 99% usable and 0 dropped, on their own example data. Ask for the equivalent report for your batches and say whether dropped episodes are recaptured.
- Kinematic feasibility: the authors filter trajectories for a given robot when its base location and kinematics are known (paper, section III-A). Give your robot and workspace in the spec, and say whether you filter yourself or want the provider to.
- Sign-off: who applies the acceptance test, and on what sample.
On the Firsthand side, the site states QA with a second reviewer, a validated set, a reject log and an anonymization record as output, and recapture of rejects at Firsthand’s cost. Run delivered samples through the UMI data quality checklist.
What about consent, privacy and licensing?
Ask for these in the spec and compare them with what the provider can deliver. As the site states for custom collection, every contributor signs a written release, faces, plates and screens are blurred irreversibly, and footage that cannot be de-identified is discarded. Data ships with per-item metadata, the signed consent releases and a data card recording jurisdictions, under a perpetual, buyer-owned commercial license, with exclusivity where you need data collected only for you.
The UMI code is MIT licensed per its repository; the hardware design licence is not stated in the sources read. If you want a specific gripper design, name it in the spec and confirm its licence with its owner.
Why run a pilot before scaling?
A pilot proves the spec on real episodes before volume is committed. The site calls this a Spec Pilot: a small, fast first batch that proves the spec and accept criteria and ends in an accept and reject read-out. For a UMI spec the pilot answers questions only data can: are all the fields present on every episode, does pose recovery work in your environments, does the delivery format load in your code, and do your labels mean what you intended?
- Use one real task and your hardest environments, not the easiest.
- Set the pilot size as your own target.
- Ask for the pilot in the format you will train on and load it with your own code.
- Revise the spec from the read-out, then scale.
Firsthand offers custom collection at scale through a network of thousands of capture providers, for a consistent, recurring data flow to labs. Volume and cadence are set in the signed spec.
What mistakes should you avoid?
- Specifying a category instead of a task. "Household chores" cannot be accepted or rejected.
- Leaving the episode undefined, so the provider cuts episodes where it likes.
- Omitting failure and recovery rules, so failed attempts are dropped and your policy never sees them.
- Copying the authors’ numbers into your spec. Their episode counts, rubrics and rates describe their own experiments. Yours are your targets.
- The task is a verb and a noun with start and end states.
- Success, failure and recovery are defined in writing.
- Environments, lighting, surfaces and objects are listed with your own targets.
- The episode, the reset and single or bimanual capture are defined.
- Every delivered field is named, and the format and version are stated.
- Labels, metadata, reject rules, loss reporting and sign-off are written down.
- Consent, licence and exclusivity needs are stated, and a pilot comes before full volume.
How does Firsthand work from your spec?
Firsthand runs custom UMI data collection: UMI-style handheld gripper demonstrations recorded to your task spec in real homes, workplaces and factories, through our network of capture providers, on rigs we source and ship. Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Paired head-mounted egocentric video is available on request.
This is custom UMI data collection, fast and on demand, and Firsthand works from your spec. The site states these gates for all custom collection: a signed specification, screened capture providers briefed with paid practice runs, a Spec Pilot, QA with a second reviewer, recapture of rejects at our cost and billing per validated hour. Turning a problem into a spec is our job, not a prerequisite, so send what you have. Delivery format for UMI-style data, and force/torque, tactile and gripper depth, are scoped on request.
Firsthand is not affiliated with, endorsed by or related to the UMI authors, their institutions or any gripper or camera maker. Details are on UMI data collection services. The method is defined in Universal Manipulation Interface, and variants are compared on UMI variants compared. To start, send the filled template and request a custom UMI dataset.
Related
- How to choose a UMI data collection vendor
- How to write a skill spec
- UMI data collection services
- What is the Universal Manipulation Interface?
- UMI variants compared: FastUMI, DexUMI, UMI-FT, TacUMI, UMI on Legs and HiFi-UMI
- Robotics training data RFP checklist
- How to run a UMI data collection pilot
- Request a custom UMI dataset
- How many UMI demonstrations do you need?
FAQ
How to Write a UMI Data Collection Spec, answered.
01What goes in a UMI data collection spec?
The task, success and failure criteria, environments and objects, the episode definition, per-episode fields and delivery format, labels, reject rules, consent and licensing terms, and a pilot step. Every number in it is your own target.
02How detailed should the task definition be?
Detailed enough that a second reviewer reaches the same accept or reject answer. The UMI authors write per-task success rubrics for their own evaluations and note they still contain subjective elements. Name the person who applies yours.
03Which data fields should I request?
Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Force/torque, tactile and gripper depth are scoped on request. Name the delivery format too; for UMI-style data it is scoped on request.
04Should the spec include success and failure labels?
Yes. The site lists success and failure labels as a delivered field. The UMI sources define no label field for collected data, so write each label and its definition into your spec.
05Do I need a pilot before full collection?
The UMI sources do not require one. The site describes a Spec Pilot as a small, fast first batch that proves the spec and accept criteria. Set its size as your own target.
06Can Firsthand help write the spec?
Yes: the site states that turning a problem into a spec is Firsthand’s job, not a prerequisite. How that applies to a UMI program is scoped on request.
07Where can I get custom UMI data?
Firsthand runs custom UMI data collection: UMI-style handheld gripper demonstrations recorded to your task spec in real homes, workplaces and factories, through our network of capture providers, on rigs we source and ship. Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Paired head-mounted egocentric video is available on request.
Sources
Where is this documented?
- UMI paper (arXiv 2402.10329) (opens in a new tab)Source for the handheld gripper with a wrist-mounted fisheye camera, post-recording pose recovery, continuous gripper width, the scene texture limitation, the scene-mapping and one-video-per-demonstration protocol, bimanual clock synchronisation and the authors’ success rubrics and in-the-wild figures. arxiv.org
- UMI project site (opens in a new tab)Source for the description of the framework, the hardware guide and the data collection instruction. umi-gripper.github.io
- UMI code (GitHub) (opens in a new tab)Source for the MIT licence, the README note that the SLAM stage is the most fragile part, the dropped-demonstration report, the Zarr dataset the pipeline writes and the direct sunlight known issue. github.com
Check it against the sample pack.
40 episodes across 4 environments, delivered in the exact schema these guides describe.