Boolean Functions with Biased Inputs: Approximation and Noise Sensitivity

Mohsen Heidari, S. Sandeep Pradhan, Ramji Venkataramanan

Introduction

In computer science and learning theory, decision-making processes are frequently modeled as Boolean functions—mathematical constructs that map binary inputs to a binary output. Traditional analysis of these functions often assumes a uniform distribution, where each input bit has an equal 50/50 chance of being -1 or 1. However, real-world data is rarely so balanced. For instance, in a medical diagnostic tool for a rare disease, "positive" indicators are significantly less frequent than "negative" ones.

This paper introduces a mathematical framework for approximating complex Boolean functions using simpler models, such as $k$-juntas (functions depending on only a few variables) and linear functions, specifically when the input data is biased. By extending Fourier analysis to the p-biased setting, the authors characterize optimal approximations and provide generalized formulas for noise sensitivity under skewed distributions.

Methods: p-Biased Fourier Analysis

The core methodology relies on p-biased Fourier expansion. Unlike standard Fourier analysis, which decomposes functions over a uniform distribution, the p-biased version utilizes an orthonormal basis tailored to the specific probability of the input bits.

A central technical contribution is Lemma 1, which establishes a general expression for the "mismatch probability"—the likelihood that two functions, $f$ and $g$, produce different outputs given statistically correlated inputs. This lemma serves a dual purpose:

  1. Approximation: By setting the correlation to 1, the authors identify the function $g$ that minimizes mismatch with $f$.
  2. Noise Sensitivity: By treating $g$ as a noisy version of $f$, the correlation coefficient represents the level of noise, allowing for a robust characterization of how likely a function's output is to change under biased corruption.

Key Insights: The Impact of Input Bias

A primary takeaway is that the "best" simple version of a function is not static; it shifts dynamically with the input distribution. The authors demonstrate that the optimal $k$-junta approximation is equivalent to the Maximum A Posteriori (MAP) estimator—the best guess based on the information available in $k$ bits.

The mismatch probability of optimal linear approximations for $OR_5$ and $MAJ_5$ as a function of input bias. The sharp peak in the $OR_5$ curve illustrates a sudden shift in the optimal approximating function.

As shown in Figure 2, for the $OR_5$ function, the optimal linear approximation can change abruptly. At high levels of bias, the best approximation might be a simple constant. However, as the bias shifts toward a specific threshold (around $P(X=1) \approx 0.82$), the optimal approximation "jumps" to a different function, resulting in a distinct cusp in the mismatch probability curve.

Key Results and Quantitative Bounds

The paper provides several formal theorems to quantify these approximations:

  • Theorem 1 ($k$-juntas): Defines the minimum mismatch probability for a $k$-junta based on the $L_1$ norm of the function's projection onto a subset of variables.
  • Theorem 2 (Linear Functions): Characterizes the optimal linear approximation and provides a formula to calculate the minimum mismatch based on biased Fourier coefficients.
Optimal mismatch probabilities for $OR_5$ and $MAJ_5$ alongside the upper and lower bounds derived from Fourier "energy" projections.

To simplify these calculations, the authors present Corollary 1, which offers quantitative upper and lower bounds for the mismatch probability (Figure 1). These bounds are particularly useful because they rely on the "energy" (squared Fourier coefficients) of the function's projection, which is often easier to compute than the exact mismatch probability.

Limitations and Future Directions

While the paper provides a robust theoretical foundation, several challenges remain:

  • Computational Complexity: Identifying the optimal $k$-junta for very large numbers of inputs ($n$) remains difficult, as it requires searching through numerous variable subsets.
  • Learning from Samples: An open question is how to efficiently learn these optimal approximations from a limited number of samples when the full mathematical description of the function is unknown.
  • Broader Function Classes: The current study focuses on $k$-juntas and linear functions. Future research could extend these techniques to other classes, such as Linear Threshold Functions, which are fundamental components of neural networks.

Summary updated

Abstract

This paper considers the problem of approximating a Boolean function f using another Boolean function from a specified class. Two classes of approximating functions are considered: k-juntas, and linear Boolean functions. The n input bits of the function are assumed to be independently drawn from a distribution that may be biased. The quality of approximation is measured by the mismatch probability between f and the approximating function g. For each class, the optimal approximation and the associated mismatch probability is characterized in terms of the biased Fourier expansion of f. The technique used to analyze the mismatch probability also yields an expression for the noise sensitivity of f in terms of the biased Fourier coefficients, under a general i.i.d. input perturbation model.
BibTeX
@inproceedings{heidari2019boolean,
  author = {Mohsen Heidari and S. Sandeep Pradhan and Ramji Venkataramanan},
  title = {{Boolean Functions with Biased Inputs: Approximation and Noise Sensitivity}},
  booktitle = {ISIT},
  year = {2019},
  url = {https://openreview.net/forum?id=BCGb49NVGmq},
}
Figure