feat(hyper): sequential row+col GyRoPE position #41

Merged
dsh merged 1 commit from feat/hyper-rope2d into master 2026-11-30 23:18:39 +00:00
Member

Hyper has no RAT-style relative decay, so it needs both axes as explicit rotors.

  • new PositionGyRoPE: the tardits GyRoPE rotor with an explicit per-token position
  • HyperImageAttention owns row_rope and col_rope and applies them to q/k as col_rope(row_rope(x))
  • same two modules for q and k; no v rotation; no additions; no pre-multiplied rotor table
  • sequential cd_mul keeps it norm-preserving and avoids associativity assumptions at level >= 2
  • pos_embed: rope2d is Hyper-only; row_rope stays RAT-only; learned2d/none remain controls
  • tests cover RAT row rope, Hyper 2D rope forward/backward, and 64-token CIFAR

Ablation configs at 4L x width 96, 10k, batch 64:

  • Hyper: learned table / rope2d / none
  • RAT: row_rope seed 2 / learned table seed 2
Hyper has no RAT-style relative decay, so it needs both axes as explicit rotors. - new `PositionGyRoPE`: the tardits GyRoPE rotor with an explicit per-token position - `HyperImageAttention` owns `row_rope` and `col_rope` and applies them to q/k as `col_rope(row_rope(x))` - same two modules for q and k; no v rotation; no additions; no pre-multiplied rotor table - sequential `cd_mul` keeps it norm-preserving and avoids associativity assumptions at level >= 2 - `pos_embed: rope2d` is Hyper-only; `row_rope` stays RAT-only; learned2d/none remain controls - tests cover RAT row rope, Hyper 2D rope forward/backward, and 64-token CIFAR Ablation configs at 4L x width 96, 10k, batch 64: - Hyper: learned table / rope2d / none - RAT: row_rope seed 2 / learned table seed 2
dsh merged commit 0c8dc2b341 into master 2026-11-30 23:18:39 +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!41
No description provided.