- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 4
Read review
Summary
The paper proposes M2A, a training-free model merging method for transferring mathematical reasoning ability into a coding agent while preserving the agent's think-act-observe behavior. The key idea is to identify an agent-critical behavior subspace from special transition markers and project the mathematical reasoning task vector into the null space of that subspace before layer-wise merging. The main evaluation is on SWE-Bench Verified using a Qwen3-8B-based agent.
Strengths and weaknesses
Strengths
- The problem is timely and well motivated: naive multi-task SFT and naive merging can increase reasoning length while harming interactive agent behavior.
- The method is conceptually neat: behavior-marker calibration plus null-space projection gives a plausible mechanism for preserving interaction patterns.
- The main result is strong in its setting: 44.0% to 51.2% resolved rate on SWE-Bench Verified, with ablations showing drops when removing mask, calibration, or null projection.
- The trajectory-level analysis is useful; it supports the claim that M2A changes when the agent reasons and acts, not merely total reasoning length.
- The appendix gives useful implementation and evaluation details, including OpenHands setup, hyperparameters, and calibration set/window ablations.
Weaknesses
- The empirical scope is narrow for the strength of the claim. The core result is one base model family, one agent task domain, and one main benchmark.
- The method depends on specific behavior markers such as think/tool-call delimiters. It is not fully clear how robust the approach is across different chat templates, tool APIs, or agent frameworks.
- The calibration data are agent trajectories from the same style of agent. More analysis is needed on whether M2A generalizes to different trajectory distributions.
- The merge-strength “control knob” is interesting, but it relies on empirical tuning. The choice of calibration trajectories, marker set, window radius, layer mask, and beta may all affect the degree of preservation versus reasoning transfer. I conern that this would make this method hard to tune.
Questions
- How sensitive is M2A to the exact choice of behavior markers and to agent frameworks that do not expose explicit think/tool delimiters?
- Does the method still improve performance on non-coding agent benchmarks, or on coding agent tasks outside SWE-Bench Verified?
- Can the authors report results with a second base model family or a different agent scaffold?
- Are the 100 calibration trajectories disjoint from all evaluation instances and from related issue repositories?
Limitations
A key limitation is that M2A’s behavior preservation depends on the quality of the estimated agent-critical subspace. The paper estimates this subspace from hidden states around a small set of behavior markers such as thinking and tool-call delimiters. This is reasonable for the authors’ agent format, but may not capture all directions that govern agentic behavior, especially in frameworks with different prompting styles, implicit tool use, or less structured interaction traces. Conversely, some useful mathematical reasoning directions may overlap with the protected subspace and be removed by the null-space projection.
The empirical validation is also relatively narrow. The main controlled results are on one Qwen3-8B-based agent, one OpenHands-style scaffold, and SWE-Bench Verified. It remains unclear whether the same projection strategy transfers to other agent environments, non-coding tasks, different tool APIs, or larger/different model families. The method also involves several design choices, including marker selection, calibration trajectories, window radius, layer mask, and merge strength beta; although the paper includes some ablations, a more principled selection criterion would strengthen the work.
Paper formatting concerns
No formating concerns.
Response to Reviewer bJz5
Thank you for the thoughtful and constructive review. We especially appreciate your recognition of the paper’s motivation, strong empirical results, and trajectory-level analysis, as well as your valuable suggestions on generalization and robustness. We added experiments to examine the dependence of M2A on behavior markers, agent frameworks, model families, and evaluation domains.
Q1. Sensitivity to behavior markers
M2A is not tied to specific delimiter tokens; it only requires identifiable boundaries between reasoning, action, and environment feedback.
<think>,#Thought,<function_call>, or an XML tag. Even when a framework does not use special delimiters, ordinary text or turn boundaries separating reasoning, actions, and observations can serve as behavior markers. n our original experiments, we use Qwen3-8B’s native tool-calling format with<think>,</think>,<tool_call>, and</tool_call>. For Llama-3.1-8B, which does not support native tool calling, we instead adopt an XML-style function format, using<think>,</think>,<function=>, and</function>.With this different marker format, M2A still improves the SWE score by 5.4 percentage points, while keeping interaction steps nearly unchanged. This suggests that the method is not sensitive to one specific set of delimiter tokens.
<think>delimiters, the same procedure can use tool-call boundaries and assistant–environment turn transitions.Q2. Generalization to non-coding agent benchmarks
M2A also improves performance on non-coding agent benchmarks.
We evaluated M2A on BFCL V4 for agentic function calling and GAIA for general agent question answering.
M2A improves performance by 2.34 points on BFCL V4 and 5.46 points on GAIA. These results show that its benefits extend beyond coding tasks to general agent scenarios involving function calling, tool use, and multi-step question answering. M2A can generalize beyond coding agents to general-domain agent tasks.
Q3. Generalization to another model family and agent scaffold
M2A generalizes to both a second model family and different agent scaffolds.
For model-family generalization, we trained Agent-8B-Llama3.1 from Llama-3.1-8B using the same training data as Agent-8B.
M2A improves the SWE score by 5.4 percentage points, while keeping the average interaction steps nearly unchanged. This confirms that M2A is effective beyond the Qwen3 model family.
For scaffold generalization, we directly evaluated the Agent-8B and M2A models trained and calibrated with OpenHands on Mini-SWE-Agent and R2E, without scaffold-specific retraining or recalibration. Both scaffolds differ from OpenHands in their tool definitions, tool-call formats, and interaction protocols.
Without scaffold-specific adaptation, M2A improves the SWE score by 3.8 points on Mini-SWE-Agent and 3.2 points on R2E. These results show that M2A is not tied to the OpenHands tool format or interaction protocol.We will include the full results and experimental details in the revision.
Q4. Calibration data and disjointness
The calibration data are disjoint from the evaluation instances and trajectories, as stated in Appendix B.1. The instances come from the open-source dataset Scale-SWE. All of our code and data will be made publicly available.