The set of solutions of random XORSAT formulae
Morteza Ibrahimi, Yash Kanoria, Matt Kraning, Andrea Montanari
Introduction
An instance of XOR-satisfiability (XORSAT) is specified by an integer (the number of variables) and by a set of clauses of the form for . Here, denotes modulo- sum, is a Boolean vector, , specified by the problem instances, and is a vector of Boolean variables that must be chosen to satisfy the clauses.
Since is a random formula, is a random subset of the Hamming hypercube. The structural properties of are of interest for several reasons. First of all, linear systems over finite fields are combinatorial objects that emerge naturally in a number of fields. Dietzfelbinger and collaborators Cuckoo use a mapping between XORSAT and the matching problem to establish tight thresholds for the performances of Cuckoo Hashing, an archetypal load balancing scheme. Such thresholds are computed by determining thresholds above which the set of solutions of a random XORSAT formula becomes empty. The existence of solutions is in turn related to the existence of an even-degree subgraph in a random hypergraph. Random sparse linear systems over finite fields are used to construct capacity achieving error correcting codes Luby98; Luby01; RiUBOOK. The decodability of such codes is related to the emergence of a nontrivial -core in the same random hypergraph—a phenomenon that will play a crucial role in the following. Finally, structured linear systems over finite fields are generated by popular factoring algorithms Factorization.
In the present paper, we are also motivated by the close analogy between random -XORSAT and other random ensembles of constraint satisfaction problems (CSPs). The prototypical example of this family is random -satisfiability (-SAT). The random -SAT ensemble can be described in complete analogy to random -XORSAT with the modification of replacing exclusive OR clauses by OR clauses among variables or their negations. Namely, in -SAT each clause takes the form ,
In this paper, we obtain two sharp results characterizing the clustering phase transition for random -XORSAT:
We determine the exponential growth rate of the number of clusters, that is, we show that this is w.h.p. where is a nonrandom function which is explicitly given. We prove that each of the clusters is itself “well connected.”
This is therefore the first random CSP ensemble for which a sharp threshold for clustering is proved.
where, for a graph , and any , we define
We define the distance between two subsets of the hypercube as
For our statements, is always fixed, together with a sequence .
For each , we have .
For each , we have .
. Further, letting be the largest positive solution of and , we have .
2 Conductance and sparse basis
Given a linear subspace , we say that it admits an -sparse basis if there exist vectors for such that and form a basis for . The latter means that the vectors are linearly independent and .
We say that an affine space admits an -sparse basis if, for , the linear subspace admits an -sparse basis. The property of having a sparse basis indeed implies large conductance. The proof is immediate.
If the affine subspace admits a -sparse basis, then .
Vice versa, assume that . Then does not admit a -sparse basis.
We can assume, without loss of generality, that is a linear space. Let be its dimension. Further, given a graph , let, with a slight abuse of notation
Assume that admits a -sparse basis. This immediately implies the graph contains a spanning subgraph that is isomorphic to the -dimensional hypercube . Further, is monotone increasing in the edge set of . Therefore, where the last inequality follows from the standard isoperimetric inequality on the hypercube Hoory.
The characterization of the solution space in terms of sparsity of its basis is given below.
For each , admits a -sparse basis.
For each we have .
. Further, is given by the same expression given in Theorem 1.
Clearly, this theorem immediately implies Theorem 1 by applying Lemma 1.1. The rest of this paper is devoted to the proof of Theorem 2.
3 Further technical contributions
To a given a XORSAT instance , we can associate a bipartite graph (“factor graph”) with vertex sets (factor or check nodes) corresponding to equations, and (variable nodes) variables. The edge set includes those pairs such that variable participates in the th equation. The construction of the sparse basis in Theorem 2 relies heavily on a characterization of the random factor graph associated to a random XORSAT instance. This could be gleaned from the proof of DuboisFOCS; Cuckoo that construct the -core of . In order to prove Theorem 2, we characterize a larger subgraph that we refer to as the backbone of . This subgraph has the following interpretation: if two solutions and coincide on the core, then they coincide on every vertex of the backbone.
Our analysis of the backbone has a similar starting point, namely the study of an iterative procedure that constructs the backbone (indeed we define formally the backbone as the fixed point of this procedure). Unfortunately, the graphs generated by this procedure are not uniformly random, conditional on a small number of parameters. Hence, the techniques PittelSpencerWormald; Luby98; Molloy; DemboFSS do not apply. We overcome this difficulty by characterizing the large- limit of its fixed point using the theory of local weak convergence. This is in turn challenging because the fixed point is not, a priori, a local function of .
We consider this characterization of the backbone, and its proof, to be a contribution of independent interest.
We next construct a random tree with marks on the directed edges as follows. Marks take values in and to each undirected edge we associate a mark for each of the two directions. We will refer to the direction toward the root as to the “upward” direction, and to the opposite one as to the “downward” direction. The marks correspond to fixed-point BP messages, and we will call them messages as well in what follows. First, consider only edges directed upward. This is a multitype Galton–Watson (GW) tree. At the root generate offsprings, and mark each of the edges to independently with probability , and to otherwise. At a nonroot variable node, if the parent edge is marked , generate descendant edges marked and descendant edges marked [here denotes a Poisson random variable with parameter conditional on ]. If the parent edge is marked , generate descendant edges marked and no descendant edges marked . At a factor node, if the parent edge is marked , generate descendant edges marked . If the parent node is marked , generate descendants marked , and descendants marked .
For edges directed downward, marks are generated recursively following the usual BP rules, cf. equations (4), (5), starting from the top to the bottom. It is easy to check that with this construction, the marks in correspond to a BP fixed point. Given a factor graph , we use to denote the ball of radius centered at node . This ball is defined inductively as follows: The consists of node alone and no edges. For , the includes . In addition, it includes all factor nodes connected to variable nodes in and associated edges, and all variable nodes connected to those factor nodes and associated edges. [Thus, includes nodes and edges up to a distance from , where variable nodes are said to be separated by distance if they are connected to the same factor node.]
Let , be a sequence of (random) factor graphs. Let denote the empirical probability distribution of when is uniformly random. Explicitly, for any locally finite rooted graph of depth at most ,
(with denoting equality up to graph vertex relabeling.) We say that converges locally almost surely to the measure on rooted graphs if, for any finite , and any locally finite rooted graph of depth at most , we have
holds almost surely with respect to the graph law. Here, denotes the marginal of with respect to a ball of radius around the root.
As part of our proof of Theorem 2, we obtain the following result, which may be of independent interest. (We refer to the next section for a complete definition of the underlying probability space.)
Besides this, our proof uses several other ideas:
We show that Theorem 3 can be used to extend the low weight core solutions to low weight solutions of the whole XORSAT instance (see Section 8).
We show that the periphery (the complement of the core in ) is uniformly random with a given degree sequence, conditioned on being “peelable.” We estimate precisely this degree distribution, and show that the periphery is indeed peelable with positive probability for that degree sequence (see Section 6).
4 Outline of the paper
In Section 2, we define some basic concepts and notation. Section 3 describes the construction of clusters and sparse bases, and uses this construction to prove Theorem 2. Several basic lemmas necessary for the proof are stated in this section.
Section 4 introduces a certain belief propagation (BP) algorithm and a technical tool called density evolution, that play a key role in our analysis: The BP algorithm naturally decomposes the linear system into a “backbone” (consisting roughly of the 2-core and the variables implied by it) and a “periphery.” Density evolution allows us to track the progress of BP, eventually facilitating a tight characterization of basic parameters (like number of nodes) of the backbone and periphery.
Section 5 bounds the number of iterations of a “peeling” algorithm (related to BP) that plays a key role in our construction of a sparse basis. Section 6 proves a sharp characterization of the periphery. Together, this yields the first (large) set of basis vectors.
Section 7 shows the 2-core has very few sparse solutions, leading to well separated, small, “core-clusters.” Section 8 shows how to produce a sparse solution of the linear system corresponding to each sparse solution of the 2-core subsystem. This yields the second (small) set of basis vectors in our construction.
Several technical lemmas are deferred to the Appendices.
A short version of this paper was presented at the ACM-SIAM Symposium on Discrete Algorithms SODA 2012.
Random kk-XORSAT: Definitions and notation
Let . The subgraph induced by is defined as where and . A check-induced subgraph is the subgraph induced by some . Similarly, we can define the subgraph induced by , and variable-induced subgraphs.
Let , . The subgraph induced by is defined as where .
A stopping set is a check-induced subgraph with the property that every variable node has degree larger than one with respect to the subgraph. The -core of is its maximal stopping set.
Notice that the maximal stopping set of is uniquely defined because the union of two stopping sets is a stopping set.
Note that, with this probability space, the notion of local almost sure convergence in Definition 1.2 is well defined. Note that our main results (Theorems 1 and 2) are “with high probability results,” and hence do not require the definition of a common probability space for different graph sizes. This is indeed mainly a matter of technical convenience (and is of course needed for Theorem 3).
We will often refer to the depth- neighborhood of a node in .
Given a node and an integer , let . Then the ball of radius around node is defined as the (variable-induced) subgraph induced by . With an abuse of notation, we will use the same notation for the set of variable nodes in . Lastly, we define to be the number of variable nodes in the subgraph .
We will occasionally work with certain random infinite rooted factor graphs, with marks on the edges or vertices. (Note that a factor graph can be regarded as an ordinary graph, with additional marks on the vertices to distinguish “variable nodes” from “factor nodes.”) A useful concept in this context is the one of “unimodular” random rooted graphs, that we briefly recall next. For a more complete presentation, we refer to the overview paper by Aldous and Lyons AldousLyonsUnimodular.
Informally, a random rooted (marked) graph is unimodular if it looks the same (in distribution), when the root is moved to any other vertex. In order to formalize this notion, we denote by the space of locally finite rooted graphs, with marks on the vertices or edges (we assume marks to belong to some fixed finite set for simplicity). We view two graphs that differ by an isomorphism as identical. This space can be endowed by a metric that metrizes local convergence, and hence a Borel -algera.
Analogously, we denote by the space of doubly rooted graphs [a doubly rooted graph is a graph with two distinguished vertices, i.e., a triple where is a graph, and ]. As for the simply rooted case, can be made into a complete metric space; we regard it as a measurable space endowed with the Borel -algebra.
Consequences, and equivalent versions of unimodularity can be found in AldousLyonsUnimodular; MontanariStFlour.
Proof of Theorem 2
The construction of a sparse basis, which is at the heart of Theorem 2, is based on the following algorithm, formally stated in Table 1. The algorithm constructs a sequence of residual factor graphs , starting with the instance under consideration . At each step, the new graph is constructed by removing all variable nodes of degree one or zero, their adjacent factor nodes, and all the edges adjacent to these factor nodes. We refer to the algorithm as synchronous peeling or simply peeling.
We denote the sets of nodes and edges removed at step (or round) by , so that . Notice that, at each step, the residual graph is check-induced. The algorithm halts when the residual graph does not contain any variable node of degree smaller than two. We let the total number of iterations be , where we will drop the explicit dependence on when it is clear from context. The final residual graph is then . The following elementary fact is used in several papers on this topic Luby98; Molloy; DemboFSS.
The residual graph resulting at the end of synchronous peeling is the -core of .
It is convenient to reorder the factors (from to ) and variables (from to ) as follows. We index the factors in increasing order according to , choosing an arbitrary order within each for .
Note that is not empty and is not empty for all . On the other hand, may be empty, in which case, we adopt the convention that all columns corresponding to are included in .
The collapsed graph of a graph is the graph of connected components in the subgraph induced by factor nodes of degree . Formally,
where is the subgraph of induced by factor nodes of degree . We let , . An element of is referred to as a supernode.
The following is the key deterministic lemma on the construction of the basis. We denote the size of the component of in by , and for , we let be the sum of sizes of vertices within distance from .
Assume that has no -core, then the columns of
The proof of Lemma 3.4 is presented in the Appendix A.
2 Construction of the cluster decomposition
with forming a partition of .
It turns out that is not exactly the partition of that we seek. In our next lemma, we show that the set of solutions of the core can be partitioned in well-separated core-clusters. Moreover, the core-clusters are small and have a high conductance. We will form sets in our partition of by taking the union of over that lie in a particular core-cluster.
We write for binary vectors if for all . We write if and . We need the following definition:
We partition the set of core solutions in disjoint core-clusters, as follows. For , we write if . It is immediate to see that is an equivalence relation. We define the core-clusters to be the equivalence classes of . Obviously, the core clusters are affine spaces that differ by a translation, each containing solutions. Their number is to be denoted by . Denote the core-clusters by . Note that for any belonging to different core-clusters, we have , that is, the core-clusters are well separated. We use the following partition of the solution space (including noncore variables) into clusters, based on the core-clusters defined above:
A version of Lemma 3.5 was claimed in MezRicZec_XOR; CoccoXOR; MM09. These papers capture the essence of the proof but miss some technical details, and make the erroneous claim that, w.h.p. each pair of core solutions is separated by Hamming distance .
We next want to study the internal structure of clusters. By linearity, it is sufficient to consider only one of them, say , which we can take to contain the origin . For any , we have , and forms a -sparse basis for , which coincides with the projection of onto the core. Consider the subset of solutions , such that for some . The set of variables that take the same value for all solutions in this set is strictly larger than the -core. In order to capture this remark, we define the backbone (variables that are uniquely determined by the core assignment) and periphery (other variables) of a graph .
The backbone of a graph is the output of backbone augmentation procedure on with the initial subgraph , the 2-core of the graph .
The periphery of a graph is the subgraph induced by the factor nodes and variable nodes that are not in the backbone. Notice that there may be a few variables (w.h.p. at most a constant number) in the periphery that also are uniquely determined by the core assignment.
We can now define our basis for . This is formed by two sets of vectors. The first set has a vector corresponding to each element of . For each , we construct a sparse solution such that (Lemma 3.8 below guarantees the existence of such a vector, and bounds its sparsity). This set of vectors forms a basis for the projection of onto the backbone.
The first set of vectors is characterized as below (see Section 8 for a proof).
3 Analysis of the construction
The main challenge in proving Theorem 2 is bounding the sparsity of the bases constructed (either for the full set of solutions, when does not have a core, or for the cluster , when has a core). This involves two type of estimates: the first one uses Lemma 3.4, while the second is stated as Lemma 3.8. In the first estimate, we need to bound all the quantities involved in the sparsity upper bound: the number of iterations after which peeling (on the collapsed graph ) halts, and the maximum size of any ball of radius in the collapsed graph. In particular, we will show that, w.h.p., we have , and that w.h.p., which gives sparsity .
Proving these bounds turns out to be a relatively simpler task when does not have a -core, partly because the graph in question has no factor nodes of degree , and thus the collapse procedure is not needed. A second reason is that when has a -core, we need to apply Lemma 3.4 to the periphery subgraph as discussed above. Remarkably, the periphery graph admits a relatively explicit probabilistic characterization. We say that a graph is peelable if its core is empty, and hence the peeling procedure halts with the empty graph. It turns out that, conditional on the degree distribution, the periphery is uniformly random among all peelable graphs.
Such an explicit characterization is not available, however, when we consider the subgraph obtained by removing the core (the periphery is obtained by removing the entire backbone). Nevertheless, the proof of Lemma 3.8 requires the study of this more complex subgraph. We overcome this problem by using tools from the theory of local weak convergence BenjaminiSchramm; AldousSteele; AldousLyonsUnimodular.
The above lemma establishes that the periphery is roughly uniform, conditional on being peelable. Its proof is in Section 6.1.
Lemma 3.11 below accomplishes steps and , while Lemma 3.12 takes care of step . In order to state these lemmas, it is convenient to introduce density evolution (the terminology comes from the analysis of sparse graph codes Luby98; Luby01; RiUBOOK).
Given , a degree profile , and an initial condition , we define the density evolution sequence by letting for any ,
Whenever not specified, the initial condition will be assumed to be . The one-dimensional recursion (14) will be also called density evolution recursion.
We say the pair is peelable at rate for if for all . We say that the pair is exponentially peelable (for short peelable) if there exists such that it is peelable at rate .
The density evolution recursion (14) describes the large graph asymptotics of a certain belief propagation algorithm that captures the peeling process, and will be described Section 4.
The graph is peelable with probability at least . Further, if , one can take arbitrary close to (in other words is peelable w.h.p.).
Conditional on being peelable, peeling on the collapsed graph terminates after iterations, with probability at least .
Our final lemma is proved in Section 6.2 and establishes the peelability condition for the periphery.
4 Putting everything together
At this point, we can formally summarize the proof of our main result, Theorem 2, that builds on the construction and analysis provided so far.
2(a). By construction, it is sufficient to construct a basis of the cluster containing the origin, cf. Section 3.2. The basis has two sets of vectors.
We are left with the task of proving that the second set of basis vectors is sparse. The construction in Lemma 3.4 proceeds by collapsing the periphery graph , and applying peeling. We thus need to bound the sparsity . Define the event (implicitly indexed by )
By Lemma 3.12, we know that holds with high probability for suitable choices of and . Further with probability .
Since holds for w.h.p., and since is peelable with probability uniformly bounded away from zero, it follows that the same bound on the sparsity holds for as well. In other words, w.h.p., we have that
Here, is the set of super-nodes resulting from the collapse of . Finally, using Lemma 3.4, we deduce that the second set of basis vectors obtained from this construction is -sparse for .
2(b). By Lemma 3.5, w.h.p., for any two core solutions , , we have . This immediately implies , for any two solutions , . By linearity, we conclude for all .
A belief propagation algorithm and density evolution
A useful analysis tool is provided by a belief propagation algorithm [cf. equations (4) and (5)] that refines the peeling algorithm introduced in Section 3.1. The same algorithm is also of interest in iterative coding; see RiUBOOK; MM09.
We restate the BP update rules for the convenience of the reader.
The belief propagation algorithm introduced here enjoys an important monotonicity property. More precisely, define a partial ordering between message vectors by letting and if and for all .
Given two states , we have and at all .
if and only if receives two or more incoming messages under ,
if and only if receives exactly one incoming message under ,
if and only if receives no incoming messages under .
if and only if receives no incoming message under ,
if and only if receives one incoming message under ,
if and only if receives two or more incoming messages under .
Finally, is the subgraph induced by and similarly for and .
The proofs of the last two lemmas are based on a straightforward case-by-case analysis, and we omit them. (In fact, this correspondence is well known in iterative coding, albeit in a somewhat different language RiUBOOK.)
An important tool in the following will be the notion of almost sure local convergence of graph sequences. We made this notion precise in Definition 1.2, following DemboMontanariBrazil.
We now return to the distribution of BP messages and density evolution.
Then for any fixed , the following occurs almost surely:
where , are two independent Poisson random variables.
Messages are local functions of the graph, hence their distribution converges to the one on the limit tree. In particular, incoming messages on the same node are asymptotically independent because they depend on distinct subtrees. The message distribution can be computed through a standard tree recursion (see RiUBOOK; MM09) that coincides with the density evolution recursion (14).
For the sake of simplicity, let us consider . By Lemma 4.2, a node has degree in the residual graph if and only if there is one incoming message to at time , and there were two or more incoming messages to at time . By Lemma 4.5, the number of incoming messages to at time converges in distribution to . Using monotonicity of the algorithm, and again Lemma 4.5, the number of incident edges such that the message incoming to at time is but changes to at time , converges to , and is asymptotically independent of the number of messages (converging to ). Therefore, converges as to
2 BP fixed points
Let be the density evolution sequence defined by equation (14) with initial condition . Then is monotone decreasing, and hence has a limit which is given by
Monotonicity follows from the fact that is monotone increasing, and that , whence , and so on. Notice that the definition of given in this lemma is consistent with the one in Theorem 1, that corresponds to the special case of regular, degree- check nodes, that is, . We further let .
The following occurs with probability :
where , are two independent Poisson random variables.
Our final lemma is a straightforward consequence of Lemmas 4.5 and 4.8 above.
Let be the fraction of variable-to-check messages that are equal to after iterations on (with corresponding to the fixed point). Then equations (15) and (22) imply that
3 Proof of Lemma 4.8
Throughout this section, the notion of convergence adopted is convergence locally (cf. Definition 1.2).
With probability with respect to the choice of , we have for all ,
Using Lemma 4.5 (and using the fact that for all holds eventually almost surely, for some ) we have,
Fix an arbitrary . Lemma 4.7 implies that, for large enough,
holds almost surely. Since is arbitrary, we obtain the claimed result.
Let be the measure on rooted factor graphs with marks (called “networks” in AldousLyonsUnimodular), constructed as follows: Choose a uniformly random variable node as root. Mark variable nodes with mark if they are in the 2-core of .
The sequence converges locally to the measure on random rooted tree with marks, , defined as follows. Construct a random bipartite Galton–Watson tree rooted at with offspring distribution at variable nodes and deterministic at factor notes. Let be the maximal subset of its vertices such that each variable node has degree at least and each factor node has degree in the induced subgraph. Mark with all vertices in .
We will prove the thesis by a standard weak convergence argument Kallenberg: We will show that for any subsequence of , there is a sub-subsequence that converges locally weakly to the measure on .
Recall that a stopping set is any subset of variable nodes of a factor graph, such that each variable node has degree at least in the induced subgraph. The -core of the factor graph is the maximal stopping set and is a superset of any stopping set. These notions are well defined for infinite graphs as well.
Now, the marks in correspond to the core by definition. The marks in form a stopping set, since the measure on is the local weak limit of , and in any graph drawn from , w.p. 1 a vertex is marked only if at least two of its neighboring checks have all marked neighboring variable nodes. Moreover, one can show that both and are unimodular. Indeed is unimodular since the unmarked tree is clearly unimodular, and the marking process does not make any reference to the root. Unimodularity of is clear since it is the local weak limit of a marked random graph AldousLyonsUnimodular. Thus, in order to prove our thesis it suffices to show that the density of marks is the same in and . (Because the subset of nodes that is marked in contains the subset marked in and the density of their difference is equal to the difference of the densities. Finally, for unimodular network, if a mark type has density , then the set of marked nodes is empty by union bounds.)
Proceeding analogously to the proof of BalPerPete06, Proposition 1.2, we obtain
For edges directed downward, marks are generated recursively following the usual BP rules, cf. equations (4), (5), starting from the top to the bottom. It is easy to check that with this construction, the marks in correspond to a BP fixed point.
We extend the unmarking operator by allowing it to act on graphs with marks on edges (and removing the marks).
and have the same distribution.
For this, we construct (which is without the marks revealed) in a “breadth first” manner as follows: First, we draw a number of factor descendants for the root node. Let be a factor descendant of the root. Then has variable node descendants. The message is 0 with probability . It immediate to check from our construction and that:
Now, we draw the number of descendants for each neighbor of . Using fact 1, together with the definition of , one can check that:
is unimodular.
Let be a map from “trees with marked edges” to “trees with marked variable nodes” defined as follows: is obtained from by putting a mark on vertex if and only if at least two incoming edges have a mark.
We let be the subset of variable nodes of such that at least one message incoming to is equal to . Then this set has density
In light of Lemma 4.15, we further denote the set of variable nodes in having two or more incoming messages by .
This result is immediate from Lemmas 4.12 and 4.15.
The following is immediate from the construction of .
If , then there exists a subtree of rooted at with the following properties: (i) If is a variable node in the subtree, either or at least one descendant factor node is in the subtree; (ii) If is a factor node in the subtree, all its descendants are also in the subtree.
We call the subtree just defined a witness for (there might be more than one in principle). Notice that a priori a witness can be finite [if it ends up with nodes in ], or infinite.
Almost surely any node has a finite witness. Thus, .
It is sufficient to prove that the following event has zero probability: and only has infinite witnesses. Suppose . We will look for a minimal witness for . If , then it is itself a witness and we are done. If not then, there is exactly one incoming message, say from factor . Then factor has incoming messages from descendants. The subtrees corresponding to these descendants are independent. Consider a descendant of . We have
Conditioned on , the node has exactly descendant variable nodes (via one check node). Thus, conditioned on , the minimal witness is a Galton–Watson tree with offspring distributed as , whereby with probability , and otherwise. The branching factor of this tree is (cf. Lemma 6.6 below). The lemma follows.
Consider the setting of Lemma 4.8. We have
almost surely with respect to the choice of .
Let be the subset of variable nodes in that receive at least one message. Let be the density of nodes in . From Lemma 4.18, we have immediately
almost surely with respect to the choice of .
It follows from Lemmas 4.12 and 4.15 that
[Proof of Lemma 4.8] Equation (23) follows from Lemmas 4.11, 4.19 and 4.20. Equation (22) follows from a completely analogous argument.
For any and any , there exists such that almost surely,
holds almost surely. Now, we can choose small enough such that eventually (in ) almost surely, for any set of edges in , the union of balls of radius around these edges contains no more than nodes. Combining with equation (31), at least fraction of nodes have all messages in a ball of radius unchanged after iteration , almost surely. This yields the result.
almost surely. Since is arbitrary, we obtain, for every , that
Proof of Lemma 3.11: Peelability implies a sparse basis
Let us begin by describing the proof strategy.
Instead of analyzing peeling on the collapsed graph , we analyze a different peeling process. We first run synchronous peeling on for a large constant number of iterations. We then collapse the resulting graph, as discussed in Section 3.1, that is, coalescing variables connected to each other via degree 2 factors (cf. Definition 3.3). Finally, we run synchronous peeling on the collapsed graph until it gets annihilated. We show that this process takes at least as many iterations as synchronous peeling on (Lemma 5.1 below). In order to bound the number of iterations under this new two-stages process, we proceed as follows. We choose the constant such that the residual graph is subcritical, and hence consists of trees and unicyclic components of size w.h.p. As a consequence, the collapsed graph—to be denoted by —contains only checks of degree or more, and consists of trees and unicyclic components of size . It is not hard to show that it takes only additional rounds of peeling to annihilate under this condition (see Lemma 5.4 below).
Several technical lemmas follow, which are proved in the Appendix B, except Lemma 5.1, which we prove below. At the end of the subsection, we provide a proof of Lemma 3.11, parts (i) and (ii).
Consider the peeling algorithm and define to be the peeling operator corresponding to one round of synchronous peeling (cf. Table 1). Thus, for a bipartite graph , the residual graph after rounds of peeling is . Denote by the graph produced by the peeling procedure after it halts: this is the empty graph if is peelable, and the core of otherwise. Recall that denotes the number of rounds of peeling performed before halting at . Further, define to be the collapse operator as per Definition 3.3. For instance . The next lemma bounds from above the number of rounds of peeling required to annihilate , in terms of the modified peeling process (consisting of rounds of peeling, followed by collapse, and then peeling until annihilation).
For any constant and any peelable bipartite graph ,
Peelability of a pair immediately implies some useful properties.
For a factor degree profile that is peelable at rate , we have:
Notice that the factor graph induced by degree check nodes is in natural correspondence with an ordinary graph (replace every check node by an edge) which is uniformly random given the number of edges. The average degree of this graph is , and Lemma 5.2(i) implies that it is subcritical, as we would expect for a peelable degree distribution.
Recall that denotes the number of variable nodes of degree in , and denotes the number of variable nodes of degree or more in . Let
In the lemma below, we slightly modify the peeling process, choosing to retain all variable nodes in the residual graph (check nodes are eliminated as usual). With a slight abuse of notation, we keep denoting by the residual graph, although this is obtained from by adding a certain number of isolated variable nodes.
Our final technical lemma bounds the number of peeling rounds needed to annihilate a tree or unicyclic component.
Consider a factor graph with no check nodes of degree or , and that is a tree or unicyclic. Then is peelable and .
for . Choose such that . Then we have . But Lemma 5.2 tells us that . It follows that .
In particular, the branching factor associated with the random graph satisfies , with probability at least . Following a standard argument Bollo where we explore the neighborhood of by breadth first search, we obtain that with probability at least for , the connected component containing is a tree or unicyclic, with size less than , for some . Applying a union bound, we obtain that for , with probability at least , the event occurs, where
For (ii), notice that in collapsing a connected component of , the number of variable nodes does not increase. Further, a tree component collapses to a tree and a unicyclic component collapses either to a tree or a unicyclic components. Thus, we can use Lemma 5.4 with to obtain the a bound of on the number of additional peeling rounds needed, with probability at least . Since the probability of peelability is uniformly bounded away from zero as , the probability that the same bound on the number of peeling rounds holds conditioned on peelability is at least (for some ) for , as required.
2 Proof of Lemma 3.11(iii)
The following lemma bounds the size of a supercritical Galton–Watson tree, observed up to finite depth. The proof is in the Appendix B.
[Proof of Lemma 3.11(iii)] From Lemma 5.2(ii), we know that . The following occurs in the collapse process: Let be the subgraph of induced by the degree factor nodes (with isolated vertices retained). We have . All variable nodes that belong to a single connected component of coalesce into a single supernode in , with a neighborhood that consists of the union of the individual neighborhoods restricted to (cf. Definition 3.3). As mentioned above, is a random factor graph with factor nodes of degree 2, and is in one-to-one correspondence with a uniformly random graph. For , we denote by the number of variable nodes in in the component . Lemma 5.2(i) implies that the branching factor of obeys , that is, is subcritical. This leads to the following claim that follows immediately from a well-known result on the size of the largest connected component in a subcritical random graph Bollo.
Claim 1: There exists , such that the following occurs for all . No component is composed of more than variable nodes, that is, , with probability at least .
Let , that is, is the subgraph of induced by factors of degree greater than (with isolated vertices retained).
From Poisson estimates on the node degree distribution, we get the following.
Note that we used [from Lemma 5.2(i)] to avoid dependence on in the above claim.
Using claims 1 and 2 above and a union bound, we deduce that holds with probability at least for , for some .
Clearly, is independent of . In particular, for that is part of supernode , we know that is independent of . There is a slight dependence between the degree of different variable nodes, but assuming , the effect of this is small if we only condition on nodes in . This enables our bound on the size of balls in .
Characterizing the periphery
Consider a factor graph when it has a nontrivial -core. Recall the definitions of the -core, backbone and periphery of a graph from Section 3.2. First, we note some of the properties of these subgraphs that will be useful in the proof of the main lemmas of this section.
Before proving Lemma 3.9, we first introduce the concept of a “rigid” graph and establish a monotonicity property for the backbone augmentation procedure which was defined in Section 3.2. We use the notation if is a subgraph of .
The proof of Lemma 6.1 can be found in the Appendix C.
Define a graph to be rigid if its backbone is the whole graph. We denote by the class of rigid graphs with variable nodes, and check nodes each of degree .
2 Proof of Lemma 3.12: Periphery is exponentially peelable
Proof of this lemma can be found in the Appendix C.
Let be defined as in Theorem 1. Then there exists such that the pair defined in Definition 6.5 is peelable at rate . Further, for all .
In view of the density evolution recursion (Definition 14), define
We prove the lemma by showing that and that strictly for .
Using the definitions of and , the function can be written as
By a straightforward calculation, and using Lemma 6.6, we get
Assume to be fixed point of , that is,
Using the identity and after some calculation, we get
Equation (50) shows that is a fixed point of the original density evolution recursion (14) with . Since, by definition, is the largest fixed point of that recursion, is the only fixed point of in the interval $f^{\prime}(0)<1f(z)
We can now prove Lemma 3.12. {proof}[Proof of Lemma 3.12] For any , by Lemmas 4.3 and 4.8, we know that
As before, let . Using we obtain that the function is an analytic function over set . By Lemma 6.7, . It follows that, for small enough, using continuity with respect to the other arguments of . We infer that the periphery is w.h.p. peelable at rate . This proves part (i). Part (ii) follows immediately from Lemma 4.8.
Proof of Lemma 3.5
Now, it has been proved DemboFSS that, w.h.p.
where is as defined in Theorem 1. The above bounds also follow from Lemmas 4.3 and 4.5.
The kernel of the core system contains all vectors with the following property. Let be the subset of variables taking value in (i.e., the support of ). Then the subgraph of induced by has no check node with odd degree.
We will refer to such subgraphs as to even subgraphs. Explicitly, even subgraphs are variable-induced subgraphs such that no check node has odd degree. We want characterize the even subgraphs of having no more than variable nodes, in terms of their size and number. Lemma 7.4 in Section 7.1 below allows us to do this provided certain conditions are met. Our next lemma tells us that the core meets these conditions w.h.p.
and let . For any , we have, w.h.p.:
.
The discussion in Section 7.1 throws light on the definitions of and used.
[Proof of Lemma 7.2] From equations (52), (53), we deduce that w.h.p., leading to
for sufficiently small , using Lemma 6.6. Thus, we have established point (i).
Fix . Consider some . Let be defined implicitly by
For , we have and is an increasing function of at fixed DemboFSS.
We are interested in even subgraphs of .
Consider the subgraph of induced by variable nodes of degree (with all factor nodes retained). The asymptotic branching factor this subgraph turns out to be . We impose the condition for some (since this is true of the core). Note that is a decreasing function of , and hence a decreasing function of , for fixed .
First, we state a technical lemma that we find useful.
provided . We use with . Take . The number of different subsets of variable nodes of size is for for some . A union bound gives the desired result.
Consider minimal even subgraphs consisting of only degree variable nodes. There are no more than such subgraphs. Each of them is a simple cycle consisting of no more than variable nodes.
Every even subgraph of with less than variable nodes contains only degree variable nodes.
Part (i): Reveal the edges of sequentially. The expected number of nodes in , conditioned on the first edges revealed forms a martingale with differences bounded by . Then, from Azuma–Hoeffding inequality PanconesiBook, we deduce that concentrates around its expectation:
for all , where .
Now, condition on , for some such that
for all , where .
Now condition on both satisfying equation (58) and satisfying
Let be the branching factor of (i.e., of a graph that is uniformly random conditional on the degree profile ). Under the above conditions on and , a straightforward calculation implies that is bounded above by , for some such that as . Thus, by selecting appropriately small , we can ensure that , leading to a bound of on the branching factor for all , within the range specified above.
Now we condition also on the degree sequence, that is, the sequence of check node degrees in . The factor graph can be naturally associated to a graph, by replacing each variable node by an edge and each check node by a vertex. This graph is distributed according to the standard (nonbipartite) configuration model. Using Wormaldshortcycles81, Theorem 4, we obtain that the number of cycles of length for a constant are asymptotically independent Poisson random variables, with parameters The model in Wormaldshortcycles81 is slightly different from the configuration model for its treatment of self-loops and double edges. However, the results and proof can be adapted to the configuration model.
More precisely, for any constants , we have
where is the event that there are cycles of length for with all cycles disjoint from each other, and . Choosing large enough, we have
where , for large enough.
On the other hand, we know that the probability of having no cycles in is under our assumption of . The argument for this was already outlined in the proof of Lemma 3.11, cf. Section 5.1: the Poisson approximation of Wormaldshortcycles81 is used to estimate the probability of having no cycles of length smaller than , while a simple first moment bound is sufficient for cycles of length or larger. Thus, with probability at least , we have no more than cycles, disjoint and each of length no more than . Choosing , we obtain part (i) with probability at least for large enough .
Part (ii): Let . Let be the number of even subgraphs of induced by variable nodes such that the sum of the degrees of the variable nodes is . We are interested in (we will choose later) and . In particular, we want to show that, for any ,
This immediately implies the desired result from linearity of expectation and Markov inequality.
for some with the property that as . Thus, we only need to establish
for all large enough, since the claim then follows from Markov inequality.
A straightforward calculation RiUBOOK; MM09 yields
It is useful to recall the following probabilistic representation of combinatorial coefficients.
where are i.i.d. for .
Fact 7.5 yields that can be bounded above as
for any . We will choose a suitable later.
Finally, for , similar to Fact 7.5, we can deduce that
for all . Now, it is easy to check that
by comparing coefficients in the series expansions of both sides. Choosing , we obtain
Putting together equations (64), (65), (66), (67) and (68), we obtain
for some . Plugging back, we get
Without loss of generality, assume . Now, we choose such that . We choose such that [note that as ]. This leads to for all and , when we use . Also, for all , , for some . Thus,
for some . This implies equation (62) for large enough as required.
Proof of Lemma 3.8: A sparse basis for low-weight core solutions
For each , we need to find a sparse solution that matches on the core. From Lemma 3.5, we know that w.h.p., consists of all zeros except for a small subset of variables. Indeed, we know from Lemma 7.4 that these variables correspond to a cycle of degree- variable nodes. Although this is not used in the following, we shall nevertheless refer to the set of variable nodes corresponding to an element of as a cycle. Denote by the cycle corresponding to . Recall that the noncore is the subgraph of induced by and . Suppose we set all noncore variables to . The set of violated checks consists of those checks in that have an odd number of neighbors in . We show that w.h.p., each such check can be satisfied by changing a small number of noncore variables in its neighborhood to 1. To show that this is possible, we make use of the belief propagation algorithm described in Section 4.
Our strategy is roughly the following. Consider a violated check . We wish to set an odd number of its noncore neighboring variables to . But then, this may cause further checks to be violated, and so on. A key fact comes to our rescue. If check node receives an incoming message in round , then we can find a subset of noncore variable nodes in a -neighborhood of such that if we set those variables to , check will be satisfied (with an odd number of neighboring ones in the noncore) without causing any new violations. We do this for each violated check. Now w.h.p., for suitable , all violated checks will receive at least one incoming by time (note that each noncore check receives an incoming at the BP fixed point). Thus, we can satisfy them all by setting a small number of noncore variables to .
Then and are independent of each other. Here denotes the edges between core variables and noncore checks .
The edges in are distributed as follows: For each , if , its neighborhood in is a uniformly random subset of of size , independent of the others.
(Note that these events are implicitly indexed by .) We argue that holds w.h.p. for an appropriate choice of . Indeed, Lemma 3.5 implies that holds w.h.p. Lemma 4.8 implies that holds w.h.p. for sufficiently large . Finally, Lemma 8.1 and a subexponential tail bound on the Poisson distribution ensure holds w.h.p.
Assume that holds. Let sets of variable nodes on the disjoint cycles corresponding to elements of be denoted by for . Consider a cycle . Denote by , , the checks in the noncore having an odd number of neighbors in . (Thus, is the number of such checks.) Call these marked checks. Given , we know that , and that there are no more than marked checks in total:
By Lemma 4.10, the event holds w.h.p. provided and grows sufficiently slowly with [for the given choice of ].
Given , we know that the number of checks for which an incoming message changes after is no more than . Suppose is a marked check. Then we have
since all check nodes in are equivalent with respect to the noncore, from Lemma 8.1. We already know that under , the number of marked checks is bounded by . This leads to
Condition on and . This identifies the marked checks. Lemma 8.1 guarantees us that all checks in are equivalent with respect to . Suppose holds. Define a ball of radius around a check node as consisting of the neighboring variable nodes, and the balls of radius around each of those variables. Similar to the proof of Lemma 3.11(iii), we can show that
holds with probability at least , for some and , for all marked checks . Thus, the probability that this bound on ball size holds simultaneously for all marked checks, by union bound, is at least as provided and grows sufficiently slowly with .
Appendix A Proof of Lemma 3.4
Inductive step: Assume that and consider the graph (recall that denoted the peeling operator). By construction , and thus by the inductive hypothesis the columns of
A direct result of this is the sparsity bound given below.
Appendix B Proofs of technical lemmas in Section 5
[Proof of Lemma 5.2] Let . Define . We obtain
Now, we know that as , it follows that . We then deduce from peelability at rate that
Combining equations (72) and (73), we obtain the desired result (i).
In order to prove (ii) notice that, for the pair to be peelable, need for all , that is,
where is the inverse mapping of . We next integrate the above over , using
which yields .
[Proof of Lemma 5.3] We use the notation whereby is the number of check nodes of degree in . Let
Note that defined above is, in fact, the check degree profile of .
As above, let denote the operator corresponding to one round of synchronous peeling [so that ]. Define the set
To simplify the proof of Lemma 5.4, we first prove a simple technical lemma.
We proceed by induction on the maximum depth of the tree rooted at .
Inductive step: Consider having depth and perform round of synchronous peeling, resulting in . Let be the number of leaves in . The inductive hypothesis implies , since is also a tree. Since, by construction, every factor node has degree at least in , every leaf in must have at least leaves in as descendants, that is, , where is the number of leaves in . Combining these two inequalities yields
[Proof of Lemma 5.4] By Lemma B.1, if is a tree, at least one-half of all variable nodes are leaves at every stage of peeling. Thus, is peelable and . (After rounds of peeling, we have or less variable nodes remaining, and hence no checks. At most one more round of peeling leads to annihilation.)
Now suppose is unicyclic. Each factor in the cycle has degree at least , hence it has a neighbor outside the cycle and must eventually get peeled. Breaking ties arbitrarily, let be the first factor in the cycle to be peeled, and let be the variable node that “causes” it to get peeled (clearly is not in the cycle). Let be the peeling round in which and are peeled. Consider the subtree rooted at defined as follows: is the maximal connected subgraph of that includes , but not . Using Lemma B.1 on this subtree and reasoning as above, we have .
As at least one factor node in the unicycle is peeled in round , we must have that is a tree or forest, which by Lemma B.1 can be peeled in at most additional iterations, since the number of variable nodes in the is at most . Thus, . Combining these two inequalities yields
[Proof of Lemma 5.5] The lemma can be derived from known results (see, e.g., Branching), but we find it easier to provide an independent proof.
We use a generating function approach to prove the bound
Equation (36) follows (eventually for a different constant ) via union bound.
for . It follows that is finite for , and all .
By dominated convergence is differentiable at with . Hence, there exists such that, for all
By applying the recursion (79) and the fact that is monotone increasing, we obtain, for all obtain
In particular setting , we get .
Appendix C Proof of Technical Lemmas of Section 6
It is therefore sufficient to exclude the case . Solving the equations and , we get the following equation for :
Acknowledgements
While this paper was being finished, we became aware that Dimitris Achlioptas and Michael Molloy concurrently obtained related results on the same problem. The two papers are independent. Further, they use different techniques and establish somewhat different results.