Bounded Independence Fools Halfspaces

Ilias Diakonikolas, Parikshit Gopalan, Ragesh Jaiswal, Rocco A. Servedio, Emanuele Viola

Abstract

This paper establishes that $k$-wise independent distributions are sufficient to "fool" the class of linear threshold functions (LTFs), also known as halfspaces. By demonstrating that a distribution with limited independence ($k \approx 1/\epsilon^2$) is indistinguishable from a truly random distribution to any halfspace, the authors provide the first explicit and efficient pseudorandom generator (PRG) for this fundamental class of functions. The proof utilizes a structural decomposition of halfspaces based on the "critical index" and employs real approximation theory to construct sandwiching polynomials.

Introduction

A central goal in theoretical computer science is the reduction of randomness required by computational processes. This is achieved through the construction of Pseudorandom Generators (PRGs)—algorithms that transform a short, truly random seed into a longer string of bits that appears random to a specific class of functions. A distribution is said to "fool" a function class if the expected output of any function in that class, when evaluated on the distribution, is nearly identical to its expectation under a uniform distribution.

This research focuses on halfspaces (Linear Threshold Functions), defined as $h(x) = \text{sign}(w_1x_1 + \dots + w_nx_n - \theta)$. Halfspaces are foundational in machine learning (e.g., Perceptrons, SVMs) and social choice theory (e.g., weighted voting). While prior work successfully addressed halfspaces with small integer weights, general halfspaces—where weights can be arbitrarily large and require $n \log n$ bits to represent—remained a significant challenge. This paper seeks a weight-oblivious distribution that fools any halfspace regardless of its coefficient magnitude.

Methodology

The authors prove that $k$-wise independence is sufficient for fooling halfspaces. A distribution is $k$-wise independent if every subset of $k$ bits is perfectly uniform. The proof relies on a three-part structural analysis:

1. Fooling Regular Halfspaces

A halfspace is considered "regular" if no single weight dominates the total weight (i.e., the weights are well-distributed). For these functions, the sum of the variables behaves similarly to a Normal distribution, a property derived from the Berry-Esseen theorem. To prove regularity implies fooling, the authors utilize real approximation theory. Specifically, they apply Jackson’s and Chebyshev’s theorems to create "sandwiching polynomials"—low-degree polynomials that provide tight upper and lower bounds for the sign function.

2. The Critical Index

For halfspaces that are not regular, the authors introduce the "$\epsilon$-critical index." This tool involves sorting the weights by magnitude and identifying the point at which the "tail" of the weight sequence becomes regular. This index serves as a pivot point for the analysis of weight distribution.

3. Head vs. Tail Analysis

The analysis bifurcates based on the size of the critical index:

  • Small Critical Index: If the index is small, the authors show that for almost any fixed setting of the "head" variables (those with dominant weights), the remaining "tail" variables are sufficiently regular to be fooled by the polynomial approximation techniques used in Step 1.
  • Large Critical Index: If the index is large, the weights must decrease geometrically. In this scenario, the head variables are highly likely to determine the sign of the entire sum, rendering the tail variables irrelevant to the final outcome.

Key Insights

  • The Power of Limited Independence: The most significant insight is that global randomness is unnecessary for linear thresholds. Ensuring that every small group of $k$ variables is independent is enough to make the global sum behave predictably.
  • Bridging Discrete and Continuous Mathematics: The proof bridges the discrete domain of Boolean functions $\{-1, 1\}^n$ and the continuous domain of real-valued approximation theory. By approximating the discrete sign function with continuous polynomials, the authors apply classical 20th-century mathematical results to modern complexity theory.
  • Weight Invariance: The result is "weight-oblivious." The required degree of independence ($O(1/\epsilon^2)$) remains constant whether the weights are small integers or high-precision real numbers.

Results

The primary contribution of the paper is the Main Theorem: A $k$-wise independent distribution fools any halfspace with error $\epsilon$ if $k = O(\log^2(1/\epsilon)/\epsilon^2)$.

This result is nearly optimal, matching known lower bounds of $k = \Omega(1/(\epsilon^2 \log(1/\epsilon)))$ within logarithmic factors. By integrating this result with standard methods for generating $k$-wise independent bits, the authors construct a PRG with a seed length of $s = O(\log n \cdot \log^2(1/\epsilon)/\epsilon^2)$. This represents the first explicit PRG for general halfspaces with a seed length that is logarithmic in the number of variables $n$.

Discussion and Future Work

While the seed length is logarithmic in $n$, it has not yet reached the information-theoretic optimum of $s = O(\log(n/\epsilon))$, as it retains a $1/\epsilon^2$ dependence. Furthermore, this work is limited to linear threshold functions (degree-1 polynomials). A natural extension is to investigate whether $k$-wise independence can fool Polynomial Threshold Functions (PTFs) of higher degrees. Finally, these results suggest potential improvements in deterministic algorithms for approximately counting the satisfying assignments of a halfspace, a problem closely linked to #P-completeness.

Summary updated

BibTeX
@article{diakonikolas2010bounded,
  author = {Ilias Diakonikolas and Parikshit Gopalan and Ragesh Jaiswal and Rocco A. Servedio and Emanuele Viola},
  title = {{Bounded Independence Fools Halfspaces}},
  journal = {SIAM Journal on Computing},
  year = {2010},
  doi = {10.1137/100783030},
}

Loading related content...

Figure