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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Single-Shot Contrastive Spectral Weight Surgery for Reasoning Enhancement in Small and Hybrid Language Models

Evren Temiz, Tuncay Yilmaz, Turan Turkmen
5 links
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

Single-Shot Contrastive Spectral Weight Surgery for Reasoning Enhancement in Small and Hybrid Language Models

Evren Temiz, Tuncay Yilmaz, Turan Turkmen
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Mi̇lli̇ Eği̇ti̇m Bakanliği (TR)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon