Few-Level Weighted Voting Games: Sparse Weight Gaps with Certified Subproblems

Many real decision bodies give each member a voting weight and pass a motion when the supporting weight exceeds a quota. Examples are the European Union Council, the US Electoral College, and the International Monetary Fund. A member's real influence is not its weight. It is how often its vote decides the outcome, measured by power indices such as Banzhaf (the fraction of coalitions in which a member is pivotal). The inverse problem asks which weights and quota produce a desired power profile. Existing methods return weights that are all different. That makes the rule hard to explain, and computing its power profile exactly is #P-hard in general. A known tractability result changes the picture: when a game has only $k$ distinct weight values, Banzhaf power can be computed exactly in $O(n^k)$ time (Computing voting power in easy weighted voting games).

We propose to design voting games whose power profile matches a target while using as few distinct weight levels as possible. The empirical question is how few levels real institutions actually need. The method sorts members by target power and penalizes the gaps between consecutive sorted weights. The penalty must be non-convex: an ordinary $\ell_1$ penalty on these gaps adds up to the gap between the largest and smallest weight, so it does nothing to merge levels. Each step of the resulting algorithm solves a small non-convex quadratic problem over binary "gap on/off" indicators. We attack that problem with a semidefinite relaxation, a convex outer approximation that yields a lower bound and certifies global optimality of the step whenever it turns out exact. We compare it head-to-head against an exact mixed-integer solver.

Core Claim

Matching a power profile with $k$ weight levels is a sparsity problem in disguise, and the convex route fails for structural reasons. In a weighted voting game, a heavier member never has less power than a lighter one. Weights can therefore be ordered by target power, $w_{(1)} \ge \dots \ge w_{(n)} \ge 0$, with gaps $d_i = w_{(i)} - w_{(i+1)} \ge 0$. A game with $k$ levels is exactly a gap vector with $k-1$ nonzeros.

The $\ell_1$ penalty fails twice over. On weights normalized to sum to one, $\|w\|_1$ is constant. On gaps, $\sum_i d_i = w_{(1)} - w_{(n)}$ telescopes into a penalty on the weight range. This is the same kind of interaction between a constraint and a uniform penalty that produces the "Lasso paradox" in Laplacian-constrained graph learning, where increasing $\ell_1$ strength yields denser graphs and non-convex penalties fix it (Nonconvex Sparse Graph Learning under Laplacian Constrained Graphical Model). That paper motivates our choice of penalty. Our setting differs because the variables are game weights, the structure is an ordering, and the loss is a power index.

We claim three things, each of which can be tested. First, real institutional power profiles can be matched to within the accuracy of current dense methods using small $k$. Second, folded-concave gap penalties find these designs where $\ell_1$ and post-hoc clustering do not. Third, the per-step binary quadratic subproblems admit tight semidefinite relaxations often enough to give useful certificates.

We are explicit about what few levels do not buy. Weighted electoral control is already NP-complete with only two distinct weights (Weighted Electoral Control). The benefit is therefore exact, fast power evaluation and legibility of the rule, not resistance to manipulation.

Research Program

The design objective is

$$\min_{w \ge 0,\; q} \; \|\beta(w,q) - \beta^*\|_2^2 + \lambda \sum_{i=1}^{n-1} \rho_\gamma(d_i),$$

where $\beta(w,q)$ is the normalized Banzhaf vector of the game with weights $w$ and quota $q$, and $\beta^*$ is the target. $\rho_\gamma$ is the minimax concave penalty (MCP), which is steep near zero and flat beyond the scale $\gamma$, so large genuine gaps are not shrunk. $\lambda$ trades accuracy against the number of levels.

Because $\beta$ is a step function of the weights, we work with a smoothed game: the quota is replaced by a logistic threshold of temperature $\tau$. Its Jacobian $J$ with respect to $w$ is cheap to compute exactly whenever the current iterate has few levels. Each outer iteration minimizes a trust-region model:

$$\min_{w,\, s \in \{0,1\}^{n-1}} \; \|\beta_0 + J(w - w_0) - \beta^*\|_2^2 + \lambda \textstyle\sum_i s_i \quad \text{s.t. } 0 \le d_i \le M s_i,\; \|w - w_0\|_\infty \le \delta.$$

Here $\beta_0$ is the smoothed power profile at the current weights $w_0$, and $s_i$ turns gap $i$ on or off. $M$ bounds any single gap, and $\delta$ is the trust-region radius. The MCP version is handled the same way, following the reformulation of folded-concave penalties into mixed-integer programs in Global solutions to folded concave penalized nonconvex learning.

We lift $(w, s, 1)$ into a matrix and impose $s_i^2 = s_i$ and the products implied by the bound constraints. We then drop the rank-one condition. This yields a semidefinite program with roughly $2n$ rows, which is about 380 for the IMF. Its value lower-bounds the subproblem. If the solution is rank one, the step is certified globally optimal. Otherwise we round, either by keeping the largest-mass gaps or by Gaussian randomization, and report the remaining gap.

This mirrors how truncated-least-squares problems with binary inlier indicators are lifted and checked for tightness in robust vision (Semidefinite Relaxations for Robust Multiview Triangulation; TEASER: Fast and Certifiable Point Cloud Registration). Those works supply the technique. Whether tightness carries over to voting-game Jacobians is unknown, and that is one of the things we measure.

