English

Gerrymandering on graphs: Computational complexity and parameterized algorithms

Data Structures and Algorithms 2021-05-26 v2 Computer Science and Game Theory

Abstract

Partitioning a region into districts to favor a particular candidate or a party is commonly known as gerrymandering. In this paper, we investigate the gerrymandering problem in graph theoretic setting as proposed by Cohen-Zemach et al. [AAMAS 2018]. Our contributions in this article are two-fold, conceptual and computational. We first resolve the open question posed by Ito et al. [AAMAS 2019] about the computational complexity of the problem when the input graph is a path. Next, we propose a generalization of their model, where the input consists of a graph on nn vertices representing the set of voters, a set of mm candidates C\mathcal{C}, a weight function wv:CZ+w_v: \mathcal{C}\rightarrow {\mathbb Z}^+ for each voter vV(G)v\in V(G) representing the preference of the voter over the candidates, a distinguished candidate pCp\in \mathcal{C}, and a positive integer kk. The objective is to decide if one can partition the vertex set into kk pairwise disjoint connected sets (districts) s.t pp wins more districts than any other candidate. The problem is known to be NPC even if k=2k=2, m=2m=2, and GG is either a complete bipartite graph (in fact K2,nK_{2,n}) or a complete graph. This means that in search for FPT algorithms we need to either focus on the parameter nn, or subclasses of forest. Circumventing these intractable results, we give a deterministic and a randomized algorithms for the problem on paths running in times 2.619k(n+m)O(1)2.619^{k}(n+m)^{O(1)} and 2k(n+m)O(1)2^{k}(n+m)^{O(1)}, respectively. Additionally, we prove that the problem on general graphs is solvable in time 2n(n+m)O(1)2^n (n+m)^{O(1)}. Our algorithmic results use sophisticated technical tools such as representative set family and Fast Fourier transform based polynomial multiplication, and their (possibly first) application to problems arising in social choice theory and/or game theory may be of independent interest to the community.

Keywords

Cite

@article{arxiv.2102.09889,
  title  = {Gerrymandering on graphs: Computational complexity and parameterized algorithms},
  author = {Sushmita Gupta and Pallavi Jain and Fahad Panolan and Sanjukta Roy and Saket Saurabh},
  journal= {arXiv preprint arXiv:2102.09889},
  year   = {2021}
}