potentialpaper

CRANE: Constrained Reasoning Injection for Code Agents via Nullspace Editing

Mingzhi Zhu, Michele Merler, Raju Pavuluri, Stacy Patterson

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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 merging paired Instruct and Thinking checkpoints, CRANE delivers strong gains over either individual model while preserving Instruct-level efficiency: on Roo-Eval it achieves pass@1 of 66.2% (+19.5%) for Qwen3-30B-A3B and 81.5% (+8.7%) for Qwen3-Next-80B-A3B; on SWE-bench-Verified it resolves up to 14 additional instances at both scales (122/500 and 180/500); and on Terminal-Bench v2 it improves pass@1/pass@5 by up to 2.3%/7.8%, reaching 7.6%/17.9% and 14.8%/30.3%, respectively, consistently outperforming alternative merging strategies across all three benchmarks.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
16 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Recommendation: Needs clarification

The paper proposes CRANE, a training-free method for transferring selected reasoning-related updates from a Thinking checkpoint to an Instruct checkpoint. It reports consistent improvements across three code-agent benchmarks and two model scales while maintaining favorable token efficiency.

The reviewers recognize the importance of the problem and the generally strong empirical results. However, several concerns require clarification. Reviewer AhKk questions how much of the improvement comes from the calibration procedure rather than the proposed editing stages, and requests direct evidence that Stage 3 preserves structured-output and tool-use behavior. Reviewer 1T9E asks whether simpler inference-time controls or lightweight adaptation could achieve similar gains. Reviewer bD14 also requests clearer computational-cost comparisons and raises concerns about dependence on task-specific formatting data.

The authors are particularly encouraged to address the concerns and questions raised by reviewer AhKk, whose negative assessment appears primarily driven by these unresolved issues. A convincing response to these concerns could significantly improve the overall assessment and lead toward acceptance.

Final justification

Given most concerns are addressed and all reviewers now lean towards acceptance I recommend accept(poster).

Area Chair QNZ9 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Recommendation: Needs clarification

The paper proposes CRANE, a training-free method for transferring selected reasoning-related updates from a Thinking checkpoint to an Instruct checkpoint. It reports consistent improvements across three code-agent benchmarks and two model scales while maintaining favorable token efficiency.

The reviewers recognize the importance of the problem and the generally strong empirical results. However, several concerns require clarification. Reviewer AhKk questions how much of the improvement comes from the calibration procedure rather than the proposed editing stages, and requests direct evidence that Stage 3 preserves structured-output and tool-use behavior. Reviewer 1T9E asks whether simpler inference-time controls or lightweight adaptation could achieve similar gains. Reviewer bD14 also requests clearer computational-cost comparisons and raises concerns about dependence on task-specific formatting data.

The authors are particularly encouraged to address the concerns and questions raised by reviewer AhKk, whose negative assessment appears primarily driven by these unresolved issues. A convincing response to these concerns could significantly improve the overall assessment and lead toward acceptance.

Final justification

Given most concerns are addressed and all reviewers now lean towards acceptance I recommend accept(poster).

1 comment
Authors · CommentOpenReview ↗

Thank you for highlighting the key concerns in the initial meta-review. Our rebuttal provides direct evidence addressing each of them.

Clarification on calibration and its contribution to final performance gains. While calibration is important in CRANE, it does not provide a signal that can be used independently. Calibration does not optimize model weights; it only determines the CTG/GSP coefficients used in the merge. Performance remains robust with substantially smaller/larger calibration sets at 30B/80B (across 25%–200% calibration budgets), while shuffled coefficients degrade performance.

Evidence of Stage 3 structured-output, tool-use behavior preservation and independence on task-specific formatting data.We added a Stage 3 ablation showing that removing GSP substantially increases protocol-token leakage, directly demonstrating its role in format protection. Separately, Terminal-Bench v2 evaluations show that the final CRANE checkpoints preserve JSON validity, schema conformance, and tool selection. We also evaluate the Roo-Eval-selected configuration on SWE-bench Verified and Terminal-Bench v2 without per-benchmark tuning, supporting transfer across different agent scaffolds. Finally, we clarify that Stage 3 depends on the interaction protocol rather than benchmark-specific task labels or objectives, while substantial protocol changes require rebuilding the format mask and a small trace set.

Comparison against inference time controls and PEFT alternatives. Four inference-time baselines recover at most 5.1% of CRANE’s gain, and three QLoRA baselines do not improve over Instruct.

Computational-costs analysis. We conducted a controlled construction-cost study. On the same H100 cluster, we measured disk-to-disk wall time, peak GPU memory, and GPU count for CRANE, four gradient-free merging baselines, two gradient-based merging baselines, and three lightweight QLoRA training baselines. We also broke down CRANE’s one-time cost into CTG/Taylor-statistic collection, GSP construction, and final checkpoint merging across 25%–200% calibration budgets at 30B and 80B, and additionally report a 235B scaling measurement. These experiments show that CRANE’s construction cost is comparable to training-free merging methods and substantially lower than lightweight training, while requiring no iterative parameter optimization.

