Five Containers for Robot Training Data: RLDS, LeRobot, Shards, HDF5, and the Manifest

Technical comparison. Scope: the container and schema layer, meaning whatever sits between “a vendor delivered something” and “a dataloader yielded a batch.” Assumed audience: someone who has already been burned by a corpus that arrived at the wrong frame rate.
The reason this layer deserves a comparison rather than a default is that embodied AI data providers ship in whatever format their collection pipeline made, and each container quietly encodes three decisions: how records are indexed, whether time is first-class, and whether the schema can be checked before training starts. Those three decisions are most of what you will spend engineering time fighting.
The five candidates
| Container | Unit of record | Indexing | Time first-class | Streaming | Typical producer |
|---|---|---|---|---|---|
| RLDS / TFDS | episode of steps | split, then episode | yes, per-step | yes, via tfds | teleop and cross-embodiment releases |
| LeRobotDataset v2/v3 | episode across shards | chunked parquet plus mp4 | yes, fps declared | yes | policy-training repos |
| Tar / WebDataset shards | sample or short sequence | filename order | weakly | yes | pretraining pipelines |
| HDF5 / zarr | file per clip or session | path and key lookup | yes inside a file | poorly at scale | egocentric and pose releases |
| Manifest plus object store | one record per media file | manifest query | metadata only | not by itself | robotics data API providers |
The last row is the one that gets dismissed as “just a CSV of URLs.” That dismissal costs people weeks, because the manifest shape is the only one of the five that assumes the corpus will be re-pulled.
RLDS and TFDS
The de facto standard for robot manipulation episodes, used by Open X-Embodiment, DROID, and the Bridge releases. A record is an episode of steps, each step carrying observation, action, reward, discount, and step metadata. Actions in the cross-embodiment mix are normalized to a 7-DoF end-effector delta with per-dataset percentile scaling, which is a genuinely useful convention and also a trap: the same vector means different motions on different arms, and the format will not warn you.
Strengths. Episode semantics are native, so success and termination flags survive. TFDS gives sharded reads, deterministic replay, and a stable loader contract. If your evaluation harness compares against published policy work, RLDS is the least friction.
Weaknesses. tfrecord is not friendly to partial updates, and the ecosystem is TensorFlow-adjacent even when the training loop is PyTorch. Media is decoded as arrays, which hurts when the corpus is hundreds of terabytes of video rather than a few terabytes of state.
Fit. Teleoperated and cross-embodiment demonstration data. DROID’s shape is the archetype: three synchronized stereo streams at 15 Hz, depth, camera calibration, joint and end-effector state, gripper width, up to three language instructions per episode.
LeRobotDataset v2 and v3
The format that grew up around policy training in PyTorch. v3 reorganizes episodes into chunked Parquet for state and action columns and AV1-encoded MP4 for video streams, with meta/info.json declaring features, shapes, dtypes, fps, and path templates.
A fragment of what the declaration looks like. The counts in it come from a community LeRobot v3 conversion of Bridge’s validation split, not from the original 60,096-trajectory release:
{
"robot_type": "WidowX250",
"fps": 5,
"total_episodes": 14260,
"total_frames": 510795,
"features": {
"image": {"dtype": "video", "shape": [256, 256, 3],
"info": {"video.codec": "av1", "video.fps": 5}},
"state": {"dtype": "float32", "shape": [7]},
"action": {"dtype": "float32", "shape": [7]}
}
}
Strengths. Columnar state plus video shards is the right split for manipulation: you can read actions without decoding pixels, which is the single biggest decode-cost win available in this layer. fps is declared rather than inferred, so frame-rate mismatches become visible instead of silent. Streaming and conversion scripts are in the open, and public corpora are increasingly mirrored in this shape, including conversions of DROID and Bridge.
Weaknesses. Version churn between v2 and v3 is real, and conversion of an existing corpus is a project. AgiBot World, for instance, ships a script to convert into the LeRobot format, and its own documentation notes that task information, images, calibration, and proprioception are stored separately rather than self-contained, with some episodes dropping frames and some extrinsics noisy. Converting is not lossless, and the loss is yours to find.
Fit. Fine-tuning and evaluation on manipulation policies, and any workflow where you mix state streams with video.
Tar shards and WebDataset-style archives
The pretraining workhorse. Records are files inside sequential archives, ordering by name, and the loader streams. Nothing in the format knows what an episode is.
Strengths. Throughput. Sequential reads from object storage are the fastest way to feed a cluster, and the format is trivially appendable at the shard level, which makes monthly refresh manageable if your naming scheme is disciplined.
Weaknesses. No schema, so every field is a convention between your writer and your reader. Time is whatever you encoded. Random access across shards is expensive, so any workflow that needs “give me episode 4,121” wants a different container.
Fit. Video pretraining at scale, where you mostly want sequential sweeps over captions, frames, and latent tokens rather than episode semantics.
HDF5 and zarr
The scientific-array answer, and the one egocentric pose releases use. Apple’s EgoDex pairs an MP4 per clip with an HDF5 holding camera intrinsics, per-frame SE(3) transforms for head, upper body, and 25 joints per hand, confidence scalars, and language descriptions in file attributes.
Strengths. Rich structured payloads next to the video, with real typing. Excellent for geometry-heavy work: pose, calibration, contact, and 3D annotations all fit naturally. Frame-sparse decoding via torchcodec keeps the read cost honest.
Weaknesses. HDF5 does not stream well across thousands of files on object storage, and small-file storms are the classic failure. zarr helps with chunked parallel reads but adds its own operational surface. Neither gives you a query layer; you get a filesystem.
Fit. Human video with pose or geometry annotations, and research workloads where you sample clips rather than sweep a corpus.
The manifest plus object store
This is the shape robotics data API providers deliver, and it is worth taking seriously on its own terms rather than as a lesser dataset. A manifest is a table, one row per media object, with columns like video URL, platform, channel, duration, upload time, resolution, transcript language, quality score, dedup hash, perspective, crawl timestamp, and batch identifier. Media sits beside it in your bucket: .mkv or .mp4, audio in .m4a or .mp3, transcripts as .json. Thordata documents manifests as JSON, CSV, Parquet, or NDJSON pushed to Amazon S3, Azure Blob, Google Cloud Storage, or SFTP, or pulled through a webhook or direct API, with batches up to 10,000 URLs and recurring delivery supported.
Strengths. Three properties the other four lack together. It is queryable before download, so you can size a mixture without moving bytes. It is re-pullable, because video_url plus crawl_timestamp is a refresh contract, and a stable schema across pulls is what makes one measurement comparable to the next. And it is honest about absence, since a column that is null on every row is a visible gap, whereas a missing key inside a tfrecord is invisible until a training run degrades.
Weaknesses. You own the conversion. Nothing in this shape becomes an RLDS episode or a LeRobot dataset without your pipeline, and the frame-rate normalization problem arrives fully formed: sources land at 5, 15, 25, and 30 Hz and the manifest will happily tell you so if you asked for the column.
Fit. Pretraining volume, source discovery, and any corpus you intend to refresh. It is the layer that feeds the other four, not a competitor to them.
Decision matrix by workload
| Workload | First choice | Second | Why |
|---|---|---|---|
| VLA pretraining on web and egocentric video | manifest plus object store | tar shards | queryable scope, then sequential throughput |
| Teleop fine-tuning on your own robot | LeRobot v3 | RLDS | declared fps, columnar actions, PyTorch-native |
| Cross-embodiment mixture | RLDS | LeRobot | shared 7-DoF convention, published baselines |
| Human video with pose or geometry | HDF5 | zarr | typed structured payload beside media |
| World-model training on frames | tar shards | manifest | sweep-friendly, no episode semantics needed |
What breaks when you convert
The same table settles a second argument. The best VLA datasets are not a single corpus in a single container; they are one container per job, compiled from a source of record you can re-pull.
The conversion tables nobody writes. These are the fields that actually cause silent damage.
| Concept | RLDS | LeRobot v3 | HDF5 | Manifest |
|---|---|---|---|---|
| Frame rate | implicit per dataset | declared fps | declared per file | column if requested |
| Action | 7-DoF delta, normalized | float array per step | often absent | absent by design |
| Language | per-step instruction | task index plus string | file attribute | transcript file pointer |
| Calibration | per-episode arrays | not standard | intrinsics native | absent |
| Success flag | step metadata | episode metadata | not standard | absent |
Read the last two rows again before you claim a video corpus can substitute for demonstrations. Real-world video data for robot training carries no success signal and no action labels, which is the whole reason the alternatives to teleoperation data conversation ends in latent-action objectives and a small verified demonstration set rather than in a bigger download.
Operational properties that decide the purchase
| Property | RLDS | LeRobot | Shards | HDF5 | Manifest |
|---|---|---|---|---|---|
| Partial re-pull | poor | fair | fair | poor | native |
| Schema check before training | weak | strong | none | weak | strong |
| Decode cost at scale | high | medium | low | medium | yours to design |
| Random access by id | good | good | poor | good | excellent |
| Vendor can re-deliver identical bytes | fair | fair | fair | fair | yes, with batch ids |
The row worth pricing is the first. A corpus you cannot partially re-pull is a corpus you re-buy, and the practical fix is a scheduled job rather than a person, which is what the n8n integration is for; source-level re-querying can be delegated to an agent on the MCP endpoint.
How to test a container before committing
Four checks, all of them cheap, all of them run against a sample rather than a spec sheet.
- Ask for the field dictionary and coverage statistics, then assert your loader against
schema.jsonfor two consecutive batches. The dataset platform documents both artifacts delivered with samples, which is the material you diff. - Measure decode throughput at your real batch size on cold storage. If the answer is dominated by ffmpeg, your container choice is wrong regardless of which one you like.
- Count nulls per column and ask what would have to change for them to be non-null. This is the fastest way to find out whether a supplier is describing a pipeline or a snapshot.
- Re-pull one batch and diff identifiers, durations, and transcript language. A supplier whose second delivery is stable has a schema; one whose second delivery is different has a habit.
For volume, the discovery and structured layers are priced per result, $0.70 to $1.20 per 1,000 successful responses on the SERP API and from $0.50 per 1,000 on the Web Scraper API, so testing a container costs cents. The video lane itself, multi-platform video datasets, documents 17+ billion indexed URLs with transcripts in more than 100 languages, and the same catalog shape supports the multimodal data solution when the stack grows past video.
Recommendation
Use two containers, not one. Manifest plus object store as the system of record, because it is the only shape that survives refresh, and then a compiled training format per workload, LeRobot v3 for policy fine-tuning, RLDS when you need published comparability, tar shards for pretraining sweeps. Keep HDF5 or zarr only for pose-annotated human video, where the structured payload justifies the operational cost.
The comparison also reads as a supplier test. When you line up the best robotics training data providers on these axes, the split is immediate: the ones who hand you a manifest with declared fps, null counts, and a stable schema across pulls are running infrastructure, and the ones who hand you a single opaque archive are selling a snapshot. Robotics dataset vendors tend to cluster in the second group precisely because a snapshot is easier to price, which is worth remembering when a catalog number looks better than a contract term. Get a sample through the official site, run the four checks, and let the second delivery tell you which kind of supplier you found. If the schema holds across two batches, the rest of the comparison is your own pipeline work, and that part you should not outsource.