The temperature $\tau$ is annealed toward zero. The final step returns a true threshold game: we fix the levels and search the quota exactly. Because the result has $k$ levels, its true Banzhaf vector is computed exactly in $O(n^k)$ time. This sidesteps, for our outputs, the open question of how far a relaxed linear surrogate is from the actual threshold game, which Efficient Approximation Algorithms for the Inverse Semivalue Problem leaves unresolved.

The certificate is local to each trust-region model. It is not a certificate for the global inverse problem. Exact inversion lies outside the polynomial hierarchy unless the hierarchy collapses (On the Complexity of the Inverse Semivalue Problem for Weighted Voting Games), so no such certificate should be expected.

Baselines

The naive reference sets weights proportional to the target power (or to the institution's real weights) and searches the quota. It costs nothing, and any method that does not beat it at equal $k$ is pointless.

The strongest existing method is the "one bad direction" convex relaxation of Efficient Approximation Algorithms for the Inverse Semivalue Problem. It optimizes a correlation-based convex surrogate and returns dense weights. Its reported average Banzhaf distance on the EU Council ($n=27$) is 0.0069. For the US Electoral College and IMF instances, no per-instance number is reported in our file. We will rerun it on all instances under our metric, which is computed exactly or with sampling and stated confidence intervals, so the comparison uses identical evaluation. It answers the question of what accuracy is attainable when $k = n$ is allowed. Beating it means matching its Banzhaf distance, within confidence intervals, at $k \le 6$ on the EU and IMF instances.

The Boosting-TTV method of The Inverse Shapley Value Problem is included on the Shapley targets. For $n \le 8$, exhaustive canonical-game enumeration from Solving Weighted Voting Game Design Problems Optimally: Representations, Synthesis, and Enumeration provides the true optimum at each $k$. That paper reports breadth-first search reaching about 0.05 Euclidean distance at $n=10$ within one minute.

Four ablations isolate each ingredient. Replacing MCP with $\ell_1$ on gaps should show the telescoping failure. Replacing the semidefinite step with the same model solved by local majorization-minimization isolates what certification and global search add. Replacing it with Gurobi's mixed-integer quadratic solver, under the same time limit, tests whether a semidefinite program is needed at all. Removing annealing tests the smoothing. Every method gets the same wall-clock budget per instance and the same hyperparameter grid size, with tuning done on synthetic instances and not on the institutional ones.

Why not just…?

Why not just add an $\ell_1$ penalty to the existing convex method? On sum-normalized weights it is constant. On sorted gaps it equals the weight range, so it compresses the range rather than merging levels. The $\ell_1$ ablation will show this directly: the number of distinct levels should stay near $n$ across the whole $\lambda$ path. This parallels the denser-with-more-penalty behaviour documented in Nonconvex Sparse Graph Learning under Laplacian Constrained Graphical Model.

Why not just run the dense method and then cluster its weights into $k$ groups? This is the real threat. One-dimensional $k$-means is solvable exactly by dynamic programming, and refitting the quota afterwards is cheap. Clustering in weight space ignores that power is a nonlinear function of weights near the quota, so two members with nearly equal weights can have very different pivot rates. Whether this matters in practice is an empirical question.

We will run cluster-then-refit at every $k$ on every instance. We will also run a stronger variant that, for $k \le 3$, exhaustively enumerates contiguous breakpoints in sorted order and grid-searches the level values against the exact $O(n^k)$ Banzhaf objective. If either variant matches our accuracy at equal $k$ and runtime, we will report that the penalty adds no value beyond certificates. In that case the contribution narrows to the empirical finding about how few levels institutions need.

Why not just solve each subproblem as a mixed-integer program? For roughly 190 binaries, a modern solver may well close each step quickly, which would make the semidefinite relaxation unnecessary. The head-to-head Gurobi ablation settles this. The relaxation earns its place only if it yields bounds faster at comparable tightness, or if it scales to larger synthetic instances ($n$ in the thousands) where the integer solver stalls. The earlier mixed-integer global solver for folded-concave problems was motivated precisely by local methods failing (Global solutions to folded concave penalized nonconvex learning), not by integer solvers being slow, so we do not presume an advantage.

Proposed Experiments

The institutional instances are the EU Council ($n=27$), the US Electoral College ($n=51$), and the IMF voting shares ($n=189$ and the two $n=188$ years), all as used in Efficient Approximation Algorithms for the Inverse Semivalue Problem. We add that paper's synthetic random, exponential, and polynomial weight families, plus planted few-level games in which the true $k$ is known. Lacuna indexes no machine-readable voting datasets, so these instances will be reconstructed from the published tables.

For each instance we trace accuracy against number of levels: Banzhaf distance, both average absolute and Euclidean, as a function of $k$ from 2 to 10, for every method. We record runtime. For our method we also record the fraction of steps whose relaxation is rank one and the median relative gap between the relaxation bound and the rounded solution.

Three checks decide the outcome. First, on planted games, the MCP method should recover the true $k$ and breakpoints while $\ell_1$ does not. Second, on the EU Council, a design with $k \le 6$ should reach average Banzhaf distance near the 0.0069 reported for the dense method, and the IMF result should be at least as favourable given its strongly skewed shares. Third, our method should outperform cluster-then-refit at small $k$ on at least the instances where target power is not proportional to weight. If cluster-then-refit ties everywhere, the headline becomes the level-count finding and the method claim is withdrawn. For $n \le 8$, every method's result at each $k$ is compared against the enumerated optimum, which shows how often the certified steps actually reach the best few-level game.