English

Algorithms for the Diverse-k-SAT problem: the geometry of satisfying assignments

Computational Complexity 2025-06-04 v2 Data Structures and Algorithms

Abstract

Given a kk-CNF formula and an integer ss, we study algorithms that obtain ss solutions to the formula that are maximally dispersed. For s=2s=2, the problem of computing the diameter of a kk-CNF formula was initiated by Creszenzi and Rossi, who showed strong hardness results even for k=2k=2. Assuming SETH, the current best upper bound [Angelsmark and Thapper '04] goes to 4n4^n as kk \rightarrow \infty. As our first result, we give exact algorithms for using the Fast Fourier Transform and clique-finding that run in O(2(s1)n)O^*(2^{(s-1)n}) and O(s2ΩFωs/3)O^*(s^2 |\Omega_{F}|^{\omega \lceil s/3 \rceil}) respectively, where ΩF|\Omega_{F}| is the size of the solution space of the formula FF and ω\omega is the matrix multiplication exponent. As our main result, we re-analyze the popular PPZ (Paturi, Pudlak, Zane '97) and Sch\"{o}ning's ('02) algorithms (which find one solution in time O(2εkn)O^*(2^{\varepsilon_{k}n}) for εk1Θ(1/k)\varepsilon_{k} \approx 1-\Theta(1/k)), and show that in the same time, they can be used to approximate the diameter as well as the dispersion (s>2s>2) problems. While we need to modify Sch\"{o}ning's original algorithm, we show that the PPZ algorithm, without any modification, samples solutions in a geometric sense. We believe that this property may be of independent interest. Finally, we present algorithms to output approximately diverse, approximately optimal solutions to NP-complete optimization problems running in time poly(s)O(2εn)\text{poly}(s)O^*(2^{\varepsilon n}) with ε<1\varepsilon<1 for several problems such as Minimum Hitting Set and Feedback Vertex Set. For these problems, all existing exact methods for finding optimal diverse solutions have a runtime with at least an exponential dependence on the number of solutions ss. Our methods find bi-approximations with polynomial dependence on ss.

Keywords

Cite

@article{arxiv.2408.03465,
  title  = {Algorithms for the Diverse-k-SAT problem: the geometry of satisfying assignments},
  author = {Per Austrin and Ioana O. Bercea and Mayank Goswami and Nutan Limaye and Adarsh Srinivasan},
  journal= {arXiv preprint arXiv:2408.03465},
  year   = {2025}
}