Manuscript Offprint

arXiv:2608.27338

One Model, Many Minds: Unlocking Multi-Agent Synergy in a Single Agent via Mixture of Roles

Zhichen Zeng, Huiyuan Chen, Jingru Cheng, Juan Zha, Ming Liu, Ying Chen, Xiyuan Yang, Chaosheng Dong, Haiyang Zhang, Hanghang Tong

Abstract

Specializing Large Language Models (LLMs) toward distinct abilities underpins successes ranging from personalized assistants to multi-agent systems (MAS). Single-agent paradigms rely on pre-defined personas or steering vectors to induce specialization, yet they impose a single fixed specialization that fails to adapt to diverse queries. Conversely, MAS achieves dynamic multi-perspective problem solving by orchestrating agents with distinct text-based roles, but fusing these specializations requires multi-turn interactions that inflate context length and inference cost. To address these limitations, we propose Mixture of Roles (MoRe), which adaptively composes multiple specializations into a single steering vector for single-turn inference. Specifically, MoRe learns a diversified codebook of steering vectors, each of which encodes a latent role. A query-aware router dynamically fuses the codebook into a steering vector that encompasses multiple roles. By steering the backbone LLM with the composed vector, MoRe enables multi-perspective specialization in a single-agent, single-turn inference process. The proposed MoRe can be efficiently trained via a three-stage SFT curriculum and GRPO post-training, while the backbone LLM remains frozen. Experiments across reasoning and personality benchmarks show that MoRe outperforms single-agent baselines by 2.2% on average, and achieves performance on par with MAS while reducing token cost by 20×.

1 Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities across diverse natural language tasks (Achiam et al., 2023; Grattafori et al., 2024; Comanici et al., 2025; Guo et al., 2025). Beyond general-purpose competence, recent studies show that LLMs benefit substantially from being specialized toward distinct behaviors, cognitive modes, or expert roles (Chen et al., 2025b; Wei et al., 2026c; Sun et al., 2025). Conditioning a model on a specialization elicits targeted expertise and reasoning styles that a generic prompt fails to evoke, powering applications from role-conditioned reasoning to personalized assistance.

The single-agent paradigm induces LLM specialization primarily through explicit role-playing (Chen et al., 2024a; Shanahan et al., 2023; Shao et al., 2023) or implicit activation steering (Turner et al., 2024; Li et al., 2023b). Specifically, role-playing assigns textual role descriptions, whereas activation steering directly injects a pre-computed steering vector into the hidden layers to elicit targeted behaviors. While computationally efficient, both approaches rely on predefined specializations, i.e., textual personas or pre-computed steering vectors, that enforce a single static perspective (Wei et al., 2026c; Sun et al., 2025). Consequently, the single-agent paradigms lack the capacity for query-specific adaptivity or multi-perspective reasoning.

In contrast, multi-agent systems (MAS) dynamically integrate multi-perspective specialization via multi-turn interactions (Liang et al., 2024; Du et al., 2023; Liu et al., 2024c; Wu et al., 2023). By instantiating agents with distinct roles via explicit text-based prompts across agents, agents exchange and refine their perspectives over multi-turn interactions. Yet this superiority comes at a steep price: MAS involve multiple agents and multi-turn interactions that induces heavy computation and long context (Kim et al., 2025; Tran and Kiela, 2026).

The two paradigms thus present a dilemma between computational cost and reasoning capability. As the example shown in Figure 1, we are required to solve a complex task that requires mathematical derivation, algorithmic coding, and rigorous testing. A single agent with the fixed mathematician specialization may fall short on the remaining capabilities. Conversely, MAS allows agents with different specializations to collaborate, but the collaboration pipeline requires multi-turn inference

Figure

Figure 1: Comparison between single agent, MAS and MoRe. MoRe achieves dynamic multi-perspective specialization within single-turn inference, outperforming single-agent methods while achieving higher efficiency than MAS.

with high computation. Therefore, we ask the following research question:

Can a single agent acquire dynamic multi-perspective specialization within single-turn inference?

To answer this question, we introduce Mixture of Roles (MoRe) to dynamically compose multiple roles into a single steering vector for single-turn inference. To move beyond static steering, MoRe parameterizes steering vectors into a learnable codebook, where each entry corresponds to a candidate specialization optimized end-to-end. A lightweight router selects and combines these candidates into a query-specific composed steering vector. By steering with the composed vector, we equip the single agent with a dynamic multi-perspective specialization, eliminating the textual communication overhead of MAS entirely. Our proposed MoRe is a lightweight module that can be efficiently trained via a three-stage SFT and GRPO post-training with the backbone LLM completely frozen.

Our contributions are summarized as follows:

• Framework. We enable dynamic multi-perspective specialization within single-agent inference by replacing multi-turn textual coordination with activation-space composition.

• Method. We propose a lightweight module named MoRe to generate query-specific steering vectors with minimal computational overhead. MoRe is efficiently trained via curriculum SFT followed by GRPO post-training with the backbone LLM entirely frozen.

• Evaluation. Extensive experiments show that MoRe outperforms single-agent specialization baselines by 2.2% on average and achieves performance competitive with MAS baselines while reducing the cost cost by 20×20\times.

References (26)