Agent-State LAM release checkpoints
Browse files- README.md +65 -0
- SHA256SUMS +10 -0
- dcs/cheetah-run.pt +3 -0
- dcs/hopper-hop.pt +3 -0
- dcs/humanoid-walk.pt +3 -0
- dcs/walker-run.pt +3 -0
- real_video/bridge.pt +3 -0
- real_video/irasim.pt +3 -0
- real_video/jaco.pt +3 -0
- real_video/rt1.pt +3 -0
- real_video/taco.pt +3 -0
- real_video/ur5.pt +3 -0
README.md
CHANGED
|
@@ -1,3 +1,68 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- robotics
|
| 5 |
+
- latent-action-model
|
| 6 |
---
|
| 7 |
+
|
| 8 |
+
# Learning Agent States for Latent Action Modeling
|
| 9 |
+
|
| 10 |
+
[Project page](https://agent-state-lam.github.io) · [Paper](https://arxiv.org/abs/ARXIV_ID) · [Code](https://github.com/Mid-Push/Agent-State-LAM)
|
| 11 |
+
|
| 12 |
+
The trained Agent-State LAM models of the paper, one per dataset.
|
| 13 |
+
|
| 14 |
+
Latent action models (LAMs) learn action-like latents from unlabeled video. Agent-State LAM jointly learns a compact
|
| 15 |
+
agent-state representation and latent actions that model its transitions: the compact state aggregates dense visual
|
| 16 |
+
features into a shared space for action inference and forward prediction, and spatially matched temporal
|
| 17 |
+
discrimination (SMTD) trains it to distinguish its source frame from nearby frames through spatially flexible
|
| 18 |
+
matching with frozen local visual features.
|
| 19 |
+
|
| 20 |
+
## Files
|
| 21 |
+
|
| 22 |
+
| file | data |
|
| 23 |
+
| --- | --- |
|
| 24 |
+
| `dcs/{hopper-hop,cheetah-run,walker-run,humanoid-walk}.pt` | the four tasks of the Distracting Control Suite (DCS) |
|
| 25 |
+
| `real_video/{bridge,ur5,jaco,taco,rt1,irasim}.pt` | Bridge V2, Berkeley Autolab UR5, Jaco Play, Taco Play, RT-1 and IRASim, after 10,000 steps |
|
| 26 |
+
|
| 27 |
+
`SHA256SUMS` holds the checksum of every file (`sha256sum -c SHA256SUMS`).
|
| 28 |
+
|
| 29 |
+
## Usage
|
| 30 |
+
|
| 31 |
+
The models are loaded with the [code](https://github.com/Mid-Push/Agent-State-LAM). From the root of a checkout,
|
| 32 |
+
download them into `checkpoints/`:
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
hf download Shaoan/Agent-State-LAM --local-dir checkpoints
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
# DCS, from the dcs/ folder
|
| 40 |
+
from src.agent_state import load_model
|
| 41 |
+
model, checkpoint = load_model("../checkpoints/dcs/hopper-hop.pt", device="cuda")
|
| 42 |
+
z = model.label(obs, next_obs) # frame stacks (B, 9, 64, 64) scaled to [-1, 1]
|
| 43 |
+
|
| 44 |
+
# real robot video, from the repository root
|
| 45 |
+
from real_video.model import load_model
|
| 46 |
+
model = load_model("checkpoints/real_video/bridge.pt", device="cuda", univla_root="<UniVLA checkout>")
|
| 47 |
+
out = model.encode(tokens_t, tokens_next) # DINOv2-B/14 patch tokens of two frames, (B, 256, 768) each
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
The READMEs of `dcs/` and `real_video/` in the code describe training, the action probe, downstream control and data
|
| 51 |
+
preparation. The real-video models also need a checkout of [UniVLA](https://github.com/OpenDriveLab/UniVLA)'s code,
|
| 52 |
+
as `real_video/README.md` describes.
|
| 53 |
+
|
| 54 |
+
## Citation
|
| 55 |
+
|
| 56 |
+
```bibtex
|
| 57 |
+
@article{xie2026agentstate,
|
| 58 |
+
title = {Learning Agent States for Latent Action Modeling},
|
| 59 |
+
author = {Xie, Shaoan and Feng, Fan and Zhu, Peiyuan and Spirtes, Peter and Zhang, Kun},
|
| 60 |
+
journal = {arXiv preprint arXiv:ARXIV_ID},
|
| 61 |
+
year = {2026}
|
| 62 |
+
}
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
Apache License 2.0. The real-video models are built on [UniVLA](https://github.com/OpenDriveLab/UniVLA)'s latent
|
| 68 |
+
action model, released under the same licence.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
f2d85f4439a76263447960276206e7ada89b647794151a717017d67c9d8171f4 dcs/cheetah-run.pt
|
| 2 |
+
53250f2a1729d9fce045995f3f6d67b8ba571c2f62b3f00bed0b1ddee8a924a3 dcs/hopper-hop.pt
|
| 3 |
+
11cd15ae3f30445fe42b5afd55af067082988d019157b041bdfc7b2434be5f56 dcs/humanoid-walk.pt
|
| 4 |
+
8562b585c1426d503fa4b5f5ca2185f9a6bd8bfa02f903a173f00009b1f8361f dcs/walker-run.pt
|
| 5 |
+
618a8d294ac98a667de6c979ca8e4face46d35aa28a7da89435dc4a74fc7252c real_video/bridge.pt
|
| 6 |
+
fe7b77d6ad22b0022b0735d76e8154a610d41440d53cc1a2c88e51441387c9a6 real_video/irasim.pt
|
| 7 |
+
45d9d83879da4e8b3487a76fce56618c8af7211a25dd2290745725efcf7e49dd real_video/jaco.pt
|
| 8 |
+
faf3b0677ade06c3dd8f672f51c8336ac9fbd8f9803d95d1a688ef2527401b6e real_video/rt1.pt
|
| 9 |
+
cff4120341d7d329a70a7ab38493d1acddeebca35cc5872169209b1d61a93c29 real_video/taco.pt
|
| 10 |
+
49a4c2366b36eeafee9ff7c8a639187c7d50f73f8d509c3dd25a9283fecb9a92 real_video/ur5.pt
|
dcs/cheetah-run.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2d85f4439a76263447960276206e7ada89b647794151a717017d67c9d8171f4
|
| 3 |
+
size 387422621
|
dcs/hopper-hop.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53250f2a1729d9fce045995f3f6d67b8ba571c2f62b3f00bed0b1ddee8a924a3
|
| 3 |
+
size 387422517
|
dcs/humanoid-walk.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11cd15ae3f30445fe42b5afd55af067082988d019157b041bdfc7b2434be5f56
|
| 3 |
+
size 387422829
|
dcs/walker-run.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8562b585c1426d503fa4b5f5ca2185f9a6bd8bfa02f903a173f00009b1f8361f
|
| 3 |
+
size 387422517
|
real_video/bridge.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:618a8d294ac98a667de6c979ca8e4face46d35aa28a7da89435dc4a74fc7252c
|
| 3 |
+
size 1303303944
|
real_video/irasim.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe7b77d6ad22b0022b0735d76e8154a610d41440d53cc1a2c88e51441387c9a6
|
| 3 |
+
size 1303303944
|
real_video/jaco.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45d9d83879da4e8b3487a76fce56618c8af7211a25dd2290745725efcf7e49dd
|
| 3 |
+
size 1303264198
|
real_video/rt1.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faf3b0677ade06c3dd8f672f51c8336ac9fbd8f9803d95d1a688ef2527401b6e
|
| 3 |
+
size 1303263493
|
real_video/taco.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cff4120341d7d329a70a7ab38493d1acddeebca35cc5872169209b1d61a93c29
|
| 3 |
+
size 1303264198
|
real_video/ur5.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49a4c2366b36eeafee9ff7c8a639187c7d50f73f8d509c3dd25a9283fecb9a92
|
| 3 |
+
size 1303263493
|