Reviewer AhKk has explicitly confirmed that the additional experiments clarify the calibration and formatting concerns. We respectfully believe that the issues identified in the initial meta-review have now been addressed through the detailed replies to each reviewer, and are hopeful that all the reviewers will confirm it.

Reviewer bD14OpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose a training-free weight editing method that can be used to merge instruction-following and reasoning checkpoints. The particular reason to select these two capabilities to merge is that agents can benefit from both capabilities, but both checkpoints suffer from specific deficiences: reasoning one can overspend tokens on overthinking and fail to call tools correctly, and the instruction follwoing one can fail to reason properly about failure modes and get stuck in unproductive loops. The authors propose a three-step pipeline for the weights transfer: the first step filters the diff between the weight to remove insignificant changes, the second step selects only changes that are aligned with both source and target tasks (instruction following and reasoning), finally the third stage softly filters out the changes that will damage the format following of the downstream task.

Strengths and weaknesses

Strengths:

  • The topic of model merging, for agents in particular, is important.
  • The paper is relatively well written.
  • The proposed method is somewhat novel.
  • The evaluation is sound. It is performed on three benchmarks and compares to a set of relevant baselines.

Weaknesses:

  • Given the amount of computation needed for the method, it would be beneficial to provide a cost comparison with other methods.
  • The third part of the method relies on the formatting available for the task, which rises question on the generalization ability of the method.

On a smaller note, the highlights in the tables are somewhat inconsistent. E.g., in Table 2, Input tok. for CRANE is highlighted, despite not being the strongest result.

Questions

Can you provide the cost of the method application and compare it with other methods requiring gradient collection?

Limitations

The method requires specific formatting to collect the calibration dataset for the third part. This may limit the method's applicability.

Final justification

Given that CRANE is comparable to the training-free baselines in speed of training and comparable to training-based baselines in performance, I'm changing the rating to accept.

Formatting concerns

Table 4 seems too small.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Weakness 1 & Question 1: Construction-cost comparison

Although CRANE uses one single backward pass to collect the CTG statistics, it does not perform iterative parameter optimization. We measured its complete one-time checkpoint-construction cost against both gradient-free merge baselines and methods that require gradient-based collection.

All runs use H100 GPUs on the same cluster. Wall time is measured from released checkpoint(s) on disk to a deployable checkpoint on disk. CRANE includes CTG, GSP, and the final merge. The QLoRA rows report training plus adapter merge.

Method Scale Backward pass Wall clock Peak GPU memory GPUs
CRANE 30B Yes 25.3 m 57 GB 1
CRANE 80B-Next Yes 47.7 m 161 GB 4
AIM-TA 30B No 18 m 7 GB 1
AIM-TA 80B-Next No 40 m 10 GB 1
AIM-TIES 30B No 20.2 m 8 GB 1
AIM-TIES 80B-Next No 62 m 12 GB 1
LEWIS 30B No 28 m 11 GB 1
LEWIS 80B-Next No 69.7 m 23 GB 1
RAIN-Merging 30B No 90 m 61 GB 1
RAIN-Merging 80B-Next No 147 m 200 GB 4
Fisher-weighted merge 30B Yes 32 m 66 GB 1
Fisher-weighted merge 80B-Next Yes 161 m 239 GB 4
AdaMerging (layer-wise) 30B Yes 120 m 183 GB 2
QLoRA-SFT keepthink-v2 30B Yes 605 m 81 GB 1
QLoRA-SFT stripthink-v2 30B Yes 464 m 81 GB 1
QLoRA-SFT self-direct 30B Yes 587 m 81 GB 1

CRANE is comparable with other training-free baselines and much cheaper than any training-based method, while significantly outperforming all in success rates(see response to Reviewer 1T9E Q2 for QLoRA).

We will add this table and clarify that “training-free” means no parameter optimization, rather than zero preprocessing. Please also see our response to Reviewer 1T9E, Weakness 2, for the complete Stage 2/Stage 3 timing breakdown across calibration budgets from 25% to 200%.

Weakness 2: Generalization of Stage 3

We agree that Stage 3 is protocol-conditioned: it assumes a structured agent interface in which format-critical positions can be identified. This is deliberate for tool-using agents, whose actions must be machine-interpretable, but the dependency is on the interaction protocol rather than the task or benchmark content.

The GSP operator is not hard-coded to a particular JSON schema or serialization. DF\mathcal{D}_F provides neither task labels nor an optimization objective; it only supplies Instruct activations at masked protocol positions and their local neighborhoods, from which GSP estimates a low-rank protected subspace. Adapting CRANE to another JSON-, XML-, or function-calling interface therefore requires rebuilding the format mask and the small DF\mathcal{D}_F trace set, while the merging procedure remains unchanged and no format annotations are needed at inference. We will clarify that substantial protocol drift requires recalibration and that our claim is limited to structured tool-using agents rather than arbitrary unstructured tasks.

