Abstract
A crucial task in the political redistricting problem is to sample redistricting plans—i.e., a partitioning of the graph of census blocks into districts. We show that Recombination (ReCom), a popular Markov chain to sample redistricting plans, is exponentially slow mixing on simple subgraphs of $\mathbb{Z}_2$. We show an alternative way to sample balanced, compact, and contiguous redistricting plans using a "relaxed" version of ReCom and rejection sampling.
Introduction
Redistricting is a fundamental process in representative democracies, yet it is often vulnerable to gerrymandering. To detect unfair maps, researchers generate large ensembles of random, valid redistricting plans to serve as a baseline. A valid plan typically requires districts to be contiguous, roughly equal in population (balanced), and geographically compact. If a proposed map is a statistical outlier compared to this ensemble, it may be flagged for partisan bias.
The current industry standard for generating these ensembles is the Recombination (ReCom) algorithm. ReCom operates by merging two adjacent districts and re-splitting them using a random spanning tree. While empirically successful in many practical applications, its theoretical convergence properties—specifically how long it takes to "mix" and provide unbiased samples—have remained largely unproven until now.
Theoretical Bottlenecks in ReCom
This research identifies specific scenarios where ReCom fails to mix efficiently. Using conductance arguments—a technique from the study of Markov chains that measures the difficulty of moving between sets of states—the authors demonstrate that on certain graph topologies, the state space of valid partitions is fragmented.
Specifically, on "double-cycle" graphs or grids with central holes, the algorithm encounters a "line segment" bottleneck. For the algorithm to transition between distinct "good" partitions, it must often pass through intermediate states where a district becomes a long, thin segment. Because the number of spanning trees in a line segment is minimal, the ReCom chain assigns these states very low probability. This creates a massive geometric barrier that leads to exponential mixing times ($e^n$), meaning the algorithm may never reach a truly random state in a reasonable timeframe.
The Relaxed Up-Down Walk and $c$-biased Distribution
To overcome these bottlenecks, the authors propose a "relaxed" sampling approach. Instead of strictly enforcing population balance at every step, which constrains the walk to a small, potentially disconnected subset of the state space, they introduce the Up-Down Walk.
This method samples from a $c$-biased distribution. In this model, the probability of a partition is proportional to the product of the number of spanning trees in each district, weighted by a parameter $c$. This parameter acts as a "knob" to control the trade-off between strict population balance and sampling speed.
By allowing temporary imbalances, the walk can bypass the geometric bottlenecks that trap the standard ReCom algorithm. The authors prove that this relaxed walk mixes in quasi-linear time ($O(m \log m)$) on certain graph classes, representing a significant theoretical leap in sampling efficiency.
Compactness and Rejection Sampling
A notable feature of this approach is that compactness is handled implicitly. By sampling based on the number of spanning trees, the algorithm naturally favors "sturdy," compact shapes over spindly, gerrymandered ones. This is because compact regions typically contain far more spanning trees than elongated ones.
To obtain perfectly balanced maps from this relaxed distribution, the authors employ rejection sampling. They demonstrate that for many grid-like graphs, the density of balanced maps within the relaxed distribution remains high. Consequently, a two-step process—fast relaxed sampling followed by rejecting unbalanced maps—is often significantly more efficient than attempting to stay within the balanced constraint at every single step of the Markov chain.
Conclusion
This work provides the first rigorous proof of exponential slowdowns for the ReCom algorithm on simple planar graphs, highlighting the dangers of relying on unproven heuristics for sensitive political tasks. More importantly, it offers a robust alternative through relaxation. By decoupling the sampling process from strict balance constraints and utilizing the $c$-biased spanning tree distribution, researchers can generate high-quality ensembles of redistricting plans with provable efficiency. Future research will focus on extending these proofs to more complex, real-world graph topologies and a higher number of districts.
Summary updated