Reproduce “Sensitivity-Positional Co-Localization in GQA Transformers” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Manoj Chandrashekar Rao

Research into GQA transformers from an independent researcher reveals "anti-localization" where layers critical for task correctness (late network) are distinct from those highly sensitive to positional encoding changes (early network). A sensitivity-guided fine-tuning strategy, combining Layer-Sensitive LoRA (LS-LORA) and GQA-Aware RoPE Frequency Adaptation (GARFA), achieved up to 15.8 percentage points improvement on benchmarks like HumanEval+ and closely approached Claude 3.5 Haiku performance with only 0.53% trainable parameters.

Key insights

  • There is strong anti-localization ($r_s = -0.735$) between task-sensitive layers (concentrated in late network layers like 23-31) and RoPE-influential layers (concentrated in early layers like 0-9), disproving the co-localization hypothesis.
  • Transformer layers exhibit functional specialization: early layers process positional information, while late layers are critical for high-level semantic integration and task decisions.
  • Combining weight-space (LS-LORA) and positional-space (GARFA) interventions, specifically on task-sensitive layers, yields synergistic performance improvements, suggesting interventions are most impactful where critical task decisions are made.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.