The existing results support generalization within this intended scope. The configuration selected on Roo-Eval transfers without per-benchmark tuning to SWE-bench Verified and Terminal-Bench v2, spanning native function calling and the OpenHands scaffold. On Terminal-Bench v2, CRANE obtains special token-leakage rates of 1.16/1.14 per 1k calls at 30B/80B, compared with 1.19/2.06 for Instruct; it also reduces JSON-invalid rates from 16.54/4.02 to 8.50/2.90 and schema-invalid rates from 10.86/2.78 to 4.12/2.40. Please also see our detailed Stage 3 analysis in the response to Reviewer AhKk, Weakness 3.

Minor: Table 4 size & the highlights

We will adjust it in the future.

Reviewer bD14 · CommentOpenReview ↗

Thank you for the additional work and information. Given that CRANE is comparable to the training-free baselines in speed of training and comparable to training-based baselines in performance, I'm ready to move the rating one step up.

Authors · CommentOpenReview ↗

Thank you for your careful review and for considering our additional experiments and analysis. We sincerely appreciate your feedback.

Reviewer AhKkOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

CRANE is a training-free parameter-editing method for code agents that combines the strengths of paired Instruct and Thinking model checkpoints while mitigating their respective weaknesses. It treats the parameter differences between the two models as a source of candidate reasoning improvements and selectively transfers beneficial reasoning capabilities to the Instruct backbone. The approach employs magnitude thresholding, a Conservative Taylor Gate, and Graduated Sigmoidal Projection to preserve tool-use discipline, maintain efficiency, and suppress updates that could harm formatting or agent behavior.

Strengths and weaknesses

The paper addresses an interesting problem: reasoning models can sometimes underperform instruction-tuned models in tool-using agent settings, despite excelling at solving complex tasks. Therefore, identifying an effective method for transferring the knowledge of a reasoning model into an instruction-tuned model would represent a significant advancement.

The experimental evaluation presented in the paper is well structured, and the ablation study is thorough. The results consistently confirm the effectiveness of the proposed method. To confirm the validity of the approach, additional experiments on calibration and format robustness are required.

A major limitation is the lack of analysis regarding the impact of the calibration phase on the final model configuration. How does calibration influence model performance? What is its overall contribution? It is possible that the calibration process provides a stronger learning signal than the weight update procedures employed in Stages 1, 2, and 3. A discussion of this aspect would strengthen the description and understanding of the proposed approach. Furthermore, the observed gains appear to be inversely correlated with model size. Does this behavior depend primarily on the number of parameters, or is the calibration phase inherently less effective for larger models?

Stage 3 is specifically designed to preserve formatting capabilities. However, the paper does not provide any analysis demonstrating that formatting robustness is effectively maintained, not only for JSON outputs but also for tool-call specifications.

Figures 1 and 2 appear to contain graphical artifacts. The authors should verify their correctness, as some elements may have been lost during the LaTeX compilation process. Additionally, Figure 1 is not referenced anywhere in the main text.

In Equation 3, the authors should clarify the definition of SkS^k.

An interesting, albeit optional (maybe behond the goal of the current paper), direction for further analysis would be to investigate changes in weight distributions across layers. Such a study could reveal the emergence of meaningful clusters and provide a form of knowledge map illustrating how information is represented throughout the model. It could be a future research direction.

ADDITIONAL NOTES Considering the additional experiments on calibration and formatting robustness, the quality presentation of the method is improved confirming the validity of the approach. While the significance of the work is good anyway.

Questions
  1. How does the calibration phase influence the final model performance, and what is its relative contribution compared to the weight update procedures in Stages 1, 2, and 3?

  2. Why do the performance gains appear to decrease as model size increases? Is this behavior primarily related to the number of parameters, or does the effectiveness of the calibration phase diminish for larger models?

  3. To what extent does Stage 3 preserve formatting robustness, particularly for structured outputs such as JSON responses and tool-call input specifications?

Limitations

yes

Final justification

The additional experiments provided by the authors clarified the role of the calibration and evaluated the formatting capabilities. Following the clarifications provided by the authors, I changed my rating to “Borderline Accept.”

Formatting concerns

Nothing to highlight

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Weakness 1 & Question 1: Contribution of calibration

We will clarify that calibration in CRANE estimates scale and projection coefficients later used to combine the frozen models’ weights, it does not perform any backpropagation (i.e., gradient descent) on the models’ weights themselves. Stage 1 is calibration-independent and applies deterministic sparsification T(δ)T(\delta). Gradients on the calibration sets DRD_R and DAD_A are collected only once to construct the CTG coefficients, and GSP uses forward activations and an SVD on the calibration set DFD_F to construct the projector that protects the format tokens. Thus, calibration determines how the fixed update is scaled and projected.

We demonstrate CRANE’s robustness to different calibration set choices and sizes on final performance by evaluating the 30B CRANE merged models on Roo-Eval using the paper's protocol. We vary the size of one calibration set at a time while keeping the sizes of the other sets and all merge hyperparameters fixed to the paper setting. Stage 2 uses ∣DR∣/∣DA∣=9/4,18/8,36/16,72/32|\mathcal{D}_R|/|\mathcal{D}_A|=9/4,18/8,36/16,72/32 prompts (25%, 50%, 100%, 200%); the 25%/50% settings are sampled without replacement, while 200% adds prompts from LiveCodeBench and BigCodeBench. Stage 3 uses ∣DF∣=107,215,430,860|\mathcal{D}_F|=107,215,430,860 traces with the paper's format composition preserved. We report the Pass@3 results per language:

