Chi-Ning Chou, Alexander Golovnev, Madhu Sudan, Santhoshini Velusamy
{"title":"Sketching approximability of all finite CSPs","authors":"Chi-Ning Chou, Alexander Golovnev, Madhu Sudan, Santhoshini Velusamy","doi":"10.1145/3649435","DOIUrl":null,"url":null,"abstract":"<p>A constraint satisfaction problem (CSP), \\(\\mathsf {Max-CSP}(\\mathcal {F}) \\), is specified by a finite set of constraints \\(\\mathcal {F} \\subseteq \\lbrace [q]^k \\rightarrow \\lbrace 0,1\\rbrace \\rbrace \\) for positive integers <i>q</i> and <i>k</i>. An instance of the problem on <i>n</i> variables is given by <i>m</i> applications of constraints from \\(\\mathcal {F} \\) to subsequences of the <i>n</i> variables, and the goal is to find an assignment to the variables that satisfies the maximum number of constraints. In the (<i>γ</i>, <i>β</i>)-approximation version of the problem for parameters 0 ≤ <i>β</i> < <i>γ</i> ≤ 1, the goal is to distinguish instances where at least <i>γ</i> fraction of the constraints can be satisfied from instances where at most <i>β</i> fraction of the constraints can be satisfied. </p><p>In this work, we consider the approximability of this problem in the context of sketching algorithms and give a dichotomy result. Specifically, for every family \\(\\mathcal {F} \\) and every <i>β</i> < <i>γ</i>, we show that either a linear sketching algorithm solves the problem in polylogarithmic space, or the problem is not solvable by any sketching algorithm in \\(o(\\sqrt {n}) \\) space. In particular, we give non-trivial approximation algorithms using polylogarithmic space for infinitely many constraint satisfaction problems. </p><p>We also extend previously known lower bounds for general streaming algorithms to a wide variety of problems, and in particular the case of <i>q</i> = <i>k</i> = 2, where we get a dichotomy, and the case when the satisfying assignments of the constraints of \\(\\mathcal {F} \\) support a distribution on [<i>q</i>]<sup><i>k</i></sup> with uniform marginals. </p><p>Prior to this work, other than sporadic examples, the only systematic classes of CSPs that were analyzed considered the setting of Boolean variables <i>q</i> = 2, binary constraints <i>k</i> = 2, singleton families \\(|\\mathcal {F}|=1 \\) and only considered the setting where constraints are placed on literals rather than variables. </p><p>Our positive results show wide applicability of bias-based algorithms used previously by [47] and [41], which we extend to include richer norm estimation algorithms, by giving a systematic way to discover biases. Our negative results combine the Fourier analytic methods of [56], which we extend to a wider class of CSPs, with a rich collection of reductions among communication complexity problems that lie at the heart of the negative results. In particular, previous works used Fourier analysis over the Boolean cube to initiate their results and the results seemed particularly tailored to functions on Boolean literals (i.e., with negations). Our techniques surprisingly allow us to get to general <i>q</i>-ary CSPs without negations by appealing to the same Fourier analytic starting point over Boolean hypercubes.</p>","PeriodicalId":50022,"journal":{"name":"Journal of the ACM","volume":"67 1","pages":""},"PeriodicalIF":2.3000,"publicationDate":"2024-02-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the ACM","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1145/3649435","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
A constraint satisfaction problem (CSP), \(\mathsf {Max-CSP}(\mathcal {F}) \), is specified by a finite set of constraints \(\mathcal {F} \subseteq \lbrace [q]^k \rightarrow \lbrace 0,1\rbrace \rbrace \) for positive integers q and k. An instance of the problem on n variables is given by m applications of constraints from \(\mathcal {F} \) to subsequences of the n variables, and the goal is to find an assignment to the variables that satisfies the maximum number of constraints. In the (γ, β)-approximation version of the problem for parameters 0 ≤ β < γ ≤ 1, the goal is to distinguish instances where at least γ fraction of the constraints can be satisfied from instances where at most β fraction of the constraints can be satisfied.
In this work, we consider the approximability of this problem in the context of sketching algorithms and give a dichotomy result. Specifically, for every family \(\mathcal {F} \) and every β < γ, we show that either a linear sketching algorithm solves the problem in polylogarithmic space, or the problem is not solvable by any sketching algorithm in \(o(\sqrt {n}) \) space. In particular, we give non-trivial approximation algorithms using polylogarithmic space for infinitely many constraint satisfaction problems.
We also extend previously known lower bounds for general streaming algorithms to a wide variety of problems, and in particular the case of q = k = 2, where we get a dichotomy, and the case when the satisfying assignments of the constraints of \(\mathcal {F} \) support a distribution on [q]k with uniform marginals.
Prior to this work, other than sporadic examples, the only systematic classes of CSPs that were analyzed considered the setting of Boolean variables q = 2, binary constraints k = 2, singleton families \(|\mathcal {F}|=1 \) and only considered the setting where constraints are placed on literals rather than variables.
Our positive results show wide applicability of bias-based algorithms used previously by [47] and [41], which we extend to include richer norm estimation algorithms, by giving a systematic way to discover biases. Our negative results combine the Fourier analytic methods of [56], which we extend to a wider class of CSPs, with a rich collection of reductions among communication complexity problems that lie at the heart of the negative results. In particular, previous works used Fourier analysis over the Boolean cube to initiate their results and the results seemed particularly tailored to functions on Boolean literals (i.e., with negations). Our techniques surprisingly allow us to get to general q-ary CSPs without negations by appealing to the same Fourier analytic starting point over Boolean hypercubes.
期刊介绍:
The best indicator of the scope of the journal is provided by the areas covered by its Editorial Board. These areas change from time to time, as the field evolves. The following areas are currently covered by a member of the Editorial Board: Algorithms and Combinatorial Optimization; Algorithms and Data Structures; Algorithms, Combinatorial Optimization, and Games; Artificial Intelligence; Complexity Theory; Computational Biology; Computational Geometry; Computer Graphics and Computer Vision; Computer-Aided Verification; Cryptography and Security; Cyber-Physical, Embedded, and Real-Time Systems; Database Systems and Theory; Distributed Computing; Economics and Computation; Information Theory; Logic and Computation; Logic, Algorithms, and Complexity; Machine Learning and Computational Learning Theory; Networking; Parallel Computing and Architecture; Programming Languages; Quantum Computing; Randomized Algorithms and Probabilistic Analysis of Algorithms; Scientific Computing and High Performance Computing; Software Engineering; Web Algorithms and Data Mining