Locally decodable codes are smooth #
Katz and Trevisan [KatzTrevisan2000, Theorem 1] observed that a local decoder can be made smooth: a
(q, δ, ε) local decoder yields a (q, q / δ, ε) smooth decoder (restated as Kerenidis and
de Wolf, Theorem 9, arXiv:quant-ph/0208062v2, for non-adaptive decoders).
The decoder reads at most q positions in expectation, so at most δ |P| positions are heavy,
read more than q / (δ |P|) times in expectation (Code.card_heavyPositions_le). The smooth
decoder runs the local decoder but answers the queries to heavy positions itself, from a fixed word
z, without reading them (Code.mask). Run on the codeword C x, it behaves as the local decoder
run on the word that agrees with z on the heavy positions and with C x elsewhere, which differs
from C x on at most δ |P| positions, so it still outputs each bit with probability 1 / 2 + ε;
and it reads no heavy position, while it reads every other position as often as the local decoder,
whose reads do not depend on the word, does against z.
For decoders with oblivious reads (Code.HasObliviousReads)—which includes every non-adaptive
decoder (Code.hasObliviousReads_nonadaptive, Code.hasObliviousReads_nonadaptivePlan) and every
one-query decoder (Code.hasObliviousReads_of_isQueryBounded_one)—smoothing incurs no loss in
advantage (Code.isSmoothDecoder_mask_heavyPositions).
For an arbitrary adaptive q-query decoder over a finite nonempty alphabet Γ, guessing the
answers to the first q - 1 queries uniformly at random (aborting to a fair coin flip on any
mismatch, and padding early stops to match the attenuation factor) yields an explicit non-adaptive
query plan (Code.NonadaptivePlan, Code.nonadaptivize) whose output bias is scaled by exactly
|Γ| ^ -(q - 1) (Code.toReal_decodeLaw_nonadaptivize) [Yek12]. Masking its heavy
positions therefore smooths any adaptive (q, δ, ε) local decoder into a non-adaptive
(q, q / δ, ε / |Γ| ^ (q - 1)) smooth decoder (Code.IsLocalDecoder.isSmoothDecoder_adaptive,
Code.IsLocallyDecodable.isSmoothCode). Smoothness is measured here by expected reads, which bounds
the probability of reading each position.
Main definitions #
Cslib.Code.mask: answer the queries to some positions from a fixed word.Cslib.Code.heavyPositions: the positions read more often than a threshold.Cslib.Code.NonadaptivePlan,Cslib.Code.nonadaptivePlan: non-adaptive query plans with at mostqoptional queries and their execution as aProbOracleComp.Cslib.Code.nonadaptivizePlan,Cslib.Code.nonadaptivize: adaptive-to-non-adaptive reduction scaling output bias by|Γ| ^ -(q - 1).
Main results #
Cslib.Code.isSmoothDecoder_mask_heavyPositions: local decoders with oblivious reads become smooth after masking their heavy positions [KT00].Cslib.Code.IsLocalDecoder.isSmoothCode: a locally decodable code with an oblivious-read decoder is smooth.Cslib.Code.IsLocalDecoder.isSmoothCode_of_one: every one-query locally decodable code is smooth.Cslib.Code.toReal_decodeLaw_nonadaptivize: exact output-law attenuation ofnonadaptivize.Cslib.Code.IsLocalDecoder.nonadaptivize: every adaptive(q, δ, ε)local decoder yields a non-adaptive(q, δ, ε / |Γ| ^ (q - 1))local decoder.Cslib.Code.isSmoothDecoder_mask_nonadaptivePlan: masking a non-adaptive local decoder yields a non-adaptive smooth decoder with no advantage loss.Cslib.Code.IsLocallyDecodable.isSmoothCode: every(q, δ, ε)locally decodable code, adaptive or not, is a(q, q / δ, ε / |Γ| ^ (q - 1))smooth code.
References #
Run program, answering its queries to the positions of H from the word z instead of
querying them.
The word that agrees with z on H and with y elsewhere.
Masking makes no more queries.
The masked program run against y is the program run against y spliced with z on H.
The masked program reads no position of H, and reads every other position as often as the
program run against the spliced word.
The spliced word differs from y only on H.
Heavy positions #
The positions that program, run against z, reads more than c / |P| times in
expectation.
Few positions are heavy: a program making at most q queries reads more than
q / (δ |P|) times in expectation at most δ |P| positions.
Smoothing #
Katz–Trevisan smoothing [KatzTrevisan2000, Theorem 1], as restated in Kerenidis and
de Wolf, Theorem 9 (arXiv:quant-ph/0208062v2): a (q, δ, ε) local decoder
whose reads do not depend on the received word becomes a (q, q / δ, ε) smooth decoder when the
queries to its heavy positions are answered from a fixed word z instead.
Source mapping. The source states that every (q, δ, ε) locally decodable code is a
(q, q / δ, ε) smooth code, for non-adaptive decoders (Definitions 1 and 3 there), with smoothness
bounding the probability of querying each position. Here the hypothesis is that the reads are
oblivious (HasObliviousReads), which holds for every non-adaptive decoder
(hasObliviousReads_nonadaptive) and for every one-query decoder, adaptive or not
(hasObliviousReads_of_isQueryBounded_one); general adaptive decoders are not covered. The
conclusion bounds expected reads, which is at least as strong as the source's read-probability
bound.
A locally decodable code with an oblivious-read decoder is smooth.
Decoders making one query #
A program making no query reads no position.
A program making no query has the same output law against every word.
A decoder making one query has oblivious reads: the position it reads is chosen before it reads anything.
One-query locally decodable codes are smooth, the case q = 1 of
[KatzTrevisan2000, Theorem 1] (see isSmoothDecoder_mask_heavyPositions): a (1, δ, ε) local
decoder, adaptive or not, yields a (1, 1 / δ, ε) smooth decoder.
Non-adaptive query plans #
A deterministic non-adaptive query plan making at most q queries: slot k queries j when
queries k = some j and is skipped when queries k = none, and decide computes the output bit
from the symbols read.
Position queried in each of the
qslots, ornoneto skip the slot.Deterministic decision rule applied to the symbols read.
Instances For
Evaluate a non-adaptive query plan against a received word y.
The set of positions queried by a non-adaptive query plan.
The output of a non-adaptive plan depends only on the received word on its query set.
Evaluate a non-adaptive plan given only the symbols on its query set.
Mask the positions in H using the fixed word z: queries to H are skipped and answered
directly from z.
Convert a fixed-tuple non-adaptive decision (Q, output) into a NonadaptivePlan.
Run a distribution over non-adaptive query plans as a local-decoder program.
Convert a Code.nonadaptive decoder into an equivalent NonadaptivePlan sampler.
Adaptive-to-non-adaptive reduction and general smoothing #
Convert any q-query adaptive decoder program into a non-adaptive query-plan sampler by
guessing the answers to the first q - 1 queries uniformly at random, outputting a fair coin on
any mismatch, and matching the attenuation factor on early stops [Yek12].
The non-adaptive decoder program obtained from an adaptive q-query program by guessing the
first q - 1 answers.
Exact output law of the adaptive-to-non-adaptive reduction: nonadaptivize scales the
deviation of every output probability from 1 / 2 by |Γ| ^ -(q - 1). In particular, q ≤ 1
incurs no loss.
Adaptive-to-non-adaptive reduction for local decoders [Yek12]: every (q, δ, ε)
local decoder (adaptive or not) yields a non-adaptive (q, δ, ε / |Γ| ^ (q - 1)) local decoder.
Masking the heavy positions of a non-adaptive local decoder produces an explicit non-adaptive
(q, q / δ, ε) smooth decoder with no loss in advantage [KatzTrevisan2000, Theorem 1].
Adaptive Katz–Trevisan smoothing: every (q, δ, ε) local decoder (adaptive or not) over a
finite nonempty alphabet Γ yields an explicit non-adaptive (q, q / δ, ε / |Γ| ^ (q - 1)) smooth
decoder, combining the adaptive-to-non-adaptive reduction [Yek12] with heavy-position
masking [KatzTrevisan2000, Theorem 1].
Every locally decodable code is smooth: an arbitrary (possibly adaptive) (q, δ, ε)
locally decodable code over a finite nonempty alphabet Γ is a (q, q / δ, ε / |Γ| ^ (q - 1))
smooth code.