DR/DA/DF\mathcal{D}_R/\mathcal{D}_A/\mathcal{D}_F python javascript go java rust total
paper (36/16/430; 100%) 31 (91.2%) 42 (84.0%) 30 (83.3%) 37 (82.2%) 22 (73.3%) 162
C-rand (shuffled SCTGS_{\mathrm{CTG}}; 36/16/430) 28 (82.4%) 40 (80.0%) 25 (69.4%) 33 (73.3%) 21 (70.0%) 147
72/32/430 (200% DR/DA\mathcal{D}_R/\mathcal{D}_A) 32 (94.1%) 41 (82.0%) 30 (83.3%) 31 (68.9%) 21 (70.0%) 155
18/8/430 (50% DR/DA\mathcal{D}_R/\mathcal{D}_A) 28 (82.4%) 44 (88.0%) 28 (77.8%) 36 (80.0%) 22 (73.3%) 158
9/4/430 (25% DR/DA\mathcal{D}_R/\mathcal{D}_A) 31 (91.2%) 42 (84.0%) 30 (83.3%) 35 (77.8%) 22 (73.3%) 160
36/16/107 (25% DF\mathcal{D}_F) 28 (82.4%) 41 (82.0%) 30 (83.3%) 34 (75.6%) 23 (76.7%) 156
36/16/215 (50% DF\mathcal{D}_F) 29 (85.3%) 41 (82.0%) 30 (83.3%) 37 (82.2%) 22 (73.3%) 159
36/16/860 (200% DF\mathcal{D}_F) 27 (79.4%) 39 (78.0%) 30 (83.3%) 34 (75.6%) 23 (76.7%) 153

The results suggest that modest calibration sets are sufficient over the tested range. At 25%/50%, Stage 2 obtains 160/158 pass@3 and Stage 3 obtains 156/159, compared with 162 at the paper setting. Increasing either axis to 200% does not improve pass@3 (155 and 153, respectively). C-rand obtains 147, indicating that the estimated blockwise structure is useful, while additional calibration samples provide limited benefit. Together with the redraw analysis, these results support robustness to calibration-set size once modest behavioral and format coverage is available.

The calibration results align with the observation that both CTG and GSP summaries are low-dimensional relative to the model. CTG aggregates token-level evidence into approximately 500 blockwise coefficients, while GSP retains only the leading directions shared across repeated format patterns. Their sample complexity is therefore governed by the statistics being estimated rather than the model parameter count. Consistent with this interpretation, Appendix B.3 reports Spearman correlations from 0.9906 to 0.9920 across five independent calibration redraws.

Weakness 2 & Question 2: Gains across model sizes

Our results do not indicate a general inverse relationship between model size and CRANE’s effectiveness. The apparent reduction is specific to Roo-Eval pass@1 and pass@3, where the 80B Instruct endpoint is already substantially stronger than its 30B counterpart (72.8%/87.2% vs. 46.7%/64.1%), leaving less recoverable headroom. For pass@1, CRANE recovers comparable fractions of the remaining headroom at 30B and 80B (36.6% vs. 32.0%). Moreover, this trend does not hold across metrics or benchmarks: the Roo-Eval pass_all gain is larger at 80B (+18.0 vs. +11.8 points), the SWE-bench Verified gains are comparable (+12 vs. +14 resolved instances), and the Terminal-Bench v2 pass@5 gain is identical at both scales (+7.8 points).

The current comparison also cannot isolate parameter count, since Qwen3-30B-A3B and Qwen3-Next-80B-A3B differ in both scale and architecture. Importantly, the 80B ablations show that the calibration-based components remain effective: removing the Taylor gate or GSP reduces Roo-Eval pass@1 from 81.5% to 77.4%/77.9% and pass_all from 71.3% to 63.1%/60.0%. Together with the calibration-size analysis in Weakness 1, these results provide no evidence that calibration becomes inherently less effective at larger scales.

Weakness 3 & Question 3: Stage 3 formatting robustness

We have added checkpoint- and trace-level analyses of Stage 3 (GSP). We use the Qwen3-30B and Qwen3-Next-80B runs. Roo-Eval covers 195 exercises across Python, JavaScript, Go, Java, and Rust, with three rollouts per condition under native OpenAI function calling. Terminal-Bench v2 provides an independent scaffold whose archived requests contain complete OpenAI tool specifications and JSON Schemas.

First, we count the number of occurrences where special tokens appear in the wrong place (leak) for Roo-Eval:

