Conversation
…n#123). Gate base (and optional consequence) rewards by world-model prediction fidelity so the objective only trusts information the reactive policy does not already observe. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Please align with the activities of #177. |
|
Under the contribution standard proposed in #198, I consider this PR AI slop in its current form. #123 proposes falsifiable offline experiments first, but this PR implements an arbitrary reward formula without integration evidence or experimental results. This is not ready for review; please provide the required real-world validation before resubmitting. |
Co-authored-by: Cursor <cursoragent@cursor.com> autowarefoundation#123 v1 uses rollout comfort/progress as the base and multiplies fidelity onto the WM consequence alone, so a noisy world model cannot wipe safety or flip the ranking. The offline pair is the tensor AlpaSim (autowarefoundation#177) should call later.
|
Aligned with #123 v1 (and what #177 should call later — this PR does not import AlpaSim). The old helper multiplied the whole reward by WM fidelity, which would zero safety/comfort when the world model is junk. The formula is now the issue's one:
Offline ranking, constructed expert (smooth) vs jerky (8 m/s² oscillation). JSON:
That is the falsifiable check #123 asked for: a noisy world model cannot flip the comfort/progress ranking. A trusted WM can (here the consequence was deliberately adversarial, so you would not ship that preference — the point is the gate). How I tested: |
|
Reran it on the branch: 8 tests pass, the JSON reproduces. The gating change is Four problems in
The jerky arm has no jerk.
The first two are arithmetic. The other two are about what the handcrafted terms are |
Safety is cross-track vs the intended path (not ego-y), progress is along-track, comfort is vs physical jerk limits, and g saturates at 0.9. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@gcordova10 The gate stays as-is ( 1. 2. The jerky arm now has jerk. 3. Progress and comfort are not imitation. Progress is along-track displacement along the intended path, normalized by the coast horizon (expert = 1.00; a braked “match the stopped log” sample loses to a coast). Comfort is mean jerk / lateral-accel excess vs the physical limits already in 4. Updated JSON (
Same falsifiable check as before: a noisy WM cannot flip the ranking; a trusted one can. The base gap is now comfort (real jerk), not |
Opens a concrete wedge on #123 without waiting on simulator integration or the restored `compute_planner_loss` hook (#115).
The issue's design rule is that a reward term only matters if it carries information the reactive policy cannot already infer. Reasoning-band shaping fails that test for the same DPI reason the coupling collapsed to a no-op. This prototype therefore:
No training-loop wiring yet — deliberately a pure helper under `training/losses/` so it can be reviewed and iterated on before anyone hangs RL on it.
How I tested
Related to #123
Made with Cursor