CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editing
Mingzhi Zhu, Michele Merler, Raju Pavuluri, Stacy Patterson

TL;DR
CRANE is a training-free parameter-editing method that enhances code agents by merging reasoning and instruction models, significantly improving performance on multiple benchmarks without sacrificing efficiency.
Contribution
CRANE introduces a novel nullspace editing technique to effectively combine reasoning and instruction checkpoints in code agents, achieving superior results.
Findings
Achieves 66.2% pass@1 on Roo-Eval, a 19.5% improvement.
Resolves 14 more instances on SWE-bench-Verified.
Improves pass1/pass5 on Terminal-Bench v2 by up to 2.3%/7.8%.
Abstract
Code agents must both reason over long-horizon repository state and obey strict tool-use protocols. In paired Instruct/Thinking checkpoints, these capabilities are complementary but misaligned. The Instruct model is concise and tool-disciplined, whereas the Thinking model offers stronger planning and recovery behavior but often over-deliberates and degrades agent performance. We present CRANE (Constrained Reasoning Injection for Code Agents via Nullspace Editing), a training-free parameter-editing method that treats the Thinking-Instruct delta as a directional pool of candidate reasoning edits for the Instruct backbone. CRANE combines magnitude thresholding to denoise the delta, a Conservative Taylor Gate to retain edits that are jointly beneficial for reasoning transfer and tool-use preservation, and Graduated Sigmoidal Projection to suppress format-critical update directions. By…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
