jgrusewski
d980fdedf7
feat(generalization): #7 counterfactual + #20 lottery ticket + remove enable_ flags
Task 7 — Counterfactual Experience Augmentation:
Every timestep writes BOTH original AND mirror experience to output.
Mirror action: exposure_idx → (b0_size-1) - exposure_idx (L100↔S100).
Mirror reward: -reward. Output buffers are 2x for counterfactual.
Always active — no enable_ flag. Doubles effective data diversity.
Task 20 — Lottery Ticket Pruning:
lottery_ticket_mask kernel: zeros pruned weights in f32 + bf16 after Adam.
lottery_ticket_compute_mask kernel: magnitude threshold → binary mask.
At pruning epoch (50): read all weights, sort by |w|, bottom 70% → mask=0.
After that: mask applied every training step (one kernel launch).
Invalidates CUDA graphs on mask creation (new step structure).
Enable_ flag removal:
ALL enable_ conditionals removed from hot paths. One production path.
- enable_domain_randomization → removed (always randomize)
- enable_mirror_universe → removed (always mirror odd epochs)
- enable_vol_normalization → removed (always normalize)
- enable_anti_lr → removed (always anti-intuitive LR)
- enable_gradient_vaccine → removed (always project gradients)
- enable_causal_intervention → removed (always run interventions)
- enable_adversarial_self_play → removed (always saboteur active)
- enable_counterfactual → never added (always counterfactual)
Domain randomization GPU kernels: removed enable_jitter and enable_dr
parameters from CUDA kernel signatures. Kernels always randomize.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 12:34:17 +02:00
..
2026-03-10 15:49:40 +01:00
2026-03-11 22:00:13 +01:00
2026-03-13 11:51:58 +01:00
2026-03-14 19:41:40 +01:00
2026-03-16 16:11:48 +01:00
2026-03-16 21:01:28 +01:00
2026-03-17 22:27:56 +01:00
2026-03-17 15:13:04 +01:00
2026-03-18 19:36:41 +01:00
2026-03-18 07:26:56 +01:00
2026-03-18 13:31:35 +01:00
2026-03-21 10:26:11 +01:00
2026-03-21 11:23:09 +01:00
2026-03-21 15:33:00 +01:00
2026-03-21 16:29:32 +01:00
2026-03-21 23:22:58 +01:00
2026-03-22 20:35:57 +01:00
2026-03-22 00:39:34 +01:00
2026-03-23 09:03:19 +01:00
2026-03-23 20:42:08 +01:00
2026-03-24 21:48:38 +01:00
2026-03-24 23:57:04 +01:00
2026-03-24 22:00:45 +01:00
2026-03-24 23:57:04 +01:00
2026-03-25 19:43:26 +01:00
2026-03-25 09:01:12 +01:00
2026-03-25 23:58:30 +01:00
2026-03-25 01:49:53 +01:00
2026-03-25 23:02:39 +01:00
2026-03-26 00:43:58 +01:00
2026-03-26 01:06:28 +01:00
2026-03-27 23:39:43 +01:00
2026-03-27 19:52:44 +01:00
2026-03-27 20:42:37 +01:00
2026-03-27 19:52:44 +01:00
2026-03-27 19:52:44 +01:00
2026-03-27 07:56:50 +01:00
2026-03-27 00:47:34 +01:00
2026-03-27 08:16:51 +01:00
2026-03-29 20:23:51 +02:00
2026-03-29 23:24:10 +02:00
2026-03-29 23:32:12 +02:00
2026-03-30 12:34:17 +02:00