Files
foxhunt/crates/ml-alpha
jgrusewski 514b04bee3 fix(rl): remove advantage normalization — sparse rewards diluted signal
With 5-6% of batch elements having real rewards per step, advantage
normalization (zero mean, unit var) turned 94% of the gradient into
noise. The /B gradient normalization already handles batch-size
invariance. Raw V-advantage bounded by reward_scale is sufficient.

Removed: normalize_advantages kernel (#if 0 in .cu), field, load,
both launch sites, q_logits_target_st_d (Q-advantage dead code).
ISV-driven TAU_MAX (slot 573, bootstrap 0.005) retained for future use.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 00:20:27 +02:00
..