Roles with Rails: Contract-Preserving Role Evolution in Multi-Agent Structured Reasoning

Ling-Yue Ge, Lan-Zhe Guo
5/27/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Role-based LLM multi-agent systems need adaptive role pools, yet adapting such systems is not merely a matter of prompt optimization: roles often carry structural obligations, including capability coverage, message compatibility, validation, final-answer aggregation, and parser-compatible output protocols. Existing systems either fix the role inventory and lose adaptivity, or allow unconstrained generation to induce role drift, removing structurally necessary roles and breaking answer contracts.

Show full abstract

We formulate this as contract-preserving role evolution, requiring every committed edit to preserve five structural contracts (capability, communication, validation, aggregation, output protocol). We instantiate this formulation in SERO, a Self-Evolving Role Orchestration framework that evolves a typed role-card pool through credit-guided retrieval, a credit-ranked communication DAG with a protected terminal aggregator and conditional validator repair, and a contextual-bandit controller whose LLM-proposed edits are committed only when they preserve the contracts and improve task score. Experiments on real-world reasoning benchmarks across three LLM backbones confirm the value of contract-preserving role evolution.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ge2026roles,
  title  = {Roles with Rails: Contract-Preserving Role Evolution in Multi-Agent Structured Reasoning},
  author = {Ling-Yue Ge and Lan-Zhe Guo},
  year   = {2026},
  eprint = {2605.28433},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.28433v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.28433.svg)](https://codeofpaper.com/paper/2605.28433)

Discussion