Sublinear-Space Approximation Algorithms for Max r-SAT

In the Max r-SAT problem, the input is a CNF formula with n variables where each clause is a disjunction of at most r literals. The objective is to compute an assignment which satisfies as many of the clauses as possible. While there are a large number of polynomial-time approximation algorithms for this problem, we take the viewpoint of space complexity following [Biswas et al., Algorithmica 2021] and design sublinear-space approximation algorithms for the problem. We show that the classical algorithm of [Lieberherr and Specker, JACM 1981] can be implemented to run in n time while using O(log n) bits of space. The more advanced algorithms use linear or semi-definite programming, and seem harder to carry out in sublinear space. We show that a more recent algorithm with approximation ratio √ 2/2 [Chou et al., FOCS 2020], designed for the streaming model, can be implemented to run in time n using O(r log n) bits of space. While known streaming algorithms for the problem approximate optimum values and use randomization, our algorithms are deterministic and can output the approximately optimal assignments in sublinear space. For instances of Max r-SAT with planar incidence graphs, we devise a factor-(1−ǫ) approximation scheme which computes assignments in time n and uses max {√ n log n, (r/ǫ) log n }

[1]  Raghunath Tewari,et al.  Simultaneous Time-Space Upper Bounds for Certain Problems in Planar Graphs , 2015, ArXiv.

[2]  Mihalis Yannakakis,et al.  On the approximation of maximum satisfiability , 1992, SODA '92.

[3]  Walter J. Savitch,et al.  Relationships Between Nondeterministic and Deterministic Tape Complexities , 1970, J. Comput. Syst. Sci..

[4]  Baruch Schieber,et al.  A Sublinear Space, Polynomial Time Algorithm for Directed s-t Connectivity , 1998, SIAM J. Comput..

[5]  Maria J. Serna,et al.  Approximating Linear Programming is Log-Space Complete for P , 1991, Inf. Process. Lett..

[6]  Yota Otachi,et al.  Sublinear-Space Lexicographic Depth-First Search for Bounded Treewidth Graphs and Planar Graphs , 2020, ICALP.

[7]  David P. Williamson,et al.  New 3/4-Approximation Algorithms for the Maximum Satisfiability Problem , 1994, SIAM J. Discret. Math..

[8]  Greg N. Frederickson,et al.  Upper Bounds for Time-Space Trade-Offs in Sorting and Selection , 1987, J. Comput. Syst. Sci..

[9]  David P. Williamson,et al.  The Design of Approximation Algorithms , 2011 .

[10]  J. Ian Munro,et al.  Selection and sorting with limited storage , 1978, 19th Annual Symposium on Foundations of Computer Science (sfcs 1978).

[11]  Jianer Chen,et al.  Tight Bound on Johnson's Algorithm for Maximum Satisfiability , 1999, J. Comput. Syst. Sci..

[12]  David S. Johnson,et al.  Approximation algorithms for combinatorial problems , 1973, STOC.

[13]  J. Ian Munro,et al.  Selection and sorting with limited storage , 1978, 19th Annual Symposium on Foundations of Computer Science (sfcs 1978).

[14]  Andreas Jakoby,et al.  Logspace Versions of the Theorems of Bodlaender and Courcelle , 2010, 2010 IEEE 51st Annual Symposium on Foundations of Computer Science.

[15]  Baruch Schieber,et al.  A sublinear space, polynomial time algorithm for directed s-t connectivity , 1992, [1992] Proceedings of the Seventh Annual Structure in Complexity Theory Conference.

[16]  Osamu Watanabe,et al.  Õ(√n)-Space and Polynomial-Time Algorithm for Planar Directed Graph Reachability , 2014, MFCS.

[17]  Larry Carter,et al.  New Hash Functions and Their Use in Authentication and Set Equality , 1981, J. Comput. Syst. Sci..

[18]  János Komlós,et al.  Storing a sparse table with O(1) worst case access time , 1982, 23rd Annual Symposium on Foundations of Computer Science (sfcs 1982).

[19]  B. Mohar,et al.  Graph minors XXIII. Nash-Williams' immersion conjecture , 2010, J. Comb. Theory B.

[20]  Brenda S. Baker,et al.  Approximation algorithms for NP-complete problems on planar graphs , 1983, 24th Annual Symposium on Foundations of Computer Science (sfcs 1983).

[21]  Meena Mahajan,et al.  The complexity of planarity testing , 2004, Inf. Comput..

[22]  Saket Saurabh,et al.  Approximation in (Poly-) Logarithmic Space , 2021, Algorithmica.

[23]  Paul D. Seymour,et al.  Graph minors. III. Planar tree-width , 1984, J. Comb. Theory B.

[24]  Optimal Streaming Approximations for all Boolean Max-2CSPs and Max-ksat , 2020, 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS).

[25]  Ken-ichi Kawarabayashi,et al.  Embedding and canonizing graphs of bounded genus in logspace , 2014, STOC.

[26]  Rajeev Motwani,et al.  Towards a syntactic characterization of PTAS , 1996, STOC '96.

[27]  Karl J. Lieberherr,et al.  Complexity of partial satisfaction , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[28]  Venkatesh Raman,et al.  Selection from Read-Only Memory and Sorting with Minimum Data Movement , 1996, Theor. Comput. Sci..

[29]  Omer Reingold,et al.  Undirected connectivity in log-space , 2008, JACM.

[30]  Meena Mahajan,et al.  The complexity of planarity testing , 2000, Inf. Comput..