TL;DR
This paper tackles the computational complexity of gerrymandering, a political practice of manipulating electoral district boundaries. The authors resolve an open problem regarding its complexity on path graphs and introduce parameterized algorithms that offer efficient solutions for specific parameters, particularly the number of districts.
What Problem Does This Paper Address?
Gerrymandering, the art of drawing electoral districts to favor a particular party or candidate, has long been a subject of political science and has recently attracted attention from computer scientists. The core problem is to determine if a given region (represented as a graph of voters) can be partitioned into a specified number of districts such that a particular candidate wins a majority of these districts. Previous work established that this problem is NP-complete even for simple graph structures and small numbers of candidates and districts. This paper aims to resolve an open question about the complexity of gerrymandering on path graphs and to develop more efficient algorithms by leveraging parameterized complexity, focusing on parameters like the number of districts ($k$), voters ($n$), and candidates ($m$).
Methods
The paper introduces a generalized model called Weighted Gerrymandering (W-GM), where each voter can have preferences for multiple candidates, and defines a new problem: TARGET WEIGHTED GERRYMANDERING (TARGET W-GM). The authors employ several advanced algorithmic techniques:
- Polynomial-time reduction: To prove NP-completeness on path graphs, they reduce the known NP-complete RAINBOW MATCHING problem to GM.
- Parameterized Complexity: They develop algorithms whose runtime depends polynomially on the input size ($n, m$) but exponentially on a specific parameter (like $k$). This is crucial for problems that are NP-hard in general but might be tractable for small parameter values.
- Representative Families: This technique, borrowed from theoretical computer science, is used to efficiently represent sets of paths in a graph, leading to deterministic algorithms.
- Fast Fourier Transform (FFT) based polynomial multiplication: This is a standard technique for efficiently multiplying polynomials, which is leveraged here to handle combinatorial problems involving subsets and disjointness.
- Arithmetic Circuits: Used in the randomized algorithm to represent polynomials and detect specific properties (multilinear monomials).
Datasets
Not discussed in the paper. The paper focuses on theoretical algorithmic problems and graph structures rather than empirical evaluation on real-world datasets.
Key Insights and Ideas
- NP-completeness on Paths: The paper resolves the open question of gerrymandering's complexity on path graphs, showing it remains NP-complete. This highlights that even simple graph structures don't make the problem easy.
- Parameterized Tractability: The core contribution is demonstrating that gerrymandering can be solved efficiently when parameterized by the number of districts ($k$). This is a significant algorithmic breakthrough, offering practical solutions for scenarios where the number of districts is small.
- Bridging Theory and Practice: The use of sophisticated tools like representative families and FFT-based polynomial multiplication showcases how advanced theoretical concepts can be applied to solve practical (albeit abstractly modeled) problems.
- General Graphs FPT Algorithm: An algorithm with a runtime of $2^n \cdot |I|^{O(1)}$ is presented for general graphs, which is efficient when the number of voters ($n$) is small.
Key Results
- NP-completeness: Gerrymandering (GM) is proven to be NP-complete on path graphs.
- FPT Algorithms for Paths:
- A deterministic algorithm with runtime $2^{O(k)} \cdot n^{O(1)}$ for W-GM on paths.
- A randomized algorithm with runtime $2^{O(k)} \cdot n^{O(1)}$ for W-GM on paths.
- FPT Algorithm for General Graphs: An algorithm with runtime $2^n \cdot |I|^{O(1)}$ for W-GM on general graphs.
Limitations and Future Work
- Trees: The paper notes that an FPT algorithm parameterized by $k$ for gerrymandering on trees remains an open problem, despite trees being simpler than general graphs.
- Multiple Winners: While the paper discusses how to handle multiple winners in a district, the presented algorithms are primarily for the case where each district has a unique winner (achieved via tie-breaking rules). Extending these to fully handle multiple winners without tie-breaking might require further work.
- Parameterization: The paper explores parameterization by $k$ and $n$. Investigating other parameters, such as the number of candidates ($m$), or combinations of parameters, could be fruitful.
- Real-world Applicability: The models used are abstract graph representations. Bridging the gap between these theoretical models and the complexities of real-world gerrymandering (e.g., geographical constraints, population density) is a significant challenge for future work.
Summary updated