73
Learning Read-Constant Polynomials of Constant Degree Modulo Composites Arkadev Chattopadhyay 1 Ricard Gavald` a 2 Kristoffer Arnsfelt Hansen 3 Denis Th ´ erien 4 1 University of Toronto 2 Universitat Polit` ecnica de Catalunya 3 Aarhus University 4 McGill University CSR 2011 — June 14, 2011 Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 1/27

Csr2011 june14 12_00_hansen

  • View
    417

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Csr2011 june14 12_00_hansen

Learning Read-Constant Polynomials ofConstant Degree Modulo Composites

Arkadev Chattopadhyay1 Ricard Gavalda2

Kristoffer Arnsfelt Hansen3 Denis Therien4

1University of Toronto

2Universitat Politecnica de Catalunya

3Aarhus University

4McGill University

CSR 2011 — June 14, 2011

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 1/27

Page 2: Csr2011 june14 12_00_hansen

This talk

Boolean functions represented by polynomials over Zm,with m composite.Angluin’s exact learning model.Programs over groups/monoids.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 2/27

Page 3: Csr2011 june14 12_00_hansen

Modular polynomials

P(x1, . . . ,xn) is a polynomial over Zm.A⊆ Zm is an accepting set.

The pair (P,A) computes the Boolean functionf : 0,1n→0,1 given by

f (x) = 1 if and only if P(x) ∈ A

We also say that P is a “generalized” representation of f .Most important parameter: The degree deg(P) of P.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 3/27

Page 4: Csr2011 june14 12_00_hansen

Modular polynomials

P(x1, . . . ,xn) is a polynomial over Zm.A⊆ Zm is an accepting set.

The pair (P,A) computes the Boolean functionf : 0,1n→0,1 given by

f (x) = 1 if and only if P(x) ∈ A

We also say that P is a “generalized” representation of f .

Most important parameter: The degree deg(P) of P.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 3/27

Page 5: Csr2011 june14 12_00_hansen

Modular polynomials

P(x1, . . . ,xn) is a polynomial over Zm.A⊆ Zm is an accepting set.

The pair (P,A) computes the Boolean functionf : 0,1n→0,1 given by

f (x) = 1 if and only if P(x) ∈ A

We also say that P is a “generalized” representation of f .Most important parameter: The degree deg(P) of P.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 3/27

Page 6: Csr2011 june14 12_00_hansen

State of affairs

We don’t really understand the computational power of modularpolynomials.

“Surprising” upper bounds of degree O(n1/r ) for somefundamental functions.Best degree lower bound is Ω(logn).

This talk: Polynomials of constant degree.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 4/27

Page 7: Csr2011 june14 12_00_hansen

State of affairs

We don’t really understand the computational power of modularpolynomials.

“Surprising” upper bounds of degree O(n1/r ) for somefundamental functions.

Best degree lower bound is Ω(logn).

This talk: Polynomials of constant degree.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 4/27

Page 8: Csr2011 june14 12_00_hansen

State of affairs

We don’t really understand the computational power of modularpolynomials.

“Surprising” upper bounds of degree O(n1/r ) for somefundamental functions.Best degree lower bound is Ω(logn).

This talk: Polynomials of constant degree.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 4/27

Page 9: Csr2011 june14 12_00_hansen

State of affairs

We don’t really understand the computational power of modularpolynomials.

“Surprising” upper bounds of degree O(n1/r ) for somefundamental functions.Best degree lower bound is Ω(logn).

This talk: Polynomials of constant degree.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 4/27

Page 10: Csr2011 june14 12_00_hansen

Angluin’s exact learning model

Let C be a concept class of Boolean functions, together with ascheme for representing the functions.

Teacher holds Boolean function f ∈ C (the target function).Learner, having no knowledge of f , wishes to learn f (i.efind a representation of f ).

Two types of queries:Membership: Learner presents x ∈ 0,1n. Teacher responds

with f (x).Equivalence: Learner presents (representation of) Boolean

function g. Teacher responds with EQUAL if f = g,or presents x ∈ 0,1n such that g(x) 6= f (x).

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 5/27

Page 11: Csr2011 june14 12_00_hansen

Angluin’s exact learning model

