The Shapley value divides a group's total payoff among its members by averaging each member's marginal contribution over every possible sub-group. It is the standard way to split credit in collaborative learning and data markets, and it is #P-hard to compute (as hard as counting solutions) even in simple settings. The known exact escape routes rely on sparsity. When the graph recording which agents want which goods has low treewidth, meaning it can be broken into small overlapping pieces arranged like a tree, dynamic programming computes Shapley values exactly. Real collaborative settings are often the opposite. Almost every agent wants almost every good, and only a few agents or a few goods behave differently. The interaction graph is then nearly a complete bipartite graph, its treewidth is close to $\min(n,m)$, and the treewidth algorithms become useless precisely where the game looks simple.
We propose to import a parameter from the parameterized theory of incomplete data, the missingness covering number: the fewest rows plus columns of a matrix that together contain every missing entry. We treat the "holes" of a nearly full agent–good demand matrix as the missing entries. Our claim is that the size of this cover, not the treewidth, governs exact Shapley computation in dense allocation games. A small cover on the agent side should give an algorithm whose exponential cost depends only on the cover, with polynomial dependence on everything else (fixed-parameter tractable, FPT). A small cover on the goods side leaves a sharper open question, which we aim to settle. The two parameters complement each other: a cover of size one can coexist with unbounded treewidth, and a tree-shaped graph can have maximal cover. A hybrid parameter combining them would handle a dense core attached to a sparse periphery.
Core Claim
Consider an allocation game with $n$ agents and $m$ goods, specified by a binary demand matrix $D$ ($D_{ij}=1$ if agent $i$ wants good $j$) and good values. A coalition's worth is the value it can secure by assigning goods to its members. Let a hole be an entry with $D_{ij}=0$. Let $\mathrm{row}$, $\mathrm{col}$ and $\mathrm{comb}$ be the smallest number of rows, of columns, and of rows plus columns covering all holes. These are the parameters that Parameterized Algorithms for the Matrix Completion Problem defined for missing entries in matrix completion.
We make three claims. First, exact Shapley values are FPT in $\mathrm{row}$. Second, they are computable in time $n^{O(2^{\mathrm{col}})}$ in $\mathrm{col}$, and whether this can be improved to FPT is a genuine open question. Third, a combined parameter handles instances that neither parameter handles alone: after deleting a small cover, the remaining "irregular" part should have bounded treewidth.
The mechanism behind the first claim is simple, and we state it plainly because a reviewer will. Outside the $r=\mathrm{row}$ messy agents, every agent wants every good, so all clean agents are interchangeable. Write $R$ for the messy agents, $c$ for the number of clean agents in a coalition, and $v(T,c)$ for the worth of a coalition made of messy set $T$ plus any $c$ clean agents. For a messy agent $i$, the Shapley sum collapses to
$$\phi_i=\sum_{T\subseteq R\setminus\{i\}}\sum_{c=0}^{n-r}\binom{n-r}{c}\,w(|T|+c)\,\big[v(T\cup\{i\},c)-v(T,c)\big],$$
where $w(s)=s!(n-s-1)!/n!$ is the usual Shapley weight for a coalition of size $s$. Clean agents' values then follow from efficiency and symmetry. This gives $2^r(n-r+1)$ evaluations of $v$, each a polynomial-time assignment problem.
That part is essentially symmetry grouping, and it is not where the research lies. The research lies on the goods side. With $s=\mathrm{col}$ messy goods, clean agents can differ, but only on those $s$ goods. There are then at most $2^s$ agent types, and grouping by type costs $n^{2^s}$. This mirrors the asymmetry that Parameterized Algorithms for the Matrix Completion Problem found for distinct-row completion, which is FPT by messy rows but paraNP-hard by messy columns. We conjecture an analogous split for Shapley counting and will try to prove W[1]-hardness (evidence against any FPT algorithm) in $\mathrm{col}$, or find an FPT algorithm.
A candidate route to FPT uses Kőnig's theorem, which states that in a bipartite graph the maximum matching size equals the minimum vertex cover size. For unit-value, one-good-per-agent assignment worth, this lets the worth be written as a minimum of $2^s$ linear forms in the type counts. The question becomes whether coalitions can be counted by the value of that minimum without tracking all $2^s$ forms jointly.
Relation to Prior Work
Two papers motivate the gap. Structural Tractability of Shapley and Banzhaf Values in Allocation Games proves Shapley computation #P-hard even with unit-value goods. It then shows polynomial time under bounded agent–good treewidth, or when each good is shared by at most two agents. Both conditions are sparsity conditions, and the paper never considers dense instances with few irregularities. We keep its game model and replace its parameter. The Complexity of k-Means Clustering when Little is Known works in the mirror-image regime. It clusters very sparse incomplete matrices by the treewidth of the observed-entry graph and explicitly leaves the dense, small-cover regime to cover-based methods.
Three papers supply method. On the parameterized complexity of clustering problems for incomplete data shows that cluster count plus radius plus cover yields a polynomial kernel via the Sunflower Lemma, and that dropping cover causes hardness. We borrow the clean/messy split, but not the kernel. Sunflower pruning discards "irrelevant" points, and that is exactly what an exact count cannot tolerate. Kernelization of Counting Problems supplies the right replacement: a reduce step that shrinks the instance and a lift step that recovers the exact count. It proves positive kernels (e.g. #Vertex Cover) and lower bounds under a SUM-conjecture. It has never been applied to coalition games, and we will ask whether Shapley in allocation games admits a polynomial reduce/lift compression in $\mathrm{comb}$. Shapley Meets Shapley and The Tractability of the Shapley Value over Bounded Treewidth Matching Games show that the same #P-hardness and the same treewidth escape hold for matching games. We therefore expect our results to transfer to them, and will test that transfer.
The approximate side constrains how we pitch the work. Neural Payoff Machines learns Shapley payoffs from game parameters and reports an 8x speedup over KernelExplainer. It needs ground-truth labels to train, and it struggles on discontinuous solution concepts. Data Shapley in One Training Run approximates data values from gradients during training and reports Spearman correlation above 0.94 with ground truth. It targets data-valuation games with a differentiable worth, not combinatorial allocation. Neither gives exact values or certifies that a player's value is exactly zero. Our exact solver is also a label generator for the former.
Research Program
The theoretical track has three results. We will prove the row-cover FPT algorithm, extended to general good values and to the matching-game variant. We will then resolve the goods-side question, either by an FPT algorithm through the Kőnig decomposition above or by a W[1]-hardness reduction; the natural candidate is from multicolored clique, encoding colors as messy-good patterns. Finally, we will define a hybrid parameter: the smallest cover $C$ such that the demand graph restricted to entries outside the fully demanded clean block has treewidth at most $t$. We will give an algorithm exponential only in $|C|$ and $t$ by running the treewidth dynamic programming of Greco et al. with clean-agent counts as an extra state dimension. On the lower-bound side, we will test whether the counting-kernel lower-bound machinery rules out polynomial compression in $\mathrm{comb}$.
The empirical track has two parts. First, we will build instances and measure how often small cover coincides with large treewidth. Second, we will implement the exact algorithms and compare them with sampling and learned surrogates.
Baselines
The naive reference is exact enumeration of all $2^{n-1}$ coalitions per agent. It defines ground truth up to about $n=25$ and fixes the accuracy target everything else must meet. The strongest existing exact method is the treewidth dynamic program of Structural Tractability of Shapley and Banzhaf Values in Allocation Games. We will run it on a tree decomposition from a standard min-fill heuristic, with the same hardware and wall-clock limit as our method. Beating it means solving exactly, within that limit, instances it cannot finish, while remaining competitive where treewidth is small. No reported runtime or accuracy for this baseline was found on Lacuna. The only reported number is a treewidth of 9 on a 500-agent co-authorship graph from the same paper, which we use as the sparse-regime reference point.
The strongest approximate competitor is Monte Carlo permutation sampling. We will give it the same number of worth evaluations and, separately, the same wall-clock time. Beating it means lower maximum relative error on the smallest-value agents, plus correct identification of zero-value (dummy) agents, which sampling cannot certify. We also include a Neural Payoff Machine trained on our exact labels from small games and tested on larger ones. Its reported result is an 8x speedup over KernelExplainer on Melbourne Housing; no reported result was found on Lacuna for it on allocation games.
The key ablation is plain symmetry grouping: collapse identical agents and enumerate type-count vectors. This isolates what the covering-number analysis adds beyond "merge identical players."
Why not just…?
Why not just group identical players? On the agent side this is exactly our algorithm, and we say so. The contribution there is the proof that small $\mathrm{row}$ guarantees the grouping succeeds, plus the hybrid extension. On the goods side, grouping yields up to $2^{\mathrm{col}}$ types and $n^{2^{\mathrm{col}}}$ work. The ablation will show whether real instances ever reach that blow-up. If they never do, the goods-side theory matters less in practice, and we will report that.
Why not just use Monte Carlo sampling? For ranking agents, this is a real threat, because worth evaluation here is polynomial time. The #P-hard single-coalition bottleneck in Solving Cooperative Reliability Games does not arise. Sampling's additive error bound is weakest for agents whose values are near zero, and it never certifies an exact zero. The matched-budget experiment will show where the crossover lies. If sampling matches exact values on all agents at lower cost, the practical case narrows to audits that require certified values.
Why not just run treewidth dynamic programming, perhaps on the complement graph? Dense demand graphs have treewidth near $\min(n,m)$. Complementing does not help, because the game's worth is not symmetric between demanded and non-demanded entries. The head-to-head timing experiment settles this directly.
Why not just train a neural surrogate? It needs exact labels at scale, which our solver provides. Its reported weakness on discontinuous payoffs suggests errors near the thresholds where worth jumps. We will measure where its errors fall.
Proposed Experiments
We will build demand matrices from the dense cores of the MovieLens-100K, MovieLens-1M, Douban, Flixster and YahooMusic rating matrices used in Inductive Matrix Completion Based on Graph Neural Networks. We select the top users and items by activity and treat "rated" as "wants." As we shrink the core, we will record $\mathrm{row}$, $\mathrm{col}$, $\mathrm{comb}$ and heuristic treewidth. We will add synthetic complete bipartite games with planted holes confined to $r$ rows or $s$ columns, and sparse-periphery hybrids.
The first decisive check is descriptive. Do real dense cores show small cover alongside large treewidth? If cover is never small where treewidth is large, the premise fails. The second check is runtime. On planted instances, exact runtime should grow with $2^r$ and polynomially in $n$ for fixed $r$, while the treewidth dynamic program fails. The third check tests the goods-side conjecture: runtime in $s$ should track type-vector enumeration unless the Kőnig route succeeds.
The fourth check compares exact values against sampling and the neural surrogate at matched budgets. Metrics are maximum relative error, error on the bottom decile of agents, Spearman rank correlation, dummy-agent recall, and wall-clock time. The note succeeds if the covering-number algorithm computes exact values on instances out of reach for treewidth methods, and if the goods-side question is resolved in either direction.
References
- Parameterized Algorithms for the Matrix Completion Problem
- Structural Tractability of Shapley and Banzhaf Values in Allocation Games
- The Complexity of k-Means Clustering when Little is Known
- On the parameterized complexity of clustering problems for incomplete data
- Kernelization of Counting Problems
- Shapley meets Shapley
- The Tractability of the Shapley Value over Bounded Treewidth Matching Games
- Neural Payoff Machines: Predicting Fair and Stable Payoff Allocations Among Team Members
- Data Shapley in One Training Run
- Solving Cooperative Reliability Games
- Inductive Matrix Completion Based on Graph Neural Networks