Abstract
In multi-agent systems, initial task allocations are often suboptimal due to complex synergies between tasks. This paper presents a distributed algorithm for cooperative agents to exchange assigned tasks through K-swaps—a generalized contract framework for multi-lateral task exchanges. By constructing and communicating profitable partial swaps, agents can significantly reduce total team cost. Empirical evaluations on multi-agent routing problems demonstrate that even small values of $K$ (e.g., $K=2, 3$) allow the system to converge toward near-optimal solutions, regardless of the initial allocation method.
Introduction
Efficient task allocation is critical for multi-agent systems such as drone swarms or robotic delivery fleets. While initial assignments are typically handled by auction-based or greedy algorithms, these often fail to account for task synergies—where the cost of performing a set of tasks is less than the sum of individual costs. Post-allocation negotiation allows agents to refine these assignments. However, most existing negotiation frameworks are limited to simple one-to-one swaps or require centralized control. We introduce K-swaps to enable complex, multi-lateral task exchanges in a distributed, cooperative environment.
The K-Swap Framework
A K-swap is defined as a contract involving multiple task exchanges among multiple agents. It generalizes simpler contracts like O-contracts (single task transfers) and standard swaps.
Distributed Algorithm
The proposed algorithm enables agents to find cost-reducing K-swaps through synchronous rounds of local computation and communication:
- Partial Swaps: Agents locally construct "partial" swaps where some tasks are temporarily unassigned to a destination.
- Combination: A
combineoperation merges partial swaps into "complete" swaps where every task has a new owner. - Communication Efficiency: To avoid message explosion, agents only share profitable swaps. A "core agent" logic is employed to ensure each unique swap is managed by only one agent, preventing redundancy.
Two search strategies are explored: GREEDY, which selects the swap with the highest immediate cost reduction, and ROLLOUT, which uses a look-ahead approach to optimize long-term cost reduction.
Experimental Evaluation
The K-swap algorithm was evaluated using Multi-Agent Routing Problems on grid maps simulating office environments with obstacles.
The experiments involved configurations ranging from 2 agents with 6 targets to 10 agents with 40 targets. K-swaps were applied as a post-processing step to four initial allocation baselines: Randomized Allocation, SSI Auctions, Auctions with Regret Clearing, and Sequential Bundle-Bid Auctions.
Key Results
The results demonstrate that K-swaps significantly improve initial allocations. As shown in the performance data, applying 2-swaps or 3-swaps brings the total team cost very close to the theoretical minimum.
Key observations include:
- Convergence: Regardless of the quality of the initial allocation, K-swaps drive the team cost toward the same near-optimal values.
- The Power of Small $K$: Most of the inefficiency is eliminated with $K=2$ or $K=3$.
- Strategy Trade-offs: The GREEDY strategy offers a superior balance of performance and computational speed, making it suitable for real-time applications, while ROLLOUT provides marginal cost improvements at a higher temporal cost.
Conclusion
K-swaps provide a robust, distributed framework for multi-agent task re-allocation. By enabling multi-lateral exchanges, the system can overcome the limitations of initial greedy or auction-based assignments. Future work will focus on adapting the algorithm for dynamic environments where tasks appear asynchronously and improving resilience to unreliable communication networks.
Summary updated