RAIN-Merging: A Gradient-Free Method to Enhance Instruction Following in Large Reasoning Models with Preserved Thinking Format
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Large reasoning models (LRMs) excel at a long chain of reasoning but often fail to faithfully follow instructions regarding output format, constraints, or specific requirements. We investigate whether this gap can be closed by integrating an instruction-tuned model (ITM) into an LRM. Analyzing their differences in parameter space, namely task vectors, we find that their principal subspaces are nearly orthogonal across key modules, suggesting a lightweight merging with minimal interference. However, we also demonstrate that naive merges are fragile because they overlook the output format mismatch between LRMs (with explicit thinking and response segments) and ITMs (answers-only). We introduce RAIN-Merging (Reasoning-Aware Instruction-attention guided Null-space projection Merging), a gradient-free method that integrates instruction following while preserving thinking format and reasoning performance. First, with a small reasoning calibration set, we project the ITM task vector onto the null space of forward features at thinking special tokens, which preserves the LRM's structured reasoning mechanisms. Second, using a small instruction calibration set, we estimate instruction attention to derive module-specific scaling that amplifies instruction-relevant components and suppresses leakage. Across four instruction-following benchmarks and nine reasoning & general capability benchmarks, RAIN-Merging substantially improves instruction adherence while maintaining reasoning quality. The gains are consistent across model scales and architectures, translating to improved performance in agent settings.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 28 of its 78 references that are in the map. First posted on arXiv 26 Feb 2026.
Builds on
28 of 78 references.
Closest ancestors · 2
Same direction, newest first
- 2025Activation-Guided Consensus Merging for Large Language Models20 May
- 2025Unlocking Efficient Long-to-Short LLM Reasoning with Model Merging26 Mar
Other references · 26
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2024OpenAI o1 System Cardcited by 1,244
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 500
- 2025MathArena: Evaluating LLMs on Uncontaminated Math Competitionscited by 297
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
14 more
- 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 194
- 2025RL's Razor: Why Online Reinforcement Learning Forgets Lesscited by 176
- 2024Revolutionizing Finance with LLMs: An Overview of Applications and Insightscited by 90
- 2025When Thinking Fails: The Pitfalls of Reasoning for Instruction-Following in LLMscited by 53
- 2025AGENTIF: Benchmarking Instruction Following of Large Language Models in Agentic Scenarioscited by 49
- 2025LLMs are Greedy Agents: Effects of RL Fine-tuning on Decision-Making Abilitiescited by 41
- 2025Activation-Informed Merging of Large Language Modelscited by 30
- 2025Scaling Reasoning, Losing Control: Evaluating Instruction Following in Large Reasoning Modelscited by 28
- 2025Incentivizing Reasoning for Advanced Instruction-Following of Large Language Modelscited by 17
- 2025Put the Space of LoRA Initialization to the Extreme to Preserve Pre-trained Knowledgecited by 16
- 2025Joint Evaluation of Answer and Reasoning Consistency for Hallucination Detection in Large Reasoning Modelscited by 14
- 2024Step Guided Reasoning: Improving Mathematical Reasoning using Guidance Generation and Step Reasoningcited by 9
- 2025Instruction Following by Principled Boosting Attention of Large Language Modelscited by 9
- 2025LEWIS (LayEr WIse Sparsity) -- A Training Free Guided Model Merging Approachcited by 3
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026M2A: Synergizing Mathematical and Agentic Reasoning in Large Language Modelscited by 1
- 2026PaperFit: Vision-in-the-Loop Typesetting Optimization for Scientific Documentscited by 1
- 2026Reading the Gate, Not the Interference: Output-Side Interference Measurement Does Not Track Merge Collapsecited by 1
- 2026CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editingcited by 0
- 2026Towards Efficient Reasoning in LLM-Based Recommender Systems via Model Mergingcited by 0
- 2026MergeHEIR: Mitigating Multimodal Hallucinations as the Tax of Model Mergingcited by 0
- 2026Mixture-Trained Merging for Unified Multi-Objective Modelscited by 0
- 2026Predicting and Repairing Merge Collapse in Large Language Modelscited by 0
- 2026UniMergeTrack: Hierarchical Model Merging for General RGB-X Visual Object Trackingcited by 0
- 2026UniMergeTrack: Hierarchical Model Merging for General RGB-X Visual Object Tracking9 Oct 2026
- 2026Predicting and Repairing Merge Collapse in Large Language Models2 Oct 2026
- 2026Mixture-Trained Merging for Unified Multi-Objective Models1 Oct 2026
- 2026MergeHEIR: Mitigating Multimodal Hallucinations as the Tax of Model Merging26 Sep 2026
- 2026Reading the Gate, Not the Interference: Output-Side Interference Measurement Does Not Track Merge Collapse12 Aug 2026
- 2026Towards Efficient Reasoning in LLM-Based Recommender Systems via Model Merging11 Aug 2026
- 2026CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editing13 May 2026
- 2026PaperFit: Vision-in-the-Loop Typesetting Optimization for Scientific Documents11 May 2026
- 2026M2A: Synergizing Mathematical and Agentic Reasoning in Large Language Models11 May 2026
Similar, not cited
Close in wording, no citation either way
- 2025Effectively Controlling Reasoning Models through Thinking Intervention
- 2025Big Reasoning with Small Models: Instruction Retrieval at Inference Time
- 2025ReasonIF: Large Reasoning Models Fail to Follow Instructions During Reasoning
- 2025From Long to Short: LLMs Excel at Trimming Own Reasoning Chains
- 2026Free(): Learning to Forget in Malloc-Only Reasoning Models
- 2024Dual Instruction Tuning with Large Language Models for Mathematical Reasoning
- 2026Reasoning-Trace Collapse: Evaluating the Loss of Explicit Reasoning During Fine-Tuning
- 2026Post-Reasoning: Improving the Performance of Non-Thinking Models at No Cost