Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 83, in _split_generators
                  raise ValueError(
              ValueError: The TAR archives of the dataset should be in WebDataset format, but the files in the archive don't share the same prefix or the same types.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 66, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                         ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

PACT Data and Checkpoints

This repository hosts the data and pretrained policy checkpoints for PACT: Self-Evolving Physical Safety Alignment for Diffusion Policies in Embodied Manipulation.

PACT is a self-evolving post-training framework for aligning pretrained diffusion policies with physical safety constraints in embodied manipulation. It uses self-rollouts and automatically computed physical constraints to distill constraint gradients into diffusion policies, improving safety without requiring demonstrations, task rewards, interventions, or outcome annotations.

Website - GitHub - Paper


Highlights

  • Self-evolving: Aligns diffusion policies from self-rollouts without demonstrations, interventions, rewards, or outcome annotations.
  • Efficient optimization: Distills constraint gradients into the policy, providing dense supervision across diffusion timesteps.
  • Curriculum alignment: Progressively tightens constraints to preserve task competence while improving safety.
  • Foundation-model compatible: Plugs into diffusion-based policies, including flow policies, VLAs, and WAMs, without architecture modifications.
  • Theoretical control: Bounds policy shift and supports monotone improvement.
  • Proven in practice: Improves both task success and safety across simulation and real-world manipulation.

Repository Contents

This Hugging Face dataset repository contains file-based assets used by the official PACT codebase:

  • Pretrained base policy checkpoints for Diffusion Policy on RoboTwin tasks.
  • Pre-generated instruction datasets used during PACT post-training.
  • Shared environment metadata required by the released instruction data.

The released task set includes:

  • handover_apple
  • handover_block
  • pick_diverse_bottles
  • pick_dual_bottles
  • place_dual_shoes
  • pour_water_to_cup
  • stack_blocks_two

This repository is intended for file-based download and use with the official GitHub codebase. The Hugging Face dataset viewer is not the primary interface for these assets.


Quickstart

Install Git LFS if needed, then download the repository:

git lfs install
git clone https://huggingface.co/datasets/Ethan-pooh/pact

Alternatively, download with the Hugging Face CLI:

huggingface-cli download Ethan-pooh/pact \
  --repo-type dataset \
  --local-dir ./pact_hf

The instruction data is provided as data.tar.gz. Untar it and place the extracted files under the PACT repository:

mkdir -p /path/to/PACT/data
tar -xzf ./pact_hf/data.tar.gz -C /path/to/PACT/data

Please refer to the official PACT GitHub repository for installation, post-training, and evaluation commands.


Expected Directory Layout

After downloading, place the pretrained base policy checkpoints under the PACT repository as follows:

PACT/policy/DP/checkpoints/
β”œβ”€β”€ handover_apple-demo_randomized-200-0/600.ckpt
β”œβ”€β”€ handover_block-demo_randomized-200-0/600.ckpt
β”œβ”€β”€ pick_diverse_bottles-demo_randomized-200-0/600.ckpt
β”œβ”€β”€ pick_dual_bottles-demo_randomized-200-0/600.ckpt
β”œβ”€β”€ place_dual_shoes-demo_randomized-200-0/600.ckpt
β”œβ”€β”€ pour_water_to_cup-demo_randomized-200-0/600.ckpt
└── stack_blocks_two-demo_randomized-200-0/600.ckpt

After untarring data.tar.gz, the pre-generated instruction dataset and shared environment metadata should follow this structure:

PACT/data/
β”œβ”€β”€ data/handover_apple/demo_randomized/instructions
β”œβ”€β”€ data/handover_block/demo_randomized/instructions
β”œβ”€β”€ data/pick_diverse_bottles/demo_randomized/instructions
β”œβ”€β”€ data/pick_dual_bottles/demo_randomized/instructions
β”œβ”€β”€ data/place_dual_shoes/demo_randomized/instructions
β”œβ”€β”€ data/pour_water_to_cup/demo_randomized/instructions
β”œβ”€β”€ data/stack_blocks_two/demo_randomized/instructions
└── env_meta.pkl

Once the files are arranged, evaluate a base policy with:

cd policy/DP
bash eval_dr.sh pick_dual_bottles demo_randomized demo_randomized 200 0 600 0

Run PACT post-training from the repository root with:

CUDA_VISIBLE_DEVICES=0,1,2,3 bash policy/DP/on_policy_distill_multigpu.sh pick_dual_bottles onpolicy_randomized 200 0 14

Intended Uses and Limitations

Intended uses

  • Research on robot manipulation, diffusion policies, and physical safety alignment.
  • Reproducing the PACT post-training pipeline on RoboTwin tasks.
  • Evaluating pretrained base policies and post-trained PACT policies using the official codebase.

Limitations

  • The checkpoints and instruction data are tied to the released RoboTwin task configurations.
  • Post-training depends on correct installation of RoboTwin, Diffusion Policy, PACT cost functions, and task assets.
  • Results may vary with simulator version, asset placement, random seeds, and the implemented physical constraint functions.

Safety and responsible use

  • These assets are intended for simulation-based research in RoboTwin.
  • Do not interpret simulated safety improvements as a direct guarantee of real-world robot safety without additional validation.

Changelog

  • 2026-06: Initial release of PACT data and pretrained base policy checkpoints on Hugging Face.

Citation

If you find this dataset, checkpoints, or codebase useful, please cite:

@article{wu2026pact,
  title={PACT: Self-Evolving Physical Safety Alignment for Diffusion Policies in Embodied Manipulation},
  author={Wu, Lingxuan and Zhu, Zijian and Wang, Lizhong and Ying, Chengyang and Chen, Huayu and Yang, Xiao and Liu, Fangming and Zhu, Jun},
  journal={arXiv preprint arXiv:2606.08414},
  year={2026}
}

Contact

Downloads last month
33

Paper for Ethan-pooh/pact