Benchmark Results (Full Held-Out Evaluation, Greedy temp=0, presence_penalty=0.0, max_tokens=4096)
Zero-shot generalization check: google/IFEval was never used during diagnosis or patch selection; all IFEval gains are 100% out-of-distribution generalization.
Table with columns: Benchmark, Split, Qwen/Qwen3.5-2B (Base), Qwen3.5-2B-WSP (0.0118% edited), Delta| Benchmark | Split | Qwen/Qwen3.5-2B (Base) | Qwen3.5-2B-WSP (0.0118% edited) | Delta |
|---|
| GSM8K | Full Test (n=1319) | 35.86% | 78.17% | +42.31 pts |
| MATH-500 | Full Test (n=500) | 19.40% | 61.40% | +42.00 pts |
| IFEval (Prompt-Strict) | Full (n=541, zero-shot OOD) | 15.34% | 51.94% | +36.60 pts |
| IFEval (Inst-Strict) | Full (n=541, zero-shot OOD) | 25.42% | 58.87% | +33.45 pts |
Efficiency & Loop-Mitigation Impact
Table with columns: Metric, Base, WSP-Patched| Metric | Base | WSP-Patched |
|---|
GSM8K Truncation (finish_reason=length) | 80.74% | 11.14% |
| GSM8K Avg Output Tokens | 3578.6 | 1608.5 |
| MATH-500 Truncation | 91.20% | 32.00% |
MATH-500 </think> Closed Rate | 9.40% | 92.40% |
| IFEval Truncation | 95.75% | 44.18% |
OOD & Official Sampling: Harder, Broader & Official-Sampling Stress Tests (7/7 Clean Sweep, 100% OOD)
Evaluated Qwen/Qwen3.5-2B vs. ashishshroti14/Qwen3.5-2B-WSP across 7 harder / out-of-distribution tracks, including Qwen's official recommended sampling settings (temperature=0.6, top_p=0.95, top_k=20, presence_penalty=1.5) and non-thinking mode (enable_thinking=False). Qwen3.5-2B-WSP wins 7 out of 7 tracks with zero regressions:
Table with columns: Benchmark, Decoding / Mode, Qwen/Qwen3.5-2B (Base), Qwen3.5-2B-WSP (0.0118% edited), Delta, Avg Tokens (Base -> WSP)| Benchmark | Decoding / Mode | Qwen/Qwen3.5-2B (Base) | Qwen3.5-2B-WSP (0.0118% edited) | Delta | Avg Tokens (Base -> WSP) |
|---|
MATH-500 (n=500) | Official Qwen Sampling (8k) | 42.40% | 71.60% | +29.20 pts | 6663 -> 3555 (1.87x faster) |
AIME 2024+2025 (n=60) | Official Qwen Sampling (8k) | 0.00% (0/60) | 16.67% (10/60) | +16.67 pts (0 -> 10) | 8192 -> 7478 (100% closed) |
AIME 2024+2025 (n=60) | Greedy temp=0, pp=0 (8k) | 0.00% (0/60) | 15.00% (9/60) | +15.00 pts (0 -> 9) | 8192 -> 7512 (96.7% closed) |
GPQA Diamond (n=198, PhD Science) | Greedy (8k, 100% OOD) | 18.69% | 28.28% | +9.59 pts | 8192 -> 6945 |
MMLU-Pro (n=420, 14 domains) | Thinking, Greedy (4k, 100% OOD) | 36.67% | 45.48% | +8.81 pts | 4041 -> 2460 (1.64x faster) |
MMLU-Pro (n=420, 14 domains) | Non-Thinking (enable_thinking=False) | 22.14% | 23.33% | +1.19 pts | 495 -> 489 (dormant / zero damage) |
HumanEval (n=164, Python pass@1) | Greedy (4k, 100% OOD) | 53.66% | 56.71% | +3.05 pts | 2189 -> 1505 (1.45x faster) |
Full raw metrics are included in eval_harder_results.json.
Exact Surgical Edit Details
- Method:
col_steer_think (zero-gradient residual-stream within-<think> contrastive diagnosis + conditional SwiGLU mlp.down_proj column steering)
- Target Layers:
[15, 19] (mlp.down_proj.weight only)
- Columns Modified per Layer:
64 (selected by z_diff)
- Hyperparameters:
alpha=1.5, think_weight=0.5, vec_source=resid_loop_dir
- Parameters Modified:
262,144 / 2,213,241,664 (0.0118%)
- Reproducibility Artifacts Included:
wsp_patch.pt (standalone extracted directions & column scores), wsp_patch_summary.json, and eval_results.json.
Quantization Integrity Audit (BF16 / FP8 / NF4 4-bit / W4A16-RTN 4-bit)
Evaluated Base vs. WSP across 4 precisions (vLLM, greedy temp=0, max_tokens=4096, GSM8K n=300 & MATH-500 n=200). Because Qwen3.5-2B-WSP edits Full-Attention layers only ([15, 19]), it armors 2B against complete 4-bit collapse:

Table with columns: Precision, GSM8K Base -> WSP, GSM8K Lift, MATH-500 Base -> WSP, MATH-500 Lift, </think> Closed (GSM8K)| Precision | GSM8K Base -> WSP | GSM8K Lift | MATH-500 Base -> WSP | MATH-500 Lift | </think> Closed (GSM8K) |
|---|
| BF16 (reference) | 39.3% -> 78.0% | +38.7 pts | 26.5% -> 59.5% | +33.0 pts | 24.3% -> 95.3% |
| FP8 (recommended) | 35.3% -> 78.7% | +43.3 pts (112% ret.) | 26.5% -> 62.5% | +36.0 pts | 16.0% -> 95.3% |
| NF4 4-bit (BitsAndBytes) | 33.3% -> 68.3% | +35.0 pts (91% ret.) | 23.5% -> 52.5% | +29.0 pts | 18.7% -> 93.0% |
| W4A16-RTN 4-bit | 3.3% -> 40.0% | +36.7 pts (12x Base!) | 1.5% -> 30.0% | +28.5 pts (20x Base!) | 0.0% -> 76.7% |
- Recommended local deployment: FP8 (outperforms BF16 at half VRAM — 78.7% GSM8K / 62.5% MATH-500) or NF4 4-bit.
- Raw reproducibility artifact included:
quant_audit_results.json.
Quick Usage
Drop-in replacement for Qwen/Qwen3.5-2B in vLLM, transformers, SGLang, or llama.cpp—works cleanly under standard greedy decoding (temperature=0, presence_penalty=0) without inference-time repetition penalty hacks:
from vllm import LLM, SamplingParams llm = LLM(model="ashishshroti14/Qwen3.5-2B-WSP", dtype="bfloat16")# Works cleanly even at temperature=0, presence_penalty=0.0!
Code, Reproducibility & Companion Forensics