English

Improving Role Consistency in Multi-Agent Collaboration via Quantitative Role Clarity

Artificial Intelligence 2026-04-06 v1

Abstract

In large language model (LLM)-driven multi-agent systems, disobey role specification (failure to adhere to the defined responsibilities and constraints of an assigned role, potentially leading to an agent behaving like another) is a major failure mode \cite{DBLP:journals/corr/abs-2503-13657}. To address this issue, in the present paper, we propose a quantitative role clarity to improve role consistency. Firstly, we construct a role assignment matrix S(ϕ)=[sij(ϕ)]S(\phi)=[s_{ij}(\phi)], where sij(ϕ)s_{ij}(\phi) is the semantic similarity between the ii-th agent's behavior trajectory and the jj-th agent's role description. Then we define role clarity matrix M(ϕ)M(\phi) as softmax(S(ϕ))I\text{softmax}(S(\phi))-I, where softmax(S(ϕ))\text{softmax}(S(\phi)) is a row-wise softmax of S(ϕ)S(\phi) and II is the identity matrix. The Frobenius norm of M(ϕ)M(\phi) quantifies the alignment between agents' role descriptions and their behaviors trajectory. Moreover, we employ the role clarity matrix as a regularizer during lightweight fine-tuning to improve role consistency, thereby improving end-to-end task performance. Experiments on the ChatDev multi-agent system show that our method substantially improves role consistency and task performance: with Qwen and Llama, the role overstepping rate decreases from 46.4%46.4\% to 8.4%8.4\% and from 43.4%43.4\% to 0.2%0.2\%, respectively, and the role clarity score increases from 0.53280.5328 to 0.90970.9097 and from 0.50070.5007 to 0.85300.8530, respectively, the task success rate increases from 0.67690.6769 to 0.69090.6909 and from 0.61740.6174 to 0.67630.6763, respectively.

Keywords

Cite

@article{arxiv.2604.02770,
  title  = {Improving Role Consistency in Multi-Agent Collaboration via Quantitative Role Clarity},
  author = {Guoling Zhou and Wenpei Han and Fengqin Yang and Li Wang and Yingcong Zhou and Zhiguo Fu},
  journal= {arXiv preprint arXiv:2604.02770},
  year   = {2026}
}
R2 v1 2026-07-01T11:52:26.157Z