Let C be a concept class of Boolean functions, together with ascheme for representing the functions.

Teacher holds Boolean function f ∈ C (the target function).Learner, having no knowledge of f , wishes to learn f (i.efind a representation of f ).

Two types of queries:

Membership: Learner presents x ∈ 0,1n. Teacher respondswith f (x).

Equivalence: Learner presents (representation of) Booleanfunction g. Teacher responds with EQUAL if f = g,or presents x ∈ 0,1n such that g(x) 6= f (x).

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 5/27

Page 12: Csr2011 june14 12_00_hansen

Angluin’s exact learning model

Let C be a concept class of Boolean functions, together with ascheme for representing the functions.

Teacher holds Boolean function f ∈ C (the target function).Learner, having no knowledge of f , wishes to learn f (i.efind a representation of f ).

Two types of queries:Membership: Learner presents x ∈ 0,1n. Teacher responds

with f (x).

Equivalence: Learner presents (representation of) Booleanfunction g. Teacher responds with EQUAL if f = g,or presents x ∈ 0,1n such that g(x) 6= f (x).

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 5/27

Page 13: Csr2011 june14 12_00_hansen

Angluin’s exact learning model

Let C be a concept class of Boolean functions, together with ascheme for representing the functions.

Teacher holds Boolean function f ∈ C (the target function).Learner, having no knowledge of f , wishes to learn f (i.efind a representation of f ).

Two types of queries:Membership: Learner presents x ∈ 0,1n. Teacher responds

with f (x).Equivalence: Learner presents (representation of) Boolean

function g. Teacher responds with EQUAL if f = g,or presents x ∈ 0,1n such that g(x) 6= f (x).

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 5/27

Page 14: Csr2011 june14 12_00_hansen

A slight generalization of modularpolynomials

P(x1, . . . ,xn) is a polynomial over finite commutative ringwith unity R.A⊆R is an accepting set.

The pair (P,A) computes the Boolean functionf : 0,1n→0,1 given by

f (x) = 1 if and only if P(x) ∈ A

Remarks:Without loss of generality: R = Zl

m for some m and l .Equivalently: A constant sized Boolean combination ofBoolean functions computed by polynomials over Zm.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 6/27

Page 15: Csr2011 june14 12_00_hansen

A slight generalization of modularpolynomials

P(x1, . . . ,xn) is a polynomial over finite commutative ringwith unity R.A⊆R is an accepting set.

The pair (P,A) computes the Boolean functionf : 0,1n→0,1 given by

f (x) = 1 if and only if P(x) ∈ A

Remarks:Without loss of generality: R = Zl

m for some m and l .

Equivalently: A constant sized Boolean combination ofBoolean functions computed by polynomials over Zm.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 6/27

Page 16: Csr2011 june14 12_00_hansen

A slight generalization of modularpolynomials

P(x1, . . . ,xn) is a polynomial over finite commutative ringwith unity R.A⊆R is an accepting set.

The pair (P,A) computes the Boolean functionf : 0,1n→0,1 given by

f (x) = 1 if and only if P(x) ∈ A

Remarks:Without loss of generality: R = Zl

m for some m and l .Equivalently: A constant sized Boolean combination ofBoolean functions computed by polynomials over Zm.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 6/27

Page 17: Csr2011 june14 12_00_hansen

Our goal with this research

Theorem (?)Let R be fixed. The class of Boolean functions computed bypolynomials over R of constant degree can be exactly learnedin deterministic polynomial from membership queries.

Still an open problem, even when R = Zm for composite m.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 7/27

Page 18: Csr2011 june14 12_00_hansen

Our goal with this research

Theorem (?)Let R be fixed. The class of Boolean functions computed bypolynomials over R of constant degree can be exactly learnedin deterministic polynomial from membership queries.Still an open problem, even when R = Zm for composite m.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 7/27

Page 19: Csr2011 june14 12_00_hansen

Our result

TheoremLet R be fixed. The class of Boolean functions computed byread-constant polynomials over R of constant degree can beexactly learned in deterministic polynomial from membershipqueries.

Read-constant: Every variable occurs in only constantly manymonomials.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 8/27

Page 20: Csr2011 june14 12_00_hansen

