truelabel

Explore the platform

What brings you to truelabel?

We use these details to respond to your request. See our Privacy Policy.

Physical AI Data Engineering

How to Create Action-Chunked Datasets for Robot Policy Training

Pin the loader before you store a chunk. If an action sample is missing, leave it missing. The ALOHA page fetched 2026-10-08 says the ACT policy predicts joint positions at 50Hz with a fixed chunk size of 90. That 50Hz figure is that page's joint-position rate, not a camera rate. LeRobot v0.3.3 names meta/tasks.jsonl. LeRobot v0.4.0 reads meta/tasks.parquet. Do not combine those paths. This page does not assign a dataset format version number.

Updated 2026-10-096 min read
By Truelabel Team
Reviewed by Truelabel Team ·
action chunked dataset

Explore the platform

What brings you to truelabel?

We use these details to respond to your request. See our Privacy Policy.

Specs & FAQ

Quick facts

Topic
HOW TO Create Action Chunked Dataset
Audience
People who store an action chunk for a robot policy
Deliverable
A named chunk length, a missing-action rule, and a check that two loader paths stay uncombined (illustrative, not executed)

Pin the loader before you store a chunk

Name the loader you will read before you store a chunk. On this page the loaders with fetched path strings are LeRobot v0.3.3 and LeRobot v0.4.0. They name different task-file paths. Do not combine those paths into one layout. If an action sample is missing, leave it missing.

Use this decision table before you keep a chunk.

SituationDecision on this page
The action cell is absentLeave it absent
The two task-file paths come from two releasesDo not combine them
A run of actions is identical or near-zero velocityKeep it as a pause. Do not mark it as success
The ALOHA page's 50Hz sits on the joint-position sentenceThat system's action rate. Do not copy it onto a camera
A directory has many filesDo not treat the file count as an episode count

50Hz and chunk size 90 are that page's action settings

The ALOHA project page fetched 2026-10-08 says the ACT policy directly predicts joint positions at 50Hz with a fixed chunk size of 90. For perspective, that page says the episode length is between 600 and 1000. The 50Hz figure in that sentence is a joint-position rate for that system. Do not copy it onto a camera. Do not treat 90 as a chunk size for every policy. The 600 to 1000 sentence is that page's perspective line. It is not a required episode length. [1]

An idle hold is not a success mark

The HTML page fetched 2026-10-08 says idle actions occur when a demonstration is paused and results in sequences of identical positional actions or near-zero velocity actions. It says this is common during teleoperation and is sometimes required for tasks like liquid pouring. It also says single-step policies can easily overfit to this pausing behavior. [2]

This page's rule, which that sentence does not itself state: do not mark an idle hold as success. Leave the pause as a pause.

Mobile ALOHA names a delay across hardware parts

The Mobile ALOHA HTML page fetched 2026-10-08 says action chunking also provides a unique advantage for Mobile ALOHA: handling the delay of different parts of the hardware more flexibly. That sentence names a delay across hardware parts. This page does not add a latency number to it. [3]

v0.3.3 names per-episode files and meta/tasks.jsonl

The v0.3.3 utils.py fetched 2026-10-08 sets DEFAULT_VIDEO_PATH to a per-episode mp4 template and DEFAULT_PARQUET_PATH to a per-episode parquet template. The same file sets TASKS_PATH to meta/tasks.jsonl. That tasks line is not inside the stored multiline quote that holds the two path templates. It is the same fetched file. Do not read those strings as the v0.4.0 layout. [4]

v0.4.0 reads meta/tasks.parquet

The v0.4.0 utils.py fetched 2026-10-08 sets DEFAULT_TASKS_PATH to meta/tasks.parquet. It sets DEFAULT_EPISODES_PATH and DEFAULT_DATA_PATH with CHUNK_FILE_PATTERN. A function in that file reads the tasks path with pandas.read_parquet. The word chunk inside CHUNK_FILE_PATTERN is that file's path token. It is not the chunk size of 90. Do not combine these paths with the v0.3.3 per-episode templates or with meta/tasks.jsonl. Do not infer an episode count by counting files. This page does not assign a dataset format version number. [5]

The ACT helper takes num_episodes

The ACT utils.py fetched 2026-10-08 builds a dataset path with episode_{episode_id}.hdf5. It reads original_action_shape from root['/action'].shape. It defines get_norm_stats(dataset_dir, num_episodes). It sets train_ratio to 0.8. It calls get_norm_stats(dataset_dir, num_episodes). The call passes num_episodes. It does not pass a train-index list. This page does not say those stats use only the train split. [6]

Worked check, illustrative and not executed

