Introduction
In multi-agent systems (MAS)—ranging from autonomous warehouse fleets to search-and-rescue drone swarms—the coordination of task allocation is a fundamental challenge known as the goal assignment problem. The objective is to assign agents to specific targets such that the total time required for all agents to complete their tasks, known as the makespan, is minimized.
Traditionally, this problem is solved through two paradigms: centralized and decentralized. Centralized systems utilize a single controller to compute optimal assignments, but they are vulnerable to communication failures and scale poorly. Decentralized systems allow agents to make local decisions, offering high scalability and robustness; however, they often rely on "greedy" heuristics where agents simply choose the nearest goal. This local optimization frequently leads to global inefficiencies, such as multiple agents crowding a single area or leaving distant goals for the last remaining agent, thereby increasing the makespan.
This research investigates whether Large Language Models (LLMs) can act as sophisticated decentralized decision-makers. By leveraging the reasoning capabilities of models like GPT-4.1, the authors aim to achieve near-optimal coordination without the need for a central controller.
Methodology
The researchers developed a decentralized protocol where each agent is powered by an independent LLM instance. The agents operate within a $20 \times 20$ grid-world environment containing obstacles, agents, and goals.
Structured Reasoning and Prompting
To facilitate effective decision-making, the study employed Chain-of-Thought (CoT) prompting. Rather than simply requesting a goal selection, the prompt guides the LLM through a multi-step logical process:
- Goal Identification: List all active goals in the environment.
- Proximity Estimation: Evaluate which agents are best positioned for specific goals.
- Team-Wide Drafting: Propose a full assignment for the entire team.
- Optimization: Calculate the estimated makespan and attempt to re-rank assignments to reduce the bottleneck.
Information Representation
Agents were provided with different data formats to test their spatial reasoning:
- Visual Inputs: Labeled images of the grid map.
- Textual Data: Coordinate lists for all entities.
- Distance Tables: Explicitly calculated path distances between all agents and goals.
Conflict Resolution
To maintain decentralization, agents do not engage in iterative negotiation. Instead, they announce their ranked preferences simultaneously. Conflicts (e.g., two agents selecting the same goal) are resolved using a pre-defined priority rule based on agent ID.
Experimental Setup
The approach was evaluated using a benchmark of 100 randomly generated scenarios. These scenarios varied in complexity, featuring 2 to 6 agents and goals, with 15 to 30 obstacles strategically placed to create bottlenecks. The LLM-based agents (GPT-4.1 and LLaVA) were compared against three baselines:
- Centralized Optimal: A solver with global knowledge.
- Greedy Heuristic: Agents always choose the nearest available goal.
- Random Assignment: Agents are assigned goals without logic.
Key Insights and Results
The Superiority of Logic over Heuristics
GPT-4.1 demonstrated a remarkable ability to prioritize team efficiency over individual proximity. In many cases, the LLM recognized that by choosing a slightly further goal, it allowed a teammate to finish their task much sooner, thereby reducing the overall makespan.
The Role of Explicit Data
One of the most significant findings was the LLM's reliance on structured data. While LLMs are proficient at logic, they struggle with raw spatial math (e.g., calculating Manhattan distances from coordinates). When provided with an explicit distance table, GPT-4.1's performance improved drastically, achieving a makespan of 15.12, which is nearly identical to the centralized optimal of 13.93.
Vision vs. Textual Reasoning
Interestingly, the vision-language model LLaVA performed poorly, even failing to beat random assignment in some metrics. It exhibited "jittery" decision-making, frequently changing its strategy in ways that disrupted team coordination. This suggests that current vision-based LLMs may lack the consistency required for complex multi-agent planning.
Comparative Performance
| Method | Average Makespan |
|---|---|
| Centralized Optimal | 13.93 |
| GPT-4.1 (with Distance Table) | 15.12 |
| Greedy Heuristic | 17.93 |
| Random Assignment | 20.54 |
| LLaVA (Vision-based) | 27.98 |
Limitations and Future Directions
While the study proves that LLMs can effectively solve goal assignment problems, several hurdles remain for real-world deployment:
- Scalability: The current study was limited to 6 agents. As the number of agents increases, the complexity of the prompt and the required context window will grow significantly.
- Latency and Cost: Relying on cloud-based LLMs for every decision step is currently too slow for high-speed robotics and carries high operational costs.
- Dynamic Environments: The experiments focused on static grids. Future research must address dynamic obstacles and moving targets.
- Observability: The agents currently operate with "perfect knowledge" of the map. Transitioning to partial observability—where agents only see their immediate surroundings—will be a critical next step for practical applications.
Conclusion
This research demonstrates that LLMs can transcend simple greedy heuristics in decentralized systems. By providing models with structured distance data and guiding their reasoning through Chain-of-Thought prompting, it is possible to achieve near-optimal multi-agent coordination without a central controller. This opens a new frontier for using foundation models as the "reasoning engine" for autonomous robotic teams.
Summary updated