Our result

TheoremLet R be fixed. The class of Boolean functions computed byread-constant polynomials over R of constant degree can beexactly learned in deterministic polynomial from membershipqueries.

Read-constant: Every variable occurs in only constantly manymonomials.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 8/27

Page 21: Csr2011 june14 12_00_hansen

Programs over groups/monoids

Let M be a finite monoid.

Instruction Triple < i ,g,h >, i ∈ [n], g,h ∈M.Program List L = (`1, . . . , `m) of instructions, and accepting

set A⊆M.

The pair (L,A) computes the Boolean function function f asfollows.

< i ,g,h >(x) =

g if xi = 1h if xi = 0

f (x) = 1 if and only ifm

∏i=1

`i(x) ∈ A

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 9/27

Page 22: Csr2011 june14 12_00_hansen

Programs over groups/monoids

Let M be a finite monoid.

Instruction Triple < i ,g,h >, i ∈ [n], g,h ∈M.Program List L = (`1, . . . , `m) of instructions, and accepting

set A⊆M.

The pair (L,A) computes the Boolean function function f asfollows.

< i ,g,h >(x) =

g if xi = 1h if xi = 0

f (x) = 1 if and only ifm

∏i=1

`i(x) ∈ A

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 9/27

Page 23: Csr2011 june14 12_00_hansen

Programs over groups/monoids

Let M be a finite monoid.

Instruction Triple < i ,g,h >, i ∈ [n], g,h ∈M.Program List L = (`1, . . . , `m) of instructions, and accepting

set A⊆M.

The pair (L,A) computes the Boolean function function f asfollows.

< i ,g,h >(x) =

g if xi = 1h if xi = 0

f (x) = 1 if and only ifm

∏i=1

