PACE-LIBERO: released checkpoint, config, statistics, model card
Browse files- README.md +93 -0
- config.yaml +82 -0
- dataset_statistics.json +133 -0
- pytorch_model.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
pipeline_tag: robotics
|
| 5 |
+
tags:
|
| 6 |
+
- vision-language-action
|
| 7 |
+
- robotics
|
| 8 |
+
- libero
|
| 9 |
+
- progress-estimation
|
| 10 |
+
- failure-detection
|
| 11 |
+
- flow-matching
|
| 12 |
+
base_model: Qwen/Qwen3-VL-4B-Instruct
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# PACE · LIBERO
|
| 16 |
+
|
| 17 |
+
> ✍️ **Fei Ni**, Zhuo Chen, Xianze Yao, Zerui Chen, Changrui Chen, Yifu Yuan, Shan Luo, Jianye Hao, Jiankang Deng<br>
|
| 18 |
+
> 💻 Code: [github.com/Fei-Ni/PACE](https://github.com/Fei-Ni/PACE)
|
| 19 |
+
|
| 20 |
+
PACE is a vision-language-action policy that internalizes task progress: it predicts a *foresight anchor* (an embedding of the finished task), reads its current progress and a forward commitment against it, and conditions its action decoder on them. This repository holds one checkpoint trained jointly on the four LIBERO suites.
|
| 21 |
+
|
| 22 |
+
## Result
|
| 23 |
+
|
| 24 |
+
LIBERO success rate (%), 10 tasks × 50 trials per suite, seed 7, evaluated with `examples/LIBERO/eval_libero.sh` from the code repository.
|
| 25 |
+
|
| 26 |
+
| Spatial | Object | Goal | Long | **Average** |
|
| 27 |
+
|---|---|---|---|---|
|
| 28 |
+
| 99.0 | 99.8 | 99.4 | 96.2 | **98.6** |
|
| 29 |
+
|
| 30 |
+
The paper (Table 1) reports 99.0 / 99.8 / 97.8 / 98.0, average 98.7. This checkpoint was retrained with the released code; the recipe is described in the code repository's `docs/TRAINING.md`.
|
| 31 |
+
|
| 32 |
+
## Failure alarm
|
| 33 |
+
|
| 34 |
+
Every response of the policy server also carries a failure alarm (`audit_flag`, with `audit_score` and `audit_stall`): it fires when the progress the policy commits to keeps going undelivered, or when its progress reading stops rising. With the thresholds in `config.yaml` (a shared 0.4 for unmet commitments; the stall limit calibrated on other checkpoints, never on this one), it flags **92.9%** of the 28 failed episodes of the evaluation above and 7.2% of the 1,972 successful ones, with a median of half the episode still left. It only reports and never changes the actions. Details and a calibration script: `docs/PROGRESS.md` in the code repository.
|
| 35 |
+
|
| 36 |
+
## Architecture
|
| 37 |
+
|
| 38 |
+
| Component | Choice |
|
| 39 |
+
|---|---|
|
| 40 |
+
| Vision-language backbone | Qwen3-VL-4B-Instruct |
|
| 41 |
+
| Action head | flow-matching DiT-B (16 layers), chunk of 8 actions, 4 denoising steps |
|
| 42 |
+
| Progress encoder | DINOv2 ViT-B/14, frozen (CLS, 768-d) |
|
| 43 |
+
| Progress interface | 4 goal-query tokens → foresight anchor; p<sub>cur</sub>, Δp<sub>cur</sub> readouts; Δp<sub>prev</sub> input token; anchor + p<sub>cur</sub> + Δp<sub>cur</sub> prepended to the DiT |
|
| 44 |
+
| Inputs | third-person + wrist images (224 × 224) at t and at the latest query at or before t − 7 (t − 8 with the LIBERO client), instruction; no proprioception |
|
| 45 |
+
| Actions | 7-D end-effector delta (xyz, rpy, gripper), normalized with `dataset_statistics.json` (key `franka`) |
|
| 46 |
+
|
| 47 |
+
## Training data
|
| 48 |
+
|
| 49 |
+
The four `*_no_noops` LIBERO datasets (Spatial, Object, Goal, 10) in LeRobot format, 30K steps at batch 64.
|
| 50 |
+
|
| 51 |
+
## Files
|
| 52 |
+
|
| 53 |
+
```
|
| 54 |
+
PACE-LIBERO/
|
| 55 |
+
├── README.md
|
| 56 |
+
├── config.yaml # model config (base_vlm = Qwen/Qwen3-VL-4B-Instruct)
|
| 57 |
+
├── dataset_statistics.json # action normalization statistics
|
| 58 |
+
└── pytorch_model.pt # full model state dict
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## How to load
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
huggingface-cli download spikefly/PACE-LIBERO --local-dir ./PACE-LIBERO
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
```python
|
| 68 |
+
from pace.model.framework.base_framework import baseframework
|
| 69 |
+
|
| 70 |
+
policy = baseframework.from_pretrained("./PACE-LIBERO").cuda().eval() # or "spikefly/PACE-LIBERO"
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
Qwen3-VL-4B-Instruct (processor and architecture) and the DINOv2 ViT-B/14 weights are fetched on first use; set `BASE_VLM` / `DINOV2_WEIGHTS` to local copies to skip the downloads. For evaluation, see `examples/LIBERO/` in the code repository.
|
| 74 |
+
|
| 75 |
+
## Sibling checkpoint
|
| 76 |
+
|
| 77 |
+
| Checkpoint | Benchmark |
|
| 78 |
+
|---|---|
|
| 79 |
+
| [spikefly/PACE-SimplerEnv](https://huggingface.co/spikefly/PACE-SimplerEnv) | SimplerEnv WidowX |
|
| 80 |
+
|
| 81 |
+
## Citation
|
| 82 |
+
|
| 83 |
+
```bibtex
|
| 84 |
+
@misc{ni2026pace,
|
| 85 |
+
title = {{PACE}: Progress Actively-internalized Conditioning Execution for Long-horizon Manipulation},
|
| 86 |
+
author = {Ni, Fei and Chen, Zhuo and Yao, Xianze and Chen, Zerui and Chen, Changrui and Yuan, Yifu and Luo, Shan and Hao, Jianye and Deng, Jiankang},
|
| 87 |
+
year = {2026}
|
| 88 |
+
}
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
## License
|
| 92 |
+
|
| 93 |
+
MIT for the PACE weights and code. The backbone weights derive from Qwen3-VL-4B-Instruct (Apache-2.0) and the progress encoder is DINOv2 (Apache-2.0); LIBERO data follows its own license.
|
config.yaml
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PACE-LIBERO: model config of the released PACE checkpoint, read by the PACE code together with pytorch_model.pt
|
| 2 |
+
# and dataset_statistics.json in this directory:
|
| 3 |
+
# from pace.model.framework.base_framework import baseframework
|
| 4 |
+
# policy = baseframework.from_pretrained("./PACE-LIBERO")
|
| 5 |
+
# Training recipes and launchers are in the code repository (docs/TRAINING.md).
|
| 6 |
+
run_id: PACE-LIBERO
|
| 7 |
+
run_root_dir: runs
|
| 8 |
+
seed: 43
|
| 9 |
+
trackers: [jsonl] # "jsonl" -> <run>/metrics.jsonl; add "wandb" for Weights & Biases (entity: wandb_entity or $WANDB_ENTITY)
|
| 10 |
+
wandb_entity: null
|
| 11 |
+
wandb_project: pace
|
| 12 |
+
|
| 13 |
+
framework:
|
| 14 |
+
# "PACE"; the long alias "ProgressVLA_DinoTargetQueryProgressTripleReadoutFullGoal" is the name used by the
|
| 15 |
+
# original training runs and is still accepted.
|
| 16 |
+
name: PACE
|
| 17 |
+
qwenvl:
|
| 18 |
+
base_vlm: Qwen/Qwen3-VL-4B-Instruct # env BASE_VLM (local directory or HF id) takes precedence
|
| 19 |
+
attn_implementation: flash_attention_2 # env PACE_ATTN_IMPLEMENTATION (e.g. sdpa) overrides
|
| 20 |
+
action_model:
|
| 21 |
+
action_model_type: DiT-B # 12 heads x 64, 16 layers (diffusion_model_cfg.num_layers)
|
| 22 |
+
hidden_size: 1024
|
| 23 |
+
add_pos_embed: true
|
| 24 |
+
max_seq_len: 1024
|
| 25 |
+
action_dim: 7
|
| 26 |
+
state_dim: 7 # the state encoder exists in the checkpoint, but no proprioceptive state is fed
|
| 27 |
+
future_action_window_size: 7
|
| 28 |
+
action_horizon: 8 # action chunk H = future_action_window_size + 1
|
| 29 |
+
past_action_window_size: 0
|
| 30 |
+
noise_beta_alpha: 1.5
|
| 31 |
+
noise_beta_beta: 1.0
|
| 32 |
+
noise_s: 0.999
|
| 33 |
+
num_timestep_buckets: 1000
|
| 34 |
+
num_inference_timesteps: 4 # flow-matching (Euler) denoising steps
|
| 35 |
+
num_target_vision_tokens: 32
|
| 36 |
+
diffusion_model_cfg:
|
| 37 |
+
dropout: 0.2
|
| 38 |
+
final_dropout: true
|
| 39 |
+
interleave_self_attention: true
|
| 40 |
+
norm_type: ada_norm
|
| 41 |
+
num_layers: 16
|
| 42 |
+
output_dim: 1024
|
| 43 |
+
positional_embeddings: null
|
| 44 |
+
progress:
|
| 45 |
+
layer_idx: 18 # query readouts from the hidden states of VLM layer 18
|
| 46 |
+
num_goal_queries: 4 # K goal queries, mean-pooled into the foresight-anchor head
|
| 47 |
+
use_goal_dit_token: true # the predicted anchor is a DiT conditioning token (besides p_cur and dp_cur)
|
| 48 |
+
lambda_long: 0.1 # goal-anchor loss (MSE in DINOv2 space)
|
| 49 |
+
lambda_pcur: 0.1 # current-progress loss
|
| 50 |
+
lambda_dpcur: 0.1 # forward-commitment loss
|
| 51 |
+
lambda_cons: 0.1 # consistency: p_cur readout vs projection onto the predicted anchor
|
| 52 |
+
cons_detach_anchor: true
|
| 53 |
+
query_init_std: 0.01
|
| 54 |
+
train_query_token_rows_only: true # new token rows are trained; the rest of the VLM is fully fine-tuned
|
| 55 |
+
progress_future_offset: 7 # Delta (history / commitment horizon in env steps); equals datasets.vla_data value
|
| 56 |
+
use_history_images: true # the frame at t - Delta is an extra VLM input
|
| 57 |
+
use_dp_prev_input: true # the historical pace dp_prev enters the VLM as a token
|
| 58 |
+
use_full_goal_anchor_at_inference: true
|
| 59 |
+
infer_history_mode: step_aligned
|
| 60 |
+
dino_variant: vitb14 # frozen DINOv2 ViT-B/14 (progress geometry)
|
| 61 |
+
dino_target_dim: 768
|
| 62 |
+
dino_head_hidden_dim: 1024
|
| 63 |
+
dino_repo_root: null # null -> vendored third_party/dinov2 (env DINO_REPO_ROOT overrides)
|
| 64 |
+
dino_weights: null # null -> $PACE_CACHE/dinov2 download (env DINOV2_WEIGHTS overrides)
|
| 65 |
+
# Commitment audit (inference-time failure detector, never changes actions): alarm when the shortfall CUSUM
|
| 66 |
+
# exceeds audit_threshold or p_cur has not risen for more than audit_stall_chunks action chunks.
|
| 67 |
+
# audit_threshold is shared by all benchmarks (unmet commitments adding up to 0.4 of the task); the stall limit is
|
| 68 |
+
# calibrated per benchmark on held-out checkpoints (2.5% false alarms on successful episodes); see docs/PROGRESS.md.
|
| 69 |
+
audit_kappa: 0.0
|
| 70 |
+
audit_threshold: 0.4
|
| 71 |
+
audit_stall_chunks: 18
|
| 72 |
+
|
| 73 |
+
datasets:
|
| 74 |
+
vla_data:
|
| 75 |
+
dataset_py: lerobot_datasets
|
| 76 |
+
CoT_prompt: "Your task is {instruction}. To identify the key objects for your task. Locate their bounding boxes in [x1,y1,x2,y2] format."
|
| 77 |
+
return_progress_anchors: true
|
| 78 |
+
progress_future_offset: 7
|
| 79 |
+
|
| 80 |
+
trainer: # inference only reads these
|
| 81 |
+
repeated_diffusion_steps: 4
|
| 82 |
+
pretrained_checkpoint: null
|
dataset_statistics.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"franka": {
|
| 3 |
+
"action": {
|
| 4 |
+
"mean": [
|
| 5 |
+
0.07237596483901143,
|
| 6 |
+
0.08987006871029735,
|
| 7 |
+
-0.10144743137061596,
|
| 8 |
+
-0.00045383188989944756,
|
| 9 |
+
0.006273590726777911,
|
| 10 |
+
-0.003878799732774496,
|
| 11 |
+
0.524486355483532
|
| 12 |
+
],
|
| 13 |
+
"std": [
|
| 14 |
+
0.3498823308902479,
|
| 15 |
+
0.37794140366375184,
|
| 16 |
+
0.460084266976933,
|
| 17 |
+
0.0403885784928603,
|
| 18 |
+
0.06616144248501059,
|
| 19 |
+
0.07763074391911857,
|
| 20 |
+
0.4994683356809767
|
| 21 |
+
],
|
| 22 |
+
"max": [
|
| 23 |
+
0.9375,
|
| 24 |
+
0.9375,
|
| 25 |
+
0.9375,
|
| 26 |
+
0.3557142913341522,
|
| 27 |
+
0.375,
|
| 28 |
+
0.375,
|
| 29 |
+
1.0
|
| 30 |
+
],
|
| 31 |
+
"min": [
|
| 32 |
+
-0.9375,
|
| 33 |
+
-0.9375,
|
| 34 |
+
-0.9375,
|
| 35 |
+
-0.2582142949104309,
|
| 36 |
+
-0.375,
|
| 37 |
+
-0.3675000071525574,
|
| 38 |
+
0.0
|
| 39 |
+
],
|
| 40 |
+
"q01": [
|
| 41 |
+
-0.8785714507102966,
|
| 42 |
+
-0.8758928775787354,
|
| 43 |
+
-0.9375,
|
| 44 |
+
-0.1510714292526245,
|
| 45 |
+
-0.20678570866584778,
|
| 46 |
+
-0.2742857038974762,
|
| 47 |
+
0.0
|
| 48 |
+
],
|
| 49 |
+
"q99": [
|
| 50 |
+
0.9375,
|
| 51 |
+
0.9107142686843872,
|
| 52 |
+
0.9375,
|
| 53 |
+
0.20357142388820648,
|
| 54 |
+
0.26357144117355347,
|
| 55 |
+
0.375,
|
| 56 |
+
1.0
|
| 57 |
+
],
|
| 58 |
+
"mask": [
|
| 59 |
+
true,
|
| 60 |
+
true,
|
| 61 |
+
true,
|
| 62 |
+
true,
|
| 63 |
+
true,
|
| 64 |
+
true,
|
| 65 |
+
false
|
| 66 |
+
]
|
| 67 |
+
},
|
| 68 |
+
"state": {
|
| 69 |
+
"mean": [
|
| 70 |
+
-0.04889854742214084,
|
| 71 |
+
0.03689368185587227,
|
| 72 |
+
0.7890402488410473,
|
| 73 |
+
2.9771945476531982,
|
| 74 |
+
-0.1417286954820156,
|
| 75 |
+
-0.11769362539052963,
|
| 76 |
+
0.026436020154505968,
|
| 77 |
+
-0.02665513101965189
|
| 78 |
+
],
|
| 79 |
+
"std": [
|
| 80 |
+
0.10639013941746686,
|
| 81 |
+
0.15115733130675715,
|
| 82 |
+
0.38406895599530033,
|
| 83 |
+
0.3530238395244304,
|
| 84 |
+
0.8227341427331599,
|
| 85 |
+
0.32357567121520087,
|
| 86 |
+
0.014583991652936385,
|
| 87 |
+
0.014467005007200339
|
| 88 |
+
],
|
| 89 |
+
"max": [
|
| 90 |
+
0.21031762659549713,
|
| 91 |
+
0.39128610491752625,
|
| 92 |
+
1.3660105466842651,
|
| 93 |
+
3.6714255809783936,
|
| 94 |
+
3.560650587081909,
|
| 95 |
+
1.386339545249939,
|
| 96 |
+
0.04233968257904053,
|
| 97 |
+
0.0013633022317662835
|
| 98 |
+
],
|
| 99 |
+
"min": [
|
| 100 |
+
-0.4828203022480011,
|
| 101 |
+
-0.3255046010017395,
|
| 102 |
+
0.008128180168569088,
|
| 103 |
+
0.35277295112609863,
|
| 104 |
+
-3.641430377960205,
|
| 105 |
+
-1.842738389968872,
|
| 106 |
+
-0.0013586411951109767,
|
| 107 |
+
-0.042040832340717316
|
| 108 |
+
],
|
| 109 |
+
"q01": [
|
| 110 |
+
-0.42401049643754957,
|
| 111 |
+
-0.2838300323486328,
|
| 112 |
+
0.009925739830359817,
|
| 113 |
+
1.3085840785503386,
|
| 114 |
+
-2.886677579879761,
|
| 115 |
+
-1.1599004411697387,
|
| 116 |
+
0.001503719249740243,
|
| 117 |
+
-0.040336399003863335
|
| 118 |
+
],
|
| 119 |
+
"q99": [
|
| 120 |
+
0.1530261474847791,
|
| 121 |
+
0.3629165390133857,
|
| 122 |
+
1.2910678112506866,
|
| 123 |
+
3.303542451858519,
|
| 124 |
+
2.7496529006957933,
|
| 125 |
+
0.6893712210655194,
|
| 126 |
+
0.040610933862626555,
|
| 127 |
+
-0.0015016929572448147
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"num_transitions": 272104,
|
| 131 |
+
"num_trajectories": 1693
|
| 132 |
+
}
|
| 133 |
+
}
|
pytorch_model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14a5451eb8cb07e98fbea6bf3f862e638c7215a3c0e01fa6170282a519526ad6
|
| 3 |
+
size 10172092487
|