Instructions to use zhuyuze/HeadLight with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zhuyuze/HeadLight with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zhuyuze/HeadLight", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
HeadLight
Checkpoints of HeadLight: Targeted Adaptation of World-Action Models via Interaction and Motion Heads.
Paper · Project page · Code · HuggingFace · ModelScope
Pretrained World-Action Models (WAMs) already contain a few attention heads that track where to interact next and others that track how the robot and objects move. HeadLight finds these heads and fine-tunes only them. It outperforms full fine-tuning and LoRA on unseen manipulation tasks while updating 1.1% of the parameters.
Contents
| Path | Contents | Size |
|---|---|---|
zero_wam/headlight/ |
HeadLight updates for Zero-WAM | 0.45 GB |
zero_wam/full_ft/transformer/ |
Zero-WAM after Full FT (transformer) | 22.9 GB |
zero_wam/human_demos/ |
Human demonstrations of the six test tasks (latents), copy from HumanGen | 0.03 GB |
zero_wam/zero-wam-posttrain-robotwin/ |
Zero-WAM base model, unmodified copy of the upstream release | 37.1 GB |
lingbot_va/headlight/ |
HeadLight updates for LingBot-VA, trained on lingbot_va/base_43tasks |
0.45 GB |
lingbot_va/base_43tasks/transformer/ |
LingBot-VA adapted to the 43 seen RoboTwin tasks (transformer) | 10.2 GB |
lingbot_va/lingbot-va-base/ |
LingBot-VA base model, unmodified copy of the upstream release | 24.4 GB |
A headlight/ directory holds headlight.safetensors (float32) and config.json with the adapted
[layer, head] pairs: 24 video heads (Next-Interaction Heads) and 48 action heads (paired with the Motion Heads),
113.3M parameters in total. The updates are added to the frozen base model when it is loaded; the base weights are
not modified.
Download
Download the repository into checkpoints/ of the code repository:
# HuggingFace
hf download zhuyuze/HeadLight --local-dir checkpoints
# ModelScope
modelscope download susetiankong/HeadLight --local-dir checkpoints
Add --include "zero_wam/*" (60 GB) or --include "lingbot_va/*" (35 GB) to download one backbone only.
SHA256SUMS lists the checksum of every model file (cd checkpoints && sha256sum -c SHA256SUMS).
checkpoints/
├── zero_wam/
│ ├── zero-wam-posttrain-robotwin/
│ ├── headlight/
│ ├── full_ft/transformer/
│ └── human_demos/
└── lingbot_va/
├── lingbot-va-base/
├── base_43tasks/transformer/
└── headlight/
Usage
# Zero-WAM + HeadLight, Zero-WAM + Full FT
export HUMANGEN_ROOT=checkpoints/zero_wam/human_demos # or the full HumanGen dataset
BASE=checkpoints/zero_wam/zero-wam-posttrain-robotwin
bash scripts/zero_wam/eval.sh $BASE outputs/zero_wam/eval/headlight --headlight checkpoints/zero_wam/headlight
bash scripts/zero_wam/eval.sh $BASE outputs/zero_wam/eval/full_ft --transformer checkpoints/zero_wam/full_ft/transformer
# LingBot-VA + HeadLight
bash scripts/lingbot_va/eval.sh checkpoints/lingbot_va/base_43tasks outputs/lingbot_va/eval/headlight \
--headlight checkpoints/lingbot_va/headlight
# head ablation on Zero-WAM + Full FT
bash scripts/zero_wam/ablate.sh $BASE checkpoints/zero_wam/full_ft/transformer outputs/zero_wam/ablation
Installation, head discovery, training and evaluation are described in the code repository.
Base models
The two base models are unmodified copies of the upstream releases (Apache 2.0) at the revisions used in the paper, included so that the results stay reproducible. Every file has the sha256 of the upstream file.
| Path | Upstream | Revision |
|---|---|---|
zero_wam/zero-wam-posttrain-robotwin/ |
Robbyant-Research/zero-wam-posttrain-robotwin | 07ee865f175d9474a5653e9147698390e47b6143 |
lingbot_va/lingbot-va-base/ |
robbyant/lingbot-va-base | 68b7bc1b35da6ddc67ea94c4ceb58d768fbb3f9c |
The text encoder, tokenizer and VAE are the same files in both base models.
zero_wam/human_demos/ holds the six human demonstrations (latents) that condition Zero-WAM at test time, copied
unmodified from Robbyant-Research/HumanGen
(Apache 2.0, revision 971d12e942bf101c0d47716f928b1c044d02ac71).
- Zero-WAM.
zero_wam/headlight/is applied to the transformer ofzero-wam-posttrain-robotwin;zero_wam/full_ft/transformer/replaces that transformer. The VAE, tokenizer and text encoder are unchanged. - LingBot-VA.
lingbot_va/base_43tasks/transformer/replaces the transformer oflingbot-va-base, andlingbot_va/headlight/is applied tobase_43tasks. The VAE, tokenizer and text encoder are unchanged. - All HeadLight and Full FT models are adapted on the 43 seen RoboTwin 2.0 tasks.
If you use these models, please also cite Zero-WAM and LingBot-VA.
Citation
@article{zhu2026headlight,
title = {Targeted Adaptation of World-Action Models via Interaction and Motion Heads},
author = {Zhu, Yuze and Li, Jacky and Luo, Yusen and Zheng, Ken Jiankun and
Mitra, Chancharik and Darrell, Trevor and Herzig, Roei},
journal = {arXiv preprint arXiv:2611.33963},
year = {2026}
}
License
Apache 2.0 (LICENSE).
- Downloads last month
- -