Skip to content

Add synthetic, vision, and anomaly reproduction code, figures, and re… - #4

Open
alikayyam wants to merge 1 commit into
mainfrom
synthetics
Open

Add synthetic, vision, and anomaly reproduction code, figures, and re…#4
alikayyam wants to merge 1 commit into
mainfrom
synthetics

Conversation

@alikayyam

Copy link
Copy Markdown
Collaborator

…sults

Reproduce paper Tables 1-2 across the six QKV projection-sharing variants (QKV, Q=K!=V, (Q=K!=V)+, Q!=K=V, Q=K=V, (Q=K=V)+), sharing one attention implementation (SharedProjAttention) across all experiments:

  • synthetic_tasks.py: 5 synthetic tasks (REVERSE/SORT/SUB/SWAP/COPY), full config sweep + 2D positional-injection variants (Table 1)
  • vision_tasks.py: ViT classification (MNIST/FMNIST/CIFAR-10/100) + TinyImageNet (large ViT, mixed precision)
  • anomaly_tasks.py: set anomaly detection with frozen ResNet34 features
  • synthetic_loss_curves.py, attention_maps.py: appendix figures
  • writeups + merged result tables (synthetic/vision/anomaly)

…sults

Reproduce paper Tables 1-2 across the six QKV projection-sharing variants
(QKV, Q=K!=V, (Q=K!=V)+, Q!=K=V, Q=K=V, (Q=K=V)+), sharing one attention
implementation (SharedProjAttention) across all experiments:

- synthetic_tasks.py: 5 synthetic tasks (REVERSE/SORT/SUB/SWAP/COPY), full
  config sweep + 2D positional-injection variants (Table 1)
- vision_tasks.py: ViT classification (MNIST/FMNIST/CIFAR-10/100) + TinyImageNet
  (large ViT, mixed precision)
- anomaly_tasks.py: set anomaly detection with frozen ResNet34 features
- synthetic_loss_curves.py, attention_maps.py: appendix figures
- writeups + merged result tables (synthetic/vision/anomaly)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant