Instructions to use YuxinJ/O2LaF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Wan2.2
How to use YuxinJ/O2LaF with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
O²LaF: One Prior, Two Dynamics
Models for One Prior, Two Dynamics: Repurposing Video Diffusion Transformers for Self-Supervised Latent Action Learning · Paper · Project page · Code · Video
O²LaF learns latent actions from unlabelled video. One pretrained video diffusion transformer, Wan 2.2 TI2V-5B, is the prior for both dynamics: an action encoder infers a latent action for every transition of a video, and a world model generates video from a first frame and a sequence of those actions. No action labels are used.
Models
Each model lives in its own folder. Pass the folder as the model name, e.g.
--model YuxinJ/O2LaF/o2laf_dit_mixed.
| Model | Training data | Action encoder | Bidirectional world model from |
|---|---|---|---|
o2laf_dit_mixed |
MiraData + EgoDexMix | Wan DiT | the causal world model |
o2laf_dit_mira |
MiraData | Wan DiT | Wan 2.2 |
o2laf_dit_mira_e2e |
MiraData | Wan DiT | the causal world model |
o2laf_dit_egodexmix |
EgoDexMix | Wan DiT | the causal world model |
o2laf_vjepa2_mira |
MiraData | V-JEPA 2 † | Wan 2.2 |
o2laf_st_transformer_mira |
MiraData | spatio-temporal transformer | Wan 2.2 |
Which one to use. o2laf_dit_mixed is the model the paper evaluates and the
only one that ships the atomic action library — start there.
o2laf_dit_egodexmix is for egocentric manipulation video. The MiraData models
are the matched arms of the paper's ablations: o2laf_dit_mira against
o2laf_vjepa2_mira and o2laf_st_transformer_mira compares action encoders,
and o2laf_dit_mira against o2laf_dit_mira_e2e compares where stage 2
started.
† The V-JEPA 2 encoder keeps its ViT-g trunk frozen, so that trunk is not part
of the release. Download
vitg-384.pt and pass
--base-action-encoder /path/to/vitg-384.pt. It must be this checkpoint, not
the transformers conversion of it.
Every model has two modes: bidirectional (81 frames) and causal (41 frames),
both at 480×832. o2laf_dit_egodexmix runs at 24 fps, the others at 16.
Usage
Install the code from the O²LaF repository, then:
o2laf-transfer --model YuxinJ/O2LaF/o2laf_dit_mixed \
--source-video source.mp4 --first-frame frame.png --output out.mp4
from o2laf import LatentActionPipeline
pipe = LatentActionPipeline.from_pretrained("YuxinJ/O2LaF/o2laf_dit_mixed", mode="bidirectional")
Only the files a run needs are downloaded: about 2.5 GB for causal, 12 GB for
bidirectional. See each model's own card for its contents, modes and training
details.
Citation
@article{jiang2026o2laf,
title = {One Prior, Two Dynamics: Repurposing Video Diffusion Transformers for Self-Supervised Latent Action Learning},
author = {Jiang, Yuxin and Sun, Wenqiang and Li, Jiaqi and Gu, Yuchao and Zhang, Lvmin and Tsang, Ivor and Shou, Mike Zheng},
journal = {arXiv preprint arXiv:2611.26617},
year = {2026}
}
- Downloads last month
- 345
Model tree for YuxinJ/O2LaF
Base model
Wan-AI/Wan2.2-TI2V-5B-Diffusers