Search papers, labs, and topics across Lattice.
This paper investigates the use of native Mixture of Experts (MoE) router traces to enhance test-time scaling for software-engineering agents, enabling them to navigate complex tool-use trajectories more effectively. By leveraging routing signals for steering and selection, the proposed method, Risa, facilitates diverse exploration and controlled convergence during patch commitment, ultimately improving the resolution rate of software fixes. The results demonstrate a significant increase in the resolved rate from 44.9% to 48.2% through routing arbitration, achieving performance comparable to text consensus without relying on answer-string matching.
Routing-guided exploration boosts software fix resolution rates by nearly 8%, outperforming traditional sampling methods without needing explicit answer forms.
Software-engineering agents solve repository-level tasks through long, stochastic tool-use trajectories, and repeated attempts often find fixes missed by one run. Test-time scaling is difficult because patches lack canonical answer forms, while sibling actions from a shared prefix are correlated. We study whether native MoE router traces can guide steering and selection without an external judge or selection-time test execution. Our analysis shows that routing provides a robust behavioral role signal; token-granular readouts and decision-matched comparison sets turn it into effective control. We therefore introduce Risa (Routing-Informed Steering and Arbitration): within trajectories, routing encourages diverse exploration and controlled convergence during patch commitment; across separately sampled trajectories, agreement at informative patch positions selects a final candidate. We evaluate on SWE-bench Verified using open-weight sparse MoE agents across scales and reasoning-effort settings. Risa's routing arbitration raises the macro-average resolved rate from 44.9% under uniform sampling to 48.2% on the gpt-oss family, matching text consensus without answer-string matching, and it transfers to Qwen3.6, where it improves on uniform choice and matches text consensus on the full 500-task benchmark.