When we think of a gerrymandered electoral map, we usually picture bizarre, contorted shapes—districts that look like slithering snakes or outstretched earmuffs. For decades, the dominant intuition in political science and legal reform has been that geometric irregularity is the primary symptom of electoral manipulation. Consequently, requiring districts to be "compact" (closely packed, circular, or square-like) is frequently proposed as an algorithmic silver bullet to ensure fair representation.
However, a deep body of computational and mathematical research reveals that this intuition is fundamentally flawed. Geometric compactness does not guarantee fairness, nor does it prevent gerrymandering. Instead, there is an inherent, mathematically provable tension between the spatial shapes of districts and the democratic fairness of election outcomes.
The Multi-Objective Optimization Problem
To understand why compactness fails as a standalone solution, we must first look at what an automated redistricting algorithm is actually asked to do. As Hor et al. and Hor outline, drawing an electoral map requires satisfying multiple competing criteria simultaneously:
- Population Equality: Each district must contain roughly the same number of people to preserve the principle of "one person, one vote."
- Geographic Contiguity: A district must be a single, unbroken piece of land.
- Geometric Compactness: The shapes should be reasonably regular, avoiding sprawling appendages.
Hor et al. note that simultaneously satisfying all of these optimization criteria is often mathematically impossible. When you add real-world constraints, the problem becomes even more intractable. For instance, Klein et al. point out that districts cannot be drawn arbitrarily; they must be built out of discrete, indivisible geographic units like census blocks. Strictly adhering to these boundaries forces algorithms to relax population balance, while strictly enforcing population balance forces irregular shapes. Kelly further demonstrates that navigating this trade-off becomes even more complex when trying to achieve partisan goals under uncertain voter preferences.
Because these geometric constraints are already in conflict, adding outcome-based goals—like partisan fairness or community representation—makes the problem computationally daunting. In fact, Kueng et al. proved that determining whether a redistricting plan can simultaneously satisfy basic legal geometric constraints and a prescribed level of outcome fairness is an NP-complete problem.
Why Voter Geography Defeats Compactness
The deepest reason compactness fails to ensure fairness is that voters do not distribute themselves randomly or uniformly across a map.
In modern democracies, voters exhibit high levels of geographic self-segregation, most notably along the urban-rural divide. As Garg et al. observe, this natural clustering means that even when maps are drawn with zero partisan intent, standard district-based systems routinely produce non-proportional representation.
Consider a state where Party A is highly concentrated in a dense city, while Party B is evenly dispersed across the countryside. If an algorithm draws perfectly compact, square districts, it will naturally "pack" Party A voters into a few urban districts where they win by overwhelming margins (e.g., 90% of the vote), wasting millions of their votes. Meanwhile, Party B will win a large majority of the surrounding rural and suburban districts by modest, efficient margins (e.g., 55%).
Unintentional "Packing" via Compact Districts:
+-------------------+-------------------+
| Party A (City) | Party B (Rural) |
| 90% A / 10% B | 45% A / 55% B |
| Winner: Party A | Winner: Party B |
+-------------------+-------------------+
| Party B (Rural) | Party B (Rural) |
| 45% A / 55% B | 45% A / 55% B |
| Winner: Party B | Winner: Party B |
+-------------------+-------------------+
Result: Party B wins 3 out of 4 seats, despite a near-equal statewide vote split.
To counteract this natural bias and achieve "proportional fairness" (where a party's share of seats matches its share of the statewide vote), an algorithm must intentionally unpack these clusters. As Borodin et al. demonstrate, achieving near-perfect partisan fairness requires drawing less geographically cohesive districts. You must sacrifice compactness to achieve political proportionality.
Conversely, if you legally mandate strict geometric compactness, you strip away the flexibility needed to fix this structural bias. While Borodin et al. show that compactness constraints limit a malicious actor's ability to engineer extreme partisan advantage, Borodin et al. confirm that compactness alone cannot eliminate the inherent geographic advantage that rural-concentrated parties hold in traditional districting systems.
Gerrymandering Under Perfect Compactness
If compactness cannot guarantee fairness, can it at least prevent active, malicious gerrymandering? The mathematical answer is a resounding no.
Alexeev et al. formalized this conflict by proving an Impossibility Theorem for Gerrymandering. They showed that no districting system can simultaneously guarantee equal representation, geographic compactness, and partisan fairness. Even when a state is highly competitive, a mapmaker constrained to draw beautifully compact shapes can still engineer a massive partisan tilt.
To prove this, Alexeev et al. constructed a model where a circular state is partitioned into the most mathematically compact shapes possible: two perfect half-disks. They demonstrated that by simply rotating the dividing line across a strategically arranged distribution of voters, a party with a bare statewide majority could secure a disproportionately high win rate—capturing up to 73% of the districts while maintaining flawless geometric compactness.
The Rotating Half-Disk Manipulation:
___ ___
/ \ / \
| A | | \ A |
|-------| vs. | \ |
| B | | B \ |
\ ___ / \ ___ /
Horizontal Split Strategic Angled Split
(Both are perfectly compact, but yield completely different partisan outcomes)
This vulnerability persists even under alternative geometric frameworks. For example, one might propose eliminating human bias by assigning voters strictly to their nearest polling station, creating a map of clean, mathematically rigorous Voronoi cells. Yet, Eiben et al. proved that even within these rigid geometric boundaries, a malicious actor can still manipulate election outcomes simply by strategically shifting the locations of the facility centers. Geometric constraints alter the mechanism of gerrymandering, but they do not eliminate it.
The Paradox of Engineering Fairness and Competitiveness
The tension between shape and intent creates a bizarre paradox: the exact same geometric techniques used to undermine democracy are required to foster it.
Consider the goal of drawing "competitive" districts—maps where elections are toss-ups and politicians must appeal to the political center. As Chuang et al. explain, when voters are highly clustered, creating a competitive district requires reaching into a partisan stronghold, breaking it apart, and blending those voters with an opposing group. In the vocabulary of gerrymandering, this mechanism is called "cracking"—the exact tool used to dilute a minority group's voting power.
Consequently, drawing competitive or fair maps in a polarized geography forces algorithms to create irregular shapes or fragment communities. When computational frameworks, such as the game-theoretic multi-agent system designed by Li et al., optimize for strategic fairness and stability, they naturally produce maps with reduced boundary compactness.
Similarly, modern redistricting paradigms try to preserve "Communities of Interest" (COIs)—ensuring that groups with shared socio-economic ties or human mobility patterns are kept within the same district. By analyzing human mobility data, Kruse et al. demonstrated that maximizing community coherence and maximizing geometric compactness are fundamentally divergent goals. Real human communities do not live in perfect circles; forcing districts to be compact actively tears organic communities apart.
Moving Beyond the Shape Test
The clear consensus across modern computational geometry and social choice theory is that the "shape test" is an obsolete metric for fairness. Bizarre shapes can be a sign of gerrymandering, but perfectly beautiful shapes can mask severe partisan bias.
Because geometric compactness is an unreliable proxy for fairness, researchers and courts have increasingly shifted toward outcome-based metrics. Tools like the efficiency gap—which directly measures statewide wasted votes—allow analysts to detect when a party has been systematically packed or cracked, regardless of whether the district boundaries look like neat squares or jagged puzzles. Only by decoupling our definition of fairness from the aesthetics of the map can we hope to design algorithmic redistricting systems that truly protect democratic representation.
Key Foundational Work
Application of Computational Geometry on Multi-region Electoral Districting (2013) — contributed 4 concept elements to this direction.
Improving Electoral Districting through Geographic Information Systems (2015) — contributed 3 concept elements to this direction.