Unique Multilinear Extensions of Polynomials over the V-Dimensional Hypercube
July 07, 2024
Univariate vs Multivariate Extensions
Univariate Low-Degree Extension
- Given a vector m=(m1,…,mn)∈Fpn, define a set of coordinate pairs ((0,m1)),…,(n−1,mn)) specifying the function f:{0,…,n−1}→Fp.
- Interpolate the coordinate pairs with a polynomial qm:Fp→Fp such that qm(i)=mi+1 for all i∈{0,…,n−1} by applying each value as a weight in a linear combination of Lagrange basis polynomials {L0,…,Ln−1} for the nodes {0,…,n−1}
Pq(x)=i=0∑n−1mi+1⋅Li(x)
Li(x)=j=0,j=i∏n−1xi−xjx−xj
- The univariate low degree extension of f is qm. It is the unique degree ≤n−1 polynomial that agrees with f at all x∈{0,…,n−1} - there can be no other degree ≤n−1 polynomial passing through the interpolated points.
- The p-dimensional vector
c=(qm(0),…,qm(p))
is the low degree extension encoding of m.
- f:{0,…,n−1}→Fp and qm:Fp→Fp are both univariate functions.
Multivariate Functions Over the v-Dimensional Hypercube
- We can extend the concept of extensions to multivariate functions. Let
f:{0,1}v→F
- The domain of f is the v-dimensional hypercube, or the set of all v-bit binary strings - f accepts v variables (x1,…,xv) such that xi∈{0,1}.
- There are 2v possible values that can be represented by the domain of a v-variate polynomial where each variable xi∈{0,1}.
- The domain of the v-dimensional hypercube is {0,1}v={0,…,2v−1}.
- For a univariate polynomial with domain size n, a polynomial over the v-dimensional hypercube will have the same domain size if v=log2(n).
- ∣{0,1}log2(n)∣=∣{0,…,n−1}∣
- We have observed that there is a unique extension of degree ≤n−1 for univariate functions defined over the domain {0,…,n−1}. Similarly, there is a unique extension of total degree ≤1 for multivariate functions defined over the domain {0,1}v.
- A polynomial is multilinear if it is linear in each of its variables when all other variables are held fixed. In other words, each variable in the polynomial has a degree of at most 1.
- A multivariate function f:{0,1}v→Fp over the domain {0,1}v has a unique multilinear extension f~:Fv→F, such that
∀x∈{0,1}v(f~(x)=f(x))
- f~ is v-variate and multilinear, so the total degree of f~ is ≤v
- The univariate extension of a polynomial with domain size n has degree ≤n−1, so the degree is linear in terms of the domain size (O(n))
- The multilinear extension of a polynomial with domain size n=2v has total degree ≤v, so the total degree is logarithmic in terms of the domain size O(v)=O(log2(2v))=O(log2(n))
- Multilinear and ultra low total degree multivariate polynomials are especially useful for fast verification of interactive proofs
Distance Amplifying Encodings
- Given two functions f:{0,1}v→Fp and f′:{0,1}v→Fp with unique multilinear extensions f~:Fpv→Fp and f~′:Fpv→Fp, if f and f′ disagree at even one point, their extensions f~ and f~′ are distinct polynomials and will agree at ≤pv of the pv points in Fpv, or ≤pv−1 points.
pv⋅pv=v⋅pv−1
- P=f~−f~′ is a v-variate polynomial with total degree ≤v with zeroes at each point where f~ and f~′ agree. By Schwartz-Zippel, a v-variate polynomial of total degree ≤v has roots at ≤v/p out of the pv possible values x∈Fpv
x∈FpvPr[P(x)=0]≤∣Fp∣v
- So P has less than pv⋅pv=v⋅pv−1 roots and f~−f~′ agree at ≤v⋅pv−1 values of x∈Fpv
- Evaluating the multilinear extension f~(x) for all x∈Fp gives us a distance amplifying encoding of f. Since f~ and a different polynomial f~′ can agree on at most a v/p fraction of points, they are distance amplifying as long as the field is chosen such that p>v.