Add dataset card and documentation for DICE-RL
#1
by nielsr HF Staff - opened
README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
task_categories:
|
| 3 |
+
- robotics
|
| 4 |
+
tags:
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
- robomimic
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# From Prior to Pro: Efficient Skill Mastery via Distribution Contractive RL Finetuning (DICE-RL)
|
| 10 |
+
|
| 11 |
+
[**Project Website**](https://zhanyisun.github.io/dice.rl.2026/) | [**Paper**](https://huggingface.co/papers/2603.10263) | [**GitHub**](https://github.com/zhanyisun/dice-rl)
|
| 12 |
+
|
| 13 |
+
This repository contains the datasets used in **DICE-RL**, a framework that uses reinforcement learning as a "distribution contraction" operator to refine pretrained generative robot policies. The data includes both pretraining data (for Behavior Cloning) and finetuning data (for DICE-RL) across various Robomimic environments.
|
| 14 |
+
|
| 15 |
+
## Dataset Structure
|
| 16 |
+
|
| 17 |
+
The datasets are provided in `numpy` format, and each folder typically contains `train.npy` and `normalization.npz`. The data is organized following this structure:
|
| 18 |
+
|
| 19 |
+
```
|
| 20 |
+
data_dir/
|
| 21 |
+
└── robomimic
|
| 22 |
+
├── {env_name}-low-dim
|
| 23 |
+
│ ├── ph_pretrain
|
| 24 |
+
│ └── ph_finetune
|
| 25 |
+
└── {env_name}-img
|
| 26 |
+
├── ph_pretrain
|
| 27 |
+
└── ph_finetune
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
- **ph_pretrain**: Contains the datasets used for pretraining the BC policies.
|
| 31 |
+
- **ph_finetune**: Contains the datasets used for finetuning the DICE-RL policies. These are similar to the pretraining sets but with trajectories truncated to ensure value learning consistency between offline and online data (truncated to have exactly one success at the end).
|
| 32 |
+
- **low-dim**: State-based observations.
|
| 33 |
+
- **img**: High-dimensional pixel (image) observations.
|
| 34 |
+
|
| 35 |
+
## Usage
|
| 36 |
+
|
| 37 |
+
You can download the datasets using the scripts provided in the [GitHub repository](https://github.com/zhanyisun/dice-rl):
|
| 38 |
+
|
| 39 |
+
```console
|
| 40 |
+
bash script/download_hf.sh
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
For more details on generating your own data or processing raw Robomimic datasets, please refer to the project's [dataset processing guide](https://github.com/zhanyisun/dice-rl/blob/main/script/dataset/README.md).
|
| 44 |
+
|
| 45 |
+
## Citation
|
| 46 |
+
|
| 47 |
+
```bibtex
|
| 48 |
+
@article{sun2026prior,
|
| 49 |
+
title={From Prior to Pro: Efficient Skill Mastery via Distribution Contractive RL Finetuning},
|
| 50 |
+
author={Sun, Zhanyi and Song, Shuran},
|
| 51 |
+
journal={arXiv preprint arXiv:2603.10263},
|
| 52 |
+
year={2026}
|
| 53 |
+
}
|
| 54 |
+
```
|