scale variant turns number of occurrences /1k turns exercises with a leak
30B Instruct 44,564 0.00 0/195
30B Thinking 26,727 0.41 2/195
30B CRANE τ=0.003\tau=0.003 46,824 0.06 2/195
30B CRANE 47,320 0.10 3/195
30B CRANE τ=0.3\tau=0.3 40,551 7.25 26/195
30B CRANE w/o GSP 38,180 89.10 118/195
80B Instruct 35,226 0.03 1/195
80B Thinking 20,576 1.94 14/195
80B CRANE 32,928 0.15 2/195
80B CRANE w/o GSP 34,686 3.03 17/195

The 30B protection threshold τ\tau sweep shows that the Stage 3 gate controls special tokens protection: CRANE records 0.10 occurrences per 1k turns, stronger protection gives 0.06, and weaker protection (τ=0.3\tau=0.3) raises leakage to 7.25 and exercise incidence from 3/195 to 26/195. This exercise-level pattern is not driven by repeated emissions within a few rollouts.

Next, we measure the total number of leakages by protected-token at 30B, for all the traces in Roo-Eval:

variant <|im_start|> <|im_end|> <tool_call> <tool_response>
Instruct 0 0 0 0
Thinking 0 0 11 0
CRANE τ=0.003\tau=0.003 2 1 0 0
CRANE 7 0 3 0
CRANE τ=0.3\tau=0.3 171 25 98 0
CRANE w/o GSP 2,308 5 1,089 0

Again, removing GSP from CRANE results in a very substantial increase of special tokens being misplaced within traces.

Second, Terminal-Bench v2 independently confirms that the reported CRANE checkpoint preserves the interaction protocol: leakage is 1.16/1.14 per 1k calls at 30B/80B, compared with 1.19/2.06 for Instruct.

Terminal-Bench v2 special token leakage replication:

scale variant LLM calls special token leaks leaks /1k calls
30B Instruct 16,808 20 1.19
30B Thinking 6,543 2 0.31
30B CRANE 10,588 14 1.16
30B CRANE w/o GSP 11,106 2,300 207.10
80B Instruct 9,201 19 2.06
80B Thinking 6,039 1 0.17
80B CRANE 9,655 11 1.14
80B CRANE w/o GSP 9,766 48 6.10

Third, CRANE maintains strong structured-output quality: its JSON-invalid rate is lower than both endpoints at both scales; at 30B, its schema-invalid rate (4.12) is close to Thinking (4.04) and below Instruct (10.86), while at 80B it is 2.40, below Instruct (2.78). CRANE produces only 1/0 unknown-tool errors at 30B/80B. JSON validity and tool-call specification conformance on Terminal-Bench v2:

scale variant LLM calls tool calls JSON-invalid /1k calls schema-invalid /1k tool calls unknown tool
30B Instruct 16,808 16,024 16.54 10.86 33
30B Thinking 6,543 6,181 16.96 4.04 20
30B CRANE 10,588 9,707 8.50 4.12 1
80B Instruct 9,201 8,648 4.02 2.78 1
80B Thinking 6,039 4,766 7.62 0.00 0
80B CRANE 9,655 9,151 2.90 2.40 0

Together, these results support format preservation across the tested JSON and tool-call settings. Appendix A.6 additionally provides an end-to-end successful CRANE rollout with correctly formatted tool calls and arguments.

Weakness 4: Figure rendering artifacts

We have verified that the reported artifacts occur specifically in Safari’s built-in PDF renderer on macOS; Figures 1 and 2 display correctly in Google Chrome and Adobe Acrobat. We will re-export the figures with embedded fonts and flattened transparency to improve compatibility across PDF viewers, and we will verify the revised version in multiple viewers. We will also add the missing reference to Figure 1 in the main text.

Minor: Definition of SkS^k

Here, Sk=(s1k,…,sLkk)S^k=(s_1^k,\ldots,s_{L_k}^k) denotes the output-token sequence of the kk-th sample, where LkL_k is the sequence length. We will add it to the manuscript.

Discussion: Layer-wise weight-distribution analysis

We agree that analyzing layer-wise weight changes could reveal where reasoning-related edits and format-preserving corrections are concentrated. CRANE’s blockwise CTG coefficients and Stage 3 projection energy provide natural signals for such an analysis. A systematic clustering study would require a separate interpretability evaluation and is beyond the scope of the current paper; we will highlight it as a promising direction for future work.

Authors · CommentOpenReview ↗

Following our rebuttal, which reported only the 30B calibration-size ablation, we completed the corresponding experiment on Qwen3-Next-80B-A3B. We evaluate pass@3 on the same 195-exercise Roo-Eval benchmark with three rollouts per exercise. We vary the size of one calibration set at a time while keeping the sizes of the other sets and all merge hyperparameters fixed to the paper setting.

