# Polylog parameterizability

In this post I will try to describe what I believe Deolilakar means by "polylog parameterizability", a key concept in his work. (A more accurate term here would be "polylog recursive factorizability".

## Definition

Let $\mu$ be a probability distribution on the cube $\{0,1\}^n$. Then to describe this distribution fully, one needs $2^n-1$ real parameters; one real number $\mu(\{x\})$ for each of the $2^n$ elements of the cube, minus one for the constraint $\sum_{x \in \{0,1\}^n} \mu(\{x\}) = 1$.

Roughly speaking, a probability distribution is "polylog parameterizable" if it requires much fewer than $2^n$ real numbers to describe, and more precisely it needs only $\exp( O( polylog(n) ) )$ many real numbers. More precisely still, we ask that the distribution function $\mu(x_1,\ldots,x_n): \{0,1\}^n \to [0,1]$ admit a factorisation into potentials

$\mu(x_1,\ldots,x_n) = \prod_{j=1}^n p_j( x_j; x_{pa(j)} )$

where for each j, pa(j) is a set of O(polylog(n)) "parents" of j (as given by a directed acyclic graph), and $p_j(\cdot,x_{pa(j)})$ is a probability distribution for each assignment of the parent literals $x_{pa(j)}$. The point is that each factor $p_j$ only takes $\exp(O(polylog(n))$ real numbers to describe, and so the entire distribution also only requires $\exp(O(polylog(n))$ real numbers to describe.

The purpose of the FO(LFP) machinery is (I think) ultimately to obtain a result of the following form:

Claim. If a solution space in $\{0,1\}^n$ can be "explored by a P algorithm" in a suitable sense, then the uniform distribution $\mu$ of that space is the _projection_ of a polylog-parameterisable measure $\mu'$ on a subset of a polynomially larger space $\{0,1\}^{n^{O(1)}}$.

The following can be easily shown (see proof):

A probability distribution on $\{0,1\}^n$ that can be computed by a polynomial time run on a probabilistic Turing machine is a projection of a polylog parametrizable distribution.

However, a key point that does not seem to be sufficiently addressed in the paper is whether the projection of a polylog-parameterisable measure remains polylog-parameterisable, and which I believe could in fact be a serious problem with the proof. In fact, it is not the case, shown by counterexamples below.

## Examples

Let me illustrate the above Claim with a simple example, that of a straight line program. Let $N := n^{100}$, and consider a boolean function $f: \{0,1\}^n \to \{0,1\}$ obtained by the formula

$f(x_1,\ldots,x_n) := x_N$

where $x_{n+1},\ldots,x_N$ are obtained from previous literals by formulae of the form

$x_i = f_i( x_{a_i}, x_{b_i} )$ (1)

for $1 \leq a_i,b_i \lt i$ and some logic gates $f_i : \{0,1\}^2 \to \{0,1\}$. Now let

$S := \{ (x_1,\ldots,x_n, f(x_1,\ldots,x_n)): (x_1,\ldots,x_n) \in \{0,1\}^n \} \subset \{0,1\}^{n+1}$

be the graph of f, and let $\mu$ be the uniform distribution on S, thus $\mu$ assigns a probability $2^{-n}$ to each element of S:

$\mu(x_1,\ldots,x_{n+1}) = 2^{-n} 1_{x_{n+1} = f(x_1,\ldots,x_n)}.$ (2)

As f is fairly complicated (indeed, it is not obviously distinguishable from a random function), it does not seem that $\mu$ itself is polylog parameterisable. However, $\mu$ can be lifted to a probability measure $\mu'$ on the larger space $\{0,1\}^N$ which _is_ polylog parameterisable. Namely, let $S' \subset \{0,1\}^N$ be the set of all tuples $(x_1,\ldots,x_N) \in \{0,1\}^N$ for which (1) holds for all $i=n+1,\ldots,N$. Clearly, the map $(x_1,\ldots,x_N) \mapsto (x_1,\ldots,x_n,x_N)$ from $\{0,1\}^N$ to $\{0,1\}^{n+1}$ maps S' to S in a bijective manner, and so the uniform measure $\mu'$ on S' projects to the uniform measure $\mu$ on S.

On the other hand, $\mu'$ is polylog-parameterisable. Indeed, we have the explicit factorisation

$\mu'(x_1,\ldots,x_N) := 2^{-n} \prod_{i=n+1}^N 1_{x_i = f_i(x_{a_i},x_{b_i})}$.

Next, consider the problem of parameterising a certain distribution $\nu$ to be defined shortly on the solution space

$T := \{ (x_1,\ldots,x_n): F(x_1,\ldots,x_n) = 1 \} \subset \{0,1\}^n$

of some function $F: \{0,1\}^n \to \{0,1\}$, which we assume to be non-empty. We assume that the partial satisfiability problem is solvable here, thus for any initial partial assignment $x_1,\ldots,x_i$ of literals, one can quickly solve the problem of whether this partial assignment can be completed to a full solution in T. Indeed, let us suppose that there is a polynomial length straight line program $f_i: \{0,1\}^i \to \{0,1\}$ such that $f_i(x_1,\ldots,x_i)=1$ if and only if there exists $x_{i+1},\ldots,x_n$ for which $F(x_1,\ldots,x_n)=1$.

We now define $\nu$ to be the probability distribution on T defined by selecting random variables $x_1,\ldots,x_n$ consecutively in the following manner. Assume that $x_1,\ldots,x_{i-1}$ have already been selected and are extendible (i.e. $f_{i-1}(x_1,\ldots,x_{i-1})=1$). We then compute $f_i(x_1,\ldots,x_{i-1},0)$ and $f_i(x_1,\ldots,x_{i-1},1)$; at least one of these must equal 1. If only the former equals 1, we set $x_i:=0$; if the latter, we set $x_i:=1$; and otherwise, we set $x_i$ equal to either 0 or 1 with a 1/2 probability of each.

One can then factor $\nu$ as

$\nu(x_1,\ldots,x_n) = \frac{1}{|T|} \prod_{i=1}^n p_i(x_i; f_i( x_1,\ldots,x_{i-1}, 0), f_i( x_1,\ldots,x_{i-1}, 1))$

where $p_i(\cdot; a_0, a_1)$ is the delta distribution $\delta_0$ if $a_0=1, a_1 = 0$, the delta distribution $\delta_1$ if $a_0=0,a_1=1$, the uniform distribution $\frac{1}{2}\delta_0+\frac{1}{2}\delta_1$ if $a_0=a_1=1$, and some arbitrary distribution (e.g. $\delta_0$ for concreteness) in the (unattainable) case $a_0=a_1=0$.

This is not yet of a polylog parameterizable form (each i has i-1 ancestors rather than polylog ancestors).

However, if one expands all the straight line programs $f_i$ and adds all the literals required for computing such programs, then we can lift $\nu$ to a polylog parameterizable measure $\nu'$ similarly to before. However $\nu$ itself is not obviously a polylog parameterizable measure, merely the projection of one that involves additional "hidden variables".

Another remark: since NP is in EXP, I think that the solution space to a k-SAT problem, if it is non-empty admits, the projection of a degree O(1) recursively factorizable measure on exponentially many variables. This already illustrates that the projection operation is powerful enough to convert even the simplest measure into an extremely general one, at least if one is allowed to discard an exponential number of variables.

## Counterexamples

The following measures are not polylog parameterisable, though they are projections of polylog parameterisable measures in a higher dimensional space:

1. uniform (or any positive) measure on $EVEN:=\{x \in \{0,1\}^n: x_1+\ldots+x_n =0 (\mod 2)\}$
2. uniform (or any positive) measure on $\{0,1\}^n \backslash (0,\ldots,0)$.

To see the non polylog parameterisability, we use

Claim: Let $S \subset \{0,1\}^n$, let $\Chi_S$ be the characteristic function of S, and let $\mu$ be a probability measure whose support is exactly S (i.e. $\mu(x) \gt 0$ if and only if x is in S. Assume that $\mu$ is polylog parametriable. Then, there is some permutation (reordering) of [n] such that Boolean function $\Chi_S(x_1,\ldots,x_n)$ can be expressed/computed as follows:
$\Chi_S(x_1\ldots,x_n) = \prod_{i=1}^n g(x_i; x_j’s)$, where each g is a Boolean function of $x_i$ and polylog-many $x_j$’s with j < i.

We can see the claim by focusing on measure being zero or nonzero in the definition of polylog paramateizability. Now consider #1. With respect to any ordering (permutation) of [n], the membership in EVEN cannot be expressed by such an AND as in the claim because the last factor $g(x_n; x_j's)$ only depend on *fixed* polylog many $x_j$'s. By the same reason, #2 is not polylog parametrizable. (To express #1 and #2 in such a form, the last g(xn; xj's) have to depend on all n variables.)

On the other hand EVEN can be polylog parametrized if we add a number of auxilary variables, placeholders for partial sums, so that we never add more than polylog elements (we can always add a fixed number), and similarly for #2.

## pp vs ppp

For the purposes of discussion, the following abbreviations have been adopted:

• A probability distribution on $\{0,1\}^n$ is pp (polylog parameterizable) if it is polylog parameterizable in the above sense, WITHOUT the addition of any additional variables beyond the existing n literals $x_1,\ldots,x_n$.
• A probability distribution on $\{0,1\}^n$ is ppp (projected polylog parameterizable) if it is the projection of a pp distribution on $\{0,1\}^N$ for some polynomial size $N=n^{O(1)}$ under a map that keeps n of the N literals and discards the rest.

Thus, for instance, the above discussion shows that the graph of a straight line program of polynomial length is in ppp, and if P=NP then the solution space of every NP problem has a ppp distribution supported on it. The sets EVEN and $\{0,1\}^n \backslash (0,\ldots,0)$ can also be easily seen to support ppp distributions (e.g. the uniform distribution on either is ppp), but neither of these sets supports pp distributions.

As another example, consider the space of collections of k-clauses on n-variables for which the corresponding SAT problem is solvable, where k is fixed (e.g. k=10) and n is large. (This is a subset of {0,1}^C, where C is the space of k-clauses on n variables.) [Note that this space is NOT the same as the solution space of a single k-SAT instance; the former is the "base" of the k-SAT relation, while the latter is a "fiber".] On the one hand, if P!=NP, we know that this space is not in P. On the other hand, it supports a ppp distribution, because one can randomly select a solution $(x_1,\ldots,x_n)$ first, and then select a random family of the clauses that are obeyed by this solution. Thus we see that ppp supports can actually be quite "hard" in nature.

As a further example of a set supporting a ppp distribution, consider the image of {0,1}^n via a hash function or some other computable "one-way function".

The pp vs ppp distinction appears to be a crucial issue in the Deolalikar argument. As far as can be discerned from the manuscript, the paper establishes the following facts:

• If P=NP, then the solution space of any k-SAT problem with at least one solution, supports a ppp distribution.
• The hard phase of k-SAT does not support any pp distribution.

However this does not allow us to conclude that P!=NP, because of the substantial gap between pp and ppp.

Furthermore, it is in fact true that the solution space of any k-SAT problem with at least one solution supports a ppp distribution regardless of whether P=NP, though the ppp distribution is not uniform in the sense that it depends on knowing the specific solution. Specifically, one randomly selects an element of {0,1}^n, and tests whether it solves the k-SAT problem. If it does, output that element; otherwise output the specific solution. It is easy to see that this distribution is ppp and is supported exactly on the solution space of k-SAT.