Erasures vs. Errors in Property Testing and Local List ...

25
Erasures vs. Errors in Property Testing and Local List Decoding Sofya Raskhodnikova Boston University Joint work with Noga Ron - Zewi (Haifa University ) Nithin Varma (Boston University )

Transcript of Erasures vs. Errors in Property Testing and Local List ...

1

Erasures vs. Errors

in Property Testing and

Local List Decoding

Sofya RaskhodnikovaBoston University

Joint work with Noga Ron-Zewi (Haifa University)

Nithin Varma (Boston University)

Goal: study of sublinear algorithms resilient to adversarial corruptions

in the input

Focus: property testing model [Rubinfeld Sudan 96, Goldreich Goldwasser Ron 98]

A Sublinear-Time Algorithm

3

B L A - B L A - B L A - B L A - B L A - B L A - B L A - B L A

approximate answer

? L? B ? L ? A

Quality of

approximation

Resourcesβ€’ number of queries

β€’ running time

randomized algorithm

A Sublinear-Time Algorithm

4

B L A - B L A - B L A - B L A - B L A - B L A - B L A - B L A

? L? B ? L ? A

approximate answer

Is it always reasonable to assume

the input is intact?

randomized algorithm

Algorithms Resilient to Erasures (or Errors)

5

βŠ₯ βŠ₯ A - B L βŠ₯ βŠ₯ B L A - B L A - βŠ₯ L A - B L A - B L βŠ₯ - B L A

? L? B ? L ?

β€’ ≀ 𝜢 fraction of the input is erased (or modified) adversarially before algorithm runs

β€’ Algorithm does not know in advance what’s erased (or modified)

β€’ Can we still perform computational tasks?

randomized algorithm

Property Tester [Rubinfeld Sudan 96,

Goldreich Goldwasser Ron 98]

randomized

algorithm

6

Property Testing

Two objects are at distance πœ€ = they differ in an πœ€ fraction of places

Don’t care

Accept with probability β‰₯ 𝟐/πŸ‘

Reject with probability β‰₯ 𝟐/πŸ‘

YES NOfar from

YESπœ€

Property Tester [Rubinfeld Sudan 96,

Goldreich Goldwasser Ron 98]

randomized

algorithm

7

Property Testing with Erasures

Two objects are at distance πœ€ = they differ in an πœ€ fraction of places

Don’t care

Accept with probability β‰₯ 𝟐/πŸ‘

Reject with probability β‰₯ 𝟐/πŸ‘

YES NOfar from

YESπœ€

Erasure-Resilient Property Tester [Dixit Raskhodnikova Thakurta Varma 16]

β€’ ≀ 𝛼 fraction of the input is erased

adversarially

Don’t care

Accept with probability β‰₯ 𝟐/πŸ‘

Reject with probability β‰₯ 𝟐/πŸ‘

Can be

completed

to YESNO

Any completion

is far from

YESπœ€

Property Tester [Rubinfeld Sudan 96,

Goldreich Goldwasser Ron 98]

randomized

algorithm

8

Property Testing with Errors

Two objects are at distance πœ€ = they differ in an πœ€ fraction of places

Don’t care

Accept with probability β‰₯ 𝟐/πŸ‘

Reject with probability β‰₯ 𝟐/πŸ‘

YES NOfar from

YESπœ€

Tolerant Property Tester[Parnas Ron Rubinfeld 06]

β€’ ≀ 𝛼 fraction of the input is wrong

Don’t care

Accept with probability β‰₯ 𝟐/πŸ‘

Reject with probability β‰₯ 𝟐/πŸ‘

YES NOfar from

YESπœ€

𝛼

Property Tester [Rubinfeld Sudan 96,

Goldreich Goldwasser Ron 98]

randomized

algorithm

9

Property Testing with Errors

Two objects are at distance πœ€ = they differ in an πœ€ fraction of places

Don’t care

Accept with probability β‰₯ 𝟐/πŸ‘

Reject with probability β‰₯ 𝟐/πŸ‘

YES NOfar from

YESπœ€

Tolerant Property Tester[Parnas Ron Rubinfeld 06]

β€’ ≀ 𝛼 fraction of the input is wrong

Don’t care

Accept with probability β‰₯ 𝟐/πŸ‘

Reject with probability β‰₯ 𝟐/πŸ‘

YES NOfar from

YESπœ€

𝛼

Relationships Between Models

Containments are strict:β€’ [Fischer Fortnow 05]: standard vs. tolerant