Calibration setting Python JavaScript Go Java Rust Total
Paper checkpoint (100%) 33 (97.1%) 49 (98.0%) 33 (91.7%) 37 (82.2%) 24 (80.0%) 176
DR/DA=72/32\mathcal{D}_R/\mathcal{D}_A=72/32 (200%) 34 (100.0%) 49 (98.0%) 35 (97.2%) 34 (75.6%) 25 (83.3%) 177
DR/DA=18/8\mathcal{D}_R/\mathcal{D}_A=18/8 (50%) 32 (94.1%) 48 (96.0%) 33 (91.7%) 36 (80.0%) 26 (86.7%) 175
DR/DA=9/4\mathcal{D}_R/\mathcal{D}_A=9/4 (25%) 31 (91.2%) 48 (96.0%) 34 (94.4%) 36 (80.0%) 28 (93.3%) 177
DF=107\mathcal{D}_F=107 (25%) 31 (91.2%) 48 (96.0%) 33 (91.7%) 36 (80.0%) 29 (96.7%) 177
DF=215\mathcal{D}_F=215 (50%) 30 (88.2%) 48 (96.0%) 34 (94.4%) 36 (80.0%) 27 (90.0%) 175
DF=860\mathcal{D}_F=860 (200%) 32 (94.1%) 47 (94.0%) 33 (91.7%) 39 (86.7%) 26 (86.7%) 177

All six 80B variants obtain 175–177 pass@3, compared with 176 for the paper checkpoint. Thus, changing either calibration set from 25% to 200% does not materially affect performance. Together with the 30B results reported in our rebuttal, this supports the conclusion that CRANE is insensitive to calibration-set size across both model scales: modest calibration sets are sufficient.

Reviewer AhKk · CommentOpenReview ↗

Thank you for the additional experiments, which clarify the role of the calibration phase and the formatting capabilities.

Your hypothesis is correct: I opened the PDF using Preview on macOS.

Authors · CommentOpenReview ↗

Thank you for your positive assessment and for confirming the PDF viewer. We appreciate your feedback and are glad that the additional experiments clarified the role of calibration and the formatting capabilities. We will also address the macOS Preview rendering issue in a revised version.

Reviewer 1T9EOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper first identifies a critical failure mode in code agents: paired Thinking checkpoints often underperform their Instruct counterparts in agentic settings because they over-deliberate and violate tool-use protocols and then propose CRANE, a training-free parameter-editing method that treats the Thinking–Instruct delta as a directional pool of candidate edits for the Instruct backbone, rather than a symmetric fusion target. Evaluation shows that the merged model is evaluated on three benchmarks (Roo-Eval, SWE-bench-Verified, Terminal-Bench v2) across two scales (Qwen3-30B-A3B and Qwen3-Next-80B-A3B). CRANE achieves substantial gains while preserving or improving token efficiency

Strengths and weaknesses

Strengths

  1. Strong empirical results. The paper demonstrates consistent gains across three diverse agentic benchmarks (IDE, repository-level, terminal) and two model scales. Crucially, the gains are not purchased via token inflation; CRANE actually reduces aggregate token cost relative to the Instruct endpoint, which is rare for methods that improve reasoning.
  2. Mechanistic grounding of the editing pipeline. The GSP’s soft sigmoid projection in SVD space is a sensible design choice that avoids the brittleness of hard nullspace truncation for long-horizon agent traces.
  3. The focused problem is timely: as reasoning models are deployed as agents, the tension between deliberation and tool discipline is becoming a production bottleneck. The training-free nature is a genuine advantage for practitioners who cannot afford retraining on a proprietary agent
  4. The presentation and writing are clear and easy to follow.

Weaknesses

  1. Strong dependency on paired checkpoints from shared pretraining, which obviously limits the candidate models.
  2. Calibration cost and scalability. While claimed “training-free,” the method requires gradient computations on the full model for CTG and forward-pass SVD constructions for GSP. Seems no wall time results for larger models (only ~48 mins for 80B)
  3. Limited comparison with inference-time baselines. The paper compares only against weight-space merging baselines. It does not evaluate simpler inference-time strategies that might partially address the same problem
Questions

Q1. Inference-time control baselines. Have you evaluated inference-time methods as baselines? For example, forcing the Thinking model to emit a tool call every N tokens, or truncating its think blocks at a fixed budget before allowing tool use? If such simple heuristics recover a significant fraction of CRANE’s gain, the case for parameter editing would be weakened.

Q2. Comparison with lightweight training. The paper positions CRANE as preferable because it is “training-free.” However, for a practitioner with modest GPU resources, a few hours of LoRA fine-tuning on curated agent traces might achieve similar or better protocol-adapted reasoning. Have you compared CRANE against even a weak LoRA/distillation baseline (e.g., distilling Thinking rollouts into the Instruct model with format-aware loss masking)? If the gap is small, the practical advantage of CRANE becomes less clear.

Limitations

Yes

Final justification

I have reviewed all the rebuttals and responses by the authors. Most of my concerns are well addressed and will keep my score.

Formatting concerns

No violation of formatting

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Weakness 1: Dependency on paired checkpoints

We agree that CRANE is limited to paired Thinking/Instruct checkpoints with compatible parameterizations and a shared pretraining checkpoint. The relevant constraint is parameter alignment, not model availability. CRANE does not require officially paired releases: just checkpoints with the same architecture.

