Reinforcement Learning
stable-baselines3
TensorBoard
robotics
mujoco
sac
franka-panda
quadratic-programming
safe-rl
Instructions to use Appendix0/reactive-reach with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use Appendix0/reactive-reach with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="Appendix0/reactive-reach", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
File size: 5,229 Bytes
bb389e6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | # Challenge plan — H1 and H2 (written before any fork is run)
Date 2026-12-01. Campaign: preregistration `preregistrations/2026-12-01_reactive-reach-campaign.md`,
runs in `~/reactive-reach/runs/campaign` (commit 93774d3). This file is committed before the grid
runs; it is the pre-registration of the challenge. Fork evaluations reuse the 9 trained final
policies (and their checkpoints); no policy is retrained. Sealed campaign files are not edited:
all challenge code lives in `challenge/`.
## Estimands, in words
- **H1:** the difference in end-of-training success probability between TS-QP and E2E, on the
distribution of held-out scenes the environment generates, for policies trained with the frozen
settings for 100,000 decisions, averaged over training seeds 0–2, under the deterministic
evaluation policy. Success = within 2 cm of the target for 0.5 s with no robot-obstacle contact.
- **H2:** the difference in the probability of an evaluation episode containing any
robot-obstacle contact, TS-QP − E2E and TS-QP − TS-DLS, same population.
Baseline values (campaign report): H1 Δ = +0.710; H2 Δ = −0.373 (vs E2E), −0.303 (vs TS-DLS).
## Forks
| # | Fork | Alternatives (base first) | Kind | Needs new rollouts |
|---|---|---|---|---|
| F1 | Success radius | 2 cm · 1 cm · 3 cm | estimate (measure definition, same task) | yes |
| F2 | Hold time | 0.5 s · 0.25 s · 1.0 s | estimate (measure definition) | yes |
| F3 | Contact rule in success | contact voids success · contact ignored ("held") | **estimand** (safety in or out of the outcome) | no |
| F4 | "End of training" | final policy (100k) · mean of the 80k, 90k, 100k checkpoints | estimate | yes (80k, 90k) |
| F5 | Evaluation action | deterministic mean · stochastic sample | estimate | yes |
| F6 | Scene set | 100000–100199 · fresh 200000–200199 (never used by anyone) | estimate | yes |
| I1 | Unit of independence (inference only) | scene bootstrap · episode bootstrap · seed-level (3 per-seed differences) · hierarchical (seeds, then scenes) | estimate | no |
Grid: F1 × F2 = 9 measure cells, each under both F3 branches (18), plus F4, F5, F6 at the base
measure under both F3 branches (6): **24 specification cells** per contrast (H1: TS-QP − E2E;
also reported: TS-QP − TS-DLS). I1 is applied to the base cell. F3 is an estimand fork: its two
branches are reported separately and never averaged. Within the F1 × F2 grid, success radius and
hold time change termination, so each cell is a full re-rollout, not a re-scoring.
Not run, and why: Field-QP (not in H1/H2); retraining forks (budget, seeds, E2E tuning) — the
tuning-bias concern is addressed in "Identifying assumption" below and cannot be run in budget.
## Sensitivity (local rebinding)
- **Seed sensitivity:** leave-one-seed-out H1 (3 values) and the fresh scene set (F6).
- **Task sensitivity:** H1 and H2 stratified by number of obstacles (0, 1, 2) and
leave-one-stratum-out.
- **Referee sensitivity:** success is computed by code from the simulator's own contact list,
independent of the controller's sphere model; F1–F3 are the stricter/looser referee thresholds.
## Placebo (harness check)
- **P1.** With no obstacle in the scene, the QP's output equals damped least squares (measured
earlier: 0 of 6,670 ticks differed). So the TS-QP-trained policies driven through the DLS lower
layer on the 0-obstacle base scenes must give **exactly** the same outcomes as through the QP.
Any difference means the harness is confounded.
## Decomposition (exploratory, estimand-changing; reported separately)
- **D1.** TS-QP-trained policies evaluated through the DLS lower layer on all base scenes. Splits
TS-QP's advantage into "what the policy learned with the QP in the loop" and "the QP acting at
run time".
## Identifying assumption
H1 attributes the difference to the lower layer. The untestable part: the frozen settings were
chosen mostly from TS-DLS pilot curves, and E2E had only an action-scale search (pilot p7: no
change in distance at 0.3 / 0.5 / 1.0). No computable bound exists here for "E2E with tuning it
never got". **Label: describe-and-cite only.** A bound would need retraining E2E under a tuning
budget equal to the task-space arms', which this challenge does not run.
## Pre-committed interpretation
- **SUPPORTS H1** if, in the contact-voids branch of F3, every measure/checkpoint/action/scene
cell has Δ > 0 with a 95 % scene-bootstrap interval excluding 0, the seed-level and hierarchical
intervals (I1) also exclude 0, and no obstacle stratum or left-out seed reverses the sign.
- **WEAKENS H1** if any defensible cell has Δ ≤ 0 or an interval including 0, or if H1 is carried
by one obstacle stratum (Δ ≈ 0, interval including 0, in the other two).
- **SUPPORTS H2** if TS-QP's contact-episode rate stays below both other arms' with intervals
excluding 0 in every cell; **WEAKENS** otherwise.
- **P1 passes** only if outcomes are identical on every 0-obstacle scene; any difference **fails**
it and is reported as a harness confound.
- Whatever the grid shows, the report gives the whole distribution, the baseline's percentile in
it, and which fork moves the estimate most.
|