β€’ [Dixit Raskhodnikova Thakurta Varma 16]: standard vs. erasure-resilient

β€’ new: erasure-resilient vs. tolerant

10

Ξ΅-testable

𝛂-erasure-resiliently Ξ΅-testable

(𝛂, Ξ΅)-tolerantly testable

Our Separation

11

There is a property of 𝒏-bit strings that β€’ can be 𝜢-resiliently 𝜺-tested with constant query complexity,β€’ but requires 𝒏𝛀 𝟏 queries for tolerant testing.

Separation Theorem

Most of the talk: constant vs. 𝛀 π₯𝐨𝐠 𝒏 separation.

Main Tool: Locally List Erasure-Decodeable Codes

β€’ Locally list decodable codes have been extensively studied [Goldreich Levin 89, Sudan Trevisan Vadhan 01, Gutfreund Rothblum 08, GopalanKlivans Zuckerman 08, Ben-Aroya Efremenko Ta-Shma 10, Kopparty Saraf 13, Kopparty 15, Hemenway Ron-Zewi Wootters 17, Goi Kopparty Oliveira Ron-ZewiSaraf 17, Kopparty Ron-Zewi Saraf Wootters 18]

β€’ Only errors, not erasures were previously considered

– Not the case without the locality restriction [Guruswami 03, Guruswami Indyk 05]

Can locally list decodable codes perform better with erasures than with errors?

12

A Locally List Erasure-Decodable Code

β€’ An error-correcting code 𝓒𝑛: Σ𝑛 β†’ Σ𝑁

β€’ Parameters: 𝜢 fraction of erasures, list size β„“ and 𝒒 queries.

– the fraction of erased bits in w is at most 𝜢,– the decoder makes at most 𝒒 queries to 𝑀,– w.p. β‰₯ 2/3, for every π‘₯ ∈ Σ𝑛 with encoding 𝓒𝑛(π‘₯)

that agrees with 𝑀 on all non-erased bits, one of the algorithms 𝐴𝑗, given oracle access to 𝑀,implicitly computes π‘₯ (that is, 𝐴𝑗 𝑖 = π‘₯𝑖);

– each algorithm 𝐴𝑗 makes at most 𝒒 queries to 𝑀.

13

βŠ₯ βŠ₯ 0 0 0 1 βŠ₯ βŠ₯ 0 1 0 0 0 1 1 1 βŠ₯ 1 1 1 0 1 1 1 0 1 βŠ₯ 1 0 1 1

(𝛂, β„“, 𝒒)-local list

erasure-decoder 𝐴1 𝐴2 𝐴ℓ......Output

𝑀:

Hadamard Code

β€’ Hadamard: 0,1 π‘˜ β†’ 0,1 2π‘˜; Hadamard π‘₯ = π‘₯, 𝑦 π‘¦βˆˆ 0,1 π‘˜

β€’ Impossible to decode when fraction of errors 𝜢 β‰₯ 𝟏/𝟐.

14An improvement in dependence on 𝛼 was suggested by Venkat Guruswami

Type of

corruptions

Corruption

tolerance 𝜢List size,

β„“Number of

queries, π‘žUpper

bound

Lower bound

Errors 𝛼 ∈ 0,𝟏

𝟐

Θ1

12βˆ’ 𝛼

2 Θ1

12βˆ’ 𝛼

2

[Goldreich

Levin 89]

[Blinovsky 86,

Guruswami

Vadhan 10,

Grinberg Shaltiel

Viola 18]

Erasures 𝛼 ∈ (0,1) O1

1 βˆ’ π›ΌΞ˜

1

1 βˆ’ 𝛼

new Implicit in [Grinberg Shaltiel

Viola 18]

How does separating erasures from errors in local list decoding

help with separating them in property testing?

3CNF Properties: Hard to Test, Easy to Decide

β€’ Formula πœ™π‘› : 3CNF formula on 𝑛 variables, πœƒ(𝑛) clauses

β€’ Property π‘ƒπœ™π‘›βŠ† 0,1 𝑛: set of satisfying assignments to πœ™π‘›

β€’ π‘ƒπœ™π‘›decidable by an 𝐎(𝒏)-size circuit.

16

For sufficiently small Ξ΅, Ξ΅-testing π‘ƒπœ™π‘›

requires 𝛀 𝒏 queries.

Theorem [Ben-Sasson Harsha Raskhodnikova 05]

Testing with Advice: PCPs of Proximity (PCPPs)

[Ergun Kumar Rubinfeld 99, Ben-Sasson Goldreich Harsha Sudan Vadhan 06, Dinur Reingold 06]

