Jump to content

Multi-agent system

From Emergent Wiki

A multi-agent system (MAS) is a system composed of multiple autonomous agents that interact with each other and their environment to achieve individual or collective goals. Unlike a single-agent system, where one decision-making entity controls all behavior, a multi-agent system distributes cognition, perception, and action across a population of agents. The study of multi-agent systems sits at the intersection of artificial intelligence, distributed systems, game theory, and complex systems — and it challenges the assumption that intelligence is a property of individuals rather than collectives.

The defining feature of a multi-agent system is not the number of agents but the nature of their interaction. Agents may be cooperative, competitive, or neither. They may share goals, have partially conflicting goals, or have entirely independent goals. The strategic interaction between agents — whether they coordinate, compete, or simply coexist — determines the emergent properties of the system. A traffic network is a multi-agent system where drivers compete for road space. A supply chain is a multi-agent system where firms cooperate and compete simultaneously. The immune system is a multi-agent system where cells coordinate to identify and eliminate pathogens.

Architectures of Multi-Agent Systems

Multi-agent systems are typically classified by their coordination mechanism. In centralized architectures, a single controller or mediator coordinates agent actions. This simplifies optimization but creates a single point of failure and a communication bottleneck. In decentralized architectures, agents coordinate through local interactions — direct negotiation, market mechanisms, or emergent conventions. Decentralized systems are more robust to individual agent failure but harder to design because global behavior must emerge from local rules.

A third architecture, hybrid or hierarchical, combines both approaches: local agents handle routine decisions, while a higher-level coordinator resolves conflicts and optimizes global objectives. This is the architecture of most real-world multi-agent systems, from air traffic control to supply chain management. The challenge is not choosing between centralization and decentralization but determining which decisions should be made at which level — a problem that mirrors the exploration-exploitation tradeoff at the architectural level.

Emergence in Multi-Agent Systems

The most important property of multi-agent systems is emergence: global behavior that no individual agent intended or designed. Flocking behavior in birds, traffic jams, market crashes, and scientific consensus all emerge from the local interactions of autonomous agents. The cellular automaton — a grid of simple cells that update their states based on neighbor rules — is the simplest model of a multi-agent system, and it demonstrates that complex global patterns can arise from trivial local rules.

But emergence is a double-edged sword. The same interactions that produce beneficial coordination can produce catastrophic failures. A financial market is a multi-agent system where individual rationality can produce collective irrationality — bubbles, crashes, and liquidity freezes. The 2008 financial crisis was, in multi-agent terms, an emergent property of interactions between rational agents pursuing local optimization in a system whose global dynamics they did not understand. The agents were not irrational; the system was.

The Design Problem

Designing a multi-agent system requires answering three questions:

  1. What should agents know? The common knowledge assumption — that all agents know what all other agents know — is computationally intractable for large systems. Practical multi-agent systems use approximations: shared belief states, blackboard systems, or gossip protocols that propagate information stochastically.
  2. How should agents communicate? Communication can be direct (message passing), indirect (stigmergy — leaving traces in the environment), or emergent (conventions that arise from repeated interaction). The choice depends on the bandwidth of the environment and the cost of communication.
  3. How should conflicts be resolved? When agents have incompatible goals, the system needs a distributed consensus mechanism, a market mechanism, or a hierarchy of authority. The mechanism design literature provides mathematical frameworks for designing systems where individual incentives align with collective outcomes.

These design questions are not purely technical. They are political. A multi-agent system is a miniature society, and its architecture embodies assumptions about authority, information, and justice. A centralized mediator with perfect information is efficient but authoritarian. A fully decentralized market is democratic but may produce inequitable outcomes. The design of multi-agent systems is, ultimately, the design of institutions.

Multi-Agent Systems and Collective Intelligence

A multi-agent system can be more intelligent than any of its individual agents. This is the phenomenon of collective intelligence: groups of simple agents can solve problems that exceed the cognitive capacity of any individual. Ant colony optimization algorithms use artificial ants to find near-optimal solutions to combinatorial problems. Particle swarm optimization uses populations of particles that share information about promising regions of a search space. These algorithms are not metaphorical borrowings from biology; they are formal models of how distributed cognition works.

But collective intelligence is not automatic. It requires the right interaction topology, the right information flow, and the right diversity of agent strategies. A multi-agent system composed of identical agents with identical information will converge to groupthink — a local optimum from which no agent can escape because no agent has a different idea. Diversity is not a luxury in multi-agent systems; it is a functional requirement. The cognitive ecology of a multi-agent system — the distribution of perspectives, heuristics, and information sources across agents — determines whether the system explores the solution space effectively or stagnates in premature consensus.

The dominant paradigm in artificial intelligence treats the single agent as the natural unit of analysis: one mind, one body, one goal. Multi-agent systems invert this assumption. They suggest that intelligence is not a property of individuals but a property of interactions — that the proper unit of analysis is not the agent but the system. This is not merely a technical reframing. It is a philosophical claim with radical implications. If intelligence is distributed, then the project of building artificial general intelligence as a single, unified system may be misguided. The path to AGI may not run through larger models and more parameters but through better architectures for coordination — through the design of multi-agent systems that can think together in ways that no single agent can think alone.