fix: 10x stronger aux optimizer (LR 0.001→0.01, weight 0.01→0.1)
With separate optimizer, no gradient competition — safe to increase. Smoke test shows within-group differentiation starting (S100≠S25≠L50). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -139,7 +139,7 @@ exit_timing_weight = 0.05
|
||||
ofi_reward_weight = 0.2
|
||||
kelly_sizing_weight = 0.1
|
||||
reward_noise_scale = 0.05
|
||||
exposure_aux_weight = 0.01
|
||||
exposure_aux_weight = 0.1
|
||||
exposure_aux_warmup_epochs = 5
|
||||
|
||||
[fixed]
|
||||
@@ -182,5 +182,5 @@ exit_timing_weight = 0.05
|
||||
ofi_reward_weight = 0.2
|
||||
kelly_sizing_weight = 0.1
|
||||
reward_noise_scale = 0.05
|
||||
exposure_aux_weight = 0.01
|
||||
exposure_aux_weight = 0.1
|
||||
exposure_aux_warmup_epochs = 5
|
||||
|
||||
@@ -131,5 +131,5 @@ exit_timing_weight = 0.05
|
||||
ofi_reward_weight = 0.2
|
||||
kelly_sizing_weight = 0.1
|
||||
reward_noise_scale = 0.05
|
||||
exposure_aux_weight = 0.01
|
||||
exposure_aux_weight = 0.1
|
||||
exposure_aux_warmup_epochs = 5
|
||||
|
||||
@@ -142,5 +142,5 @@ exit_timing_weight = 0.05
|
||||
ofi_reward_weight = 0.2
|
||||
kelly_sizing_weight = 0.1
|
||||
reward_noise_scale = 0.05
|
||||
exposure_aux_weight = 0.01
|
||||
exposure_aux_weight = 0.1
|
||||
exposure_aux_warmup_epochs = 5
|
||||
|
||||
@@ -138,7 +138,7 @@ exit_timing_weight = 0.05
|
||||
ofi_reward_weight = 0.2
|
||||
kelly_sizing_weight = 0.1
|
||||
reward_noise_scale = 0.05
|
||||
exposure_aux_weight = 0.01
|
||||
exposure_aux_weight = 0.1
|
||||
exposure_aux_warmup_epochs = 5
|
||||
|
||||
[walk_forward]
|
||||
|
||||
@@ -2110,7 +2110,7 @@ impl GpuDqnTrainer {
|
||||
|
||||
let goff_w_b0out: usize = sizes[..10].iter().sum::<usize>();
|
||||
let aux_params_ptr = self.ptrs.params_f32_ptr + (goff_w_b0out as u64) * 4;
|
||||
let aux_lr = 0.001_f32; // higher LR for aux (independent from main)
|
||||
let aux_lr = 0.01_f32; // 10x main LR — aux needs strong signal to break i%3
|
||||
let aux_beta1 = 0.9_f32;
|
||||
let aux_beta2 = 0.999_f32;
|
||||
let aux_eps = 1e-8_f32;
|
||||
|
||||
@@ -1653,7 +1653,7 @@ impl DQNHyperparameters {
|
||||
ofi_reward_weight: 0.2,
|
||||
kelly_sizing_weight: 0.1,
|
||||
reward_noise_scale: 0.05,
|
||||
exposure_aux_weight: 0.01,
|
||||
exposure_aux_weight: 0.1,
|
||||
exposure_aux_warmup_epochs: 5,
|
||||
// v8: Dense micro-reward, TD(λ), PopArt, curriculum, hindsight
|
||||
micro_reward_scale: 0.01,
|
||||
|
||||
Reference in New Issue
Block a user