CRANE treats δ=θthink−θinst\delta = \theta_{think} - \theta_{inst} as a pool of candidate reasoning edits, so aligned parameter coordinates are necessary for the delta and its layer-wise gating and projection to be meaningful. Within this intended design, pairing also isolates reasoning-tuning differences from unrelated architectural or pretraining variation. To show that the results are not specific to a single checkpoint pair, we evaluate two architectures (full attention model and hybrid model) and scales (30B and 80B) across three benchmarks. We will revise the paper to state this applicability boundary explicitly. Extending CRANE to heterogeneous model families would require an additional representation alignment mechanism and can be an interesting direction for future work.

Weakness 2: Calibration cost and scalability

By “training-free,” we mean that CRANE does not update parameters using backpropagation (i.e., gradient descent). The endpoint weights are not changed, simply combined. Gradients on the calibration sets DRD_R and DAD_A are collected only once to construct the CTG coefficients, and GSP uses forward activations and an SVD on the calibration set DFD_F.

We agree that this one-time preprocessing has a nonzero cost, and Table 14 shows the calibration time of each stage using H100s, Taylor row means the calibration time of Stage 2, GSP means the calibration time of Stage 3.

We performed additional experiments to quantify the calibration time of each stage and end-to-end time of merging for various calibration set sizes, with results given below. We note that modest-sized calibration sets achieve comparable performance to the paper’s configuration over the tested range. Full performance details can be found in our response to Reviewer AhKk's weakness 1, whereas below here we report the computation times.

We replicate the same setup as the paper for 30B and 80B models, with the only difference that the 30B measurements use 1xH100 (the paper’s Table 14 Taylor row used 2xH100). For each model size, we measure using calibration sets of different sizes.

For Stage 2, DR/DA\mathcal{D}_R/\mathcal{D}_A contains 9/4, 18/8, 36/16, or 72/32 prompts (25%, 50%, 100%, or 200%); the 25%/50% settings use three without-replacement subsamples of the paper set, while 200% adds prompts from LiveCodeBench and BigCodeBench. For Stage 3, DF\mathcal{D}_F contains 107, 215, 430, or 860 format traces (25%, 50%, 100%, or 200%) while preserving the paper’s format composition. The 100% point is rebuilt through the same pipeline; C-rand keeps the paper-sized budgets but shuffles SCTGS_{CTG} coefficients across layers within each component. All entries report one-time preprocessing plus merging, not iterative training. An * denotes a reused paper artifact rather than recomputation in that ablation.

30B — 1xH100

stage 25% 50% 100% 200% 25% 50% 200% C-rand paper (T14)
DR/DA\mathcal{D}_R/\mathcal{D}_A, DF\mathcal{D}_F 9/4, 430 18/8, 430 36/16, 430 72/32, 430 36/16, 107 36/16, 215 36/16, 860 36/16, 430 36/16, 430
Taylor 7 min 11 min 19 min 28 min 19 min 19 min 19 min 19 min ~6 min
GSP 2.2 min* 2.2 min* 2.2 min* 2.2 min* 1.0 min 1.4 min 3.7 min 2.2 min* 3.0 min
merge 4.1 min 4.1 min 4.1 min 4.1 min 4.1 min 4.1 min 4.1 min 4.1 min ~4 min
end-to-end 13.3 min 17.3 min 25.3 min 34.3 min 24.1 min 25.5 min 26.8 min 25.3 min ~13 min

80B — 4xH100

stage 25% 50% 100% 200% 25% 50% 200% C-rand paper (T14)
DR/DA\mathcal{D}_R/\mathcal{D}_A, DF\mathcal{D}_F 9/4, 430 18/8, 430 36/16, 430 72/32, 430 36/16, 107 36/16, 215 36/16, 860 36/16, 430 36/16, 430
Taylor 12 min 19 min 27 min* 47 min 27 min* 27 min* 27 min* 27 min* 27 min
GSP 13 min* 13 min* 13 min* 13 min* 5.2 min 7.2 min 19 min 13 min* 13 min
merge 7.7 min 7.7 min 7.7 min 7.7 min 7.7 min 7.7 min 7.7 min 7.7 min 7.7 min
end-to-end 32.7 min 39.7 min 47.7 min 67.7 min 39.9 min 41.9 min 53.7 min 47.7 min ~48 min

We further test using larger models: Qwen3-235B-A22B-Instruct-2507/Thinking-2507, using the paper calibration budget only and running on 4xH100.

235B — 4xH100

stage 100%
DR/DA\mathcal{D}_R/\mathcal{D}_A, DF\mathcal{D}_F 36/16, 430
Taylor 77 min
GSP 35 min
merge 20.8 min
end-to-end 132.8 min

These results directly quantify scalability. At the paper budget, the complete 80B pipeline takes 47.7 min, and the 235B pipeline takes 132.8 min on 4xH100. Even with 200% calibration data, the 80B end-to-end cost is 67.7 min. Thus, cost grows with model and calibration set size but remains a one-time preprocessing expense without an optimization loop. Further, we still observe significant performance gain with smaller calibration sets.

We will add these complete wall-clock results in the appendix.

Weakness 3 & Question 1: Inference-time baselines

