Experiment 8: Double-DQN Fine-Tuning

Experiment 8

Goal

Experiment 8 is a standalone feasibility run of a Double DQN request policy. It checks that the new TD target trains cleanly and produces a usable policy. Cross-experiment comparison is intentionally deferred.

Setup

ComponentConfiguration
Policy classRequestDDQN in policies/request_ddqn.py
Request-policy initializationExperiment 7 behavior-cloned checkpoint
World modelFrozen Experiment 5 intent-stage MLPx
TD targetDouble DQN
Training episodes1,000 mixed ordinary and paired-intent episodes
Request action spaceAsk nobody or one visible spatial slot
Planning horizon3 steps
ExplorationEpsilon starts at 0.20 and decays to 0.05
Target-network updateEvery 50 episodes
Communication cost0.05 per request
Driving controlsSafety guard, lane-change guard, 30 m/s speed cap, 6 s comfort TTC

Double DQN separates the two jobs in the bootstrap target: the online network chooses the best valid next request, while the target network evaluates that request. Empty spatial slots remain masked.

Training Results

Training windowMean returnMean TD lossMean requestsCrash rateMean steps
First 100 episodes19.0940.46439.824.0%21.45
Last 100 episodes18.9800.222310.554.0%21.46

The run remained stable across 1,000 episodes. The average TD loss in the final 100 episodes was lower than in the first 100, while return and crash rate stayed steady. The saved best.pt artifact is the completed 1,000-episode policy; it was not selected through a separate validation sweep.

Experiment 8 Double-DQN training curves

Experiment 8 Double-DQN training by scenario

Standalone Evaluation

Only the Experiment 8 DQN policy was evaluated. No baseline policies were included.

Evaluation sceneTrialsMean returnDriving rewardRequestsCrash rateMean speedLane changes
Paired intent4002.5582.6441.724.25%26.80 m/s147
Ordinary highway10035.34636.30919.260.00%27.43 m/s281

The policy completed the full ordinary-road horizon in every evaluation episode. In the short paired-intent benchmark, 17 of 400 trials ended in a collision.

Controlled Experiments 6–8 Comparison

Experiments 6, 7, and 8 were run on identical seeds with the same frozen Experiment 5 MLPx, 3-step planner, communication cost, and safety settings.

ScenarioPolicyMean returnDriving rewardRequestsCrash rate
Paired intent, 400 trialsExperiment 6 DQN2.5822.6321.026.00% (24)
Paired intent, 400 trialsExperiment 7 oracle-taught DQN2.6352.6730.754.00% (16)
Paired intent, 400 trialsExperiment 8 DDQN2.5582.6441.724.25% (17)
Ordinary highway, 100 episodesExperiment 6 DQN35.54036.25914.380.00%
Ordinary highway, 100 episodesExperiment 7 oracle-taught DQN35.94136.2085.350.00%
Ordinary highway, 100 episodesExperiment 8 DDQN35.34636.30919.260.00%

Experiment 7 is the strongest overall policy in this controlled test. It combines the lowest paired-intent crash rate with the fewest requests and highest cost-adjusted return in both scenarios. Experiment 8 reduced Experiment 6's intent collisions from 24 to 17, but it requested substantially more messages. Its Double-DQN fine-tuning therefore improved safety over Experiment 6 without improving on the Experiment 7 policy from which it was initialized.

Commands

Training:

.venv/bin/python -m scripts.training.train_request_dqn \
  --experiment 8 \
  --episodes 1000 \
  --seed 0 \
  --td-target double-dqn \
  --init-checkpoint checkpoints/experiment_7/best.pt \
  --initial-epsilon 0.20 \
  --mlpx-checkpoint checkpoints/experiment_5/MLPx/intent_stage_best.pt \
  --scenario-mix mixed \
  --request-state-encoding ego_control_v1 \
  --safety-guard \
  --lane-change-guard \
  --max-target-speed 30 \
  --comfort-ttc 6 \
  --batched-planner \
  --save-every 50

Standalone paired-intent evaluation:

.venv/bin/python -m scripts.evaluation.evaluate_request_dqn \
  --experiment 8 \
  --episodes 200 \
  --seed 1700000 \
  --scenario paired-intent \
  --policies dqn \
  --planning-horizon 3 \
  --safety-guard \
  --lane-change-guard \
  --max-target-speed 30 \
  --comfort-ttc 6 \
  --batched-planner

Policy Video

The RequestDDQN policy completes all 100 ordinary-road steps on the shared experiment-video seed 120. It earns 90.836 driving reward, sends 82 requests, and does not crash.

Recording command:

.venv/bin/python -m scripts.evaluation.render_request_dqn \
  --experiment 8 \
  --episodes 1 \
  --seed 120 \
  --duration 100 \
  --planning-horizon 3 \
  --safety-guard \
  --lane-change-guard \
  --max-target-speed 30 \
  --comfort-ttc 6 \
  --batched-planner \
  --video docs/images/dqn_experiment_8_policy.mp4

Artifacts

  • Policy checkpoint: checkpoints/experiment_8/RequestDQN/best.pt
  • Training log: results/experiment_8/RequestDQN/experiments/20261125_121241_request_dqn/request_dqn_training.csv
  • Paired-intent metrics: results/experiment_8/evaluation/paired_intent/request_dqn_summary.json
  • Ordinary-road metrics: results/experiment_8/evaluation/ordinary/request_dqn_summary.json
  • Controlled Experiments 6–8 comparison: results/experiment_8/evaluation/exp6_7_8_comparison/ and results/experiment_8/evaluation/exp6_comparison/