Experiment 6: Selective Request Learning

Experiment 6 asks a narrower question: can DQN5's excessive communication be reduced without losing the safety benefit of intent messages?

Current status: DQN6 with --comfort-ttc 6 is the best learned and safety-oriented complete policy so far. Asking nobody remains the best communication-cost-adjusted baseline.

Setup

  • Reuse the frozen Experiment 5 stage-balanced world model.
  • Train a new Request DQN for 1,000 episodes: 500 ordinary roads and 500 short paired-intent episodes.
  • Preserve the fixed eight spatial request slots, public 45-value DQN state, three-step planner, and full safety guard.
  • Store the new policy separately under Experiment 6.

Configuration

ItemValue
Frozen world modelcheckpoints/experiment_5/MLPx/intent_stage_best.pt
DQN episodes1,000
Communication cost0.05 per request
Redundant-request penalty0.10
ReplayEqual ordinary/intent sampling
Planner horizon3
Training seedsOrdinary 1000000+, intent 1100000+
Evaluation seedsOrdinary 1200000+, intent 1300000+

The new teacher signal compares the planner's action with the selected message against its action with no message. If the response changes nothing, that request receives an additional 0.10 training penalty. This comparison is used only to shape the training reward; the deployed DQN cannot see private intent.

Commands

.venv/bin/python -m scripts.training.train_request_dqn \
  --experiment 6 --episodes 1000 --seed 0 \
  --mlpx-checkpoint checkpoints/experiment_5/MLPx/intent_stage_best.pt \
  --scenario-mix mixed --ordinary-seed 1000000 --challenge-seed 1100000 \
  --request-state-encoding ego_control_v1 \
  --communication-cost 0.05 --redundant-request-penalty 0.10 \
  --safety-guard --max-target-speed 30 --lane-change-guard --batched-planner

The ordinary and paired-intent evaluations use the same guard flags and explicit Experiment 5 world-model checkpoint. Their complete commands and settings are stored in the evaluation summaries listed under Artifacts.

Results

Traffic setPolicyAdjusted returnDriving rewardRequestsCrashes
100 ordinary episodesAsk nobody36.56636.5660.00 / episode0 / 100
100 ordinary episodesDQN635.80136.64516.88 / episode0 / 100
200 intent trialsAsk nobody2.6432.6430.00 / trial14 / 200
200 intent trialsDQN62.5972.6491.04 / trial9 / 200

On the exact same fresh seeds, DQN6 improved over DQN5:

Traffic setDQN5 returnDQN6 returnDQN5 requestsDQN6 requestsDQN5 crashesDQN6 crashes
Ordinary34.94335.80133.3116.8800
Intent2.5632.5971.881.0410 / 2009 / 200

Graphs

Experiment 6 DQN training

Experiment 6 training by traffic source

Experiment 6 policy comparison

Rendering

.venv/bin/python -m scripts.evaluation.render_request_dqn \
  --experiment 6 --episodes 1 --seed 120 --duration 100 --delay 0.15 \
  --safety-guard --max-target-speed 30 --lane-change-guard --comfort-ttc 6

The renderer automatically loads DQN6 and its stored Experiment 5 world-model path. The overlay identifies requested vehicles, displays their exact replies, and reports safety-guard interventions.

Recorded DQN6 rollout

This recording uses the shared experiment-video seed 120 and the smooth controller configuration. It completes all 100 steps without a crash, earns 90.661 driving reward, and sends 52 requests.

Smooth controller follow-up

The optional --comfort-ttc 6 controller reacts before emergency braking, uses a safe lane only when it offers at least equal forward clearance, waits five decisions before another lane command, and blocks acceleration for three decisions after braking.

100 ordinary roadsOriginal guardSmooth controller
Adjusted return35.80135.748
Driving reward36.64536.407
Mean speed27.527 m/s27.401 m/s
Completed lane changes171240
Requests16.8813.17
Crashes00

The smooth controller increased completed lane changes by 40% while changing adjusted return by only -0.053. On the same 200 intent trials it preserved the 4.5% crash rate (9/200), 1.04 requests per trial, and nearly identical return (2.594 versus 2.597).

Evaluation

  • On ordinary roads, DQN6 and asking nobody both completed all 100 episodes without crashing. DQN6's messages cost 0.765 adjusted return on average; the paired bootstrap 95% interval for DQN6 minus none is [-0.916, -0.606].
  • In paired-intent trials, DQN6 avoided five crashes that occurred under the no-request policy and introduced none. Its adjusted-return difference was -0.046, with a scene-clustered 95% interval of [-0.078, -0.012].
  • DQN6 beat random and all-request baselines on adjusted return in both traffic sets.
  • Against DQN5 on identical seeds, DQN6 approximately halved communication, improved adjusted return in both traffic sets, and avoided one additional intent crash.
  • The teacher improved request selectivity and safety, but did not make communication cost-effective relative to asking nobody.

Final interpretation

Use DQN6 + the smooth controller for rendering, safety-oriented evaluation, and future development. Use ask nobody as the reward baseline that every future communication policy must beat after message costs.

Artifacts

  • Checkpoint: checkpoints/experiment_6/RequestDQN/best.pt
  • Resumable state: checkpoints/experiment_6/RequestDQN/latest.pt
  • Training run: results/experiment_6/RequestDQN/experiments/20261120_150538_request_dqn/
  • Ordinary evaluation: results/experiment_6/evaluation/selective_ordinary/
  • Intent evaluation: results/experiment_6/evaluation/selective_intent/
  • Same-seed DQN5 ordinary comparison: results/experiment_6/evaluation/dqn5_same_seed_ordinary/
  • Same-seed DQN5 intent comparison: results/experiment_6/evaluation/dqn5_same_seed_intent/
  • Smooth-controller ordinary evaluation: results/experiment_6/evaluation/controller_v3_ordinary/
  • Smooth-controller intent evaluation: results/experiment_6/evaluation/controller_v3_intent/

Notes

The increasing TD loss means the final checkpoint should not be described as fully converged. More episodes alone are unlikely to solve the remaining gap. The next useful experiment is a stronger teacher or validation-selected penalty sweep that suppresses ordinary-road requests while retaining the five avoided intent crashes.