tavis-benchmark-admin commited on
Commit
0e5f2a1
·
verified ·
1 Parent(s): 1a07888

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +179 -1
README.md CHANGED
@@ -7,4 +7,182 @@ sdk: static
7
  pinned: false
8
  ---
9
 
10
- Edit this `README.md` markdown file to author your organization card.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  pinned: false
8
  ---
9
 
10
+ <p align="center">
11
+ <img src="https://huggingface.co/datasets/tavis-benchmark/tavis-assets/resolve/main/figure1.png" alt="TAVIS overview" width="90%" />
12
+ </p>
13
+
14
+ # TAVIS: A Benchmark for Egocentric Active Vision and Anticipatory Gaze in Imitation Learning
15
+
16
+ A benchmark for **egocentric active-vision imitation learning** and **anticipatory gaze** on humanoid torsos. TAVIS ships eight simulated manipulation tasks across two robots (**Fourier GR1T2** and **Pollen Reachy 2**), **2,200 VR-teleoperated demonstrations**, pretrained **π₀** baselines, and a proprioceptive metric -- **GALT (Gaze–Action Lead Time)** -- for quantifying anticipatory gaze in the learned policies.
17
+
18
+ | | |
19
+ |---|---|
20
+ | 📄 **Paper** | Under double-blind review |
21
+ | 💻 **Code (anonymous mirror)** | https://anonymous.4open.science/r/tavis-F5D7 |
22
+ | 🤗 **Datasets & checkpoints** | This org -- [`tavis-benchmark`](https://huggingface.co/tavis-benchmark) |
23
+ | ⚖️ **License** | Code: MIT · Datasets: CC-BY-4.0 |
24
+
25
+ > This page is self-contained for reviewers. All datasets and checkpoints below are public and stream in the Hugging Face viewer -- no download needed to inspect them.
26
+
27
+ ---
28
+
29
+ ## 👀 For reviewers:
30
+
31
+ **1. Data can be viewed from the browser (zero download).**
32
+
33
+ - Viewer: https://huggingface.co/spaces/lerobot/visualize_dataset -> paste, e.g., `tavis-benchmark/tavis-head-gr1t2`
34
+ - Sample datasets: [`tavis-head-sample-gr1t2`](https://huggingface.co/datasets/tavis-benchmark/tavis-head-sample-gr1t2) · [`tavis-head-sample-reachy2`](https://huggingface.co/datasets/tavis-benchmark/tavis-head-sample-reachy2)
35
+
36
+ **2. Run a pretrained policy across a whole suite (no training).** Download a multi-task π₀ checkpoint and roll it out:
37
+
38
+ ```bash
39
+ huggingface-cli download tavis-benchmark/pi0-tavis-head-gr1t2-headcam \
40
+ --local-dir checkpoints/pi0-tavis-head-gr1t2-headcam
41
+
42
+ python scripts/eval_benchmark.py \
43
+ --checkpoint checkpoints/pi0-tavis-head-gr1t2-headcam \
44
+ --suite tavis-head --robot gr1t2 \
45
+ --episodes 96 --num-envs 1
46
+
47
+ python scripts/print_benchmark_results.py results/pi0-tavis-head-gr1t2-headcam
48
+ ```
49
+
50
+ This evaluates all 5 TAVIS-HEAD tasks × `{id, ood_spatial}` × 96 episodes and prints success rates with Wilson 95% CIs plus per-episode GALT. (Requires the code + an RTX GPU -- see [Installation](#installation). Several hours on a single 4090.)
51
+
52
+ <!--
53
+ **3. The headline numbers** (success rates + GALT, with confidence intervals) are reproduced by the eval scripts and reported in the paper.
54
+
55
+ TODO: table with main results -->
56
+
57
+ ---
58
+
59
+ ## 📦 Datasets
60
+
61
+ All released as **LeRobotDataset v3.0**. The four multi-task suites total **2,200** VR-teleoperated demonstrations (~3 h of interaction).
62
+
63
+ | Repo | Robot | Suite | Episodes |
64
+ |------|-------|-------|----------|
65
+ | [`tavis-head-gr1t2`](https://huggingface.co/datasets/tavis-benchmark/tavis-head-gr1t2) | GR1T2 | TAVIS-HEAD | 800 |
66
+ | [`tavis-head-reachy2`](https://huggingface.co/datasets/tavis-benchmark/tavis-head-reachy2) | Reachy2 | TAVIS-HEAD | 800 |
67
+ | [`tavis-hands-gr1t2`](https://huggingface.co/datasets/tavis-benchmark/tavis-hands-gr1t2) | GR1T2 | TAVIS-HANDS | 300 |
68
+ | [`tavis-hands-reachy2`](https://huggingface.co/datasets/tavis-benchmark/tavis-hands-reachy2) | Reachy2 | TAVIS-HANDS | 300 |
69
+
70
+ **Also released:** [`tavis-head-sample-gr1t2`](https://huggingface.co/datasets/tavis-benchmark/tavis-head-sample-gr1t2) and [`tavis-head-sample-reachy2`](https://huggingface.co/datasets/tavis-benchmark/tavis-head-sample-reachy2) (small previews) · [`tavis-assets`](https://huggingface.co/datasets/tavis-benchmark/tavis-assets) (robot / task USD assets).
71
+
72
+ ## 🤖 Pretrained checkpoints (π₀)
73
+
74
+ | Repo | Robot | Suite | Camera |
75
+ |------|-------|-------|--------|
76
+ | [`pi0-tavis-head-gr1t2-headcam`](https://huggingface.co/tavis-benchmark/pi0-tavis-head-gr1t2-headcam) | GR1T2 | TAVIS-HEAD | head |
77
+ | [`pi0-tavis-head-gr1t2-fixedcam`](https://huggingface.co/tavis-benchmark/pi0-tavis-head-gr1t2-fixedcam) | GR1T2 | TAVIS-HEAD | fixed |
78
+ | [`pi0-tavis-head-reachy2-headcam`](https://huggingface.co/tavis-benchmark/pi0-tavis-head-reachy2-headcam) | Reachy2 | TAVIS-HEAD | head |
79
+ | [`pi0-tavis-head-reachy2-fixedcam`](https://huggingface.co/tavis-benchmark/pi0-tavis-head-reachy2-fixedcam) | Reachy2 | TAVIS-HEAD | fixed |
80
+ | [`pi0-tavis-hands-gr1t2`](https://huggingface.co/tavis-benchmark/pi0-tavis-hands-gr1t2) | GR1T2 | TAVIS-HANDS | head |
81
+ | [`pi0-tavis-hands-reachy2`](https://huggingface.co/tavis-benchmark/pi0-tavis-hands-reachy2) | Reachy2 | TAVIS-HANDS | head |
82
+
83
+ The `headcam` / `fixedcam` pair on TAVIS-HEAD is the core **active-vision vs. fixed-camera** comparison.
84
+
85
+ ---
86
+
87
+ ## 🎯 Tasks
88
+
89
+ Eight tasks in two suites. The robot, camera mode (`headcam` / `fixedcam`), and eval mode are orthogonal axes set at evaluation time.
90
+
91
+ ### TAVIS-HEAD -- global visual search & clutter
92
+
93
+ | Task (CLI key) | What it tests |
94
+ |----------------|---------------|
95
+ | `clutter_pick_lift` | Pick & lift a language-named object from 5 scattered YCB objects; the wider OOD spread forces active scanning. |
96
+ | `clutter_pick_cube` | Visually search clutter for a distinct red cube and lift it (no language conditioning). |
97
+ | `conditional_pick` | Read a red/green cue card, then pick the left/right object it indicates. |
98
+ | `wait_then_act` | Monitor a light until it turns green (random 2–6 s delay), then pick the object. |
99
+ | `multi_shelf_scan` | Move the head to scan a 3-shelf unit and retrieve the language-named target. |
100
+
101
+ ### TAVIS-HANDS -- local occlusion & peeking
102
+
103
+ | Task (CLI key) | What it tests |
104
+ |----------------|---------------|
105
+ | `peeking_box` | Find which side of a box is open (head cam blind; wrist cams decide) and reach in to grab the object -- bimanual perception under occlusion. |
106
+ | `occluded_reach` | Reach around a narrow screen to grasp an object the head camera can't see well -- reach-around localization with wrist cams. |
107
+ | `blocked_clutter_pick_cube` | Head-camera-blackout ablation of `clutter_pick_cube` -- only the wrist cameras can locate the red cube. |
108
+
109
+ Both robots expose a canonical **19-D action layout** (left/right arm IK targets, 3-DoF neck, two gripper scalars), so policies share one action space across embodiments.
110
+
111
+ ## 📐 Evaluation protocol
112
+
113
+ Each **(robot × task × eval-mode)** cell is evaluated over **96 stochastic episodes**; success rates are reported with **Wilson 95% confidence intervals**. Three eval modes (see `docs/ood_modes.md`):
114
+
115
+ | Mode | Object placement | Robot reset pose |
116
+ |------|------------------|------------------|
117
+ | `id` | training range | default |
118
+ | `ood_spatial` | wider than training | default |
119
+ | `ood_init_pose` | training range | Gaussian (σ≈10 cm EEF, σ≈10° neck) |
120
+
121
+ **GALT (Gaze–Action Lead Time)** -- `t_hand_arrival - t_head_arrival` in seconds -- measures how far *in advance* the head settles on the target before the hand arrives. It is **proprioceptive**: computed purely from the 19-D commanded-action trajectory (no eye-tracking, no scene state), so it ports to any robot exposing those channels. Every benchmark rollout emits a GALT estimate alongside its success flag. Details: `docs/galt.md`.
122
+
123
+ ---
124
+
125
+
126
+ ## Installation
127
+
128
+ Download the code from the [anonymous mirror](https://anonymous.4open.science/r/tavis-F5D7), unzip, then:
129
+
130
+ ```bash
131
+ bash install.sh
132
+ conda activate tavis
133
+ ```
134
+
135
+ `install.sh` bootstraps the full pinned stack (via `uv`, applying the dependency overrides in `pyproject.toml`) into a fresh `tavis` conda env on Python 3.11.
136
+
137
+ > **Hardware.** Simulation, data collection, and evaluation need an RTX GPU. Training: diffusion-policy and π₀-LoRA fit on a single 24 GB card; full π₀ training fits on an H100.
138
+
139
+
140
+ ## Reproduction recipes
141
+
142
+ **A) Run a pretrained multi-task policy across a whole suite**. Fastest path; no training. See above ("For Reviewers").
143
+
144
+ **B) Train + evaluate a single-task diffusion policy from scratch** (~12 h on a 4090). The released datasets are multi-task suites; `--task` filters to one task class:
145
+
146
+ ```bash
147
+ huggingface-cli download tavis-benchmark/tavis-head-gr1t2 \
148
+ --repo-type dataset --local-dir datasets/tavis-head-gr1t2
149
+
150
+ python scripts/train_policy.py \
151
+ --dataset datasets/tavis-head-gr1t2 \
152
+ --task conditional_pick --model diffusion --camera headcam \
153
+ --steps 200000
154
+
155
+ python scripts/eval_benchmark.py \
156
+ --checkpoint checkpoints/tavis-head-gr1t2__conditional_pick_diffusion_headcam \
157
+ --robot gr1t2 --tasks conditional_pick \
158
+ --eval-modes id ood_spatial --episodes 96 --num-envs 1
159
+ ```
160
+
161
+ Multi-task training is π₀-only (it uses the per-episode language instruction). The paper's multi-task π₀ runs used H100-days on an external orchestrator, so for reviewers the released π₀ checkpoints (recipe A) are the practical reproduction path. Full recipes: see the mirror's `README.md`.
162
+
163
+ ## Documentation (in the code mirror)
164
+
165
+ | Topic | File |
166
+ |-------|------|
167
+ | GALT metric & porting to your robot | `docs/galt.md` |
168
+ | Evaluation modes (`id`, `ood_*`) | `docs/ood_modes.md` |
169
+ | Adding a new robot / task | `docs/extending_robots.md`, `docs/extending_tasks.md` |
170
+ | Data collection (VR teleoperation) | `docs/data_collection.md` |
171
+
172
+ ## License
173
+
174
+ - **Code:** MIT.
175
+ - **Datasets:** CC-BY-4.0.
176
+ - **Robot models, YCB objects, task assets:** under their respective upstream licenses (NVIDIA IsaacLab, the YCB project, and the original robot-model authors); per-asset attribution ships with [`tavis-assets`](https://huggingface.co/datasets/tavis-benchmark/tavis-assets).
177
+
178
+ ## Citation
179
+
180
+ If you use TAVIS -- benchmark, datasets, or checkpoints -- please cite the TAVIS paper. The formal BibTeX will be posted here once the anonymous review period concludes; until then, please cite it by name as **"TAVIS: A Benchmark for Egocentric Active Vision and Anticipatory Gaze in Imitation Learning".**
181
+
182
+ ## Contact
183
+
184
+ Questions and bug reports (anonymous-review-safe): `tavis.benchmark@gmail.com`.
185
+
186
+ ## Acknowledgments
187
+
188
+ Built on [IsaacLab](https://isaac-sim.github.io/IsaacLab/) (NVIDIA), the [LeRobot](https://github.com/huggingface/lerobot) framework (Hugging Face), and IsaacLab-Arena. Robot models from the upstream Fourier GR1T2 and Pollen Reachy 2 USD distributions; objects from the YCB project; VR teleoperation via Meta Quest.