Single-Shot Contrastive Spectral Weight Surgery for Reasoning Enhancement in Small and Hybrid Language Models
Improving the reasoning accuracy of small language models (SLMs, 0.6B–4B parameters) typically relies on multi-step reinforcement learning or adapter-based fine-tuning (LoRA/SFT), which require iterative optimization loops and risk out-of-distribution (OOD) forgetting. In this work, we investigate whether a single, closed-form modification directly to pretrained weights can permanently improve reasoning without training epochs or inference-time overhead. We introduce Asymmetric Spectral Whitened Weight Surgery (ASWS), a single-pass method that extracts hard-negative pairwise-margin sensitivity G_l, whitens it with the regularized inverse input activation covariance (C_l + lambda_l I)^{-1}, and applies a top-k singular value decomposition (SVD) update directly to residual-writing projections. Across four models spanning pure Transformers (Qwen3-0.6B, Qwen3-1.7B) and 3:1 hybrid Gated DeltaNet architectures (Qwen3.5-2B, Qwen3.5-4B), ASWS computed strictly from 250 ARC-Challenge training examples yields substantial, statistically significant gains on the unseen 1,172-question ARC-Challenge test set (+4.52% to +12.62%, McNemar p < 10^-4 to p < 10^-6) while transferring positively across three unseen OOD benchmarks (OpenBookQA, HellaSwag, MMLU-57, averaging +2.16% to +5.40%). Crucially, we uncover an architectural editability advantage in hybrid linear-attention models: editing only the Gated DeltaNet output projections (linear_attn.out_proj) improves ARC-Challenge validation by +8.00% on Qwen3.5-2B and +8.50% on Qwen3.5-4B while simultaneously improving prompt perplexity (Delta PPL = -0.009 on both). Finally, our diagnostic ablations establish why covariance whitening, spectral filtering, and two-sided contrast are mathematically necessary—and characterize the linear regime boundary on 200-problem GSM8K chain-of-thought generation. Code and experiment logs are publicly available at https://github.com/evrentemiz/ASWS-Weight-Surgery.
Authors
- Evren Temiz
- Tuncay Yilmaz (ORCID: https://orcid.org/0009-0009-3149-6532)
- Turan Turkmen (ORCID: https://orcid.org/0000-0001-7910-0642)
Institutions
- Mi̇lli̇ Eği̇ti̇m Bakanliği (TR)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24659646
- Primary Topic
- Topic Modeling
- Type
- preprint