Noisy Computing of the Threshold Function

Abstract

Let THk denote the k-out-of-n threshold function: given n input Boolean variables, the output is 1 if and only if at least k of the inputs are 1. We consider the problem of computing the THk function using noisy readings of the Boolean variables, where each reading is incorrect with some fixed and known probability p ∈ (0,1/2). As our main result, we show that it is sufficient to use (1+o(1)) n mδDKL(p \| 1-p) queries in expectation to compute the THk function with a vanishing error probability δ = o(1), where m \k,n-k+1\ and DKL(p \| 1-p) denotes the Kullback-Leibler divergence between Bern(p) and Bern(1-p) distributions. Conversely, we show that any algorithm achieving an error probability of δ = o(1) necessitates at least (1-o(1))(n-m)mδDKL(p \| 1-p) queries in expectation. The upper and lower bounds are tight when m=o(n), and are within a multiplicative factor of nn-m when m=(n). In particular, when k=n/2, the THk function corresponds to the MAJORITY function, in which case the upper and lower bounds are tight up to a multiplicative factor of two. Compared to previous work, our result tightens the dependence on p in both the upper and lower bounds.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…