β€’ If π‘₯ has the property, then βˆƒπœ‹(π‘₯) for which verifier accepts.

β€’ If π‘₯ is πœ€-far, then βˆ€πœ‹(π‘₯) verifier rejects with probability β‰₯ 2/3.

17

π‘₯ proof πœ‹(π‘₯)

Every property decidable with a circuit of size π’Žhas PCPP with proof length 𝑢(π’Ž) and constant query complexity.

Theorem

PCPP Verifier

? ?

Testing 3CNF Properties with/without a Proof

18

π‘₯ proof πœ‹(π‘₯)

PCPP Verifier

for π‘…πœ™π‘›

? ?

Ξ΅

π‘₯

Tester for π‘…πœ™π‘›

?

Ξ΅

Need Ξ©(𝑛)queries to test

without a proof

Constant query

complexity with

a proof of length 𝑂(𝑛)

Separating Property

β€’ π‘₯ satisfies the hard 3CNF property

β€’ π‘Ÿ is the number of repetitions (to balance the lengths of 2 parts)

β€’ πœ‹(π‘₯) is the proof on which the PCPP verifier accepts π‘₯

β€’ Enc uses a locally list erasure-decodable error-correcting code

– E.g., Hadamard;

– Codes with a better rate imply a stronger separation.

19

π‘₯r Enc(π‘₯ ∘ πœ‹(π‘₯) )

Separating Property: Erasure-Resilient Testing

Idea: If a constant fraction (say, 1/4) of the encoding is preserved, we can locally list erasure-decode.

20

π‘₯r Hadamard(π‘₯ ∘ πœ‹(π‘₯) )

Erasure-Resilient Tester1. Locally list erasure-decode Hadamard to get a list of algorithms.2. For each algorithm, check if:

β€’ the plain part is π‘₯π‘Ÿ by comparing u.r. bits with the corresponding bits of the decoding of π‘₯

β€’ PCPP verifier accepts π‘₯ ∘ πœ‹(π‘₯)3. Accept if, for some algorithm on the list, both checks pass.

Constant query complexity.

Separating Property: Hardness of Tolerant Testing

Idea: Reduce standard testing of 3CNF property to tolerant testing of the separating property.

β€’ Given a string π‘₯, we can simulate access to

β€’ All-zero string is Hadamard(π‘₯ ∘ πœ‹(π‘₯)) with 1/2 of the encoding bits corrupted!

β€’ Testing 3CNF property requires Ξ© 𝑛 queries, where 𝑛 = π‘₯ .

The input length for separating property is 𝑁 β‰ˆ 2𝑐𝑛.

21

π‘₯r Hadamard(π‘₯ ∘ πœ‹(π‘₯) )

π‘₯r 00000 … 00000

Ξ© 𝑛 β‰ˆ Ξ© log 𝑁 queries are needed.

What We Proved

The separating property is

β€’ erasure-resiliently testable with a constant number of queries,

β€’ but requires Ξ©(log𝑁) queries to tolerantly test.

22

Tolerant testing is harder than

erasure-resilient testing in general.

Strengthening the Separation: Challenges

If there exists a code that is locally list decodable from an 𝛼 < 1fraction of erasures with β€’ list size β„“ and number of queries π‘ž that only depend on 𝛼‒ inverse polynomial ratethen there is a stronger separation: constant vs. 𝑁𝑐.

23

The existence of such a code is an open question.

The corresponding question for the case of errors

is the holy grail of research on local decoding.

Strengthening the Separation: Main Ideas

β€’ Observation: Queries of the PCPP verifier can be made nearly uniform over proof indices [Dinur 07] + [Ben-Sasson Goldreich Harsha Sudan Vadhan 06, Guruswami Rudra 05]

– No need to decode every proof bit

β€’ Idea: Encode the proof with approximate LLDCs that decode a constant fraction of proof bits correctly.

– Approximate LLDCs of inverse-polynomial rate are known [Impagliazzo Jaiswal Kabanets Wigderson 10]

– Approximate LLDCs β‡’ approximate locally list erasure-decodable codes of asymptotically the same rate

24

Open Questions and Directions

β€’ Even stronger separation -- constant vs. linear?

β€’ Separation between errors and erasures for a "natural" property?

β€’ Are locally list erasure-decodable codes provably better than LLDCs?

– We showed it for Hadamard in terms of β„“ and π‘ž.

– Same question for the approximate case.

β€’ Constant-query, constant list size, local list erasure-decodable codes with inverse polynomial rate?

25