`i(x) ∈ A

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 9/27

Page 24: Csr2011 june14 12_00_hansen

Programs vs. circuit classesAlgebraic structure Circuit classAny monoid NC1

Solvable monoid ACC0

Aperiodic monoid AC0

...

Solvable group CC0

Nilpotent group NC0 MODNC0

Abelian group NC0 MODp-group MODp NC0

...

The class of Boolean functions computed by constant degreepolynomials over a finite commutative ring with unity R is avery natural concept class!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 10/27

Page 25: Csr2011 june14 12_00_hansen

Programs vs. circuit classesAlgebraic structure Circuit classAny monoid NC1

Solvable monoid ACC0

Aperiodic monoid AC0

...Solvable group CC0

Nilpotent group NC0 MODNC0

Abelian group NC0 MODp-group MODp NC0

...

The class of Boolean functions computed by constant degreepolynomials over a finite commutative ring with unity R is avery natural concept class!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 10/27

Page 26: Csr2011 june14 12_00_hansen

Programs vs. circuit classesAlgebraic structure Circuit classAny monoid NC1

Solvable monoid ACC0

Aperiodic monoid AC0

...Solvable group CC0

Nilpotent group NC0 MODNC0

Abelian group NC0 MODp-group MODp NC0

...

The class of Boolean functions computed by constant degreepolynomials over a finite commutative ring with unity R is avery natural concept class!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 10/27

Page 27: Csr2011 june14 12_00_hansen

Notation

M ⊆ [n] represent the monomial ∏i∈M xi .χM ∈ 0,1

n is characteristic vector of M.cM is coefficient of monomial M.If w ∈ 0,1n, Iw ⊆ [n] is the indices i where wi = 1.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 11/27

Page 28: Csr2011 june14 12_00_hansen

Structural properties ofpolynomials

Theorem (Peladeau and Therien)Let R be a finite commutative ring with unity and d any number.Then there exist a constant c = c(R,d) such that:

For any polynoimial P over R of degree at most d and forany r ∈ range(P) there exist w ∈ 0,1n with |Iw | ≤ c suchthat P(w) = r .

Remarks:Proved using an inductive Ramsey-theoretic argument.Strong relation to the degree for representing the ANDfunction over R.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 12/27

Page 29: Csr2011 june14 12_00_hansen

Structural properties ofpolynomials

Theorem (Peladeau and Therien)Let R be a finite commutative ring with unity and d any number.Then there exist a constant c = c(R,d) such that:

For any polynoimial P over R of degree at most d and forany r ∈ range(P) there exist w ∈ 0,1n with |Iw | ≤ c suchthat P(w) = r .

Remarks:Proved using an inductive Ramsey-theoretic argument.Strong relation to the degree for representing the ANDfunction over R.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 12/27

Page 30: Csr2011 june14 12_00_hansen

Boolean function determined bylow-weight inputs

CorollaryThere exist a constant c′ = c′(R,d) such that:

Let P and Q be polynomials of degree at most d withaccepting sets A and B.If the Boolean functions computed by the pairs (P,A) and(Q,B) agree on all inputs w ∈ 0,1n with |Iw | ≤ c′, thenthe two Boolean functions are identical.

Proof.Let c′ = c(R×R,d). Consider the polynomial P×Q with P andQ as separate coordinates. Any value of the range is assumedon input of weight at most c′.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 13/27

Page 31: Csr2011 june14 12_00_hansen

Boolean function determined bylow-weight inputs

CorollaryThere exist a constant c′ = c′(R,d) such that:

Let P and Q be polynomials of degree at most d withaccepting sets A and B.If the Boolean functions computed by the pairs (P,A) and(Q,B) agree on all inputs w ∈ 0,1n with |Iw | ≤ c′, thenthe two Boolean functions are identical.

Proof.Let c′ = c(R×R,d). Consider the polynomial P×Q with P andQ as separate coordinates. Any value of the range is assumedon input of weight at most c′.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 13/27

Page 32: Csr2011 june14 12_00_hansen

A consistency test

Input: Polynomial Q with accepting set A. Membership queryaccess to Boolean function f .Task: Decide if the pair (Q,A) computes the function f .

Query f on all w ∈ 0,1n with |Iw | ≤ c′(R,d)

Return true if and only if for each queried w , f (w) = 1 ifand only if Q(w) ∈ A

This also gives equivalence queries for free.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 14/27

Page 33: Csr2011 june14 12_00_hansen

A consistency test

Input: Polynomial Q with accepting set A. Membership queryaccess to Boolean function f .Task: Decide if the pair (Q,A) computes the function f .

Query f on all w ∈ 0,1n with |Iw | ≤ c′(R,d)

Return true if and only if for each queried w , f (w) = 1 ifand only if Q(w) ∈ A

This also gives equivalence queries for free.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 14/27

Page 34: Csr2011 june14 12_00_hansen

A consistency test

Input: Polynomial Q with accepting set A. Membership queryaccess to Boolean function f .Task: Decide if the pair (Q,A) computes the function f .

Query f on all w ∈ 0,1n with |Iw | ≤ c′(R,d)

Return true if and only if for each queried w , f (w) = 1 ifand only if Q(w) ∈ A

This also gives equivalence queries for free.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 14/27

Page 35: Csr2011 june14 12_00_hansen

A template for learning

Define a search space: Let P be guaranteed to includethe target (P presumably depends on answers tomembership queries).

Exhaustive search: for each P ∈P perform consistencytest on P, return first P that passes.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 15/27

Page 36: Csr2011 june14 12_00_hansen

A template for learning

Define a search space: Let P be guaranteed to includethe target (P presumably depends on answers tomembership queries).Exhaustive search: for each P ∈P perform consistencytest on P, return first P that passes.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 15/27

Page 37: Csr2011 june14 12_00_hansen

Difficulties

Different polynomials can represent the same Booleanfunction.

A query χM with |M|= 1 only reveals whether cM ∈ A.A query χM in general only reveals whether ∑I⊆M cI ∈ A.

Our approach: Define an equivalence relation on themonomials, such that equivalent monomials can be assumed tohave same coefficient.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 16/27

Page 38: Csr2011 june14 12_00_hansen

Difficulties

Different polynomials can represent the same Booleanfunction.A query χM with |M|= 1 only reveals whether cM ∈ A.

A query χM in general only reveals whether ∑I⊆M cI ∈ A.

Our approach: Define an equivalence relation on themonomials, such that equivalent monomials can be assumed tohave same coefficient.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 16/27

Page 39: Csr2011 june14 12_00_hansen

Difficulties

Different polynomials can represent the same Booleanfunction.A query χM with |M|= 1 only reveals whether cM ∈ A.A query χM in general only reveals whether ∑I⊆M cI ∈ A.

Our approach: Define an equivalence relation on themonomials, such that equivalent monomials can be assumed tohave same coefficient.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 16/27

Page 40: Csr2011 june14 12_00_hansen

Difficulties

Different polynomials can represent the same Booleanfunction.A query χM with |M|= 1 only reveals whether cM ∈ A.A query χM in general only reveals whether ∑I⊆M cI ∈ A.

Our approach: Define an equivalence relation on themonomials, such that equivalent monomials can be assumed tohave same coefficient.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 16/27

Page 41: Csr2011 june14 12_00_hansen

An attempt

Let M and M ′ be of degree d .Say M ≡d M ′ if:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose we know the equivalence classes of ≡d ’s and let Pbe the set of polynomials respecting these.

Good: Small search space (in fact constant size).Good: Definition looks a little like membership queries...Bad: but not exactly, so assumption is probably unrealistic!Importantly: Does it include the target function?

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 17/27

Page 42: Csr2011 june14 12_00_hansen

An attempt

Let M and M ′ be of degree d .Say M ≡d M ′ if:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose we know the equivalence classes of ≡d ’s and let Pbe the set of polynomials respecting these.

Good: Small search space (in fact constant size).

Good: Definition looks a little like membership queries...Bad: but not exactly, so assumption is probably unrealistic!Importantly: Does it include the target function?

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 17/27

Page 43: Csr2011 june14 12_00_hansen

An attempt

Let M and M ′ be of degree d .Say M ≡d M ′ if:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose we know the equivalence classes of ≡d ’s and let Pbe the set of polynomials respecting these.

Good: Small search space (in fact constant size).Good: Definition looks a little like membership queries...

Bad: but not exactly, so assumption is probably unrealistic!Importantly: Does it include the target function?

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 17/27

Page 44: Csr2011 june14 12_00_hansen

An attempt

Let M and M ′ be of degree d .Say M ≡d M ′ if:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose we know the equivalence classes of ≡d ’s and let Pbe the set of polynomials respecting these.

Good: Small search space (in fact constant size).Good: Definition looks a little like membership queries...Bad: but not exactly, so assumption is probably unrealistic!

Importantly: Does it include the target function?

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 17/27

Page 45: Csr2011 june14 12_00_hansen

An attempt

Let M and M ′ be of degree d .Say M ≡d M ′ if:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose we know the equivalence classes of ≡d ’s and let Pbe the set of polynomials respecting these.

Good: Small search space (in fact constant size).Good: Definition looks a little like membership queries...Bad: but not exactly, so assumption is probably unrealistic!Importantly: Does it include the target function?

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 17/27

Page 46: Csr2011 june14 12_00_hansen

Changing coefficientsSuppose M ≡d M ′:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose (by induction?) that cMi= cM ′i

for all i , and defineP ′ = P[cM ′ ← cM ].

Let x ∈ 0,1n be arbitrary.We need only consider x such that M ′ ⊆ Ix .Define r = P(x)−P(χM ′).r + P(χM ′) = P(x)−P(χM ′) + P(χM ′) = P(x).r + P(χM) = P(x)−P(χM ′) + P(χM) =

P(x)−P(χM ′) + P ′(χM ′) = P ′(x).

Conclusion: P and P ′ compute the same function.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 18/27

Page 47: Csr2011 june14 12_00_hansen

Changing coefficientsSuppose M ≡d M ′:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose (by induction?) that cMi= cM ′i

for all i , and defineP ′ = P[cM ′ ← cM ].

Let x ∈ 0,1n be arbitrary.We need only consider x such that M ′ ⊆ Ix .Define r = P(x)−P(χM ′).r + P(χM ′) = P(x)−P(χM ′) + P(χM ′) = P(x).r + P(χM) = P(x)−P(χM ′) + P(χM) =

P(x)−P(χM ′) + P ′(χM ′) = P ′(x).

Conclusion: P and P ′ compute the same function.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 18/27

Page 48: Csr2011 june14 12_00_hansen

Changing coefficientsSuppose M ≡d M ′:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose (by induction?) that cMi= cM ′i

for all i , and defineP ′ = P[cM ′ ← cM ].

Let x ∈ 0,1n be arbitrary.We need only consider x such that M ′ ⊆ Ix .

Define r = P(x)−P(χM ′).r + P(χM ′) = P(x)−P(χM ′) + P(χM ′) = P(x).r + P(χM) = P(x)−P(χM ′) + P(χM) =

P(x)−P(χM ′) + P ′(χM ′) = P ′(x).

Conclusion: P and P ′ compute the same function.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 18/27

Page 49: Csr2011 june14 12_00_hansen

Changing coefficientsSuppose M ≡d M ′:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose (by induction?) that cMi= cM ′i

for all i , and defineP ′ = P[cM ′ ← cM ].

Let x ∈ 0,1n be arbitrary.We need only consider x such that M ′ ⊆ Ix .Define r = P(x)−P(χM ′).

r + P(χM ′) = P(x)−P(χM ′) + P(χM ′) = P(x).r + P(χM) = P(x)−P(χM ′) + P(χM) =

P(x)−P(χM ′) + P ′(χM ′) = P ′(x).

Conclusion: P and P ′ compute the same function.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 18/27

Page 50: Csr2011 june14 12_00_hansen

Changing coefficientsSuppose M ≡d M ′:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose (by induction?) that cMi= cM ′i

for all i , and defineP ′ = P[cM ′ ← cM ].

Let x ∈ 0,1n be arbitrary.We need only consider x such that M ′ ⊆ Ix .Define r = P(x)−P(χM ′).r + P(χM ′) = P(x)−P(χM ′) + P(χM ′) = P(x).

r + P(χM) = P(x)−P(χM ′) + P(χM) =P(x)−P(χM ′) + P ′(χM ′) = P ′(x).

Conclusion: P and P ′ compute the same function.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 18/27

Page 51: Csr2011 june14 12_00_hansen

Changing coefficientsSuppose M ≡d M ′:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose (by induction?) that cMi= cM ′i

for all i , and defineP ′ = P[cM ′ ← cM ].

Let x ∈ 0,1n be arbitrary.We need only consider x such that M ′ ⊆ Ix .Define r = P(x)−P(χM ′).r + P(χM ′) = P(x)−P(χM ′) + P(χM ′) = P(x).r + P(χM) = P(x)−P(χM ′) + P(χM) =

P(x)−P(χM ′) + P ′(χM ′) = P ′(x).

Conclusion: P and P ′ compute the same function.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 18/27

Page 52: Csr2011 june14 12_00_hansen

Changing coefficientsSuppose M ≡d M ′:

∀r ∈R : r + P(χM) ∈ A if and only if r + P(χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1 M ′i .

Suppose (by induction?) that cMi= cM ′i

for all i , and defineP ′ = P[cM ′ ← cM ].

Let x ∈ 0,1n be arbitrary.We need only consider x such that M ′ ⊆ Ix .Define r = P(x)−P(χM ′).r + P(χM ′) = P(x)−P(χM ′) + P(χM ′) = P(x).r + P(χM) = P(x)−P(χM ′) + P(χM) =

P(x)−P(χM ′) + P ′(χM ′) = P ′(x).

Conclusion: P and P ′ compute the same function.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 18/27

Page 53: Csr2011 june14 12_00_hansen

A problem

The equivalence relation defined is highly representationdependent.

Changing coefficients may possibly change theequivalence classes as well!Our real equivalence relation is defined only in terms of thefunction represented together with a property of thepolynomial that is preserved by altering coefficients (in thesimilar way)!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 19/27

Page 54: Csr2011 june14 12_00_hansen

A problem

The equivalence relation defined is highly representationdependent.Changing coefficients may possibly change theequivalence classes as well!

Our real equivalence relation is defined only in terms of thefunction represented together with a property of thepolynomial that is preserved by altering coefficients (in thesimilar way)!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 19/27

Page 55: Csr2011 june14 12_00_hansen

A problem

The equivalence relation defined is highly representationdependent.Changing coefficients may possibly change theequivalence classes as well!Our real equivalence relation is defined only in terms of thefunction represented together with a property of thepolynomial that is preserved by altering coefficients (in thesimilar way)!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 19/27

Page 56: Csr2011 june14 12_00_hansen

Recall: Structural properties ofpolynomials

Theorem (Peladeau and Therien)Let R be a finite commutative ring with unity and d any number.Then there exist a constant c = c(R,d) such that:

For any polynoimial P over R of degree at most d and forany r ∈ range(P) there exist w ∈ 0,1n with |Iw | ≤ c suchthat P(w) = r .

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 20/27

Page 57: Csr2011 june14 12_00_hansen

Magic sets for polynomials

CorollaryThere exist a constant s = s(R,d), such that for everymultilinear polynomial P over R of degree at most d, there exista set J ⊂ 1, . . . ,n with the following properties:

|J| ≤ s.For every r ∈ range(P) there exist w ∈ 0,1n with Iw ⊆ Jsuch that P(w) = r .

We call J a “magic set” for P.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 21/27

Page 58: Csr2011 june14 12_00_hansen

Using a magic set

Assume P has magic set J.

Let K be variables sharing monomial with variable in J.Let N = [n]\ (J ∪K ). (We say N is at distance ≥ 2 from J).Let w ,x ∈ 0,1n with Iw ⊆ J, Ix ⊆ N.Then P(w ∨x) = P(w) + P(x).

Note: When P is read-constant also K is of constant size.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 22/27

Page 59: Csr2011 june14 12_00_hansen

Using a magic set

Assume P has magic set J.Let K be variables sharing monomial with variable in J.Let N = [n]\ (J ∪K ). (We say N is at distance ≥ 2 from J).

Let w ,x ∈ 0,1n with Iw ⊆ J, Ix ⊆ N.Then P(w ∨x) = P(w) + P(x).

Note: When P is read-constant also K is of constant size.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 22/27

Page 60: Csr2011 june14 12_00_hansen

Using a magic set

Assume P has magic set J.Let K be variables sharing monomial with variable in J.Let N = [n]\ (J ∪K ). (We say N is at distance ≥ 2 from J).Let w ,x ∈ 0,1n with Iw ⊆ J, Ix ⊆ N.

Then P(w ∨x) = P(w) + P(x).

Note: When P is read-constant also K is of constant size.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 22/27

Page 61: Csr2011 june14 12_00_hansen

Using a magic set

Assume P has magic set J.Let K be variables sharing monomial with variable in J.Let N = [n]\ (J ∪K ). (We say N is at distance ≥ 2 from J).Let w ,x ∈ 0,1n with Iw ⊆ J, Ix ⊆ N.Then P(w ∨x) = P(w) + P(x).

Note: When P is read-constant also K is of constant size.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 22/27

Page 62: Csr2011 june14 12_00_hansen

Using a magic set

Assume P has magic set J.Let K be variables sharing monomial with variable in J.Let N = [n]\ (J ∪K ). (We say N is at distance ≥ 2 from J).Let w ,x ∈ 0,1n with Iw ⊆ J, Ix ⊆ N.Then P(w ∨x) = P(w) + P(x).

Note: When P is read-constant also K is of constant size.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 22/27

Page 63: Csr2011 june14 12_00_hansen

Properties of polynomialswith magic sets

LemmaLet

P(x) = ∑I⊆[n],|I|≤d cI ∏i∈I xi be any polynomial over R, witha magic set J.Let N be the set of indices at distance ≥ 2 from J.

Thenr + ∑I⊆N,|I|≤d λIcI ∈ range(P), for all r ∈ range(P) and allλI ∈ 0, . . . , |R|−1.

Proof.By induction, repeatedly moving supports of inputs to J.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 23/27

Page 64: Csr2011 june14 12_00_hansen

Properties of polynomialswith magic sets

LemmaLet

P(x) = ∑I⊆[n],|I|≤d cI ∏i∈I xi be any polynomial over R, witha magic set J.Let N be the set of indices at distance ≥ 2 from J.

Thenr + ∑I⊆N,|I|≤d λIcI ∈ range(P), for all r ∈ range(P) and allλI ∈ 0, . . . , |R|−1.

Proof.By induction, repeatedly moving supports of inputs to J.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 23/27

Page 65: Csr2011 june14 12_00_hansen

The real attempt

Assume J is magic set for P, and let M and M ′ be of degree d .Say M ≡d ,J M ′ if:

∀w , Iw ⊆ J : P(w ∨χM) ∈ A if and only if P(w ∨χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1,J M ′i .

If IM , I ′M ⊆ N, we can change coefficients as before, and theinduction now works.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 24/27

Page 66: Csr2011 june14 12_00_hansen

The real attempt

Assume J is magic set for P, and let M and M ′ be of degree d .Say M ≡d ,J M ′ if:

∀w , Iw ⊆ J : P(w ∨χM) ∈ A if and only if P(w ∨χM ′) ∈ A.For all immediate sub-monomials M1, . . . ,Md andM ′1, . . . ,M

′d we have Mi ≡d−1,J M ′i .

If IM , I ′M ⊆ N, we can change coefficients as before, and theinduction now works.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 24/27

Page 67: Csr2011 june14 12_00_hansen

The search space

Let P be the set of polynomials satisfying:There is a magic set J, such that for all monomials M,M ′ ofdegree d with IM , I ′M ⊆ N, if M ≡d ,J M ′ then cM = c′M .

Note: Given J and K , equivalence classes of ≡d ,J can becomputed using membership queries. Remains to specify:

Coefficients of monomials containing variables from J ∪K .Coefficients of equivalence classes.

Conclusion:P is of polynomial size, and can be exhaustively searchedusing membership queries!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 25/27

Page 68: Csr2011 june14 12_00_hansen

The search space

Let P be the set of polynomials satisfying:There is a magic set J, such that for all monomials M,M ′ ofdegree d with IM , I ′M ⊆ N, if M ≡d ,J M ′ then cM = c′M .

Note: Given J and K , equivalence classes of ≡d ,J can becomputed using membership queries. Remains to specify:

Coefficients of monomials containing variables from J ∪K .Coefficients of equivalence classes.

Conclusion:P is of polynomial size, and can be exhaustively searchedusing membership queries!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 25/27

Page 69: Csr2011 june14 12_00_hansen

The search space

Let P be the set of polynomials satisfying:There is a magic set J, such that for all monomials M,M ′ ofdegree d with IM , I ′M ⊆ N, if M ≡d ,J M ′ then cM = c′M .

Note: Given J and K , equivalence classes of ≡d ,J can becomputed using membership queries. Remains to specify:

Coefficients of monomials containing variables from J ∪K .Coefficients of equivalence classes.

Conclusion:P is of polynomial size, and can be exhaustively searchedusing membership queries!

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 25/27

Page 70: Csr2011 june14 12_00_hansen

Extensions to higher degree

Using a result of Tardos and Barrington on the MODm degree ofAND, we can show

c(Zlm,d),c′(Zl

m,d),s(Zlm,d)≤ γ

d r−1

where r is the number of distinct prime divisors of m, and γ

depends on m and l .

Result: Sub-exponential learning algorithm for slowly growing dand k for learning degree d read-k polynomials.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 26/27

Page 71: Csr2011 june14 12_00_hansen

Extensions to higher degree

Using a result of Tardos and Barrington on the MODm degree ofAND, we can show

c(Zlm,d),c′(Zl

m,d),s(Zlm,d)≤ γ

d r−1

where r is the number of distinct prime divisors of m, and γ

depends on m and l .

Result: Sub-exponential learning algorithm for slowly growing dand k for learning degree d read-k polynomials.

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 26/27

Page 72: Csr2011 june14 12_00_hansen

Conclusion

New Result:A Polynomial time learning algorithm for read-constantpolynomials of constant degree over finite rings.

Questions:Can we avoid the read-constant assumption?Other uses of “magic sets”?

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 27/27

Page 73: Csr2011 june14 12_00_hansen

Conclusion

New Result:A Polynomial time learning algorithm for read-constantpolynomials of constant degree over finite rings.

Questions:Can we avoid the read-constant assumption?Other uses of “magic sets”?

Learning Read-Constant Polynomials of Constant Degree Modulo Composites - CSR 2011 Page 27/27