TL;DR
Grouping autonomous agents into optimal teams is a classic combinatorial nightmare that usually relies on algorithms with rigid, hand-tuned rules. This paper introduces SEFAR, the first algorithm that automatically configures itself offline to find the fastest mathematical shortcuts through the solution space. By running custom-tailored parallel searches and pruning dead-end team structures on the fly, it outpaces or matches reigning state-of-the-art methods across most standard benchmarks.
What Problem Does This Paper Address?
Imagine coordinating a fleet of delivery drones or disaster-response robots. You want to divide these $n$ agents into disjoint teams (coalitions) so that the sum of every team's efficiency is as high as possible. In AI, this is the Coalition Structure Generation (CSG) problem. Because the number of ways to partition $n$ agents explodes combinatorially, brute force hits a wall very quickly.
Currently, the fastest exact solvers are hybrids that lean heavily on Dynamic Programming (DP)—breaking large teams down into smaller ones to find the best splits. To save time, state-of-the-art DP algorithms skip evaluating certain coalition sizes (for instance, ignoring coalitions larger than $\frac{2n}{3}$, or only evaluating even-sized ones).
Here’s the catch: those skipping rules are hand-tuned heuristics. While they guarantee an optimal answer, they aren't mathematically optimized for runtime, leaving massive performance gains on the table.
Methods
To replace human guesswork with math, the authors lean on a standard visual map of the problem called the integer partition graph, where every node represents a "subspace" of team sizes (e.g., for 4 agents, [1, 1, 2] represents all arrangements of two solo agents and one duo). Moving up an edge means splitting a larger team into two smaller ones.
What is brand new here is a two-stage framework:
- An Offline Preprocessor: Because the graph's structure depends only on the number of agents $n$ (not their specific values), the preprocessor runs just once per $n$. It calculates the hardware cost of splitting each team size and finds the minimal, fastest-running sets of coalition sizes needed to connect every node to the bottom
[n]node. It also strips out redundant sets. - The SEFAR Search Algorithm: Armed with $k$ optimal size sets from the preprocessor, SEFAR launches $k$ parallel DP processes. Each process only evaluates its assigned coalition sizes. For an 8-agent problem, just three parallel processes evaluating tiny subsets of sizes (
{2,7,8},{5,8}, and{2,4,8}) are enough to cover the entire graph.
To speed things up further, SEFAR weaves branch-and-bound pruning directly into the DP steps. By tracking the maximum possible value for each team size, it calculates an upper bound for every subspace, pruning nodes that can't beat the best solution found so far.
Datasets
Rather than static datasets, CSG algorithms are evaluated on synthetic problem instances generated from standard probability distributions (which dictate how team values behave). No new benchmarks were introduced; the authors generated 50 instances per size ($n = 15$ to $22$) across nine established distributions:
- Normal, Modified Normal, Agent-based Normal
- Agent-based Uniform, Modified Uniform
- Exponential, Gamma, Pascal, and Weibull
Key Insights and Ideas
- Guaranteed optimality via selective blindness: Theorem 1 highlights a neat quirk of the partition graph: you don't need to evaluate every coalition size to explore a subspace—you only need one unbroken path of splits back to the grand coalition at the bottom. Different paths take wildly different times to compute, turning algorithm design itself into an optimization problem.
- Lock-free memory sharing for free: Running $k$ parallel DP processes normally multiplies memory usage by $k$, as each needs a massive table of $2^n - 1$ coalition values. The authors realized all processes can safely read and write to a single shared value table. Because DP monotonically increases coalition values toward their true optimum, one process overwriting a value with a higher number only helps other processes find good structures faster—saving $(k - 1) \times (2^n - 1)$ stored values without corrupting the search.
Key Results
- Crushing pure Dynamic Programming: Even with upper-bound pruning turned off (forcing SEFAR into its worst-case runtime), it dramatically beats standard DP baselines (IDP and ODP). For 20 agents, SEFAR finishes in 1.0 second, compared to 3.7s for IDP (a 73% time gain) and 2.2s for ODP (55% faster). Across $15$ to $22$ agents, time gains over IDP consistently sit between 67% and 77%.
- Beating the hybrids: With pruning enabled, SEFAR was pitted against top hybrid solvers ODP-IP and BOSS. SEFAR outperforms or matches them on almost all distributions—shining on tough ones like Agent-based Normal and Agent-based Uniform. In many cases, ODP-IP and BOSS take longer than SEFAR's unpruned worst-case time. (The lone clear loss is on Modified Normal, where ODP-IP wins, and Normal is a dead heat).
Limitations and Future Work
- Preprocessor scaling: While the preprocessor only runs once offline per agent count $n$, its time complexity is exponential—roughly $\mathcal{O}(n^2 \cdot 2^n \cdot \frac{e^{\pi\sqrt{2n/3}}}{n})$ per set—because it tests binary combinations of sizes against integer partitions. Scaling this configuration step to massive agent counts will eventually hit a wall.
- Worst-case search complexity: Like all exact DP methods for CSG, SEFAR's worst-case runtime complexity remains $\mathcal{O}(3^n)$, limiting exact evaluations here to $n \le 22$.
- Future directions: The authors position this work as an initial theoretical baseline for automated algorithm configuration in coalition formation, suggesting the same subspace-focused preprocessing strategy could accelerate other combinatorial problems that rely on dynamic programming.
Summary updated