This check is illustrative. Nobody ran it.

1. Write one loader name, v0.3.3 or v0.4.0. 2. If you wrote v0.3.3, write meta/tasks.jsonl and the per-episode parquet template. If you wrote v0.4.0, write meta/tasks.parquet and the pandas.read_parquet read. Do not write both loaders on one dataset. 3. If the action setting is the ALOHA page's ACT setting, write 50Hz and chunk size 90, and do not copy 50Hz onto a camera. 4. If an action cell is missing, leave it missing. 5. If a run of actions is identical or near-zero velocity, keep the page's idle description. Do not mark that run as success. 6. If you call the ACT helper, write get_norm_stats(dataset_dir, num_episodes) and train_ratio 0.8. Do not replace num_episodes with a train-index list.

Use these to move from category-level context into specific task, dataset, format, and comparison detail.

External references and source context

  1. Teleoperation datasets are becoming the highest-intent physical AI content category

    The ALOHA project page fetched 2026-10-08 says the ACT policy directly predicts joint positions at 50Hz with a fixed chunk size of 90, and says, for perspective, that the episode length is between 600 and 1000.

    tonyzhaozh.github.io ↩
  2. Diffusion Policy: Visuomotor Policy Learning via Action Diffusion

    The HTML page fetched 2026-10-08 says idle actions occur when a demonstration is paused and results in sequences of identical positional actions or near-zero velocity actions, that this is sometimes required for tasks like liquid pouring, and that single-step policies can overfit to that pausing.

    arXiv ↩
  3. Mobile ALOHA:Learning Bimanual Mobile Manipulation withLow-Cost Whole-Body Teleoperation

    The Mobile ALOHA HTML page fetched 2026-10-08 says action chunking handles the delay of different parts of the hardware more flexibly.

    arXiv ↩
  4. LeRobot GitHub repository

    The v0.3.3 utils.py fetched 2026-10-08 sets per-episode mp4 and parquet path templates and sets TASKS_PATH to meta/tasks.jsonl.

    GitHub ↩
  5. LeRobot GitHub repository

    The v0.4.0 utils.py fetched 2026-10-08 sets DEFAULT_TASKS_PATH to meta/tasks.parquet, sets episode and data path templates that use CHUNK_FILE_PATTERN, and reads the tasks file with pandas.read_parquet.

    GitHub ↩
  6. EpisodicDataset

    The ACT utils.py fetched 2026-10-08 builds an episode hdf5 path, reads the shape of root['/action'], defines get_norm_stats(dataset_dir, num_episodes), sets train_ratio to 0.8, and calls get_norm_stats(dataset_dir, num_episodes).

    GitHub ↩

FAQ

What chunk size should I use for my robot learning task?

The ALOHA page fetched 2026-10-08 says the ACT policy directly predicts joint positions at 50Hz with a fixed chunk size of 90. That sentence is that system's action setting. It is not a camera rate, and it is not a size for every task. This page does not assign a chunk size to another policy.

How do I handle episodes shorter than my chunk size?

If an action sample is missing, leave it missing. Do not fill it from another episode. The ALOHA page says, for perspective, that the episode length is between 600 and 1000. That sentence does not say what to do when an episode is shorter than 90.

Can I use the same chunked dataset for ACT and Diffusion Policy?

This page does not compare those two loaders. Pin the loader you will read. LeRobot v0.3.3 names meta/tasks.jsonl. LeRobot v0.4.0 reads meta/tasks.parquet. Do not combine those paths into one dataset.

How do I verify that my action normalization is correct?

The ACT utils.py fetched 2026-10-08 defines get_norm_stats(dataset_dir, num_episodes) and later calls it with dataset_dir and num_episodes. The same file sets train_ratio to 0.8. The call passes num_episodes, not a train-index list. This page does not turn that into a pass or fail band, and it does not say the stats use only the train split.

What temporal validation checks should I run before chunking?

This page does not give a timing tolerance. If a sample is missing, leave it missing. An idle hold, a run of identical positional actions or near-zero velocity, is not a success mark on this page. The fetched sentence says single-step policies can overfit to pausing, and that pausing is sometimes required for tasks like liquid pouring.

Where can I find pre-chunked datasets for robot learning?

This page does not list a catalog. It names the ALOHA action setting, the Mobile ALOHA delay sentence, and two LeRobot task-file paths. It does not point at a download count.

Running your own capture operation?

TrueLabel is the software platform for data providers, labs, and robotics companies that run their own capture operations, taking capture devices through processing to high-quality training and alignment data.

Explore the platform

What brings you to truelabel?

We use these details to respond to your request. See our Privacy Policy.