Upload experiment reports
Browse filesFiles changed (3)
- reports/PRESERVATION_REPORT.mdAdded+48
- reports/analysis.mdAdded+40
- reports/iwr_vs_br_analysis.mdAdded+33
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748# Remote preservation report
Captured before destroying `root@74.249.82.165:40299` on 2026-10-24.
## Safe locally
- Exact remote project code snapshot: `project/` (`configs`, `scripts`, `integration`, `services`, and `README.md`).- Environment locks, repository SHAs, code/manifests checksums, supervisor configuration, storage inventories, and third-party worktree diff: `results/preservation_2026-10-24/`.- Full broad SAILOR run, including weight checkpoints at 10k intervals and final optimizer/training state at 90k: `../broad_sailor_90k/` (1.6 GB).- Complete Coffee D0 sanity artifacts: BR embeddings/scores, exact global IWR KDE scores, released batch-local IWR reference, matched-query bootstrap, all manual-review videos/galleries, manifests, and plots: `../broad_90k_coffee_sanity/`.- Earlier source-only encoder pilot, retrieval pilot, manifests, videos, and batch benchmarks in the sibling backup directories.- W&B run is stored online at `https://forge.coreweave.com/wandb/chandrahul0320/post-robot-broad-sailor/runs/4ns4w7uf`.
The saved remote encoder and retrieval inventories were checked against the local copies by relative path and byte size; both mismatch counts were zero. Remote `configs`, `scripts`, `integration`, and `services` were also compared recursively against the local working copy with no content differences.
## Remote code/environment changes
- Added the seven-task broad encoder config and deterministic data/manifests/RLDS tooling.- Added broad training, smoke, benchmark, W&B sidecar, Coffee positive-control, BR, global-IWR, released-IWR reference, video rendering, manual review, and preservation scripts.- Added matching Supervisor job definitions.- Extended `build_mimicgen_rlds.py` for the six auxiliary tasks and Coffee D0.- Patched the IWR repository's `scripts/train.py` to retain TensorBoard logging alongside W&B. The exact patch is saved as `results/preservation_2026-10-24/importance_retrieval_worktree.patch` and in the local `patches/` directory.- Added an untracked IWR environment adapter at `openx/envs/mimicgen_env.py`; its canonical local copy is `integration/openx_envs/mimicgen_env.py`. SHA-256 matches the remote file.- Installed the HF CLI, `imageio-ffmpeg`, and a separate W&B 0.31 environment for new-format W&B credentials. Exact freezes are saved.
## Intentionally not copied
- `data/raw`: about 32 GB of Hugging Face HDF5 files.- `data/rlds`: about 1.9 GB of generated RLDS data.- `envs`: about 8.5 GB of recreatable virtual environments.- JAX compilation cache.- Two-step policy smoke checkpoint: about 1.2 GB; this was an integration test, not a scientific result.- Encoder smoke checkpoints: about 1 GB; the substantive 90k encoder and the earlier source-only pilot are preserved.
These omitted items are reproducible from the saved scripts, manifests, official file hashes, repository SHAs, and environment freezes. They were not copied because the local machine had under 1 GB free after preserving the scientific artifacts.
## Rebuild essentials
1. Restore the repositories at the SHAs in `results/preservation_2026-10-24/versions.txt`.2. Rebuild the simulation, training, and W&B environments from the saved freezes/setup scripts.3. Run `scripts/install_iwr_adapter.sh` and apply the saved IWR patch.4. Re-download the official MimicGen HDF5 files and verify the hashes recorded in the manifests.5. Rebuild RLDS from the fixed episode manifests.6. Restore `broad_sailor_90k` for encoder inference and `broad_90k_coffee_sanity` for the completed retrieval analyses.
## Destruction readiness
The instance can be destroyed without losing the substantive broad-encoder or Coffee BR/IWR results. Destroying or recycling erases the remote filesystem; stopping the instance preserves it but continues storage billing.12345678910111213141516171819202122232425262728293031323334353637383940# Coffee D0 positive-control retrieval analysis
## Protocol
- Frozen encoder: broad seven-task SAILOR, predetermined step 90,000 checkpoint.- Retrieval candidates: the fixed 67,762 complete windows from 100 Coffee Preparation demonstrations.- Positive-control queries: 2,114 complete windows from 10 deterministic seed-0 Coffee D0 demonstrations.- Reference queries: 3,286 complete windows from the existing 10 Mug Cleanup O1 demonstrations.- Distance: Euclidean distance between deterministic 16-D posterior-mean embeddings.- Coffee D0 remained query-only and contributed no encoder gradients, normalization statistics, or retrieval candidates.
## Main result
The extreme nearest-neighbor tail behaves as expected for a positive control:
- Top 100 mean distance: Coffee `0.708`, Mug Cleanup `0.757`.- Top 1% mean distance: Coffee `0.805`, Mug Cleanup `0.894`.- Coffee's top 100 spans 43 source demonstrations and 9 of 10 query demonstrations, so it is not driven by one trajectory.- 81% of Coffee's top 100 source matches lie in the final two normalized trajectory deciles; 97% lie in the final four deciles.
The overall median goes in the opposite direction: Coffee `2.097`, Mug Cleanup `1.885`. This is compatible with the intended narrow-overlap setting: Coffee D0 directly matches a late Coffee Preparation phase, while most Coffee Preparation windows belong to other behaviors.
## Matched-query robustness check
To remove nearest-neighbor bias from unequal query-set sizes, both tasks were resampled to exactly 100 windows from each of 10 demonstrations (1,000 windows per task), repeated for 20 seeds.
- Mean top-100 distance: Coffee `0.737`, Mug Cleanup `0.821` (Coffee 10.3% lower).- Mean top-1% distance: Coffee `0.839`, Mug Cleanup `0.970` (Coffee 13.5% lower).- Coffee was closer for top-100 and top-1% metrics in all 20/20 seeds.- Median distance remained higher for Coffee in all seeds (`2.141` vs `1.983`).
## Visual check
The top Coffee matches consistently focus on the late coffee-machine interaction region, while random source windows are spread across unrelated arm poses and earlier portions of Coffee Preparation. The paired videos show Coffee D0 on the left and Coffee Preparation on the right.
## Interpretation
This is a successful retrieval sanity check at the level that matters: the encoder identifies a small, strongly overlapping behavioral subset inside a longer source task. It should not be interpreted as saying the two full task distributions are globally closest.
The next rigorous check is blinded semantic labeling of top-ranked versus random clips (pod grasp, insertion/alignment, lid manipulation, unrelated) before using the retrieval in downstream policy training.123456789101112131415161718192021222324252627282930313233# Coffee D0: IWR versus Behavior Retrieval
## Shared setup
- Frozen encoder: seven-task broad SAILOR, step 90,000.- Candidate pool: 67,762 valid ten-step windows from the fixed 100 Coffee Preparation demonstrations.- Target query set: 2,114 valid ten-step windows from 10 seed-0 Coffee D0 demonstrations.- Selection budget: exactly 100 source clips per method.
## Methods
- **Behavior Retrieval (BR/SR):** rank each source window by its Euclidean distance to its nearest Coffee D0 query embedding; lower is better.- **Global IWR:** fit full-covariance Gaussian KDEs to the Coffee D0 target embeddings and the complete Coffee Preparation source embeddings. Rank by the unclipped stable log-density ratio `log p_target(z) - log p_source(z)`; higher is better. Both KDEs use bandwidth multiplier 8 and relative diagonal regularization `1e-4`.- **Released IWR reference:** the repository's `scripts/retrieval/is.py`. Its source KDE is estimated separately inside each scoring minibatch, so this output is retained as an implementation reference rather than the primary scientific result.
## Results
- Across all 67,762 candidates, BR and global-IWR ranks are strongly correlated: Spearman `rho = 0.853`.- Their exact top-100 sets have **zero clips in common**.- BR top 100: 81% in the final 20% of the source trajectory; 94% in the final 30%.- Global-IWR top 100: 30% in the first 10%, 62% in the final 10%, and 8% elsewhere.- BR covers 43 source episodes and 59 non-overlapping temporal clusters.- Global IWR covers 45 source episodes and 53 non-overlapping temporal clusters.
BR produces the closest absolute matches: mean nearest-target distance `0.708`, compared with `1.378` for global IWR. IWR instead produces the strongest density ratios: mean log ratio `1.461`, compared with `1.155` for BR and `0.491` for random.
The exact full-source KDE and an 8,192-source seed-0 approximation share 67 of their top 100 clips. The released batch-local implementation shares only one top-100 clip with global IWR and one with BR; its selected clips are mostly late-trajectory windows.
## Interpretation
BR asks, “Which source clips look most like at least one target clip?” Global IWR asks, “Which source regions are much more characteristic of the target distribution than of the source distribution?” The latter can upweight both initial and terminal target-like modes even when those points are not the absolute nearest neighbors.
The early IWR mode should be manually inspected before downstream training. Its presence can be legitimate density-ratio behavior, but it may also reflect reset-state or background differences rather than a transferable manipulation phase.reports/PRESERVATION_REPORT.mdAdded+48
reports/analysis.mdAdded+40
reports/iwr_vs_br_analysis.mdAdded+33