English

Deterministic Approximate Counting for Degree-$2$ Polynomial Threshold Functions

Computational Complexity 2013-11-28 v1 Probability

Abstract

We give a {\em deterministic} algorithm for approximately computing the fraction of Boolean assignments that satisfy a degree-22 polynomial threshold function. Given a degree-2 input polynomial p(x1,,xn)p(x_1,\dots,x_n) and a parameter \eps>0\eps > 0, the algorithm approximates Prx{1,1}n[p(x)0] \Pr_{x \sim \{-1,1\}^n}[p(x) \geq 0] to within an additive ±\eps\pm \eps in time \poly(n,2\poly(1/\eps))\poly(n,2^{\poly(1/\eps)}). Note that it is NP-hard to determine whether the above probability is nonzero, so any sort of multiplicative approximation is almost certainly impossible even for efficient randomized algorithms. This is the first deterministic algorithm for this counting problem in which the running time is polynomial in nn for \eps=o(1)\eps= o(1). For "regular" polynomials pp (those in which no individual variable's influence is large compared to the sum of all nn variable influences) our algorithm runs in \poly(n,1/\eps)\poly(n,1/\eps) time. The algorithm also runs in \poly(n,1/\eps)\poly(n,1/\eps) time to approximate PrxN(0,1)n[p(x)0]\Pr_{x \sim N(0,1)^n}[p(x) \geq 0] to within an additive ±\eps\pm \eps, for any degree-2 polynomial pp. As an application of our counting result, we give a deterministic FPT multiplicative (1±\eps)(1 \pm \eps)-approximation algorithm to approximate the kk-th absolute moment \Ex{1,1}n[p(x)k]\E_{x \sim \{-1,1\}^n}[|p(x)^k|] of a degree-2 polynomial. The algorithm's running time is of the form \poly(n)f(k,1/\eps)\poly(n) \cdot f(k,1/\eps).

Keywords

Cite

@article{arxiv.1311.7105,
  title  = {Deterministic Approximate Counting for Degree-$2$ Polynomial Threshold Functions},
  author = {Anindya De and Ilias Diakonikolas and Rocco A. Servedio},
  journal= {arXiv preprint arXiv:1311.7105},
  year   = {2013}
}
R2 v1 2026-06-22T02:16:19.921Z