We have added four inference-time baselines on the unchanged Qwen3-30B-Thinking endpoint; no weights are modified. C1 closes the think block immediately (B=0B=0). C2a and C2b allow B=960B=960 and B=1920B=1920 thinking tokens, respectively, then inject a fixed exit phrase and close </think>. C3 caps each turn at N=512N=512 tokens and, if no tool call has been emitted, closes the think block and injects the tool-call prefix. The parameters are selected before evaluation: B=960B=960 matches CRANE's output-token retention relative to Thinking, B=1920B=1920 doubles that budget, and N=512N=512 is the rounded 95th percentile of CRANE's tokens per step. We use the same Roo-Eval harness, decoding settings, and 4xH100 serving setup. Pass@3 reported.

Row Thinking python javascript go java rust 5-lang overall
Instruct n/a 22/34 (64.7%) 37/50 (74.0%) 19/36 (52.8%) 32/45 (71.1%) 15/30 (50.0%) 125/195 (64.1%)
Thinking B=∞B=\infty 21/34 (61.8%) 27/50 (54.0%) 23/36 (63.9%) 21/45 (46.7%) 11/30 (36.7%) 103/195 (52.8%)
C1 B=0B=0 17/34 (50.0%) 30/50 (60.0%) 22/36 (61.1%) 18/45 (40.0%) 14/30 (46.7%) 101/195 (51.8%)
C2a B=960B=960 10/34 (29.4%) 16/50 (32.0%) 14/36 (38.9%) 12/45 (26.7%) 7/30 (23.3%) 59/195 (30.3%)
C2b B=1920B=1920 21/34 (61.8%) 32/50 (64.0%) 17/36 (47.2%) 21/45 (46.7%) 15/30 (50.0%) 106/195 (54.4%)
C3 N=512N=512 19/34 (55.9%) 31/50 (62.0%) 18/36 (50.0%) 21/45 (46.7%) 12/30 (40.0%) 101/195 (51.8%)
CRANE n/a 31/34 (91.2%) 42/50 (84.0%) 30/36 (83.3%) 37/45 (82.2%) 22/30 (73.3%) 162/195 (83.1%)

The tested baselines recover little of CRANE's gain. The strongest controlled result, C2b, reaches only three exercises above uncapped Thinking and below Instruct. Relative to CRANE's 59-exercise improvement over Thinking, this recovers 3/59=5.1%3/59=5.1\% of the gap. These results suggest that fixed reasoning truncation or forced tool-call timing does not explain CRANE's improvement; more sophisticated adaptive controllers remain a complementary direction. We will update these tables in our paper’s appendix.

Question 2: Comparison with lightweight training

We added three QLoRA [1] distillation baselines initialized from Qwen3-30B-Instruct. Under the rebuttal-time budget, each model uses an approximately 800-example per-turn dataset (about 760 training samples after a 5% validation split), NF4 QLoRA with rank 32, α=64\alpha=64, three epochs, and a learning rate of 10−410^{-4}. keepthink and stripthink distill passed Thinking rollouts with the reasoning trace retained or removed, respectively; self-direct distills direct passed Instruct rollouts. Training costs 7.7–10.1 GPU-hours per model, excluding rollout generation and evaluation. The adapters are merged into bf16 checkpoints, evaluated on Roo Eval. We report Pass@3.

Model python javascript go java rust 5-lang overall
Instruct (ref) 22/34 (64.7%) 37/50 (74.0%) 19/36 (52.8%) 32/45 (71.1%) 15/30 (50.0%) 125/195 (64.1%)
Thinking (ref) 21/34 (61.8%) 27/50 (54.0%) 23/36 (63.9%) 21/45 (46.7%) 11/30 (36.7%) 103/195 (52.8%)
CRANE (ref) 31/34 (91.2%) 42/50 (84.0%) 30/36 (83.3%) 37/45 (82.2%) 22/30 (73.3%) 162/195 (83.1%)
keepthink-v2 16/34 (47.1%) 28/50 (56.0%) 14/36 (38.9%) 26/45 (57.8%) 11/30 (36.7%) 95/195 (48.7%)
stripthink-v2 16/34 (47.1%) 24/50 (48.0%) 11/36 (30.6%) 20/45 (44.4%) 6/30 (20.0%) 77/195 (39.5%)
self-direct 23/34 (67.6%) 37/50 (74.0%) 20/36 (55.6%) 30/45 (66.7%) 14/30 (46.7%) 124/195 (63.6%)

These results clarify why lightweight distillation is not competitive in this setting. On Roo-Eval, the Thinking teacher is weaker than the Instruct model. Using the stronger Instruct model as its own teacher controls for teacher quality, but self-distillation essentially matches rather than improves the Instruct baseline. In comparison, CRANE improves over Instruct and self-distillation by 19.0 and 19.5 percentage points, respectively. Thus, under the tested approximately 9-GPU-hour/model training budget, lightweight QLoRA distillation does not recover CRANE's gain.

We will add this comparison and note that more extensive distillation remains a complementary direction.

Reference

[1] QLoRA: Efficient Finetuning of Quantized LLMs

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…