fix(rat): chunked bidirectional scan for 64-token CIFAR #16

Merged
dsh merged 1 commit from fix/rat-64-token-chunked into master 2026-11-20 01:47:51 +00:00
Member

Closes #14.

  • ChunkedBidirectionalRattention carries the fast-weight state across safe scan chunks for the forward and reversed passes.
  • Tests: chunked vs full scan max diff ~2.3e-6; 64-token gamma×0.35 forward finite; RATDiT CIFAR forward after forced gamma decay. 32 tests pass.
  • RAT-32 CIFAR 10k now completes: val x0-MSE 0.0351, 59.7 min, FID 156.12 vs hyper 160.36 on the same 10k/10k protocol (about 2.6%, one seed).
  • Samples: docs/assets/cifar10/cifar_rat_10k_64.png; report docs/experiments/2026-11-20-cifar10-rat-chunked.md; FID JSON.

This is a first RAT CIFAR signal, not a decisive win; CIFAR head sweep and a second seed remain.

Closes #14. - `ChunkedBidirectionalRattention` carries the fast-weight state across safe scan chunks for the forward and reversed passes. - Tests: chunked vs full scan max diff ~2.3e-6; 64-token gamma×0.35 forward finite; RATDiT CIFAR forward after forced gamma decay. 32 tests pass. - RAT-32 CIFAR 10k now completes: val x0-MSE 0.0351, 59.7 min, **FID 156.12** vs hyper 160.36 on the same 10k/10k protocol (about 2.6%, one seed). - Samples: docs/assets/cifar10/cifar_rat_10k_64.png; report docs/experiments/2026-11-20-cifar10-rat-chunked.md; FID JSON. This is a first RAT CIFAR signal, not a decisive win; CIFAR head sweep and a second seed remain.
- carry the fast-weight state across scan chunks; chunked-vs-full max diff 2.3e-6
- 64-token gamma-decayed forward test, RATDiT CIFAR forward test
- RAT-32 CIFAR 10k completes: val 0.0351, FID 156.12 vs hyper 160.36
- docs, grid, FID JSON; closes #14
dsh merged commit 39a2ee6d72 into master 2026-11-20 01:47:51 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ml-lab/wink!16
No description provided.