feat: class-rotor conditioning with CFG null branch #42

Merged
dsh merged 1 commit from feat/class-rotor into master 2026-12-01 11:01:06 +00:00
Member

Class conditioning as a hypercomplex rotor, plus the additive null fix needed for a fair CFG comparison.

  • ClassRotorEmbedding: per-class theta table, shared unit axis, applied to every image token
  • null class y=-1 / y=None is the identity rotor
  • class_conditioning: rotor config value
  • additive class path now masks null labels instead of raising, so additive + class_dropout + CFG is testable
  • tests for additive null, rotor null identity, and class-dependent output

Configs: MNIST 4L RAT-32 10k additive/rotor, both with 10% class dropout.

Class conditioning as a hypercomplex rotor, plus the additive null fix needed for a fair CFG comparison. - `ClassRotorEmbedding`: per-class theta table, shared unit axis, applied to every image token - null class `y=-1` / `y=None` is the identity rotor - `class_conditioning: rotor` config value - additive class path now masks null labels instead of raising, so additive + class_dropout + CFG is testable - tests for additive null, rotor null identity, and class-dependent output Configs: MNIST 4L RAT-32 10k additive/rotor, both with 10% class dropout.
dsh merged commit 7c76479e6c into master 2026-12-01 11:01:06 +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!42
No description provided.