ARM: Role-Conditioned Neuron Transplantation for Training-Free Generalist LLM Agent Merging
Zhuoka Feng, Kang Chen, Sihan Zhao, Kai Xiong, Yaoning Wang, Minshen Yu, Junjie Nian, Changyi Xiao, Yixin Cao, Yugang Jiang
TL;DR
ARM tackles the challenge of cross-environment robustness in interactive LLM agents by providing a training-free merging workflow. It constructs a pool of merged backbones, selects a strong initialization using Activation-Overlap Score based on role-conditioned activations, and then performs conflict-aware, localized neuron transplantation to repair remaining gaps. The method achieves superior generalist performance and improved worst-case robustness across multiple Qwen-based expert pools and benchmarks, while maintaining efficient, gradient-free operation. This approach enables practical deployment of generalist agents without expensive retraining or extensive task coverage, by explicitly preserving and repairing role-critical circuits.
Abstract
Interactive large language model agents have advanced rapidly, but most remain specialized to a single environment and fail to adapt robustly to other environments. Model merging offers a training-free alternative by integrating multiple experts into a single model. In this paper, we propose Agent-Role Merging (ARM), an activation-guided, role-conditioned neuron transplantation method for model merging in LLM agents. ARM improves existing merging methods from static natural language tasks to multi-turn agent scenarios, and over the generalization ability across various interactive environments. This is achieved with a well designed 3-step framework: 1) constructing merged backbones, 2) selection based on its role-conditioned activation analysis, and 3) neuron transplantation for fine-grained refinements. Without gradient-based optimization, ARM improves cross-benchmark generalization while enjoying efficiency. Across diverse domains, the model obtained via ARM merging outperforms prior model merging methods and domain-specific expert models, while demonstrating strong out-of-domain generalization.
