Skip to content
Projets

À propos

TwoPass: Draft-Guided Few-Step Video Prediction for Robotic Manipulation

Design et médias

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+8
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

TwoPass: Draft-Guided Few-Step Video Prediction for Robotic Manipulation

Paper: arXiv 2611.25553 Model weights: TwoPass Citation / BibTeX
Install · Download weights and data · Prepare data · Train · Evaluate · Results

Overview of TwoPass

TwoPass is an action-conditioned video prediction model for robotic manipulation, fine-tuned from Wan2.2-TI2V-5B: given one observed frame and the future robot actions, it predicts the following frames in as few as four network calls. Self-Generated Draft Training teaches the model to refine its own draft prediction, a Refinement-Only Late Adapter gives draft-conditioned calls a dedicated correction pathway, and Draft-Reuse Iterative Refinement reuses every clean estimate as the next draft at inference, so each solver step costs one network call.

Installation

pip install -r requirements.txt    # Python 3.10, PyTorch 2.8

Download weights and data

Usage

Commands are shown for Bridge; use configs/languagetable.json and the Language Table DATA_ROOT for the other dataset.

1. Data preparation

Select the training windows, then encode them with the Wan2.2 VAE and text encoder (one GPU, or several with --shard i --nshards n):

python -m twopass.select_windows --config configs/bridge.json \
    --data_root $DATA_ROOT --out_dir /path/to/train_data/bridge
python -m twopass.cache_windows --config configs/bridge.json \
    --manifest /path/to/train_data/bridge/train_manifest.json --wan_dir ./Wan2.2-TI2V-5B

2. Training

The configs follow the schedule of the paper, 300k iterations at an equivalent batch size of eight:

export WAN_DIR=/path/to/Wan2.2-TI2V-5B
MANIFEST=/path/to/train_data/bridge/train_manifest.json OUT_DIR=/path/to/runs/bridge \
    bash scripts/train.sh configs/bridge.json
MANIFEST=/path/to/train_data/languagetable/train_manifest.json OUT_DIR=/path/to/runs/languagetable \
    bash scripts/train.sh configs/languagetable.json

Add --resume_checkpoint $OUT_DIR/stepXXXXXXX.pt to continue a run.

3. Evaluation

Generate and score the test set with 4 (or 6) network calls per clip, then report PSNR / SSIM / LPIPS / FVD (--shard i --nshards n splits the generation over GPUs):

python -m twopass.evaluate --config configs/bridge.json --nfe 4 \
    --checkpoint /path/to/runs/bridge/step0300000.pt --wan_dir $WAN_DIR \
    --data_root $DATA_ROOT --i3d_path /path/to/i3d_torchscript.pt --out_dir /path/to/eval/bridge
python -m twopass.aggregate --config configs/bridge.json \
    --data_root $DATA_ROOT --eval_dir /path/to/eval/bridge

Results

Comparison on Bridge and Language Table

Qualitative comparison on Bridge and Language Table

Citation

If you find TwoPass useful, please cite our paper:

@article{liu2026twopass,
  title         = {TwoPass: Draft-Guided Few-Step Video Prediction for Robotic Manipulation},
  author        = {Liu, Yijun and Ge, Shijia and Feng, Tongtong and Wang, Xin and Meng, Yuan and Liu, Yuwei and Wang, Zhi and Zhu, Wenwu},
  journal       = {arXiv preprint arXiv:2611.25553},
  year          = {2026},
  eprint        = {2611.25553},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2611.25553}
}

License and acknowledgements

Released under the Apache License 2.0. The files in wan/ come from Wan2.2 (Apache License 2.0, see NOTICE). The datasets are provided by IRASim, FVD uses the I3D detector of StyleGAN-V, and LPIPS uses the lpips package.

Explorer des projets similaires

Chargement…