Abstract
Multi-agent systems (MAS) often struggle with static orchestration, failing to adapt to the stochastic nature of Large Language Model (LLM) outputs. We present SELFORG, a decentralized framework that dynamically organizes agents into optimal communication structures on-the-fly. By approximating Shapley values through response embeddings, SELFORG identifies high-quality contributions to amplify signal and suppress noise. Our results demonstrate significant performance gains, particularly for smaller models, across diverse reasoning benchmarks.
Introduction
The promise of multi-agent systems lies in collaborative problem-solving. However, determining the optimal communication topology—who should talk to whom—remains a challenge. Existing methods typically rely on fixed structures (e.g., chains or trees) or centralized "manager" agents. These approaches are often brittle; an agent might provide a brilliant insight for one query but hallucinate on the next. Fixed graphs cannot adapt to this per-instance variance, and centralized judges introduce significant latency and cost.
The SELFORG Framework
SELFORG addresses these limitations by constructing a response-conditioned communication graph dynamically. The framework operates in four distinct stages:
- Decentralized Initialization: All agents independently generate an initial response to a user query. These responses are converted into vector embeddings using a lightweight model (e.g., MiniLM).
- Contribution Estimation: To identify leading agents without expensive LLM judging, SELFORG uses a Shapley-value-inspired utility. It approximates the contribution by measuring the cosine similarity between an agent’s response embedding and the collective centroid of all responses. This leverages the "correctness cluster" phenomenon, where correct responses tend to cluster while errors are scattered.
- Dynamic DAG Formation: A Directed Acyclic Graph (DAG) is constructed where edges represent information flow. Edges flow from high-contribution agents to lower-contribution ones, specifically between semantically similar responses. If a cycle is detected, the edge from the weaker contributor is pruned.
- Iterative Refinement: Downstream agents refine their answers based on upstream inputs. The final output is the response closest to the contribution-weighted centroid of the final embeddings.
Experimental Results
SELFORG was evaluated on a wide range of benchmarks, including MATH, GSM8K, GPQA, and HumanEval, using models ranging from Qwen-2.5 (1.5B) to LLaMA-3.3.
Key Findings
- Performance Gains: On the Qwen-1.5B backbone, SELFORG achieved 45.05% average accuracy, outperforming non-collaborative baselines by nearly 4 percentage points.
- Robustness in the Weak Regime: The framework is most effective when using smaller models (e.g., 1.5B parameters), where traditional MAS often fail due to noise. SELFORG's ranking mechanism effectively filters this noise.
- Dynamic Leadership: Leadership emerges naturally. If a specific agent (e.g., an "Economist" persona) provides the best reasoning for a particular math problem, the graph automatically reorganizes to make that agent the source of truth for that instance.
Conclusion
SELFORG demonstrates that decentralized, stochastic self-organization can significantly enhance the reasoning capabilities of LLM agent collectives. By moving away from fixed topologies and centralized managers toward response-conditioned graphs, we can build more robust and efficient multi-agent systems.
Summary updated