Introduction
The Exponential Time Hypothesis (ETH) of Impagliazzo and Paturi [86 ] states that 3-SAT on n n n variables needs time 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) . For a quarter century it was the standard way to turn NP-hardness into quantitative lower bounds. Its relatives did the same for exact constants (SETH), for approximation (Gap-ETH) and for counting (#ETH). Learning theory used all of them. ETH and Gap-ETH give lower bounds for proper learning of decision trees [96 , 95 , 97 ] and for computing the VC and Littlestone dimensions [109 , 105 ] . They also give lower bounds for training neural networks [75 , 70 ] , for robust proper learning of halfspaces [65 , 66 ] , and for computational–statistical tradeoffs [33 ] . SETH gives quadratic lower bounds for kernel methods, attention and nearest neighbors [31 , 14 , 6 , 118 ] . In inference, ETH was the basis of the conclusion that bounded treewidth is necessary for efficient inference [89 , 90 ] .
In October 2026, two independent works refuted ETH [113 , 55 ] . Both count the satisfying assignments of a k k k -CNF on n n n variables in deterministic time 2 n / ( log n ) 1 / 2 − o ( 1 ) 2^{n/(\log n)^{1/2-o(1)}} 2 n / ( l o g n ) 1/2 − o ( 1 ) , with polynomial dependence on the number of clauses. One works by polynomial interpolation, the other by signed sums of tensor networks contracted in different orders, and both need sparse instances: linearly many constraints of bounded width. SETH, Gap-ETH, #ETH and NSETH each imply ETH, so all of them are false as well. Two forms survive. CNF-SETH states that CNF-SAT with polynomially many clauses of unbounded width needs time 2 ( 1 − γ ) n 2^{(1-\gamma)n} 2 ( 1 − γ ) n , and the Max-3-SAT Hypothesis states the same for the maximum number of satisfiable clauses of a dense 3-CNF (§ 2.5 ).
This paper determines what the refutation changes in computational learning theory. Which learning problems become subexponential? Which lower bounds survive, and on which hypothesis? We use the new algorithms only through the three statements of § 2.3 .
The locality principle
A learning problem is a constraint satisfaction problem. Its variables are the bits of the hypothesis description, and its constraints are the labeled examples. For most classical classes, such as DNF, decision trees and halfspaces on dense data, every example constrains every description bit. The resulting formulas have clauses of width Θ ( N ) \Theta(N) Θ ( N ) , and the new algorithms do not reach this regime. The dividing line is the following notion.
Definition 1.1 (Informal; see Definition 2.2). A class of hypotheses with N N N -bit descriptions w ∈ { 0 , 1 } N w \in\{0,1\}^{N} w ∈ { 0 , 1 } N is κ \kappa κ -local if for each example x x x there is a set R ( x ) ⊆ [ N ] R(x) \subseteq[N] R ( x ) ⊆ [ N ] of at most κ \kappa κ positions such that the label h w ( x ) h_w(x) h w ( x ) depends only on the bits of w w w in R ( x ) R(x) R ( x ) .
Sparse data make quantized models local. A binarized perceptron x ↦ 1 ⟨ w , x ⟩ ≥ 0 x \mapsto1\langle w,x\rangle\geq0 x ↦ 1 ⟨ w , x ⟩ ≥ 0 with w ∈ { ± 1 } n w \in\{\pm1\}^{n} w ∈ { ± 1 } n is κ \kappa κ -local on κ \kappa κ -sparse inputs, because only the weights on the support of x x x matter. With b b b -bit weights, and for quantized embedding models and factorization machines on bags of k k k tokens, the locality is κ = b k \kappa= bk κ = bk . Two-layer binarized networks with r r r hidden units are ( r k + r ) (rk+r) ( r k + r ) -local. A graphical model of bounded degree and arity is local in the same sense: each factor reads a bounded number of variables. Our main finding is a principle.
The new algorithms speed up learning when each labeled example constrains few bits of the hypothesis description. Under CNF-SETH the speed-up ends when examples constrain Θ ( log N ) \Theta(\log N) Θ ( log N ) bits.
Three transitions make the principle precise. Figure 1 summarizes them.
Figure 1. The three transitions. Each row is a parameter that grows to the right; the regimes are not drawn to scale. Green regions are upper bounds that use only the new algorithms [113 , 55 ] ; the lower bounds in green regions assume E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len . Row 1: Theorems 3.2, 3.4, 3.8 and 3.10. Row 2: Theorems 4.3, 4.9 and 4.12. Row 3: Theorems 5.1 and 5.5 and Corollaries 5.2, 5.3 and 5.6.
Transition 1: locality. For local classes, the version space of a sample is the solution set of a κ \kappa κ -CNF, so every computation on it reduces to counting κ \kappa κ -CNFs. Conversely, a padding gadget embeds k k k -SAT into binarized perceptrons on 2 k 2k 2 k -sparse data.
Theorem A (Locality; Theorems 3.2, 3.4, 3.8 and 3.10). H \mathcal{H} H be a κ \kappa κ -local class with N N N -bit descriptions.
Exact counting and uniform sampling of version spaces, the halving algorithm, and proper PAC learning at every accuracy run in time poly ( m ) ⋅ 2 O ( κ 2 N log log N / log N ) \operatorname{poly}(m)\cdot2^{O(\kappa^{2}N\log\log N/\sqrt{\log N})} poly ( m ) ⋅ 2 O ( κ 2 N l o g l o g N / l o g N ) . At constant accuracy, proper PAC learning runs in time 2 O ( κ N / log N + κ 2 ) 2^{O(\kappa N/\sqrt{\log N}+\kappa^{2})} 2 O ( κ N / l o g N + κ 2 ) .
At inverse-polynomial accuracy, and up to a factor 2 in the locality, proper learning of κ \kappa κ -local classes is equivalent to κ \kappa κ -SAT.
Under CNF-SETH, for every γ > 0 \gamma>0 γ > 0 there is K K K such that consistency and proper PAC learning to inverse-polynomial accuracy of binarized perceptrons on ( K log N ) (K\log N) ( K log N ) -sparse data need time 2 ( 1 − γ ) N 2^{(1-\gamma)N} 2 ( 1 − γ ) N .
For constant κ \kappa κ , the counting part of (1) is Corollary C.2 of [113 ] in learning terms. New are the uniformity in κ \kappa κ , the equivalence (2) and the hardness (3). Consistency and learning to inverse-polynomial accuracy are thus subexponential up to locality ( log N ) 1 / 4 − o ( 1 ) (\log N)^{1/4-o(1)} ( log N ) 1/4 − o ( 1 ) , and as hard as CNF-SAT at locality Θ ( log N ) \Theta(\log N) Θ ( log N ) . Between the two lies the open window of k k k -SAT for k = ( log N ) Θ ( 1 ) k=(\log N)^{\Theta(1)} k = ( log N ) Θ ( 1 ) . At constant accuracy the subexponential range extends to ( log N ) 1 / 2 − o ( 1 ) (\log N)^{1/2-o(1)} ( log N ) 1/2 − o ( 1 ) .
Transition 2: accuracy. For agnostic learning, the cost depends on the size of the sample, not on N N N . Exact ERM on m m m examples reads only κ m \kappa m κm description bits, and it is a sparse weighted constraint problem. We compute its entire error profile, the number of hypotheses with exactly $j errors for every j j j , by tensor contraction over the truncated polynomial ring ( Z / 2 ℓ Z ) [ V ] / ( V ℓ ) (\mathbb{Z}/2^{\ell}\mathbb{Z})[V]/(V^{\ell}) ( Z / 2 ℓ Z ) [ V ] / ( V ℓ ) . The lower bounds use a length form of ETH. The hypothesis E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len states that SAT on CNFs of length L L L needs time 2 L / ( log L ) C 2^{L/(\log L)^C} 2 L / ( l o g L ) C . It is the instance with an explicit rate of the polylog-slack hypotheses of [56 ] . The new algorithms refute it for C < 1 / 2 C < 1/2 C < 1/2 , and for C ≥ 1 / 2 C \ge1/2 C ≥ 1/2 it states that they are optimal up to polylogarithmic factors in the exponent.
Theorem B (Accuracy; Theorems 4.1, 4.3, 4.6, 4.9 and 4.12 and Corollaries 4.2 and 4.10). Let H \mathcal{H} H be a κ \kappa κ -local class with N N N -bit descriptions and V C VC V C dimension d d d .
(1) Exact ERM, the error profile and the exponential mechanism on a sample of size m ≥ max { κ , 2 } m \ge\max\{\kappa,2\} m ≥ max { κ , 2 } take time poly ( N ) ⋅ 2 O ( κ m / log m ) \operatorname{poly}(N)\cdot2^{O(\kappa m/\sqrt{\log m})} poly ( N ) ⋅ 2 O ( κm / l o g m ) . For literal disjunctions on 3-sparse data, consistency on m m m examples needs time 2 m / ( log m ) C + o ( 1 ) 2^{m/(\log m)^{C+o(1)}} 2 m / ( l o g m ) C + o ( 1 ) under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len .
(2) Proper agnostic learning takes time poly ( N ) ⋅ 2 O ( κ d / ( ε 2 log ( 2 d / ε ) ) + κ 2 ) \operatorname{poly}(N)\cdot2^{O(\kappa d/(\varepsilon^2\sqrt{\log(2d/\varepsilon)})+\kappa^2)} poly ( N ) ⋅ 2 O ( κ d / ( ε 2 l o g ( 2 d / ε ) ) + κ 2 ) for constant confidence. At a small constant accuracy ε 0 \varepsilon_0 ε 0 , proper learning of literal disjunctions on 3-sparse data, realizable or agnostic, needs time 2 N / ( log N ) C + O ( 1 ) 2^{N/(\log N)^{C+O(1)}} 2 N / ( l o g N ) C + O ( 1 ) under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len . So at constant accuracy, proper learning of constant-local classes is SAT parameterized by formula length, up to polylogarithmic factors in the exponent.
(3) Under the Max-3-SAT Hypothesis, proper agnostic learning of literal disjunctions on 3-sparse data to accuracy 1 / ( 8 N 3 ) 1/(8N^3) 1/ ( 8 N 3 ) needs time 2 ( 1 − o ( 1 ) ) N 2^{(1-o(1))N} 2 ( 1 − o ( 1 )) N .
With the quasi-linear PCPs of Dinur and of Ben-Sasson and Sudan [63 , 39 ] , E T H l e n \mathrm{ETH}^{\mathrm{len}} ETH len replaces Gap-ETH for gap reductions of quasi-linear size, at a polylogarithmic loss in the exponent (Corollary 4.11). At inverse-polynomial accuracy, more data makes exact ERM harder: it is subexponential on samples of size o ( N log N ) o(N\sqrt{\log N}) o ( N log N ) and needs time 2 ( 1 − o ( 1 ) ) N 2^{(1-o(1))N} 2 ( 1 − o ( 1 )) N on samples of size Θ ( N 3 ) \Theta(N^3) Θ ( N 3 ) .
Transition 3: treewidth. Exact inference in graphical models is #SAT parameterized by the length of the model, and the textbook algorithms take time exponential in the treewidth.
Theorem C (Treewidth; Theorems 5.1 and 5.5 and Corollaries 5.2, 5.3 and 5.6). Consider Boolean graphical models of bounded degree and arity with small nonnegative integer weights.
(1) On n n n variables, the partition function, all marginals, and a minimum-energy assignment can be computed exactly in time 2 O ( n / log n ) 2^{O(n/\sqrt{\log n})} 2 O ( n / l o g n ) . On bounded-degree expanders, every elimination order and every structured DNNF needs time or size 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) . Under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len , deciding whether the partition function is positive needs time 2 t w / ( log t w ) C + o ( 1 ) poly ( n ) 2^{\mathrm{tw}/(\log\mathrm{tw})^{C+o(1)}}\operatorname{poly}(n) 2 tw / ( l o g tw ) C + o ( 1 ) poly ( n ) .
(2) Under #CNF-SETH, for every γ > 0 \gamma> 0 γ > 0 , no algorithm computes partition functions in time 2 ( 1 − γ ) t w poly ( n ) 2^{(1-\gamma)\mathrm{tw}}\operatorname{poly}(n) 2 ( 1 − γ ) tw poly ( n ) , already on models with n ≤ t w O ( 1 ) n \le\mathrm{tw}^{O(1)} n ≤ tw O ( 1 ) variables.
The treewidth-based algorithms take time 2 Θ ( t w ) 2^{\Theta(\mathrm{tw})} 2 Θ ( tw ) . So they are not optimal when the model has n = O ( t w ) n = O(\mathrm{tw}) n = O ( tw ) variables, but they are optimal again when n n n may be polynomially larger than t w \mathrm{tw} tw . The preprint [55 ] already notes that its algorithm beats every fixed tree of cuts on expanders; the inference statements and both lower bounds are new. The ETH-based bound of [89 , 90 ] has lost its proof. Part (1) puts a bound of the form 2 t w / polylog t w 2^{\mathrm{tw}/\operatorname{polylog}\mathrm{tw}} 2 tw / polylog tw on the surviving hypothesis E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len , and the qualitative statement that inference is not polynomial in the treewidth rests on NP not having polynomial-size circuits [CSH08, CC16].
By-products for fine-grained complexity. Three results do not concern learning.
Exact Max-SAT with c n cn c n clauses takes time 2 O ( ( 1 + c ) n / log n ) 2^{O((1+c)n/\sqrt{\log n})} 2 O (( 1 + c ) n / l o g n ) , so the Sparse Max-SAT Hypotheses of Alman and Vassilevska Williams [17 ] are false (Corollary 4.5). This also follows from [113 Theorem 1.1] with a threshold circuit; the error profile gives in addition the whole distribution of the number of violated clauses.
Under CNF-SETH, a #k-SAT algorithm with exponent k μ n / ( log n ) ν k^{\mu n/(\log n)^{\nu}} k μ n / ( l o g n ) ν needs μ ≥ ν \mu\ge\nu μ ≥ ν (Corollary 3.7 ). A better rate must come with a worse dependence on k k k .
CNF-SAT with linearly many clauses of arbitrary width is subexponential (Proposition 6.1 ). So the hard instances of CNF-SETH have superlinearly many clauses, and the hardness of low-dimensional Orthogonal Vectors no longer follows from a hypothesis about SAT.
What survives. § 6 takes stock of the conditional lower bounds of learning theory. Bounds stated with polynomial slack, such as the hardness of computing the VC dimension [109 ] , survive under Almost-ETH [106 ] , and so under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len . Bounds from near-linear reductions survive under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len with a polylogarithmic loss in the exponent. Bounds whose exponent is only Θ ( log log N ) \Theta(\log\log N) Θ ( log log N ) , such as those for proper learning of decision trees [96 ] and for partial MCSP [82 ] , keep almost nothing. Bounds that rest on CNF-SETH or on k k k -Clique survive verbatim. Among them is the n k − o ( 1 ) n^{k-o(1)} n k − o ( 1 ) bound for juntas, the canonical non-local class. The quadratic SETH-based bounds for attention and kernel density estimation are not contradicted, but they now rest on the low-dimensional OV hypothesis alone. The next obstacle is permutations. On difference vectors e i − e j e_i-e_j e i − e j , ERM for real-valued halfspaces is weighted Feedback Arc Set (Proposition 8.1), and the new algorithms do not reach it.
What is new. The two preprints [113 , 55 ] contain no statement about learning. Lemma 3.1 is the encoding of [113 Corollary C.2] , and the upper bound for counting at constant locality is that corollary. Everything else is new: the locality principle with bounds uniform in κ \kappa κ , the equivalence with κ \kappa κ -SAT and the hardness at logarithmic locality, the error-profile algorithms for ERM, agnostic and private learning, the lower bounds at constant and inverse-polynomial accuracy, the results on inference, the by-products above, and the ledger.
Techniques
Version spaces as CNFs. Each example excludes at most 2 κ 2^\kappa 2 κ patterns of its κ \kappa κ relevant bits. So the version space is the solution set of a κ \kappa κ -CNF with at most m 2 κ m2^\kappa m 2 κ clauses (Lemma 3.1 ). The algorithm of [55 ] counts its solutions in time 2 O ( κ 2 N log log N / log N ) 2^{O(\kappa^2 N\log\log N/\sqrt{\log N})} 2 O ( κ 2 N l o g l o g N / l o g N ) independently of m m m , and sampling, halving and learning follow by self-reducibility. For the converse, a padding gadget turns a clause into a sparse example. Its inner product with a sign vector is 2 t − 2 2t-2 2 t − 2 , where t t t is the number of true literals (Lemma 3.3).
The error profile as one contraction. Agnostic learning needs the number of hypotheses with exactly j j j errors for every j j j . An example contributes the factor 1 1 1 when it is fit and V V V when it is not, and the contraction theorem of [113 ] over ( Z / 2 P Z ) [ V ] / ( V ℓ ) (\mathbb{Z}/2^{P}\mathbb{Z})[V]/(V^\ell) ( Z / 2 P Z ) [ V ] / ( V ℓ ) computes the product sum. Three choices make it exact. We restrict to the κ m \kappa m κm description bits that the sample reads. We turn the factor graph into a bipartite Boolean tensor network of degree max { κ , 3 } \max\{\kappa,3\} max { κ , 3 } (Lemma B.1 ). And we choose the precision P P P and the truncation order ℓ \ell ℓ so that no coefficient is lost. The cost depends on the total size κ m \kappa m κm of the sample instead of κ 2 N \kappa^2N κ 2 N , which gives sample-sensitive learning, the exponential mechanism, and exact sparse Max-CSP.
Lower bounds that control variables, length and accuracy. For consistency, a quantitative form of Schuler’s width reduction [119 , 51 ] shows that, under CNF-SETH, k k k -SAT with k = K log n k=K\log n k = K log n needs time 2 ( 1 − γ ) n 2^{(1-\gamma)n} 2 ( 1 − γ ) n , with solution counts preserved (Lemma 3.5 ). For constant accuracy, a quasi-linear PCP turns a CNF of length L L L into an LD3 _3 3 sample in dimension L polylog L L\operatorname{polylog}L L polylog L , with perfect completeness and a constant gap (Lemma 4.8). For inference, OR-chains with copied variables turn any CNF into a degree-3 factor graph whose pathwidth is at most the number of variables plus 2 (Lemma 5.4).
Organization
§ 2 fixes the model, imports the new algorithms, builds the engine of all our algorithms, and states the surviving hypotheses. § 3 to § 5 prove the three transitions. § 6 takes stock of the conditional lower bounds of learning theory. § 7 discusses related work, and § 8 isolates the permutation obstacle and lists open problems. The main text gives a proof sketch for each result. Section A explains the appendix, which contains all full proofs in a structured form.
AI disclosure. This paper was written with Claude Opus 5.5 (Anthropic), working as an agent in Claude Code. The author posed the question and directed the presentation. Claude chose the results, proved them, wrote the text and drew the figures. Separate Claude agents searched the literature, audited the proofs and reviewed the paper as referees, and the paper was revised to address their findings. The gadgets and reductions were tested by brute force on small random instances, and the asymptotic estimates were checked symbolically and in exact arithmetic. The author is responsible for the content.
Preliminaries
This section fixes the model, states the new algorithms, builds the computational engine that the rest of the paper uses, and lists the hypotheses that survive.
Notation and the learning model
We write log for log 2 \log_2 log 2 and [ n ] [n] [ n ] for { 1 , … , n } \{1,\ldots,n\} { 1 , … , n } . For w ∈ { 0 , 1 } N w \in\{0,1\}^{N} w ∈ { 0 , 1 } N and R ⊆ [ N ] R \subseteq[N] R ⊆ [ N ] , the string w ∣ R w|_R w ∣ R is the restriction of w w w to R R R . A clause is a nonempty set of literals, and its width is its size. A CNF is a finite set of clauses, and a k k k -CNF has only clauses of width at most k k k . The length L L L of a CNF is its number of literal occurrences, L = ∑ C ∣ C ∣ L = \sum_{C} |C| L = ∑ C ∣ C ∣ . For a CNF F F F on declared variables z 1 , … , z n z_1,\ldots,z_n z 1 , … , z n , the number # F \#F # F counts the satisfying assignments in { 0 , 1 } n \{0,1\}^{n} { 0 , 1 } n , and SAT ( F ) \operatorname{SAT}(F) SAT ( F ) is the set of these assignments. We measure time in the word-RAM model, and “polynomial” means polynomial in the input length.
A sample is a sequence S = ( ( x 1 , y 1 ) , … , ( x m , y m ) ) S = ((x_1,y_1),\ldots,(x_m,y_m)) S = (( x 1 , y 1 ) , … , ( x m , y m )) of labeled examples. For a class H = { h w : w ∈ { 0 , 1 } N } \mathcal{H} = \{h_w : w \in\{0,1\}^{N}\} H = { h w : w ∈ { 0 , 1 } N } , the version space of S S S is VS ( S ) = { w : h w ( x i ) = y i for all i } \operatorname{VS}(S) = \{w : h_w(x_i) = y_i\text{ for all }i\} VS ( S ) = { w : h w ( x i ) = y i for all i } , and the empirical error of w w w is err S ( w ) = ∣ { i : h w ( x i ) ≠ y i } ∣ / m \operatorname{err}_S(w) = |\{i : h_w(x_i) \ne y_i\}|/m err S ( w ) = ∣ { i : h w ( x i ) = y i } ∣/ m . The error profile of S S S is the generating polynomial of the error counts,
E S ( V ) = ∑ w ∈ { 0 , 1 } N V m ⋅ err S ( w ) = ∑ j = 0 m c j V j , E_S(V) = \sum_{w\in\{0,1\}^{N}} V^{m\cdot\operatorname{err}_S(w)} = \sum_{j=0}^{m} c_j V^j, E S ( V ) = w ∈ { 0 , 1 } N ∑ V m ⋅ err S ( w ) = j = 0 ∑ m c j V j ,
so the coefficient c j c_j c j is the number of descriptions that misclassify exactly j j j examples. For a distribution D \mathcal{D} D on labeled examples, err D ( w ) = Pr ( x , y ) ∼ D [ h w ( x ) ≠ y ] \operatorname{err}_{\mathcal{D}}(w) = \Pr_{(x,y)\sim\mathcal{D}}[h_w(x) \ne y] err D ( w ) = Pr ( x , y ) ∼ D [ h w ( x ) = y ] and OPT = min w err D ( w ) \operatorname{OPT} = \min_w \operatorname{err}_{\mathcal{D}}(w) OPT = min w err D ( w ) . A proper learner outputs a description w w w . It is an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -agnostic learner if err D ( w ) ≤ OPT + ε \operatorname{err}_{\mathcal{D}}(w) \le\operatorname{OPT} + \varepsilon err D ( w ) ≤ OPT + ε with probability at least 1 − δ 1-\delta 1 − δ , and an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -PAC learner if this holds whenever OPT = 0 \operatorname{OPT}=0 OPT = 0 . We use three standard sample sizes.
Imported Theorem 2.1 (Sample sizes; see [23 , 24 , 123 ] ). Let H \mathcal{H} H have description length N N N and VC dimension d ≥ 1 d \ge1 d ≥ 1 . There are absolute constants C 0 , C B ≥ 1 C_0,C_B \ge1 C 0 , C B ≥ 1 such that the following hold with probability at least 1 − δ 1-\delta 1 − δ over a sample of m m m independent examples from D \mathcal{D} D .
(a) Occam. If OPT = 0 \operatorname{OPT}=0 OPT = 0 and m ≥ m O c c : = ( N ln 2 + ln ( 1 / δ ) ) / ε m \ge m_{\mathrm{Occ}} := (N \ln2 + \ln(1/\delta))/\varepsilon m ≥ m Occ := ( N ln 2 + ln ( 1/ δ )) / ε , then every w ∈ VS ( S ) w \in\operatorname{VS}(S) w ∈ VS ( S ) has err D ( w ) ≤ ε \operatorname{err}_{D}(w) \le\varepsilon err D ( w ) ≤ ε .
(b) Realizable VC bound. If OPT = 0 \operatorname{OPT}=0 OPT = 0 and m ≥ m V C : = C B ( d log ( 2 / ε ) + log ( 2 / δ ) ) / ε m \ge m_{\mathrm{VC}} := C_B(d \log(2/\varepsilon) + \log(2/\delta))/\varepsilon m ≥ m VC := C B ( d log ( 2/ ε ) + log ( 2/ δ )) / ε , then every w ∈ VS ( S ) w \in\operatorname{VS}(S) w ∈ VS ( S ) has err D ( w ) ≤ ε \operatorname{err}_{D}(w) \le\varepsilon err D ( w ) ≤ ε .
(c) Uniform convergence. If m ≥ m U C : = C 0 ( d + ln ( 1 / δ ) ) / ε 2 m \ge m_{\mathrm{UC}} := C_0(d + \ln(1/\delta))/\varepsilon^2 m ≥ m UC := C 0 ( d + ln ( 1/ δ )) / ε 2 , then every w w w has ∣ err S ( w ) − err D ( w ) ∣ ≤ ε / 2 |\operatorname{err}_{S}(w) - \operatorname{err}_{D}(w)| \le\varepsilon/2 ∣ err S ( w ) − err D ( w ) ∣ ≤ ε /2 . Thus every minimizer of err S \operatorname{err}_{S} err S is ε \varepsilon ε -optimal.
Local hypothesis classes
Definition 2.2 (Local class). Let N , κ ≥ 1 N,\kappa\ge1 N , κ ≥ 1 . A κ \kappa κ -local class H \mathcal{H} H on a domain X \mathcal{X} X assigns to every x ∈ X x \in\mathcal{X} x ∈ X a set R ( x ) ⊆ [ N ] R(x) \subseteq[N] R ( x ) ⊆ [ N ] with ∣ R ( x ) ∣ ≤ κ |R(x)| \le\kappa ∣ R ( x ) ∣ ≤ κ and a predicate f x : { 0 , 1 } R ( x ) → { 0 , 1 } f_x:\{0,1\}^{R(x)} \to\{0,1\} f x : { 0 , 1 } R ( x ) → { 0 , 1 } , both computable in time polynomial in N N N and the length of x x x . A description w ∈ { 0 , 1 } N w \in\{0,1\}^{N} w ∈ { 0 , 1 } N defines the hypothesis h w ( x ) = f x ( w ∣ R ( x ) ) h_w(x) = f_x(w|_{R(x)}) h w ( x ) = f x ( w ∣ R ( x ) ) , and H = { h w : w ∈ { 0 , 1 } N } \mathcal{H} = \{h_w : w \in\{0,1\}^{N}\} H = { h w : w ∈ { 0 , 1 } N } . We call N N N the description length and κ \kappa κ the locality.
Because ∣ H ∣ ≤ 2 N |\mathcal{H}| \le2^N ∣ H ∣ ≤ 2 N , the VC dimension of a class with description length N N N is at most N N N . The following classes are local on sparse data. In each of them, R ( x ) R(x) R ( x ) is determined by the support of x x x , and a sign vector σ ∈ { ± 1 } n \sigma\in\{\pm1\}^{n} σ ∈ { ± 1 } n is described by the bits w i = ( 1 + σ i ) / 2 w_i = (1+\sigma_i)/2 w i = ( 1 + σ i ) /2 .
Example 2.3 (Models on sparse data). Let X k = { x ∈ { − 1 , 0 , 1 } n : ∣ supp ( x ) ∣ ≤ k } \mathcal{X}_k = \{x \in\{-1,0,1\}^{n}: |\operatorname{supp}(x)| \le k\} X k = { x ∈ { − 1 , 0 , 1 } n : ∣ supp ( x ) ∣ ≤ k } .
(a) Literal disjunctions LD k \operatorname{LD}_k LD k on X k \mathcal{X}_k X k : h σ ( x ) = 1 h_\sigma(x)=1 h σ ( x ) = 1 if and only if x i = σ i x_i=\sigma_i x i = σ i for some i ∈ supp ( x ) i \in\operatorname{supp}(x) i ∈ supp ( x ) . Here N = n N=n N = n and κ = k \kappa=k κ = k . A sample of positive examples is a k k k -CNF: the example x x x is the clause ⋁ i ∈ supp ( x ) ( σ i = x i ) \bigvee_{i\in\operatorname{supp}(x)}(\sigma_i=x_i) ⋁ i ∈ supp ( x ) ( σ i = x i ) .
(b) Binarized perceptrons BP k \operatorname{BP}_k BP k on X k \mathcal{X}_k X k : h σ ( x ) = 1 [ ⟨ σ , x ⟩ ≥ 0 ] h_\sigma(x)=1[\langle\sigma,x\rangle\ge0] h σ ( x ) = 1 [⟨ σ , x ⟩ ≥ 0 ] . Here N = n N=n N = n and κ = k \kappa=k κ = k .
(c) b b b -bit linear threshold models on k k k -sparse integer data, with weights in { − 2 b − 1 , … , 2 b − 1 − 1 } \{-2^{b-1},\ldots,2^{b-1}-1\} { − 2 b − 1 , … , 2 b − 1 − 1 } and a fixed threshold. Here N = b n N=bn N = bn and κ = b k \kappa=bk κ = bk .
(d) Quantized embedding models. Each token of a vocabulary [ n ] [n] [ n ] has an embedding in { 0 , 1 } b \{0,1\}^{b} { 0 , 1 } b . An input is a sequence of at most k k k tokens, and the output is a fixed polynomial-time function of their embeddings. Here N = b n N=bn N = bn and κ = b k \kappa=bk κ = bk . Factorization machines with binary factors are a special case.
(e) Sparse parities: h w ( x ) = ⟨ w , x ⟩ m o d 2 h_w(x)=\langle w,x\rangle\bmod2 h w ( x ) = ⟨ w , x ⟩ mod 2 on { x ∈ { 0 , 1 } n : ∣ x ∣ ≤ k } \{x\in\{0,1\}^{n}: |x|\le k\} { x ∈ { 0 , 1 } n : ∣ x ∣ ≤ k } . Here N = n N=n N = n and κ = k \kappa=k κ = k .
(f) Two-layer binarized networks with r r r hidden units on X k \mathcal{X}_k X k : h ( x ) = 1 [ ∑ j ≤ r a j sgn ( ⟨ u j , x ⟩ ) ≥ 0 ] h(x)=1[\sum_{j\le r}a_j\operatorname{sgn}(\langle u_j,x\rangle)\ge0] h ( x ) = 1 [ ∑ j ≤ r a j sgn (⟨ u j , x ⟩) ≥ 0 ] with u j ∈ { ± 1 } n u_j\in\{\pm1\}^{n} u j ∈ { ± 1 } n , a ∈ { ± 1 } r a\in\{\pm1\}^{r} a ∈ { ± 1 } r and sgn ( 0 ) = 1 \operatorname{sgn}(0)=1 sgn ( 0 ) = 1 . Here N = r n + r N=rn+r N = r n + r and κ = r k + r \kappa=rk+r κ = r k + r .
The new algorithms
We use the two refutations of ETH only through the following three statements. The first counts the solutions of k k k -CNFs for every k k k . The second does so in polynomial space. The third contracts sparse tensor networks over a truncated polynomial ring.
Imported Theorem 2.4 ([55 ] , Main Theorem and Corollary 11). There are an absolute constant C 1 C_1 C 1 and a deterministic algorithm with the following property. Given a k k k -CNF, for any k ≥ 1 k \ge1 k ≥ 1 , with M ≥ 2 M \ge2 M ≥ 2 clauses in which n ≥ 4 n \ge4 n ≥ 4 variables occur, the algorithm computes the number of satisfying assignments of these n n n variables in time at most
min { 2 C 1 k M / log M , 2 C 1 k 2 n log log n / log n } . \min\left\{2^{C_1 kM/\sqrt{\log M}},\ 2^{C_1 k^2 n\log\log n/\sqrt{\log n}}\right\}. min { 2 C 1 k M / l o g M , 2 C 1 k 2 n l o g l o g n / l o g n } .
Imported Theorem 2.5 ([113 ] , Theorem 1.1). For each fixed k ≥ 2 k \ge2 k ≥ 2 there is a deterministic algorithm that, given a k k k -CNF F F F on n ≥ 20 n \ge20 n ≥ 20 declared variables with M M M clauses, computes # F \#F # F in ( n + M ) O ( k ) 2 O ( k ) ( n log log n / log n ) (n+M)^{O(k)}2^{O(k)(n\log\log n/\sqrt{\log n})} ( n + M ) O ( k ) 2 O ( k ) ( n l o g l o g n / l o g n ) bit operations and ( n + M ) O ( k ) (n+M)^{O(k)} ( n + M ) O ( k ) bits of space.
A Boolean tensor network is a bipartite multigraph G G G in which every edge carries one bit. Every vertex v v v has an ordered list ∂ v \partial v ∂ v of incident edges and a tensor ψ v \psi_v ψ v , which assigns a ring element to each Boolean assignment of ∂ v \partial v ∂ v . The contraction of G G G is ∑ x ∈ { 0 , 1 } E ( G ) ∏ v ψ v ( x ∣ ∂ v ) \sum_{x\in\{0,1\}^{E(G)}}\prod_v\psi_v(x|_{\partial v}) ∑ x ∈ { 0 , 1 } E ( G ) ∏ v ψ v ( x ∣ ∂ v ) . For integers P , ℓ ≥ 1 P,\ell\ge1 P , ℓ ≥ 1 let
B P , ℓ = ( Z / 2 P Z ) [ V ] / ( V ℓ ) . \mathcal{B}_{P,\ell}=(\mathbb{Z}/2^P\mathbb{Z})[V]/(V^\ell). B P , ℓ = ( Z / 2 P Z ) [ V ] / ( V ℓ ) .
Imported Theorem 2.6 ([113 ] , Theorem D.1, specialized). For every polynomial p p p there is a constant c p c_p c p with the following property. Let s ≥ 2 s\ge2 s ≥ 2 , and let G G G be a bipartite Boolean tensor network with at most s s s edges, at most s s s vertices, maximum degree at most ⌈ s 9 / 10 ⌉ \lceil s^{9/10}\rceil ⌈ s 9/10 ⌉ , and tensor entries in B P , ℓ \mathcal{B}_{P,\ell} B P , ℓ with P , ℓ ≤ s P,\ell\le s P , ℓ ≤ s . Let ∣ G ∣ |G| ∣ G ∣ be the bit length of the description of G G G , and suppose that each entry can be computed from it in time p ( s + ∣ G ∣ ) p(s+|G|) p ( s + ∣ G ∣ ) . Then the contraction of G G G can be computed deterministically in ( s + ∣ G ∣ ) c p ⋅ 2 c p s / log s (s+|G|)^{c_p}\cdot2^{c_p s/\sqrt{\log s}} ( s + ∣ G ∣ ) c p ⋅ 2 c p s / l o g s bit operations and ( s + ∣ G ∣ ) c p (s+|G|)^{c_p} ( s + ∣ G ∣ ) c p bits of space.
Theorem D.1 of [113 ] allows O ( s ) O(s) O ( s ) edges, polynomially many vertices and more expensive entries; we use only the special case above. The bound of Imported Theorem 2.4 is checked in Lean [55 ] . The Lean formalization of [113 ] certifies Theorem 1.1 with the weaker rate ( log log n ) 2 / log n (\log\log n)^2/\sqrt{\log n} ( log log n ) 2 / log n and does not cover Theorem D.1 [114 ] . Every result in this paper that uses these statements holds verbatim with any improved rate. If #k-SAT on n n n variables takes time 2 ρ ( κ , n ) n 2^{\rho(\kappa,n)}n 2 ρ ( κ , n ) n , then every exponent κ 2 N log log N / log N \kappa^2N\log\log N/\sqrt{\log N} κ 2 N log log N / log N below becomes ρ ( κ , N ) N \rho(\kappa,N)N ρ ( κ , N ) N . The same holds for the rate 1 / log s 1/\sqrt{\log s} 1/ log s of Imported Theorem 2.6.
The engine: sparse sum-products and error profiles
A factor graph Φ \Phi Φ over a commutative ring B \mathcal{B} B consists of n n n Boolean variables and a finite family F \mathcal{F} F of factors. Each factor f f f has a scope I f ⊆ [ n ] I_f\subseteq[n] I f ⊆ [ n ] and a table ψ f : { 0 , 1 } I f → B \psi_f:\{0,1\}^{I_f}\to\mathcal{B} ψ f : { 0 , 1 } I f → B . The partition function of Φ \Phi Φ is
Z ( Φ ) = ∑ x ∈ { 0 , 1 } n ∏ f ∈ F ψ f ( x ∣ I f ) . Z(\Phi)=\sum_{x\in\{0,1\}^n}\prod_{f\in\mathcal{F}}\psi_f(x|_{I_f}). Z ( Φ ) = x ∈ { 0 , 1 } n ∑ f ∈ F ∏ ψ f ( x ∣ I f ) .
The arity of Φ \Phi Φ is max f ∣ I f ∣ \max_f|I_f| max f ∣ I f ∣ , its size is ∥ Φ ∥ = ∑ f ∣ I f ∣ \|\Phi\|=\sum_f|I_f| ∥Φ∥ = ∑ f ∣ I f ∣ , and the degree of a variable is the number of scopes that contain it. We write ∣ Φ ∣ |\Phi| ∣Φ∣ for the bit length of the description of Φ \Phi Φ . The next theorem is the engine of all our algorithms. It turns Imported Theorem 2.6 into a statement about factor graphs.
Theorem 2.7 (Sparse sum-product). Let Φ \Phi Φ be a factor graph over B P , ℓ \mathcal{B}_{P,\ell} B P , ℓ of arity at most a a a , whose table entries can be computed in polynomial time. Let s s s be an integer with s ≥ max { 4 ∥ Φ ∥ , P , ℓ , 2 } s\ge\max\{4\|\Phi\|,P,\ell,2\} s ≥ max { 4∥Φ∥ , P , ℓ , 2 } and a ≤ s 9 / 10 a\le s^{9/10} a ≤ s 9/10 . Then Z ( Φ ) Z(\Phi) Z ( Φ ) can be computed deterministically in time poly ( s + ∣ Φ ∣ ) ⋅ 2 O ( s / log s ) \operatorname{poly}(s+|\Phi|)\cdot2^{O(s/\sqrt{\log s})} poly ( s + ∣Φ∣ ) ⋅ 2 O ( s / l o g s ) and space poly ( s + ∣ Φ ∣ ) \operatorname{poly}(s+|\Phi|) poly ( s + ∣Φ∣ ) . The constants depend only on the polynomial that bounds the time to evaluate one table entry.
Proof sketch. Factors with empty scope are constants, and we multiply them in at the end. Every other factor becomes a vertex of a tensor network. Every variable becomes a tree of equality tensors of degree at most 3, whose leaves are the occurrences of the variable. A subdivision of every edge makes the network bipartite. The result has at most 4 ∥ Φ ∥ 4\|\Phi\| 4∥Φ∥ edges and vertices, maximum degree max { a , 3 } \max\{a,3\} max { a , 3 } , and the same contraction up to a factor 2 2 2 for each variable in no scope. Imported Theorem 2.6 then applies. Section B gives the details.
We use two rings. In the counting ring B P , 1 = Z / 2 P Z \mathcal{B}_{P,1}=\mathbb{Z}/2^P\mathbb{Z} B P , 1 = Z / 2 P Z , a partition function whose value is a nonnegative integer below 2 P 2^P 2 P is computed exactly. In the profile ring B P , ℓ \mathcal{B}_{P,\ell} B P , ℓ , tables with entries in { 1 , V } \{1,V\} { 1 , V } make Z ( Φ ) Z(\Phi) Z ( Φ ) a generating function. If ℓ \ell ℓ exceeds the number of factors, the coefficient of V j V^j V j counts the assignments that pick the entry V V V in exactly j j j factors. Theorem D.1 of [113 ] allows truncation orders ℓ > 1 \ell> 1 ℓ > 1 , and its proof uses them. With entries in { 1 , V } \{1,V\} { 1 , V } , a truncation order larger than the number of factors records every value of a sparse objective at once, and this turns counting into optimization. Counting assignments by their weight goes back to Williams’ algorithm for Max-2-CSP [130 ] . The first use is the error profile of a sample.
Lemma 2.8 (Exact error profiles). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N , let S S S be a sample of size m m m , and let s = max { 4 κ m , m + 1 , κ 2 } s = \max\{4\kappa m, m + 1, \kappa^2\} s = max { 4 κm , m + 1 , κ 2 } . The error profile E S E_S E S can be computed exactly and deterministically in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m) \cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) . The same holds for the error profile of the descriptions that extend any given partial assignment.
Proof sketch. Only the set R ( S ) = ⋃ i R ( x i ) R(S) = \bigcup_i R(x_i) R ( S ) = ⋃ i R ( x i ) of description bits matters, and ∣ R ( S ) ∣ ≤ κ m |R(S)| \le\kappa m ∣ R ( S ) ∣ ≤ κm . Build a factor graph on the variables R ( S ) R(S) R ( S ) over B P ℓ BP_{\ell} B P ℓ with P = ∣ R ( S ) ∣ + 1 P = |R(S)| + 1 P = ∣ R ( S ) ∣ + 1 and ℓ = m + 1 \ell= m + 1 ℓ = m + 1 . Example i i i becomes a factor with scope R ( x i ) R(x_i) R ( x i ) and with table 1 1 1 where f x i f_{x_i} f x i agrees with y i y_i y i and V V V where it does not. An assignment with j j j errors contributes V j V^j V j , and j ≤ m < ℓ j \le m < \ell j ≤ m < ℓ , so nothing is truncated. No coefficient exceeds 2 ∣ R ( S ) ∣ < 2 P 2^{|R(S)|} < 2^P 2 ∣ R ( S ) ∣ < 2 P . So the partition function is the profile of the restricted descriptions, and E S E_S E S is 2 N − ∣ R ( S ) ∣ 2^{N-|R(S)|} 2 N − ∣ R ( S ) ∣ times it. Theorem 2.7 applies with this s s s (Section B).
Hypotheses that survive
The new algorithms need bounded clause width, or linear total size. The hypotheses below concern the opposite regime, and the new algorithms do not contradict Hypotheses 2.9 to 2.12 . Corollary 4.5 refutes Hypothesis 2.13 , and Hypothesis 2.14 is false for C < 1 / 2 C < 1/2 C < 1/2 and open for C ≥ 1 / 2 C \ge1/2 C ≥ 1/2 . We state all hypotheses for randomized algorithms with error probability at most 1 / 3 1/3 1/3 .
Hypothesis 2.9 (CNF-SETH). For every γ > 0 \gamma> 0 γ > 0 there is c > 0 c > 0 c > 0 such that satisfiability of CNF formulas with n n n variables and at most n c n^c n c clauses, of arbitrary width, cannot be decided in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) .
Hypothesis 2.10 (#CNF-SETH). The same statement for computing the number of satisfying assignments.
Hypothesis 2.11 (CNF-ETH). There are c , ρ > 0 c,\rho> 0 c , ρ > 0 such that satisfiability of CNF formulas with n n n variables and at most n c n^c n c clauses cannot be decided in time O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) .
Hypothesis 2.9 implies the form “no algorithm runs in time 2 ( 1 − γ ) n poly ( M ) 2^{(1-\gamma)n}\operatorname{poly}(M) 2 ( 1 − γ ) n poly ( M ) ” considered in [47 ] for instances with M M M clauses. Indeed, an algorithm of that form runs in time O ( 2 ( 1 − γ / 2 ) n ) O(2^{(1-\gamma/2)n}) O ( 2 ( 1 − γ /2 ) n ) whenever M ≤ n c M \le n^c M ≤ n c . The converse implication is open, because the hard instances of the latter form might need superpolynomially many clauses. We need the polynomial bound, because the width reduction of Lemma 3.5 branches on clauses. Cygan et al. [47 ] already noted that SETH could fail while CNF-SAT stays hard; the refutation of ETH realizes the first half of this scenario. All three hypotheses are monotone in c c c , so we may assume c ≥ 1 c \ge1 c ≥ 1 . Hypothesis 2.9 implies Hypothesis 2.10, because counting decides satisfiability, and it implies Hypothesis 2.11 with ρ = 1 / 2 \rho= 1/2 ρ = 1/2 .
Hypothesis 2.12 (Max-3-SAT Hypothesis; randomized form of [104 ] , Hypothesis 2.2). For every γ > 0 \gamma> 0 γ > 0 , the maximum number of simultaneously satisfiable clauses of a 3-CNF on n n n variables cannot be computed in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) .
Hypothesis 2.13 (Sparse Max-SAT Hypotheses [17 ] , Hypotheses 3 and 4). For every γ > 0 \gamma> 0 γ > 0 there is c > 0 c > 0 c > 0 such that Max-3-SAT on n n n variables and c n cn c n clauses cannot be solved in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) . For every γ > 0 \gamma> 0 γ > 0 there is c > 0 c > 0 c > 0 such that Max-2-SAT on n n n variables and c n cn c n clauses cannot be solved in time O ( 2 ( ω / 3 − γ ) n ) O(2^{(\omega/3-\gamma)n}) O ( 2 ( ω /3 − γ ) n ) , where ω \omega ω is the exponent of matrix multiplication.
A 3-CNF on n n n variables has fewer than 8 n 3 8n^3 8 n 3 clauses, so Hypothesis 2.12 concerns instances of polynomial size. Bringmann, Cassis, Fischer and Künnemann [20 ] base their fine-grained approximability classification on the Max-3-SAT hypotheses. The last hypothesis measures satisfiability by formula length, at the rate that the new algorithms make natural.
Hypothesis 2.14 (Length form of ETH at rate C C C ). For C > 0 C > 0 C > 0 , the hypothesis E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len states that no randomized algorithm with error probability at most 1 / 3 1/3 1/3 decides satisfiability of every CNF formula of length L L L in time 2 L / ( log L ) C 2^{L/(\log L)^C} 2 L / ( l o g L ) C , for all sufficiently large L L L .
A CNF of length L L L becomes an equisatisfiable 3-CNF with at most 2 L 2L 2 L variables and at most L L L clauses when we split long clauses with fresh variables. Imported Theorem 2.4 decides it in time 2 3 C 1 L / log L 2^{3C_1L/\sqrt{\log L}} 2 3 C 1 L / l o g L . So E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len is false for C < 1 / 2 C < 1/2 C < 1/2 and open for C ≥ 1 / 2 C \ge1/2 C ≥ 1/2 . It states that the new algorithms are optimal up to polylogarithmic factors in the exponent. Before 2026, the fastest algorithms for SAT parameterized by length ran in time 2 c L 2^{cL} 2 c L with c ≈ 0.089 c \approx0.089 c ≈ 0.089 [79 , 128 , 54 , 117 ] , and ETH made 2 Ω ( L ) 2^{\Omega(L)} 2 Ω ( L ) the truth. The form of the hypothesis is not new. Stearns and Hunt [120 ] measured SAT by the length of the instance. Chen, Rothblum, Tell and Yogev [56 ] studied the hypothesis that 3-SAT has no randomized algorithm that runs in time 2 n / polylog n 2^{n/\operatorname{polylog} n} 2 n / polylog n in the input length n n n . The hypothesis E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len is the instance of this form with an explicit rate, calibrated so that the new algorithms refute it exactly for C < 1 / 2 C < 1/2 C < 1/2 .
The locality transition
This section proves the first transition. Consistency for κ \kappa κ -local classes is κ \kappa κ -SAT. So it is subexponential for slowly growing κ \kappa κ , and as hard as CNF-SAT at κ = Θ ( log N ) \kappa= \Theta(\log N) κ = Θ ( log N ) . Throughout, H \mathcal{H} H is a κ \kappa κ -local class with description length N N N . Let g ( n ) = n log log n / log n g(n) = n \log\log n/\sqrt{\log n} g ( n ) = n log log n / log n for n ≥ 16 n \ge16 n ≥ 16 and g ( n ) = 1 g(n) = 1 g ( n ) = 1 for n < 16 n < 16 n < 16 , which is nondecreasing, and let
T κ ( N ) = min { 2 N , 2 C 1 κ 2 g ( N ) } T_\kappa(N) = \min\{2^N,\,2^{C_1\kappa^2g(N)}\} T κ ( N ) = min { 2 N , 2 C 1 κ 2 g ( N ) }
with C 1 C_1 C 1 from Imported Theorem 2.4.
Version spaces are κ \kappa κ -CNFs
Lemma 3.1 (Version spaces are κ \kappa κ -CNFs). Given a sample S S S of size m m m , one can compute in time poly ( N , m ) ⋅ 2 κ \operatorname{poly}(N,m)\cdot2^\kappa poly ( N , m ) ⋅ 2 κ a κ \kappa κ -CNF Γ S \Gamma_S Γ S on the variables w 1 , … , w N w_1,\ldots,w_N w 1 , … , w N with at most m 2 κ m2^\kappa m 2 κ clauses such that VS ( S ) = SAT ( Γ S ) \operatorname{VS}(S) = \operatorname{SAT}(\Gamma_S) VS ( S ) = SAT ( Γ S ) .
Proof. An example ( x , y ) (x,y) ( x , y ) rules out exactly the patterns α ∈ { 0 , 1 } R ( x ) \alpha\in\{0,1\}^{R(x)} α ∈ { 0 , 1 } R ( x ) with f x ( α ) ≠ y f_x(\alpha) \ne y f x ( α ) = y . For each such pattern, let C x , α C_{x,\alpha} C x , α be the clause on { w i : i ∈ R ( x ) } \{w_i : i \in R(x)\} { w i : i ∈ R ( x )} that is false exactly when w ∣ R ( x ) = α w|_{R(x)} = \alpha w ∣ R ( x ) = α . Let Γ S \Gamma_S Γ S be the set of all clauses C x i , α C_{x_i,\alpha} C x i , α . Then w w w satisfies Γ S \Gamma_S Γ S if and only if f x i ( w ∣ R ( x i ) ) = y i f_{x_i}(w|_{R(x_i)}) = y_i f x i ( w ∣ R ( x i ) ) = y i for every i i i . Each clause has width at most κ \kappa κ , and Γ S \Gamma_S Γ S takes m 2 κ m2^\kappa m 2 κ evaluations of predicates. The only exception is an example with R ( x ) = ∅ R(x) = \varnothing R ( x ) = ∅ whose constant predicate disagrees with its label. Then VS ( S ) = ∅ \operatorname{VS}(S) = \varnothing VS ( S ) = ∅ , and we output the unsatisfiable CNF { ( w 1 ) , ( ¬ w 1 ) } \{(w_1),(\neg w_1)\} {( w 1 ) , ( ¬ w 1 )} .
The sample defines the map w ↦ ( h w ( x i ) ) i ≤ m w \mapsto(h_w(x_i))_{i\le m} w ↦ ( h w ( x i ) ) i ≤ m . Each output bit of this map reads at most κ \kappa κ input bits, and the version space is the preimage of the label vector. Lemma 3.1 is the encoding that [113 Corollary C.2] uses to count, find and sample preimages of maps with constant output locality. For constant κ \kappa κ , parts (a)--(c) of the next theorem are these statements in learning terms.
The realizable transfer theorem
Theorem 3.2 (Realizable transfer). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N , and let S S S be a sample of size m m m .
(a) Counting. The number ∣ VS ( S ) ∣ |\operatorname{VS}(S)| ∣ VS ( S ) ∣ can be computed deterministically in time poly ( N , m ) ⋅ 2 κ ⋅ T κ ( N ) \operatorname{poly}(N,m) \cdot2^{\kappa} \cdot T_{\kappa}(N) poly ( N , m ) ⋅ 2 κ ⋅ T κ ( N ) .
(b) Sampling. If VS ( S ) ≠ ∅ \operatorname{VS}(S) \ne\varnothing VS ( S ) = ∅ , a uniformly random element of VS ( S ) \operatorname{VS}(S) VS ( S ) can be generated exactly in the same time, given uniform random integers in { 0 , … , M − 1 } \{0,\ldots,M-1\} { 0 , … , M − 1 } at cost poly ( log M ) \operatorname{poly}(\log M) poly ( log M ) . With fair coins only, the same bound holds for the expected time of a Las Vegas algorithm.
(c) Proper PAC learning. For all ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) , the class H \mathcal{H} H is properly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -PAC learnable from ⌈ m O c c ⌉ \lceil m_{\mathrm{Occ}}\rceil ⌈ m Occ ⌉ examples by an algorithm that is deterministic after sampling and runs in the same time.
(d) Online learning. In the realizable mistake-bound model, the halving algorithm makes at most N N N mistakes, and round t t t takes time poly ( N , t ) ⋅ 2 κ ⋅ T κ ( N ) \operatorname{poly}(N,t) \cdot2^{\kappa} \cdot T_{\kappa}(N) poly ( N , t ) ⋅ 2 κ ⋅ T κ ( N ) .
All four run in time poly ( N , m ) ⋅ 2 o ( N ) \operatorname{poly}(N,m) \cdot2^{o(N)} poly ( N , m ) ⋅ 2 o ( N ) when κ = o ( ( log N ) 1 / 4 / log log N ) \kappa= o((\log N)^{1/4}/\sqrt{\log\log N}) κ = o (( log N ) 1/4 / log log N ) .
Proof sketch. Lemma 3.1 turns the version space into a κ \kappa κ -CNF. Theorem 2.4 counts its solutions in time 2 C 1 κ 2 g ( N ) 2^{C_1\kappa^2 g(N)} 2 C 1 κ 2 g ( N ) independently of the number of clauses, and brute force gives the bound 2 N 2^N 2 N . Sampling follows from counting by self-reducibility [88 ] : fix the bits one at a time, each with probability proportional to the number of solutions that extend the choice. Learning follows from the Occam bound, and halving from counting the two possible version spaces. Section C gives the details.
The threshold ( log N ) 1 / 4 / log log N (\log N)^{1/4}/\sqrt{\log\log N} ( log N ) 1/4 / log log N is the range in which the bound of [55 ] is subexponential [55 Appendix D] . The bound is uniform in κ \kappa κ because its constant does not depend on κ \kappa κ .
Counting the version space is the computational core of several classical learners. These include the halving algorithm [25 , 101 ] and query-by-committee [121 , 72 ] , which needs samples from the version space. They also include the Gibbs algorithm, which predicts with a uniformly random consistent hypothesis. Part (a) also gives the Bayes-optimal prediction under the uniform prior, which is the halving prediction. For local classes all of these become subexponential. For constant κ ≥ 2 \kappa\ge2 κ ≥ 2 , Imported Theorem 2.5 gives the same conclusions in polynomial space, with 2 O κ ( N log log N / log N ) 2^{O_{\kappa}(N\log\log N/\sqrt{\log N})} 2 O κ ( N l o g l o g N / l o g N ) in place of T κ ( N ) T_{\kappa}(N) T κ ( N ) .
Approximate counting suffices for halving [77 ] , and hit-and-run sampling makes query-by-committee efficient on convex version spaces [73 ] . For local classes, approximation does not help: any approximate count decides whether the version space is empty, which is κ \kappa κ -SAT by Theorem 3.4; see also [81 ] . So Theorem 3.2 is optimal up to the rate of SAT. Gibbs learning of binary perceptrons is a classical model of statistical physics [78 , 124 ] , in which the data are random and dense. When there are few examples per weight, efficient algorithms exist there [12 ] . SAT and #SAT encodings of binarized networks also serve to verify them, by counting inputs rather than weights [NKR+18, BSS+19], and to train them exactly [125 ] .
Learning is equivalent to bounded-width SAT
The transfer theorem is tight in a strong sense: proper learning of local classes is fine-grained equivalent to bounded-width SAT. Lemma 3.1 gives one direction. A padding gadget gives the other.
Lemma 3.3 (Perceptron gadget). Let k ≥ 1 k \ge1 k ≥ 1 and p = max { 1 , k − 2 } p = \max\{1,k-2\} p = max { 1 , k − 2 } . Given a k k k -CNF F F F on z 1 , … , z N z_1,\ldots,z_N z 1 , … , z N with M M M clauses, none of them tautological, one can compute in polynomial time a sample S F S_F S F of M + p M+p M + p examples in { − 1 , 0 , 1 } N + p \{-1,0,1\}^{N+p} { − 1 , 0 , 1 } N + p , all labeled 1 1 1 and each with support of size at most max { 2 k − 2 , 2 } \max\{2k-2,2\} max { 2 k − 2 , 2 } , with the following property. A sign vector σ \sigma σ is consistent with S F S_F S F as a binarized perceptron if and only if σ N + 1 = ⋯ = σ N + p = 1 \sigma_{N+1}=\cdots=\sigma_{N+p}=1 σ N + 1 = ⋯ = σ N + p = 1 and the assignment z i = 1 [ σ i = 1 ] z_i=1[\sigma_i=1] z i = 1 [ σ i = 1 ] satisfies F F F . In particular, ∣ V S B P ( S F ) ∣ = # F |\mathrm{VS}_{\mathrm{BP}}(S_F)|=\#F ∣ VS BP ( S F ) ∣ = # F .
The smallest case shows how the gadget works. Take k = 3 k=3 k = 3 and the clause C = z 1 ∨ ¬ z 2 ∨ z 3 C=z_1\lor\neg z_2\lor z_3 C = z 1 ∨ ¬ z 2 ∨ z 3 . There is one padding coordinate, and the example of C C C is x C = e 1 − e 2 + e 3 + e N + 1 x_C=e_1-e_2+e_3+e_{N+1} x C = e 1 − e 2 + e 3 + e N + 1 . A pinning example e N + 1 e_{N+1} e N + 1 forces σ N + 1 = 1 \sigma_{N+1}=1 σ N + 1 = 1 . Then ⟨ σ , x C ⟩ = 2 t − 2 \langle\sigma,x_C\rangle=2t-2 ⟨ σ , x C ⟩ = 2 t − 2 , where t t t is the number of literals of C C C that the assignment makes true. So x C x_C x C is classified positive exactly when C C C is satisfied. In general, a clause of width r ≥ 2 r\ge2 r ≥ 2 uses r − 2 r-2 r − 2 padding coordinates with entry + 1 +1 + 1 , a unit clause uses one padding coordinate with entry − 1 -1 − 1 , and the same identity holds (Section C).
Theorem 3.4 (Locality equivalence). Let κ , k ≥ 1 \kappa,k\ge1 κ , k ≥ 1 , and let T T T and T ′ T' T ′ be nondecreasing time bounds.
(i) If # κ \#\kappa # κ -SAT on n n n variables with M M M clauses can be solved in time T ( n , M ) T(n,M) T ( n , M ) , then for every κ \kappa κ -local class the version space of a sample of size m m m can be counted in time T ( N , m 2 ) + poly ( N , m ) ⋅ 2 κ T(N,m^2)+\operatorname{poly}(N,m)\cdot2^\kappa T ( N , m 2 ) + poly ( N , m ) ⋅ 2 κ .
(ii) If version spaces of B P 2 k \mathrm{BP}_{2k} BP 2 k samples of size m m m in dimension n n n can be counted (respectively, decided nonempty) in time T ′ ( n , m ) T'(n,m) T ′ ( n , m ) , then # k \#k # k -SAT (respectively, k k k -SAT) on N N N variables with M M M clauses can be solved in time T ′ ( N + k , M + k ) + poly ( N , M ) T'(N+k,M+k)+\operatorname{poly}(N,M) T ′ ( N + k , M + k ) + poly ( N , M ) .
(iii) If B P 2 k \mathrm{BP}_{2k} BP 2 k in dimension n n n has a proper ( ε , 1 / 3 ) (\varepsilon,1/3) ( ε , 1/3 ) -PAC learner that runs in time T ′ ( n , 1 / ε ) T'(n,1/\varepsilon) T ′ ( n , 1/ ε ) , then k k k -SAT on N N N variables with M M M clauses has a randomized algorithm with one-sided error that runs in time T ′ ( N + k , 2 ( M + k ) ) ⋅ poly ( N , M ) T'(N+k,2(M+k))\cdot\operatorname{poly}(N,M) T ′ ( N + k , 2 ( M + k )) ⋅ poly ( N , M ) .
Proof sketch. Part (i) is Lemma 3.1 . For (ii), delete tautological clauses and apply Lemma 3.3. For (iii), run the learner on the uniform distribution over the M + p M+p M + p examples of S F S_F S F with accuracy ε = 1 / ( 2 ( M + k ) ) \varepsilon=1/(2(M+k)) ε = 1/ ( 2 ( M + k )) . All errors are multiples of 1 / ( M + p ) > ε 1/(M+p)>\varepsilon 1/ ( M + p ) > ε , so an ε \varepsilon ε -accurate output is consistent with every example and encodes a satisfying assignment, which we check (Section C).
Up to a factor 2 2 2 in the locality and an additive k k k in the dimension, the exponential-time complexity of consistency and of proper learning to inverse-polynomial accuracy for κ \kappa κ -local classes is that of κ \kappa κ -SAT. So any improvement for k k k -SAT, in the rate or in the dependence on k k k , transfers verbatim to Theorem 3.2, and any improvement for learning transfers back to k k k -SAT.
Hardness at logarithmic locality
Bounded-width SAT is subexponential, but SAT with clauses of width Θ ( log n ) \Theta(\log n) Θ ( log n ) is as hard as CNF-SAT with polynomially many clauses. The tool is the width reduction of Schuler [119 ] , in the form of Calabro, Impagliazzo and Paturi [51 ] that preserves solution counts. We need it with explicit constants.
Lemma 3.5 (Width-reduction transfer). Let ρ ∈ ( 0 , 1 ] \rho\in(0,1] ρ ∈ ( 0 , 1 ] , c ≥ 1 c\ge1 c ≥ 1 , K 0 = 2 ( c + 1 ) / ρ K_0=2(c+1)/\rho K 0 = 2 ( c + 1 ) / ρ and K ′ = 2 K 0 K'=2K_0 K ′ = 2 K 0 . Suppose that k k k -SAT (respectively, # k \#k # k -SAT) on n n n variables with k ≤ K ′ log n k\le K'\log n k ≤ K ′ log n and at most n 2 c n^{2c} n 2 c clauses can be solved in time O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) with error probability at most 1 / 3 1/3 1/3 . Then CNF-SAT (respectively, # C N F \#\mathrm{CNF} # CNF -SAT) on n n n variables with at most n c n^c n c clauses can be solved in time O ( 2 ρ n poly ( n ) ) O(2^{\rho n}\operatorname{poly}(n)) O ( 2 ρ n poly ( n )) with error probability at most 1 / 3 1/3 1/3 .
Proof sketch. Let k = ⌈ K 0 log n ⌉ k=\lceil K_0\log n\rceil k = ⌈ K 0 log n ⌉ . Branch on a clause wider than k k k : either replace it by its first k k k literals, or set these k k k literals to false. The leaves partition the solutions [51 ] . Let M ≤ n c M\le n^c M ≤ n c be the number of clauses. A leaf reached with r r r branches of the second kind has at most n − k r n-kr n − k r free variables, and at most ( M + r r ) \binom{M+r}{r} ( r M + r ) leaves have this form. Solving each leaf in time 2 ρ ( n − k r ) 2^{\rho(n-kr)} 2 ρ ( n − k r ) costs
∑ r ( M + r r ) 2 ρ ( n − k r ) ≤ 2 ρ n ( 1 + 2 − ρ k ) M + n / k , \sum_r \binom{M+r}{r}2^{\rho(n-kr)} \le2^{\rho n}(1+2^{-\rho k})^{M+n/k}, r ∑ ( r M + r ) 2 ρ ( n − k r ) ≤ 2 ρ n ( 1 + 2 − ρ k ) M + n / k ,
which is O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) for this choice of k k k . Leaves with few variables are solved by brute force (Section C.3). □
Corollary 3.6. (a) Under Hypothesis 2.9 , for every γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) there are K ′ , c ′ K',c' K ′ , c ′ such that k k k -SAT with k ≤ K ′ log n k \le K'\log n k ≤ K ′ log n cannot be solved in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) , even on instances with at most n c ′ n^{c'} n c ′ clauses. The same holds for counting under Hypothesis 2.10 .
(b) Under Hypothesis 2.11 , there are K ′ , c ′ , ρ > 0 K',c',\rho>0 K ′ , c ′ , ρ > 0 such that k k k -SAT with k ≤ K ′ log n k \le K'\log n k ≤ K ′ log n and at most n c ′ n^{c'} n c ′ clauses cannot be solved in time O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) .
The same corollary limits how a future k k k -SAT algorithm can trade the dependence on k k k against the rate. No such limit was known for 2 o ( n ) 2^{o(n)} 2 o ( n ) algorithms; earlier results concern k k k -dependence of 2 ( 1 − Ω ( 1 / k ) ) n 2^{(1-\Omega(1/k))n} 2 ( 1 − Ω ( 1/ k )) n algorithms [86 , 127 ] .
Corollary 3.7 (The k k k -dependence of k k k -SAT algorithms). Assume Hypothesis 2.9 . Let μ , ν ≥ 0 \mu,\nu\ge0 μ , ν ≥ 0 and c ′ > 0 c'>0 c ′ > 0 be constants. Suppose that a single algorithm, given k k k and a k k k -CNF on n n n variables with at most n c ′ n^{c'} n c ′ clauses, runs in time 2 C ′ k μ n ( log log n ) O ( 1 ) / ( log n ) ν 2^{C'k^\mu n(\log\log n)^{O(1)}/(\log n)^\nu} 2 C ′ k μ n ( l o g l o g n ) O ( 1 ) / ( l o g n ) ν for every constant c c c . Then μ ≥ ν \mu\ge\nu μ ≥ ν .
Proof. Take K ′ K' K ′ and c ′ c' c ′ from Corollary 3.6 (a) for γ = 1 / 2 \gamma=1/2 γ = 1/2 . For k = ⌊ K ′ log n ⌋ k=\lfloor K'\log n\rfloor k = ⌊ K ′ log n ⌋ and instances with at most n c ′ n^{c'} n c ′ clauses, the time is at most 2 C ′ K ′ μ n ( log n ) μ − ν ( log log n ) O ( 1 ) 2^{C'K'^\mu n(\log n)^{\mu-\nu}(\log\log n)^{O(1)}} 2 C ′ K ′ μ n ( l o g n ) μ − ν ( l o g l o g n ) O ( 1 ) . If μ < ν \mu<\nu μ < ν , this is O ( 2 n / 2 ) O(2^{n/2}) O ( 2 n /2 ) , which contradicts Corollary 3.6 (a). □
The bound of [55 ] has μ = 2 \mu=2 μ = 2 and ν = 1 / 2 \nu=1/2 ν = 1/2 . So a k k k -SAT algorithm with rate 1 / log n 1/\log n 1/ log n , that is ν = 1 \nu=1 ν = 1 , must have exponent at least linear in k k k . In terms of learning, an algorithm with exponent k μ n / ( log n ) ν k^\mu n/(\log n)^\nu k μ n / ( log n ) ν makes learning subexponential for k ≪ ( log N ) ν / μ k\ll(\log N)^{\nu/\mu} k ≪ ( log N ) ν / μ , and CNF-SETH caps this threshold at log N \log N log N .
Theorem 3.8 (Hardness at logarithmic locality). Assume Hypothesis 2.9 . For every γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) there are constants K K K and c γ c_\gamma c γ with the following properties. No randomized algorithm decides in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) whether a sample of size at most n c γ n^{c_\gamma} n c γ in dimension n n n is consistent with some binarized perceptron on ⌈ K log n ⌉ \lceil K\log n\rceil ⌈ K log n ⌉ -sparse data. No proper ( n − c γ , 1 / 3 ) (n^{-c_\gamma},1/3) ( n − c γ , 1/3 ) -PAC learner for B P ⌈ K log n ⌉ \mathrm{BP}_{\lceil K\log n\rceil} BP ⌈ K l o g n ⌉ runs in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) . Under Hypothesis 2.10 , the same holds for counting version spaces. Under Hypothesis 2.11 , there are K , ρ > 0 K,\rho>0 K , ρ > 0 with the same statements for time O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) .
Proof sketch. Take a k k k -CNF with k = ⌊ K ′ log N ⌋ k=\lfloor K'\log N\rfloor k = ⌊ K ′ log N ⌋ from Corollary 3.6 , and apply Lemma 3.3. The sample has dimension n ≤ N + k n\le N+k n ≤ N + k and sparsity 2 k ≤ K log n 2k\le K\log n 2 k ≤ K log n . An algorithm in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) would solve the formula in time O ( 2 ( 1 − γ / 2 ) N ) O(2^{(1-\gamma/2)N}) O ( 2 ( 1 − γ /2 ) N ) (Section C). □
Corollary 3.9 (The data-sparsity transition). Consider binarized perceptrons on k k k -sparse data in dimension n n n , with samples of polynomial size.
(a) If k = o ( ( log n ) 1 / 4 / log log n ) k=o((\log n)^{1/4}/\sqrt{\log\log n}) k = o (( log n ) 1/4 / log log n ) , then consistency, version-space counting, uniform sampling, and proper PAC learning at any accuracy take time poly ( m ) ⋅ 2 o ( n ) \operatorname{poly}(m)\cdot2^{o(n)} poly ( m ) ⋅ 2 o ( n ) .
(b) Under Hypothesis 2.9 , for every γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) there are K K K and c γ c_\gamma c γ such that for k ≥ K log n k\ge K\log n k ≥ K log n , consistency and proper PAC learning to accuracy n − c γ n^{-c_\gamma} n − c γ cannot be done in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) . Under Hypothesis 2.10 , the same holds for version-space counting.
The same dichotomy holds for literal disjunctions L D k \mathrm{LD}_k LD k . There, a sample of positive examples is literally a k k k -CNF, and (b) follows from Corollary 3.6 without a gadget.
Part (a) holds for every class of Example 2.3, with k k k replaced by the locality. Part (b) does not. Sparse parities are k k k -local, but their consistency problem is linear algebra over F 2 \mathbb{F}_2 F 2 and takes polynomial time. Locality makes subexponential algorithms possible. Hardness at logarithmic locality needs predicates f x f_x f x that can encode clauses, as those of BP and LD can.
Constant accuracy moves the threshold to log N \sqrt{\log N} log N
Theorem 3.2 pays κ 2 log log N \kappa^2 \log\log N κ 2 log log N in the exponent because it handles every sample, and the version space of an arbitrary sample is an arbitrary κ \kappa κ -CNF. A PAC learner needs only m V C m_{\mathrm{VC}} m VC examples. The engine of § 2.4 charges for the total size κ m \kappa m κm of the sample instead of the number of variables. At constant accuracy this trades the factor κ log log N \kappa\log\log N κ log log N for a constant.
Theorem 3.10 (Sample-sensitive realizable learning). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N and VC dimension d ≥ 1 d \ge1 d ≥ 1 , and let ε , δ ∈ ( 0 , 1 ) \varepsilon, \delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . With m = ⌈ m V C ⌉ m = \lceil m_{\mathrm{VC}}\rceil m = ⌈ m VC ⌉ examples, H \mathcal{H} H is properly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -PAC learnable by an algorithm that is deterministic after sampling and runs in time
poly ( N , m ) ⋅ exp ( O ( κ ( d log ( 2 / ε ) + log ( 2 / δ ) ) ε log ( 2 d / ε ) + κ 2 ) ) \operatorname{poly}(N,m)\cdot\exp\left(O\left(\frac{\kappa\left(d\log(2/\varepsilon)+\log(2/\delta)\right)}{\varepsilon\sqrt{\log(2d/\varepsilon)}}+\kappa^2\right)\right) poly ( N , m ) ⋅ exp ( O ( ε log ( 2 d / ε ) κ ( d log ( 2/ ε ) + log ( 2/ δ ) ) + κ 2 ) ) For constant ε \varepsilon ε and δ \delta δ the time is 2 O ( κ N / log N + κ 2 ) 2^{O(\kappa N/\sqrt{\log N}+\kappa^2)} 2 O ( κ N / l o g N + κ 2 ) , which is 2 o ( N ) 2^{o(N)} 2 o ( N ) whenever κ = o ( log N ) \kappa=o(\sqrt{\log N}) κ = o ( log N ) .
Proof sketch. Draw the sample. With probability one it is consistent with a target, so the coefficient of V 0 V^0 V 0 in its error profile is positive. Fix the bits that the sample reads one at a time, each to a value that keeps this coefficient positive (Lemma 2.8 ). The result is consistent, and Imported Theorem 2.1(b) bounds its error. The engine runs with s = O ( κ m + κ 2 ) s = O(\kappa m+\kappa^2) s = O ( κm + κ 2 ) and log s ≥ log ( 2 d / ε ) \log s \ge\log(2d/\varepsilon) log s ≥ log ( 2 d / ε ) (Section C). □
So proper PAC learning takes time 2 o ( N ) 2^{o(N)} 2 o ( N ) whenever κ log ( 2 / ε ) / ε = o ( log N ) \kappa\log(2/\varepsilon)/\varepsilon=o(\sqrt{\log N}) κ log ( 2/ ε ) / ε = o ( log N ) and δ \delta δ is constant. At inverse-polynomial accuracy, the window ( log N ) 1 / 4 ≲ κ ≲ log N (\log N)^{1/4}\lesssim\kappa\lesssim\log N ( log N ) 1/4 ≲ κ ≲ log N is the window of k k k -SAT itself (Theorem 3.4). Its lower end is where the κ 2 \kappa^2 κ 2 in the exponent of [55 ] stops giving subexponential time. Its upper end is where width reduction makes CNF-SETH apply. At constant accuracy the subexponential range reaches κ = o ( log N ) \kappa=o(\sqrt{\log N}) κ = o ( log N ) , and § 4.3 shows that there, for constant κ \kappa κ , the exponent N / polylog N N/\operatorname{polylog}N N / polylog N is the truth.
The accuracy transition
Counting is not enough for agnostic learning. An agnostic learner must find a hypothesis with the fewest errors, and a private learner must weigh every hypothesis by its error. Both tasks need the error profile, which the engine computes exactly (Lemma 2.8 ). This section turns the profile into learners. It then shows that the accuracy decides which form of SAT governs learning: SAT by formula length at constant accuracy, and Max-3-SAT at inverse-polynomial accuracy. Throughout, H \mathcal{H} H is κ \kappa κ -local with description length N N N .
Exact ERM and proper agnostic learning
Theorem 4.1 (Exact ERM). For a κ \kappa κ -local class and any sample S S S of size m m m , a minimizer of err S \operatorname{err}_S err S , the number of minimizers and the entire error profile can be computed in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 κ m , m + 1 , κ 2 } s=\max\{4\kappa m,m+1,\kappa^2\} s = max { 4 κm , m + 1 , κ 2 } . In particular, for constant κ \kappa κ and m = O ( N ) m=O(N) m = O ( N ) , exact ERM takes time 2 O ( N / log N ) 2^{O(N/\sqrt{\log N})} 2 O ( N / l o g N ) .
Proof sketch. Lemma 2.8 gives the profile, and its lowest nonzero coefficient gives the minimum number j ∗ j^* j ∗ of errors. To find a minimizer, fix the bits that the sample reads one at a time, each to a value for which the profile of the restricted descriptions still has a nonzero coefficient at V j ∗ V^{j^*} V j ∗ . Such a value exists, because the profile is the sum of the profiles of the two restrictions (Section D). □
For 3-local classes the engine is optimal up to polylogarithmic factors in the exponent, already for consistency. The reason is that a CNF is a sample of positive examples of literal disjunctions.
Corollary 4.2 (Consistency is SAT by length). Assume E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len , and let θ > 0 \theta> 0 θ > 0 . No randomized algorithm with error probability at most 1 / 3 1/3 1/3 decides in time 2 m / ( log m ) C + θ 2^{m/(\log m)^{C+\theta}} 2 m / ( l o g m ) C + θ whether a sample of m m m positive examples of L D 3 \mathrm{LD}_3 LD 3 is consistent. So for 3-local classes, Theorem 4.1 is optimal up to a factor ( log m ) C − 1 / 2 + θ (\log m)^{C-1/2+\theta} ( log m ) C − 1/2 + θ in the exponent.
Proof sketch. Split the clauses of a CNF of length L L L into clauses of width at most 3 3 3 with fresh variables. The result has at most L L L clauses, and each clause is a positive example of L D 3 \mathrm{LD}_3 LD 3 (Example 2.3(a)). So m ≤ L m \le L m ≤ L , and the sample is consistent if and only if the CNF is satisfiable (Section D). □ \square □
Theorem 4.3 (Agnostic transfer). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N and VC dimension d d d , and let ε , δ ∈ ( 0 , 1 ) \varepsilon, \delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . Exact ERM on m = ⌈ m U C ⌉ m=\lceil m_{\mathrm{UC}}\rceil m = ⌈ m UC ⌉ examples is a proper ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -agnostic learner, and it runs deterministically after sampling in time
poly ( N , m ) ⋅ exp ( O ( κ ( d + log ( 1 / δ ) ) ε 2 log ( 2 d / ε ) + κ 2 ) ) . \operatorname{poly}(N,m)\cdot\exp\left(O\left(\frac{\kappa(d+\log(1/\delta))}{\varepsilon^2\sqrt{\log(2d/\varepsilon)}}+\kappa^2\right)\right). poly ( N , m ) ⋅ exp ( O ( ε 2 log ( 2 d / ε ) κ ( d + log ( 1/ δ )) + κ 2 ) ) . If κ / ε 2 = o ( log N ) \kappa/\varepsilon^2=o(\sqrt{\log N}) κ / ε 2 = o ( log N ) and δ \delta δ is constant, the time is 2 o ( N ) 2^{o(N)} 2 o ( N ) .
Proof sketch. By Imported Theorem 2.1(c), every minimizer of err S \operatorname{err}_S err S is ε \varepsilon ε -optimal with probability at least 1 − δ 1-\delta 1 − δ . Theorem 4.1 finds one with s = O ( κ m + κ 2 ) s=O(\kappa m+\kappa^2) s = O ( κm + κ 2 ) , and s ≥ 4 κ m ≥ 2 d / ε s\ge4\kappa m\ge2d/\varepsilon s ≥ 4 κm ≥ 2 d / ε gives log s ≥ log ( 2 d / ε ) \log s\ge\log(2d/\varepsilon) log s ≥ log ( 2 d / ε ) (Section D). □ \square □
This bound depends on the VC dimension through d / ε 2 d/\varepsilon^2 d / ε 2 , not on N N N . For local classes whose descriptions are much longer than their VC dimension, the learner is polynomial in N N N and subexponential in d / ε 2 d/\varepsilon^2 d / ε 2 .
The proof of Theorem 4.1 never uses that the constraints come from a hypothesis class. It solves sparse Max-CSP exactly, and this refutes a hypothesis from fine-grained approximability.
Corollary 4.4 (Sparse Max-CSP). Let Φ \Phi Φ be a Boolean constraint system on n n n variables with M M M constraints of arity at most k k k . For every j j j , the number of assignments that violate exactly j j j constraints can be computed in time poly ( n , M ) ⋅ 2 O ( s / log s ) \operatorname{poly}(n,M)\cdot2^{O(s/\sqrt{\log s})} poly ( n , M ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 k M , n + 1 , M + 1 , k 2 } s=\max\{4kM,n+1,M+1,k^2\} s = max { 4 k M , n + 1 , M + 1 , k 2 } . In particular, for every constant c c c , Max-3-SAT with n n n variables and at most c n cn c n clauses can be solved in time 2 O ( ( 1 + c ) n / log n ) 2^{O((1+c)n/\sqrt{\log n})} 2 O (( 1 + c ) n / l o g n ) . With positive integer clause weights at most W W W , the same holds with s = max { 4 k M , n + 1 , W M + 1 , k 2 } s=\max\{4kM,n+1,WM+1,k^2\} s = max { 4 k M , n + 1 , W M + 1 , k 2 } , and Max-3-SAT takes time 2 O ( ( 1 + c W ) n / log n ) 2^{O((1+cW)n/\sqrt{\log n})} 2 O (( 1 + c W ) n / l o g n ) .
Corollary 4.5. Both Sparse Max-SAT Hypotheses of Alman and Vassilevska Williams (Hypothesis 2.13) are false.
Proof. Let c > 0 c>0 c > 0 . By Corollary 4.4, Max-3-SAT and Max-2-SAT with c n cn c n clauses can be solved deterministically in time 2 O ( ( 1 + c ) n / log n ) 2^{O((1+c)n/\sqrt{\log n})} 2 O (( 1 + c ) n / l o g n ) . This is O ( 2 n / 2 ) O(2^{n/2}) O ( 2 n /2 ) , and 1 / 2 < 1 − γ 1/2<1-\gamma 1/2 < 1 − γ and 1 / 2 < γ / 3 1/2<\gamma/3 1/2 < γ /3 — for γ = 1 / 10 \gamma=1/10 γ = 1/10 , because ω ≥ 2 \omega\ge2 ω ≥ 2 . So for γ = 1 / 10 \gamma=1/10 γ = 1/10 no c c c satisfies either requirement of Hypothesis 2.13 . □ \square □
Before 2026, the best algorithms for Max-SAT with c n cn c n clauses saved a factor 2 n / O ( c 1 / 3 log 7 / 3 c ) 2^{n/O(c^{1/3}\log^{7/3}c)} 2 n / O ( c 1/3 l o g 7/3 c ) over brute force [7 ] , and Max-2-SAT took time 2 ω n / 3 2^{\omega n/3} 2 ω n /3 [130 ] . Alman and Vassilevska Williams [17 ] posed Hypothesis 2.13 as a basis for lower bounds on OV graphs. Bringmann, Cassis, Fischer and Künnemann [20 ] showed that the sparse Max-3-SAT hypothesis implies all hardness results of their fine-grained approximability classification. Most of those results also follow from hypotheses about clique detection in hypergraphs [20 ] , which the new algorithms do not affect. Corollary 4.5 also follows from Theorem 1.1 of [113 ] . One applies it to a CNF encoding of a linear-size threshold circuit for the number of satisfied clauses, as in the proof of its Corollary 1.2. The error profile gives it directly, together with the number of optimal assignments and the whole distribution of the number of violated clauses.
The exact exponential mechanism
The profile also gives the exponential mechanism of McSherry and Talwar [111 ] exactly, and with it the generic private learner of Kasiviswanathan et al. [92 ] .
Theorem 4.6 (Exact private learning). Let H \mathcal{H} H be κ \kappa κ -local and ε d p > 0 \varepsilon_{\mathrm{dp}} > 0 ε dp > 0 . On a sample S S S of size m m m , one can sample w w w with probability proportional to exp ( − ε d p m err S ( w ) / 2 ) \exp(-\varepsilon_{\mathrm{dp}}m\operatorname{err}_{S}(w)/2) exp ( − ε dp m err S ( w ) /2 ) in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 κ m , m + 1 , κ 2 } s = \max\{4\kappa m,m+1,\kappa^2\} s = max { 4 κm , m + 1 , κ 2 } , given exact samples from explicitly given distributions on { 0 , … , m } \{0,\ldots,m\} { 0 , … , m } . This is the exponential mechanism, and it is ε d p \varepsilon_{\mathrm{dp}} ε dp -differentially private. Without exact sampling, the output distribution is within statistical distance η \eta η of the mechanism for any η ≥ 2 − poly ( N , m ) \eta\ge2^{-\operatorname{poly}(N,m)} η ≥ 2 − poly ( N , m ) , and the output is ( ε d p , ( 1 + e ε d p ) η ) (\varepsilon_{\mathrm{dp}},(1+e^{\varepsilon_{\mathrm{dp}}})\eta) ( ε dp , ( 1 + e ε dp ) η ) -differentially private. With m = O ( ( N + log ( 1 / δ ) ) max { 1 / ( ε ε d p ) , 1 / ε 2 } ) m = O((N+\log(1/\delta))\max\{1/(\varepsilon\varepsilon_{\mathrm{dp}}),1/\varepsilon^2\}) m = O (( N + log ( 1/ δ )) max { 1/ ( ε ε dp ) , 1/ ε 2 }) the output is ε \varepsilon ε -optimal with probability at least 1 − δ 1-\delta 1 − δ [92 ] , and the time is, up to polynomial factors,
exp ( O ( κ ( N + log ( 1 / δ ) ) ε min { ε , ε d p } log N ) ) . \exp\left(O\left(\frac{\kappa(N+\log(1/\delta))}{\varepsilon\min\{\varepsilon,\varepsilon_{\mathrm{dp}}\}\sqrt{\log N}}\right)\right). exp ( O ( ε min { ε , ε dp } log N κ ( N + log ( 1/ δ )) ) ) .
Proof sketch. Descriptions that agree on the bits read by the sample have the same score. So it suffices to sample an error count j j j with probability proportional to c j e − ε d p j / 2 c_j e^{-\varepsilon_{\mathrm{dp}}j/2} c j e − ε dp j /2 , then a uniform description with exactly j j j errors, by self-reduction on the restricted profiles (Section D). □
So for local classes the exponential mechanism over the whole class, the canonical but inefficient generic private learner, runs in time 2 o ( N ) 2^{o(N)} 2 o ( N ) when κ / ( ε min { ε , ε d p } ) = o ( log N ) \kappa/(\varepsilon\min\{\varepsilon,\varepsilon_{\mathrm{dp}}\}) = o(\sqrt{\log N}) κ / ( ε min { ε , ε dp }) = o ( log N ) and log ( 1 / δ ) = O ( N ) \log(1/\delta) = O(N) log ( 1/ δ ) = O ( N ) . Its output distribution is the Gibbs posterior at inverse temperature ε d p / 2 \varepsilon_{\mathrm{dp}}/2 ε dp /2 . So Theorem 4.6 is also exact posterior sampling over discrete weights, and one posterior sample is differentially private [129 ] . Implementations of the exponential mechanism without the loss η \eta η are studied in [84 , 53 ] . The time grows with the sample size, and private sample complexity can be much smaller than N N N [37 ] . The polynomial-time barriers for private learning [68 , 126 , 42 ] are not affected by subexponential algorithms.
Constant accuracy is SAT by length
At constant accuracy the parameter that governs learning changes. Exact consistency is SAT parameterized by the number of variables (Theorem 3.4). Constant-accuracy learning is SAT parameterized by the length of the formula. In one direction the bridge is the Occam bound. In the other it is a probabilistically checkable proof of quasi-linear size.
Imported Theorem 4.7 (Short PCPs [63 , 39 ] ). There are absolute constants α \alpha α , β \beta β and c V c_V c V and a deterministic polynomial-time verifier with the following behavior on a CNF F F F of length L ≥ 2 L \ge2 L ≥ 2 . The verifier picks a seed τ \tau τ uniformly from a set Ω F \Omega_F Ω F of size at most c V L ( log L ) β c_VL(\log L)^\beta c V L ( log L ) β . From F F F and τ \tau τ it computes a set Q τ Q_\tau Q τ of at most q q q positions of a proof π \pi π of length at most q ∣ Ω F ∣ q|\Omega_F| q ∣ Ω F ∣ , and a predicate D τ D_\tau D τ on these positions. It accepts if and only if D τ ( π ∣ Q τ ) = 1 D_\tau(\pi|_{Q_\tau}) = 1 D τ ( π ∣ Q τ ) = 1 . If F F F is satisfiable, some proof is accepted for every seed. If F F F is unsatisfiable, every proof is rejected for at least half of the seeds.
Dinur [63 ] proves S A T ∈ P C P 1 / 2 , 1 [ log ( n polylog n ) , O ( 1 ) ] \mathrm{SAT} \in\mathrm{PCP}_{1/2,1}[\log(n\operatorname{polylog}n), O(1)] SAT ∈ PCP 1/2 , 1 [ log ( n polylog n ) , O ( 1 )] by gap amplification of the PCPs of Ben-Sasson and Sudan [39 ] , where n n n is the input bit length. For a CNF of length L L L we have n = O ( L log L ) n = O(L\log L) n = O ( L log L ) , and β \beta β absorbs the difference. Her verifier reads O ( 1 ) O(1) O ( 1 ) symbols over a constant alphabet. Reading their binary encodings gives the non-adaptive form above, and deleting unqueried positions bounds the proof length.
Lemma 4.8 (Short PCPs as L D 3 \mathrm{LD}_3 LD 3 samples). Let ε 0 = 1 / ( q 2 q + 2 ) \varepsilon_0 = 1/(q2^{q+2}) ε 0 = 1/ ( q 2 q + 2 ) and c q = 2 q 2 2 q c V c_q = 2q^2 2^q c_V c q = 2 q 2 2 q c V . There is a deterministic polynomial-time reduction that maps a CNF F F F of length L ≥ 2 L \ge2 L ≥ 2 to a list S F p c p S_F^{\mathrm{pcp}} S F pcp of positive examples of L D 3 \mathrm{LD}_3 LD 3 in dimension N ≤ c q L ( log L ) β N \le c_q L(\log L)^\beta N ≤ c q L ( log L ) β , with the following property. Let D F D_F D F be the uniform distribution over the entries of S F p c p S_F^{\mathrm{pcp}} S F pcp . If F F F is satisfiable, then OPT ( D F ) = 0 \operatorname{OPT}(D_F) = 0 OPT ( D F ) = 0 . If F F F is unsatisfiable, then OPT ( D F ) ≥ 2 ε 0 \operatorname{OPT}(D_F) \ge2\varepsilon_0 OPT ( D F ) ≥ 2 ε 0 .
Proof sketch. Every rejected pattern of every seed becomes a clause of width at most q q q on the proof bits. A chain of fresh variables splits this clause into clauses of width 3, and each 3-clause becomes a positive example of L D 3 \mathrm{LD}_3 LD 3 (Example 2.3(a)). A proof that the verifier always accepts extends to an assignment that satisfies every chain. If F F F is unsatisfiable, every assignment falsifies, for at least half of the seeds, some clause in the chain of that seed. Each seed contributes at most q 2 q q2^q q 2 q entries, which gives the gap 2 ε 0 2\varepsilon_0 2 ε 0 (Section D).
Theorem 4.9 (Hardness at constant accuracy). If L D 3 \mathrm{LD}_3 LD 3 has a proper realizable ( ε 0 , 1 / 3 ) (\varepsilon_0, 1/3) ( ε 0 , 1/3 ) -PAC learner that runs in time T ( N ) T(N) T ( N ) , with T T T nondecreasing, then satisfiability of CNF formulas of length L L L can be decided with one-sided error 1 / 3 1/3 1/3 in time T ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) T(c_qL(\log L)^\beta)\cdot\operatorname{polylog}(L) + \operatorname{poly}(L) T ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) . Consequently, under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len , no proper realizable ( ε 0 , 1 / 3 ) (\varepsilon_0, 1/3) ( ε 0 , 1/3 ) -PAC learner for L D 3 \mathrm{LD}_3 LD 3 , and so no proper ( ε 0 , 1 / 3 ) (\varepsilon_0, 1/3) ( ε 0 , 1/3 ) -agnostic learner, runs in time 2 N / ( log N ) C + β + 1 2^{N/(\log N)^{C+\beta+1}} 2 N / ( l o g N ) C + β + 1 .
Proof sketch. Run the learner on D F D_F D F with a clock, and accept if and only if it outputs, in time, a hypothesis with error below 2 ε 0 2\varepsilon_0 2 ε 0 on S F p c p S_F^{\mathrm{pcp}} S F pcp . Lemma 4.8 makes this correct. A time bound 2 N / ( log N ) C + β + 1 2^{N/(\log N)^{C+\beta+1}} 2 N / ( l o g N ) C + β + 1 at N ≤ c q L ( log L ) β N \le c_qL(\log L)^\beta N ≤ c q L ( log L ) β gives 2 L / ( log L ) C 2^{L/(\log L)^C} 2 L / ( l o g L ) C for SAT (Section D).
For realizable learning the Occam bound gives the converse, so the two problems have the same complexity up to polylogarithmic factors in the exponent.
Corollary 4.10 (Constant accuracy is SAT by length). Fix a constant κ ≥ 3 \kappa\ge3 κ ≥ 3 , and let T T T and T ′ T' T ′ be nondecreasing.
(a) If satisfiability of CNF formulas of length L L L can be decided in time T ( L ) T(L) T ( L ) with error at most 1 / 3 1/3 1/3 , then every κ \kappa κ -local class is properly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -PAC learnable in time O ( N log ( N / δ ) ) ⋅ T ( κ 2 κ m + N ) + poly ( N , m ) O(N\log(N/\delta))\cdot T(\kappa^{2^\kappa}m+N)+\operatorname{poly}(N,m) O ( N log ( N / δ )) ⋅ T ( κ 2 κ m + N ) + poly ( N , m ) , where m = ⌈ ( ln N ln 2 + ln ( 2 / δ ) ) / ε ⌉ m = \lceil(\ln N\ln2+\ln(2/\delta))/\varepsilon\rceil m = ⌈( ln N ln 2 + ln ( 2/ δ )) / ε ⌉ .
(b) Conversely, a proper realizable ( ε 0 , 1 / 3 ) (\varepsilon_0, 1/3) ( ε 0 , 1/3 ) -PAC learner for L D 3 \mathrm{LD}_3 LD 3 that runs in time T ′ ( N ) T'(N) T ′ ( N ) decides satisfiability of CNF formulas of length L L L in time T ′ ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) T'(c_qL(\log L)^\beta)\cdot\operatorname{polylog}(L) + \operatorname{poly}(L) T ′ ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) .
With the new algorithms, (a) gives time 2 O κ , ε , δ ( N / log N ) 2^{O_{\kappa,\varepsilon,\delta}(N/\sqrt{\log N})} 2 O κ , ε , δ ( N / l o g N ) . Under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len , (b) gives the lower bound 2 N / ( log N ) C + β + 1 2^{N/(\log N)^{C+\beta+1}} 2 N / ( l o g N ) C + β + 1 for every ε ≤ ε 0 \varepsilon\le\varepsilon_0 ε ≤ ε 0 . A SAT algorithm with exponent L / f ( L ) L/f(L) L / f ( L ) yields learners with exponent O ( N / f ( Θ ( N ) ) ) O(N/f(\Theta(N))) O ( N / f ( Θ ( N ))) , and a learner with exponent N / f ( N ) N/f(N) N / f ( N ) yields SAT algorithms with exponent O ( L ( log L ) β / f ( Θ ( L ( log L ) β ) ) ) O(L(\log L)^\beta/f(\Theta(L(\log L)^\beta))) O ( L ( log L ) β / f ( Θ ( L ( log L ) β ))) .
So at a constant accuracy ε ≤ ε 0 \varepsilon\le\varepsilon_0 ε ≤ ε 0 , the exponent of proper learning of L D 3 \mathrm{LD}_3 LD 3 , realizable or agnostic, lies between N / ( log N ) C + β + 1 N/(\log N)^{C+\beta+1} N / ( log N ) C + β + 1 under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len (Theorem 4.9 ) and O ( N / log N ) O(N/\sqrt{\log N}) O ( N / log N ) (Theorem 4.3). Both bounds are N / polylog N N/\operatorname{polylog}N N / polylog N . The same reduction replaces Gap-ETH.
Corollary 4.11 (Gap-3-SAT under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len ). Assume E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len . No randomized algorithm with error probability at most 1 / 3 1/3 1/3 runs in time 2 n / ( log n ) C + β + 1 2^{n/(\log n)^{C+\beta+1}} 2 n / ( l o g n ) C + β + 1 and distinguishes satisfiable 3-CNF clause
multisets from those in which every assignment violates at least a 2 ε 0 2\varepsilon_0 2 ε 0 fraction of the clauses. Here n n n is the number of variables plus the number of clauses, and no bound on the number of occurrences of a variable is assumed.
Consider a lower bound proved from Gap-ETH by a reduction of size O ( n ) O(n) O ( n ) that works for every constant gap and accepts such instances. Under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len it holds with exponent n / ( log n ) C + β + 1 n/(\log n)^{C+\beta+1} n / ( log n ) C + β + 1 in place of Ω ( n ) \Omega(n) Ω ( n ) . A reduction with larger blowup loses correspondingly more. The route from ETH to gap hardness through nearly-linear PCPs is standard [65 , 75 , 105 , 36 ] . Since the refutation, Manurangsi takes this route from Almost-ETH [106 ] , which gives only bounds of the form 2 n 1 − γ 2^{n^{1-\gamma}} 2 n 1 − γ . The point of Corollary 4.11 is that E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len gives 2 n / polylog n 2^{n/\operatorname{polylog} n} 2 n / polylog n , which matches the learners of Theorem 4.3.
Hardness at inverse-polynomial accuracy
At inverse-polynomial accuracy, proper agnostic learning is as hard as exact ERM on a sample of polynomial size. In that regime the Max-3-SAT Hypothesis applies, and the exponent jumps to ( 1 − o ( 1 ) ) N (1-o(1))N ( 1 − o ( 1 )) N .
Theorem 4.12 (Hardness at inverse-polynomial accuracy). Assume Hypothesis 2.12 . For every γ > 0 \gamma> 0 γ > 0 , no randomized proper ( ε , 1 / 3 ) (\varepsilon,1/3) ( ε , 1/3 ) -agnostic learner for L D 3 \mathrm{LD}_3 LD 3 in dimension n n n with ε = 1 / ( 8 n 3 ) \varepsilon= 1/(8n^3) ε = 1/ ( 8 n 3 ) runs in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) .
Proof sketch. Remove tautological clauses from a 3-CNF. Each of the M < 8 n 3 M < 8n^3 M < 8 n 3 remaining clauses becomes a positive example of L D 3 \mathrm{LD}_3 LD 3 , and the error of σ \sigma σ under the uniform distribution is the fraction of clauses that σ \sigma σ violates. All errors are multiples of 1 / M > ε 1/M > \varepsilon 1/ M > ε , so an ε \varepsilon ε -optimal output is an optimal assignment (Section D). □
For 3-local classes, Theorem 4.1 solves exact ERM on samples of size m = o ( N log N ) m = o(N\sqrt{\log N}) m = o ( N log N ) in time 2 o ( N ) 2^{o(N)} 2 o ( N ) . Under Hypothesis 2.12 , exact ERM on samples of size Θ ( N 3 ) \Theta(N^3) Θ ( N 3 ) needs time 2 ( 1 − o ( 1 ) ) N 2^{(1-o(1))N} 2 ( 1 − o ( 1 )) N . Approximate ERM is unaffected, because one can subsample to size O ( N / ε 2 ) O(N/\varepsilon^2) O ( N / ε 2 ) . Exact optimization, however, becomes harder as the sample grows. This complements the phenomenon of Daniely, Linial and Shalev-Shwartz [67 ] , where more data makes improper learning easier.
The treewidth transition
Exact inference in graphical models is the computation of learning closest to #SAT. It computes partition functions for maximum-likelihood estimation, marginals for prediction, and minimum-energy assignments for decoding. The textbook algorithms all take time exponential in the treewidth: variable elimination, junction trees, recursive conditioning, and compilation into decision diagrams or d-DNNF; for #SAT see [SS10].
Kwisthout, Bodlaender and van der Gaag [89 , 90 ] derived from ETH, through the treewidth lower bounds of Marx [107 ] , that bounded treewidth is necessary for efficient inference. ETH is false, so their quantitative bound has lost its proof. The qualitative statement survives. Chandrasekaran, Srebro and Harsha [CSH08] show that no family of graphs of unbounded treewidth admits inference in time polynomial in the treewidth unless NP has polynomial-size circuits, and the grid-minor bounds that they assume are now theorems [45 ] . This section settles the quantitative question for Boolean models of bounded degree and arity. Treewidth-based algorithms take time 2 Θ ( t w ) 2^{\Theta(\mathrm{tw})} 2 Θ ( tw ) . They are not optimal for models whose size is close to their treewidth, where the truth is 2 t w / polylogtw 2^{\mathrm{tw}/\operatorname{polylogtw}} 2 tw / polylogtw under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len . They are optimal again for models that may be polynomially larger.
Subexponential inference for bounded-degree models
Theorem 5.1 (Inference). Let Φ \Phi Φ be a factor graph on n n n Boolean variables with nonempty scopes, arity at most a a a , size ∥ Φ ∥ \lVert\Phi\rVert ∥ Φ ∥ , and ∣ F ∣ \lvert\mathcal{F}\rvert ∣ F ∣ factors.
(a) If all tables have nonnegative integer entries below 2 b 2^b 2 b , then Z ( Φ ) Z(\Phi) Z ( Φ ) and, if Z ( Φ ) > 0 Z(\Phi)>0 Z ( Φ ) > 0 , the marginal Pr [ x i = 1 ] \Pr[x_i=1] Pr [ x i = 1 ] for every i i i can be computed exactly in time poly ( ∣ Φ ∣ ) ⋅ 2 O ( s / log s ) \operatorname{poly}(\lvert\Phi\rvert)\cdot2^{O(s/\sqrt{\log s})} poly (∣ Φ ∣) ⋅ 2 O ( s / l o g s ) , where s = max { 4 ∥ Φ ∥ , n + b ∣ F ∣ + 1 , a 2 } s=\max\{4\lVert\Phi\rVert,n+b\lvert\mathcal{F}\rvert+1,a^2\} s = max { 4 ∥ Φ ∥ , n + b ∣ F ∣ + 1 , a 2 } .
(b) If the factors carry integer energies in { 0 , … , b ′ } \{0,\ldots,b'\} { 0 , … , b ′ } , then the minimum total energy, a minimizer, and the number of minimizers can be computed in time poly ( ∣ Φ ∣ ) ⋅ 2 O ( s / log s ) \operatorname{poly}(\lvert\Phi\rvert)\cdot2^{O(s/\sqrt{\log s})} poly (∣ Φ ∣) ⋅ 2 O ( s / l o g s ) , where s = max { 4 ∥ Φ ∥ , n + 1 , b ′ ∣ F ∣ + 1 , a 2 } s=\max\{4\lVert\Phi\rVert,n+1,b'\lvert\mathcal{F}\rvert+1,a^2\} s = max { 4 ∥ Φ ∥ , n + 1 , b ′ ∣ F ∣ + 1 , a 2 } .
For constant degree, arity, b b b and b ′ b' b ′ , all of these take time 2 O ( n / log n ) 2^{O(n/\sqrt{\log n})} 2 O ( n / l o g n ) .
Proof sketch. For (a), use the counting ring with P = n + b ∣ F ∣ + 1 P=n+b\lvert\mathcal{F}\rvert+1 P = n + b ∣ F ∣ + 1 , which exceeds the bit length of Z ( Φ ) Z(\Phi) Z ( Φ ) ; a marginal is a ratio of two partition functions. For (b), use the profile ring with table ∇ E f \nabla E_f ∇ E f for the factor f f f with energy E f E_f E f , and recover a minimizer by self-reduction as in Theorem 4.1 (Section E).
Separation from elimination and compilation
Every bounded-degree expander has treewidth Θ ( n ) \Theta(n) Θ ( n ) [76 ] . On such graphs the classical exact methods are exponentially slower than Theorem 5.1.
Corollary 5.2 (Separation). Let ( G n ) (G_n) ( G n ) be a family of n n n -vertex graphs of maximum degree Δ = O ( 1 ) \Delta=O(1) Δ = O ( 1 ) with tw ( G n ) = Ω ( n ) \operatorname{tw}(G_n)=\Omega(n) tw ( G n ) = Ω ( n ) , for example bounded-degree expanders. Let Φ n \Phi_n Φ n be the hardcore model on G n G_n G n : one variable per vertex and the factor 1 [ ¬ ( x u ∧ x v ) ] \mathbf{1}[\neg(x_u\land x_v)] 1 [ ¬ ( x u ∧ x v )] on every edge, so that Z ( Φ n ) Z(\Phi_n) Z ( Φ n ) counts independent sets.
(a) The partition function Z ( Φ n ) Z(\Phi_n) Z ( Φ n ) and all marginals can be computed in time 2 O ( n / log n ) 2^{O(n/\sqrt{\log n})} 2 O ( n / l o g n ) .
(b) Variable elimination along any order, and junction-tree propagation over any tree decomposition, with explicitly stored tables, take time 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) .
(c) Every structured DNNF that represents the CNF ⋀ u v ∈ E ( G n ) ( ¬ x u ∨ ¬ x v ) \bigwedge_{uv\in E(G_n)}(\neg x_u\lor\neg x_v) ⋀ uv ∈ E ( G n ) ( ¬ x u ∨ ¬ x v ) has size 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) [5 ] . This includes every structured d d d -DNNF and every OBDD.
For suitable expanders of degree 3, Bova, Capelli, Mengel and Slivovsky [21 ] prove that every DNNF for this CNF has size 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) . This covers decision-DNNF, which captures the traces of DPLL-based exact model counters [BLRS13].
Contraction along one tree decomposition is the standard way to evaluate tensor networks and weighted model counts [110 , 91 , 61 ] , and it costs 2 Θ ( tw ) 2^{\Theta(\operatorname{tw})} 2 Θ ( tw ) . The algorithm of Theorem 5.1 is a signed sum of tensor networks contracted in different orders [55 ] , or a polynomial interpolation [113 ] . In either form it lies outside every model of computation that fixes one elimination order or one vtree. The preprint [55 ] already identifies its sums with partition functions of pairwise Markov random fields with nonnegative weights. It also notes that expanders defeat every fixed tree of cuts, and it places its algorithm outside the contraction-tree model of Austrin, Kaski and Kubjas [9 ] . The statements for marginals and minimum energy, the separation from structured DNNF, and the lower bounds below are new.
On models whose size is close to their treewidth, Theorem 5.1 is optimal up to polylogarithmic factors in the exponent. The reason is that OR-chains (Lemma 5.4 below) turn a CNF of length L L L into a model with at most 4 L 4L 4 L variables and treewidth at most L + 2 L+2 L + 2 .
Corollary 5.3 (Inference is SAT by length). Assume ETH c l \operatorname{ETH}_{\mathrm{cl}} ETH cl , and let θ > 0 \theta>0 θ > 0 . No randomized algorithm with error probability at most 1 / 3 1/3 1/3 decides whether the partition function of a 0 / 1 0/1 0/1 factor
graph of arity and degree at most 3 is positive in time 2 t w / ( log t w ) C + θ poly ( n ) 2^{\mathrm{tw}/(\log\mathrm{tw})^{C+\theta}}\operatorname{poly}(n) 2 tw / ( l o g tw ) C + θ poly ( n ) , or in time 2 n / ( log n ) C + θ 2^{n/(\log n)^{C+\theta}} 2 n / ( l o g n ) C + θ . For C < 1 C<1 C < 1 , no algorithm runs in time 2 O ( t w / log t w ) poly ( n ) 2^{O(\mathrm{tw}/\log\mathrm{tw})}\operatorname{poly}(n) 2 O ( tw / l o g tw ) poly ( n ) .
So under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len the exponent of exact inference on such models lies between t w / ( log t w ) C + o ( 1 ) \mathrm{tw}/(\log\mathrm{tw})^{C+o(1)} tw / ( log tw ) C + o ( 1 ) and O ( n / log n ) O(n/\sqrt{\log n}) O ( n / log n ) . The second statement answers, for Boolean models and under this hypothesis, whether the t w / log t w \mathrm{tw}/\log\mathrm{tw} tw / log tw of the ETH-based bound can be beaten: it cannot.
Treewidth is necessary again for large models
Treewidth algorithms are optimal again once the model may have many more variables than its treewidth. Lokshtanov, Marx and Saurabh [102 ] proved such bounds for graph problems from CNF-SAT without sparsification. For Maximum Independent Set, which is MAP inference in the hardcore model, their bound is ( 2 − γ ) t w (2-\gamma)^{\mathrm{tw}} ( 2 − γ ) tw . Theorem 5.5 adds the counting version under #CNF-SETH, for models of bounded arity and degree given with a path decomposition. The reduction copies each variable along a path. Every clause is then checked by a chain of local OR gates, while only the current copies stay in the bag.
Lemma 5.4 (OR-chains with copying). Given a C N F CNF C N F F F F on N N N variables with M M M clauses of total length L L L , one can compute in polynomial time a factor graph Φ F \Phi_F Φ F with 0/1 tables, arity and maximum degree at most 3, and at most N + 3 L N+3L N + 3 L variables, together with a path decomposition of width at most N + 2 N+2 N + 2 , such that Z ( Φ F ) = # F Z(\Phi_F)=\#F Z ( Φ F ) = # F .
Theorem 5.5 (Inference lower bound). Assume Hypothesis 2.10 . For every γ > 0 \gamma>0 γ > 0 there is c c c such that no algorithm that is given a 0/1 factor graph of arity at most 3 and degree at most 4 with n n n variables, together with a path decomposition of width t t t , computes its partition function in time O ( 2 ( 1 − γ ) t ) O(2^{(1-\gamma)t}) O ( 2 ( 1 − γ ) t ) , even when n ≤ 5 t c + 1 n\leq5t^{c+1} n ≤ 5 t c + 1 and the treewidth is at least t / 2 \sqrt{t}/2 t /2 . Under Hypothesis 2.9 , the same holds for deciding whether the partition function is positive, and so for MAP inference.
Proof sketch. Apply Lemma 5.4 to a CNF with N N N variables and at most N c N^c N c clauses, after deleting tautological clauses. Then add a disjoint ⌈ N ⌉ × ⌈ N ⌉ \lceil\sqrt{N}\rceil\times\lceil\sqrt{N}\rceil ⌈ N ⌉ × ⌈ N ⌉ grid with the all-ones factor on each edge. The grid multiplies the partition function by a known power of 2 and makes the treewidth at least N \sqrt{N} N , while the width stays t = N + 2 t=N+2 t = N + 2 and n ≤ 5 N c + 1 n\leq5N^{c+1} n ≤ 5 N c + 1 (Section E). □
Corollary 5.6 (The treewidth transition). Consider Boolean models of bounded degree and arity, with small nonnegative integer weights.
(a) If n ≤ t w ⋅ ( log t w ) 1 / 2 − θ n\leq\mathrm{tw}\cdot(\log\mathrm{tw})^{1/2-\theta} n ≤ tw ⋅ ( log tw ) 1/2 − θ for some θ > 0 \theta>0 θ > 0 , exact inference takes time 2 o ( t w ) 2^{o(\mathrm{tw})} 2 o ( tw ) , and treewidth-based algorithms are not optimal.
(b) Under Hypothesis 2.10 , for every γ > 0 \gamma>0 γ > 0 no algorithm runs in time 2 ( 1 − γ ) t w poly ( n ) 2^{(1-\gamma)\mathrm{tw}}\operatorname{poly}(n) 2 ( 1 − γ ) tw poly ( n ) on all such models. This already holds for models with n ≤ t w O ( 1 ) n\leq\mathrm{tw}^{O(1)} n ≤ tw O ( 1 ) variables. So treewidth-based algorithms are optimal up to γ \gamma γ in the exponent once polynomially many variables are allowed.
Between the two regimes, when n n n ranges from t w log t w \mathrm{tw}\sqrt{\log\mathrm{tw}} tw log tw to t w O ( 1 ) \mathrm{tw}^{O(1)} tw O ( 1 ) , the complexity is open. It is the complexity of #SAT on formulas whose length lies between N log N N\sqrt{\log N} N log N and N O ( 1 ) N^{O(1)} N O ( 1 ) in the number N N N of variables. The correspondence is tight in both directions. A 0/1 factor graph of arity a a a with ∣ F ∣ |\mathcal{F}| ∣ F ∣ factors is a CNF with at most 2 a ∣ F ∣ 2^a|\mathcal{F}| 2 a ∣ F ∣ clauses of width at most a a a : it has one clause for each zero entry of each table. Conversely, Lemma 5.4 turns a CNF of length L L L , in which every variable occurs, into a 0/1 factor graph of arity and degree 3 with at most 4 L 4L 4 L variables. So exact inference in bounded-degree 0/1 models with n n n variables has the complexity of #SAT for formulas of length Θ ( n ) \Theta(n) Θ ( n ) . Any improvement of the rate 1 / log n 1/\sqrt{\log n} 1/ log n in Theorem 5.1 for such models is an improvement of the rate of #SAT as a function of formula length.
Learning theory after ETH: a ledger
Two kinds of statements need a new basis: the hypotheses, and the lower bounds proved from them. This section takes stock of both. Table 1 records the hypotheses, § 6.2 gives the rule by which ETH-based bounds transfer, and Table 2 applies it to the conditional lower bounds of learning theory.
Table 1. Fine-grained hypotheses after the refutation of ETH.
Table 2. Conditional lower bounds of learning theory and their status. The groups refer to § 6.2 .
Hypotheses
The hard instances of CNF-SETH must have superlinearly many clauses. This follows from the duality between clause width and clause density of Calabro, Impagliazzo and Paturi [51 ] together with the new algorithms.
Proposition 6.1 (Sparse CNF-SAT is subexponential). For all constants c , ε ′ > 0 c, \varepsilon' > 0 c , ε ′ > 0 , the number of satisfying assignments of a CNF formula with n n n variables and at most c n cn c n clauses of arbitrary width can be computed in time O ( 2 ε ′ n ) O(2^{\varepsilon' n}) O ( 2 ε ′ n ) .
Proof sketch. Branch with the procedure of Lemma 3.5 for a large constant k k k . There are at most ( n + 1 ) ( e ( c k + 1 ) ) n / k = 2 O ( n log ( c k ) / k ) (n+1)(e(ck+1))^{n/k}=2^{O(n\log(ck)/k)} ( n + 1 ) ( e ( c k + 1 ) ) n / k = 2 O ( n l o g ( c k ) / k ) leaves, each a k k k -CNF, and Imported Theorem 2.4 counts each leaf in time 2 o ( n ) 2^{o(n)} 2 o ( n ) (Section F). □
Williams’ reduction [130 ] turns CNF-SAT with n n n variables and M M M clauses into Orthogonal Vectors with 2 n / 2 2^{n/2} 2 n /2 vectors in dimension M M M . Through sparsification, SETH thus implied that OV needs time n 2 − o ( 1 ) n^{2-o(1)} n 2 − o ( 1 ) already in dimension c log n c\log n c log n . By Proposition 6.1 , this route now starts from a false statement. With polynomially many clauses, the same reduction shows that CNF-SETH implies the hardness of OV in dimension polylog n \operatorname{polylog} n polylog n .
Two weaker replacements of ETH appeared within a day of the refutation. Weak ETH asks for time 2 n 1 − o ( 1 ) 2^{n^{1-o(1)}} 2 n 1 − o ( 1 ) for 3-SAT [2 ] , and Almost-ETH excludes time 2 n 1 − γ 2^{n^{1-\gamma}} 2 n 1 − γ for every constant γ > 0 \gamma> 0 γ > 0 [106 ] . Both are implied by ETHC l e n {}^{\mathrm{len}}_C C len , and both suffice for bounds with polynomial slack, such as the hardness of approximating Densest k k k -Subgraph in [106 ] . Composed with a quasi-linear PCP, they give only bounds of the form 2 N 1 − γ 2^{N^{1-\gamma}} 2 N 1 − γ . The hypothesis ETHC l e n {}^{\mathrm{len}}_C C len is the fine-grained version. It measures the instance by its length for two reasons. Tseitin transformations and quasi-linear PCPs change the length only by polylogarithmic factors, and the new algorithms run in time 2 O ( L / log L ) 2^{O(L/\sqrt{\log L})} 2 O ( L / l o g L ) in the length.
How lower bounds transfer
Consider a lower bound proved from ETH by a reduction that maps a 3-CNF of length L L L , in time polynomial in its output, to an equivalent instance of size N N N with parameter k k k . A CNF of length L L L becomes a 3-CNF of length at most 3 L 3L 3 L by splitting clauses, so the reduction applies to every CNF. Assume that k log N ≤ L ( log L ) β k \log N \le L(\log L)^\beta k log N ≤ L ( log L ) β and L ≤ ( k log N ) O ( 1 ) L \le(k \log N)^{O(1)} L ≤ ( k log N ) O ( 1 ) . An algorithm that solves the target in time N k / g N^{k/g} N k / g then decides SAT of length L L L in time 2 O ( L ( log L ) β / g ) + 2 O ( L ( log L ) β / k ) 2^{O(L(\log L)^\beta/g)} + 2^{O(L(\log L)^\beta/k)} 2 O ( L ( l o g L ) β / g ) + 2 O ( L ( l o g L ) β / k ) , where the second term pays for the reduction. Under ETHC l e n {}^{\mathrm{len}}_C C len , for every θ > 0 \theta> 0 θ > 0 , no algorithm therefore solves the target in time N k / ( log ( k log N ) ) C + β + θ N^{k/(\log(k \log N))^{C+\beta+\theta}} N k / ( l o g ( k l o g N ) ) C + β + θ . The bound is meaningful when k ≥ ( log ( k log N ) ) C + β + θ k \ge(\log(k \log N))^{C+\beta+\theta} k ≥ ( log ( k log N ) ) C + β + θ ; for smaller k k k its exponent is below 1. In the same way, a bound 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) proved by a reduction of size n ≤ L ( log L ) β n \le L(\log L)^\beta n ≤ L ( log L ) β becomes 2 n / ( log n ) C + β + θ 2^{n/(\log n)^{C+\beta+\theta}} 2 n / ( l o g n ) C + β + θ . The lower bounds of learning theory then fall into six groups. Table 2 lists examples of each.
Bounds with built-in slack survive under Almost-ETH. Bounds of the form n log 1 − o ( 1 ) n n^{\log^{1-o(1)} n} n l o g 1 − o ( 1 ) n or 2 n 1 − o ( 1 ) 2^{n^{1-o(1)}} 2 n 1 − o ( 1 ) need only Almost-ETH, and so they survive under ETHC l e n {}^{\mathrm{len}}_C C len . Examples are the hardness of computing the VC and Littlestone dimensions [109 ] and of robust proper learning of halfspaces with a margin [65 ] . The hardness of proper learning of decision trees in [3 ] also has a hypothesis of this form.
Bounds from near-linear reductions lose a polylogarithmic factor in the exponent. This covers the exact training of ReLU networks and the training of two or more ReLUs [75 ] , proper learning of decision trees with queries [95 ] , whose O ~ ( n 2 ) \widetilde{O}(n^2) O ( n 2 ) reduction gives 2 N / polylog N 2^{\sqrt{N}/\operatorname{polylog}N} 2 N / polylog N , the computational–statistical tradeoffs of [33 ] , and the ETH-based inapproximability of the VC dimension [105 ] . Bounds proved from Gap-ETH through a near-linear PCP join this group through Corollary 4.11. The route from ETH through nearly-linear PCPs is the one used in [65 , 75 , 105 ] ; the new point is that its hypothesis survives.
Bounds whose parameter is O ( log log N ) O(\log\log N) O ( log log N ) keep almost nothing. Examples are the bounds n Ω ~ ( log log s ) n^{\widetilde{\Omega}(\log\log s)} n Ω ( l o g l o g s ) for proper learning of decision trees of size s s s [96 ] and N Ω ~ ( log log N ) N^{\widetilde{\Omega}(\log\log N)} N Ω ( l o g l o g N ) for partial MCSP and MFSP [82 , 83 ] . Under ETHC l e n {}^{\mathrm{len}}_C C len they keep only a ( log log N ) − C − O ( 1 ) (\log\log N)^{-C-O(1)} ( log log N ) − C − O ( 1 ) fraction of their exponent, so they remain superpolynomial only for small C C C .
Bounds from other hypotheses survive verbatim. Consistency and proper learning of k k k -juntas need time n k − o ( 1 ) n^{k-o(1)} n k − o ( 1 ) under CNF-SETH, because k k k -Dominating Set, which needs this time under CNF-SETH [116 ] , is a special case of k k k -junta consistency. Label the indicator of each closed neighborhood 1 and the all-zero example 0. A junta on a set J J J separates each neighborhood from the zero example only if J J J meets the neighborhood, so J J J dominates the graph; conversely, the disjunction of a dominating set is consistent. ReLU training is W[1]-hard in the dimension d d d and needs time n Ω ( d ) n^{\Omega(d)} n Ω ( d ) under the hypothesis that k k k -Clique has no n o ( k ) n^{o(k)} n o ( k ) algorithm [70 ] . The inapproximability of the VC dimension also follows from planted-clique hypotheses [105 ] . The bounds for partial MCSP survive if one takes the hardness of k × k k \times k k × k Permutation Clique, 2 Ω ( k log k ) 2^{\Omega(k \log k)} 2 Ω ( k l o g k ) , as a hypothesis of its own [103 ] .
(5) Bounds from parameterized gap hypotheses have no replacement yet. Gap-ETH gave n o ( k ) n^{o(k)} n o ( k ) lower bounds for parameterized label cover, which underlie the bounds of [66 , 97 ] . Corollary 4.11 gives gap hardness without a parameter, and re-deriving these bounds is open.
(6) Polynomial-time bounds through Orthogonal Vectors keep their statement but change their basis. These are n 2 − o ( 1 ) n^{2-o(1)} n 2 − o ( 1 ) bounds stated under SETH, and the new algorithms give nothing subquadratic for OV. Bounds whose proofs need sparsification, typically through OV in dimension Θ ( log n ) \Theta(\log n) Θ ( log n ) , now rest on the low-dimensional OV hypothesis alone. They include the thresholds for fast attention and its gradients at entries of size log n \sqrt{\log n} log n [14 , 15 ] and its tensor version [16 ] , the transition for Gaussian kernel density estimation [AA22], the dichotomy for linear algebra on geometric graphs [6 ] , and the hardness of approximate nearest neighbors and maximum inner product [118 , 13 ] . Bounds proved for every d = ω ( log n ) d = \omega(\log n) d = ω ( log n ) by reductions polynomial in d d d , such as those for kernel methods and neural-network ERM [31 ] , self-attention [98 ] and hierarchical clustering [4 ] , hold under CNF-SETH for d = polylog n d = \operatorname{polylog} n d = polylog n , through the reduction of [130 ] with polynomially many clauses. Bounds stated under #SETH, such as the tight treewidth bounds for counting list homomorphisms [71 ] , survive under #CNF-SETH exactly when their reductions start from CNF-SAT without sparsification. Bounds based on APSP or k k k -Clique, such as the one for the Viterbi algorithm [41 ] , are unaffected.
The single-ReLU bound of [75 ] rests on a hypothesis about Densest k k k -Subgraph on bounded-degree graphs, a sparse problem. Our engine does not refute it. Tracking the size of a vertex set and the number of edges inside it needs a second formal variable. Its Kronecker substitution needs truncation order Θ ( n 2 ) \Theta(n^2) Θ ( n 2 ) , beyond the range of Imported Theorem 2.6.
The dense side: juntas and DNF
Juntas are the canonical non-local class: whether a description selects a variable affects the label of every example. The lower bound for juntas in group (4) therefore fits the locality principle. Proper DNF learning shows the same contrast inside one reduction. Pitt and Valiant Pitt and Valiant [115 ] reduce graph k k k -coloring to k k k -term DNF consistency in dimension n n n , with one coordinate for each vertex. Graph k k k -coloring is now subexponential [113 Corollary 1.3] , so the instances of this reduction are easy. The same reduction applied to hypergraphs with edges of unbounded size survives: under CNF-SETH, consistency for k k k -term DNF in dimension n n n needs time 2 ( 1 / 2 − γ ) n 2^{(1/2-\gamma)n} 2 ( 1/2 − γ ) n (Proposition F.1 in Section F).
Related work
The refutation. The two refutations [113 , 55 ] appeared within days of each other. Within a day, Aaronson Aaronson [2 ] and Manurangsi Manurangsi [106 ] proposed the replacements Weak ETH and Almost-ETH, which have polynomial slack. Chen Chen [50 ] applied the contraction theorem of [113 ] to the smallest grammar problem.
Fine-grained hypotheses. ETH and SETH are due to Impagliazzo and Paturi [86 ] , and the sparsification lemma to Impagliazzo, Paturi and Zane [87 ] . The duality between clause width and clause density is due to Calabro, Impagliazzo and Paturi [51 ] . The CNF form of SETH and the problems equivalent to it are studied in [47 , 116 ] , the counting versions in [62 ] , NSETH in [49 ] , and Gap-ETH in [64 , 108 CCK+20] . The Max-SAT hypotheses are from [104 , 17 ] , and the classification of [20 ] builds on them. Hypotheses with polylogarithmic slack in the input length appear in [56 ] , and the measurement of SAT by instance length goes back to [120 ] . Before 2026, the best algorithms for SAT by length [79 , 128 , 54 , 117 ] , by number of clauses [60 ] , and for #SAT [85 , 59 ] saved constant or 1 / O ( k ) 1/O(k) 1/ O ( k ) factors in the exponent. The Super-Strong ETH [127 ] conjectured that the saving 1 / O ( k ) 1/O(k) 1/ O ( k ) for k k k -SAT was optimal. Quasi-linear PCPs are due to Ben-Sasson and Sudan and to Dinur [39 , 63 ] ; Bafna, Minzer, Vyas and Yun obtain small soundness [36 ] .
Hardness of learning. NP-hardness of proper learning goes back to Pitt and Valiant [115 ] and Blum and Rivest [38 ] ; see also [3 ] . Recent conditional bounds concern decision trees [96 , 95 , 97 ] , MCSP and learning programs [82 , 83 , 80 ] , and neural networks [75 , 70 ] . Others concern the VC dimension [109 , 105 , 69 ] , robust learning of halfspaces [65 , 66 ] , parameterized learning [10 , 28 ] , and computational–statistical tradeoffs [33 ] . Decision trees can be learned properly with queries in time n O ( log log n ) n^{O(\log\log n)} n O ( l o g l o g n ) [34 ] , and training neural networks is ∃ R \exists\mathrm{R} ∃ R -complete [11 , 29 ] . ETH-based bounds also exist for unsupervised learning, for example for nonnegative matrix factorization [8 ] and for k k k -means and k k k -median clustering in low dimension [44 , 43 ] ; the transfer rule of § 6.2 applies to them. Daniely, Linial and Shalev-Shwartz [67 ] studied halfspaces on sparse data and showed that more data can speed up improper learning; we study the complementary exponential-time regime of proper learning. SETH-based quadratic bounds in machine learning include [31 , 98 , 14 , 15 , 16 , 19 , 6 AA22, 118 , 13 , 4 ] . § 6 classifies these results.
Counting, inference and permutations. The halving algorithm goes back to Barzdin and Freivald and to Littlestone [25 , 101 ] , and query-by-committee to Seung, Opper and Sompolinsky and to Freund et al. [121 , 72 ] . Sampling by self-reducibility is due to Jerrum, Valiant and Vazirani [88 ] . Approximate counting gives efficient halving for total orders [77 ] and efficient query-by-committee for convex version spaces [73 ] . Counting assignments by their weight goes back to Williams’ algorithm for Max-2-CSP [130 ] . The exponential mechanism is due to McSherry and Talwar [111 ] , and its use as a generic private learner to Kasiviswanathan et al. [92 ] . Treewidth lower bounds for inference are in [CSH08, KB09, KBvdG10], building on Marx [107 ] . CNF-SAT-based treewidth lower bounds for graph problems are in [102 ] , and tight treewidth bounds for counting list homomorphisms are stated under #SETH in [71 ] . Knowledge compilation needs size 2 Ω ( t w ) 2^{\Omega(\mathrm{tw})} 2 Ω ( tw ) for structured DNNF [5 ] and 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) for every DNNF on suitable expanders [21 , 22 ] . Tree-decomposition contraction is the standard way to evaluate tensor networks [110 , 91 , 61 ] ; the contraction-tree lower bounds of [9 ] are discussed in [55 ] . Learning to order is Feedback Arc Set [58 ] , which has a 2 n 2^n 2 n dynamic program [27 ] , and permutation problems have 2 Ω ( k log k ) 2^{\Omega(k\log k)} 2 Ω ( k l o g k ) lower bounds from ETH [103 , 48 ] .
The permutation obstacle and open problems
The permutation obstacle
Everything above concerns classes with discrete descriptions. With real-valued parameters, a local class on sparse data can encode a different kind of problem.
Proposition 8.1 (ERM for halfspaces on difference vectors). Let G = ( [ n ] , A ) G=([n],A) G = ([ n ] , A ) be a digraph with nonnegative arc weights wt. Consider the sample S G = { ( e i − e j , 1 ) : ( i , j ) ∈ A } S_G=\{(e_i-e_j,1):(i,j)\in A\} S G = {( e i − e j , 1 ) : ( i , j ) ∈ A } , in which the example of the arc ( i , j ) (i,j) ( i , j ) has weight wt ( i , j ) \operatorname{wt}(i,j) wt ( i , j ) , and homogeneous halfspaces h w ( x ) = 1 [ ⟨ w , x ⟩ > 0 ] h_w(x)=1[\langle w,x\rangle>0] h w ( x ) = 1 [⟨ w , x ⟩ > 0 ] with w ∈ R n w\in\mathbb{R}^n w ∈ R n . Then the minimum over w w w of the weighted error ∑ ( i , j ) ∈ A wt ( i , j ) 1 [ h w ( e i − e j ) = 0 ] \sum_{(i,j)\in A}\operatorname{wt}(i,j)1[h_w(e_i-e_j)=0] ∑ ( i , j ) ∈ A wt ( i , j ) 1 [ h w ( e i − e j ) = 0 ] is the minimum weight of a feedback arc set of G G G .
This is the classical connection between learning to order and Feedback Arc Set [58 ] , in the language of halfspaces. The correctly classified arcs satisfy w i > w j w_i>w_j w i > w j , so they form an acyclic set. Conversely, a topological order of the arcs outside a feedback arc set gives a w w w that classifies all of them correctly (Section F). With negative examples as well, ERM becomes a weak-order variant of Feedback Arc Set, and the discussion below applies to it unchanged.
Feedback Arc Set has a 2 n poly ( n ) 2^n\operatorname{poly}(n) 2 n poly ( n ) dynamic program [27 ] . An algorithm in time ( 2 − γ ) n (2-\gamma)^n ( 2 − γ ) n is a long-standing open problem, while ( 1 + ε ) (1+\varepsilon) ( 1 + ε ) -approximation is possible in time ( 2 − γ ε ) n (2-\gamma\varepsilon)^n ( 2 − γ ε ) n [26 ] . The classical ETH-based lower bound for Feedback Arc Set came from linear reductions from bounded-width problems, so it now has no basis. Yet no 2 o ( n ) 2^{o(n)} 2 o ( n ) algorithm follows from the new algorithms. The ETH-based 2 Ω ( k log k ) 2^{\Omega(k\log k)} 2 Ω ( k l o g k ) lower bounds for permutation problems [103 , 48 ] have lost their basis as well, and they now stand as a hypothesis of their own. Bounds for Hamiltonicity derived from CNF-SAT survive [52 ] , while sparse and undirected instances of Hamiltonicity and the Traveling Salesperson Problem beat 2 n 2^n 2 n [30 , 32 ] . For rank aggregation, Kemeny’s rule and Feedback Arc Set on tournaments take time 2 O ( OPT ) 2^{O(\sqrt{\operatorname{OPT}})} 2 O ( OPT ) [94 ] .
The natural Boolean encodings of Feedback Arc Set use either Θ ( n log n ) \Theta(n\log n) Θ ( n log n ) bits or Θ ( n 2 ) \Theta(n^2) Θ ( n 2 ) bits. The first records the positions in an order, which gives locality Θ ( log n ) \Theta(\log n) Θ ( log n ) . The second records the pairwise orders, with transitivity constraints. Hamiltonian Cycle and the Traveling Salesperson Problem behave in the same way. In the language of this paper, real-valued parameters turn ERM on sparse data into a permutation problem , whose natural encodings have logarithmic locality. That is the open window of the first transition, where neither the new algorithms nor CNF-SETH decide the complexity.
Open problems
Open Problem 1 (The locality window). Consistency for κ \kappa κ -local classes is subexponential for κ ≪ ( log N ) 1 / 4 \kappa\ll(\log N)^{1/4} κ ≪ ( log N ) 1/4 and CNF-SETH-hard for κ ≫ log N \kappa\gg\log N κ ≫ log N (Theorems 3.2 and 3.8). By Theorem 3.4, closing this window is the same as determining the complexity of k k k -SAT for k = ( log n ) Θ ( 1 ) k=(\log n)^{\Theta(1)} k = ( log n ) Θ ( 1 ) . Can #k k k -SAT with k = log n k=\sqrt{\log n} k = log n be solved in time 2 o ( n ) 2^{o(n)} 2 o ( n ) ?
Open Problem 2 (Constant accuracy beyond log N \sqrt{\log N} log N ). At a constant accuracy ε ≤ ε 0 \varepsilon\le\varepsilon_0 ε ≤ ε 0 and locality κ ≤ ( log N ) 1 / 2 − θ \kappa\le(\log N)^{1/2-\theta} κ ≤ ( log N ) 1/2 − θ , the exponent of proper learning is O ( N / ( log N ) θ ) O(N/(\log N)^\theta) O ( N / ( log N ) θ ) (Theorem 3.10), and under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len it is at least N / ( log N ) C + β + 1 N/(\log N)^{C+\beta+1} N / ( log N ) C + β + 1 for LD3 _3 3 (Theorem 4.9 ). For κ ≥ log N \kappa\ge\sqrt{\log N} κ ≥ log N , is it still N / polylog N N/\operatorname{polylog}N N / polylog N , or does it reach ( 1 − o ( 1 ) ) N (1-o(1))N ( 1 − o ( 1 )) N at κ = K log N \kappa=K\log N κ = K log N ? A ( 1 − o ( 1 ) ) N (1-o(1))N ( 1 − o ( 1 )) N lower bound at constant accuracy needs gap hardness on instances with ( 1 + o ( 1 ) ) N (1+o(1))N ( 1 + o ( 1 )) N variables.
Open Problem 3 (The agnostic window). For constant κ \kappa κ , the exponent of proper agnostic learning is O ( N / log N ) O(N/\sqrt{\log N}) O ( N / log N ) at constant accuracy (Theorem 4.3), at least N / polylog N N/\operatorname{polylog}N N / polylog N there under E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len (Theorem 4.9 ), and ( 1 − o ( 1 ) ) N (1-o(1))N ( 1 − o ( 1 )) N at accuracy N − 3 / 8 N^{-3/8} N − 3/8 under the Max-3-SAT Hypothesis (Theorem 4.12). How does it grow for ε = N − c \varepsilon=N^{-c} ε = N − c with 0 < c < 3 0<c<3 0 < c < 3 ?
Open Problem 4 (The treewidth window). Determine the complexity of exact inference for bounded-degree models with tw log tw ≤ n ≤ tw O ( 1 ) \operatorname{tw}\sqrt{\log\operatorname{tw}}\le n\le\operatorname{tw}^{O(1)} tw log tw ≤ n ≤ tw O ( 1 ) (Corollary 5.6). By § 5.3 , this is the complexity of #SAT on formulas with N N N variables and length between N log N N\sqrt{\log N} N log N and N O ( 1 ) N^{O(1)} N O ( 1 ) .
Open Problem 5 (Permutations). Can Feedback Arc Set, that is, ERM for real-valued homogeneous halfspaces on positive examples of the form e i − e j e_i-e_j e i − e j , be solved in time 2 o ( n ) 2^{o(n)} 2 o ( n ) ? Even time ( 2 − γ ) n (2-\gamma)^n ( 2 − γ ) n is open [26 ] . Does a hypothesis about permutation problems, such as the one of [103 ] , follow from a hypothesis about SAT?
Open Problem 6 (Improper learning). The new algorithms evaluate signed sums of tensor networks and low-degree interpolants. Do such representations, used as hypothesis classes , give new improper learners for dense classes, as polynomial threshold functions did for DNF [KS04]?
Conclusion
The refutation of ETH is a statement about sparse, bounded-width structure, and learning inherits it through locality. Accuracy decides which form of SAT governs learning: consistency is SAT by the number of variables, and constant-accuracy learning is SAT by the length of the formula. Where examples are dense, where agnostic learning must reach inverse-polynomial accuracy, and where a model may be polynomially larger than its treewidth, the surviving hypotheses keep the old exponents. The boundary lies at logarithmic locality, between fixed-width and unbounded-width SAT, and the permutation problems of learning to order lie inside it.
Roadmap of the appendix
The appendix contains the full proofs of all results of the main text, in the order of the sections, and ends with a table of notation. Figure 2 shows how the results depend on each other.
Figure 2. Dependencies between the results. An arrow from X X X to Y Y Y means that the proof of Y Y Y cites X X X , after transitive reduction. Dashed frames mark imported theorems, thick frames mark the main theorems, and hypotheses are not drawn. Theorem 4.12 and Proposition 8.1 use no other result.
How to read the proofs. We write the proofs in the structured style of Lamport [99 , 100 ] . A proof is a list of numbered steps, and ⟨ k ⟩ j \langle k\rangle_j ⟨ k ⟩ j is the j j j -th step at level k k k . Each step states a claim, and a proof of the claim follows it. This proof is a short paragraph or a list of steps at the next level. The last step of each list, q.e.d., proves the goal of the list from the earlier steps. Assume and Prove state the hypothesis and the goal of a step, Let introduces a symbol, and Case marks one case of a case split. A reader who wants only the main idea can read the level-1 steps and skip their proofs. Each restated result keeps its number from the main text.
Proofs for Section 2: the engine
Lemma B.1 (Factor graphs as tensor networks). *Let Φ \Phi Φ be a factor graph of arity at most a a a whose scopes are all nonempty, and let u u u be the number of variables in no scope. There is a bipartite Boolean tensor network G Φ G_{\Phi} G Φ with at most 4 ∥ Φ ∥ 4\lVert\Phi\rVert 4 ∥ Φ ∥ edges, at most 4 ∥ Φ ∥ 4\lVert\Phi\rVert 4 ∥ Φ ∥ vertices and maximum degree at
most max { a , 3 } \max\{a,3\} max { a , 3 } , such that Z ( Φ ) = 2 u ⋅ contraction ( G Φ ) Z(\Phi)=2^u\cdot\operatorname{contraction}(G_\Phi) Z ( Φ ) = 2 u ⋅ contraction ( G Φ ) . Every entry of G Φ G_\Phi G Φ is either an entry of some table ψ f \psi_f ψ f or an element of { 0 , 1 } \{0,1\} { 0 , 1 } . The network can be built in time polynomial in the size of Φ \Phi Φ .
Proof of Lemma B.1 . ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . Let: G ′ G' G ′ be the following tensor network. Each factor f f f is a vertex with one edge (a port ) for each variable of I f I_f I f and with tensor ψ f \psi_f ψ f . Each variable v v v of degree deg ( v ) ≥ 1 \deg(v)\ge1 deg ( v ) ≥ 1 gets a gadget attached to its deg ( v ) \deg(v) deg ( v ) ports:
if deg ( v ) = 1 \deg(v)=1 deg ( v ) = 1 , one vertex with the unary tensor ( 1 , 1 ) (1,1) ( 1 , 1 ) ;
if deg ( v ) = 2 \deg(v)=2 deg ( v ) = 2 , one vertex with the binary equality tensor;
if deg ( v ) ≥ 3 \deg(v)\ge3 deg ( v ) ≥ 3 , a tree with deg ( v ) − 2 \deg(v)-2 deg ( v ) − 2 vertices of degree 3, each with the ternary equality tensor, whose deg ( v ) \deg(v) deg ( v ) leaf edges are the ports of v v v and which has deg ( v ) − 3 \deg(v)-3 deg ( v ) − 3 internal edges.
Then, for every variable v v v and every assignment of its ports, the sum over the internal edges of its gadget of the product of the gadget tensors is 1 if all ports of v v v carry the same bit, and 0 otherwise.
Proof: For deg ( v ) ≤ 2 \deg(v)\le2 deg ( v ) ≤ 2 this is the definition of the tensor. For deg ( v ) ≥ 3 \deg(v)\ge3 deg ( v ) ≥ 3 , a product of ternary equality tensors is nonzero only if every gadget vertex sees one bit on all three of its edges. The tree is connected, so then all its edges carry one bit. Conversely, the constant assignment gives the product 1. So the sum is 1 if the ports agree and 0 otherwise.
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . Z ( Φ ) = 2 u ⋅ contraction ( G ′ ) Z(\Phi)=2^u\cdot\operatorname{contraction}(G') Z ( Φ ) = 2 u ⋅ contraction ( G ′ ) .
Proof: By ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 , an assignment of the ports contributes to the contraction only if, for every variable, all ports of the variable carry the same bit, and then it contributes exactly once. These assignments correspond bijectively to the assignments x x x of the n − u n-u n − u variables that lie in some scope, and their product is ∏ f ψ f ( x ∣ I f ) \prod_f\psi_f(x|_{I_f}) ∏ f ψ f ( x ∣ I f ) . Each variable in no scope contributes the factor 2 to Z ( Φ ) Z(\Phi) Z ( Φ ) .
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . Subdividing every edge of G ′ G' G ′ by a new vertex with the binary equality tensor gives a bipartite network G Φ G_\Phi G Φ with the same contraction.
Proof: A new vertex forces its two edges to carry the same bit, so the assignments with nonzero product correspond bijectively to those of G ′ G' G ′ , with the same product. Old vertices form one side and new vertices the other.
⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 . The network G Φ G_\Phi G Φ has at most 4 ∥ Φ ∥ 4\lVert\Phi\rVert 4 ∥ Φ ∥ edges, at most 4 ∥ Φ ∥ 4\lVert\Phi\rVert 4 ∥ Φ ∥ vertices, and maximum degree at most max { a , 3 } \max\{a,3\} max { a , 3 } .
Proof: A variable v v v has deg ( v ) \deg(v) deg ( v ) ports and at most deg ( v ) \deg(v) deg ( v ) internal edges, so G ′ G' G ′ has at most 2 ∥ Φ ∥ 2\lVert\Phi\rVert 2 ∥ Φ ∥ edges, and G Φ G_\Phi G Φ has at most 4 ∥ Φ ∥ 4\lVert\Phi\rVert 4 ∥ Φ ∥ . The network G ′ G' G ′ has ∣ F ∣ ≤ ∥ Φ ∥ |F|\le\lVert\Phi\rVert ∣ F ∣ ≤ ∥ Φ ∥ factor vertices, because every scope is nonempty, and at most ∑ v deg ( v ) = ∥ Φ ∥ \sum_v\deg(v)=\lVert\Phi\rVert ∑ v deg ( v ) = ∥ Φ ∥ gadget vertices. The subdivision adds at most 2 ∥ Φ ∥ 2\lVert\Phi\rVert 2 ∥ Φ ∥ vertices. Factor vertices have degree ∣ I f ∣ ≤ a |I_f|\le a ∣ I f ∣ ≤ a , gadget vertices have degree at most 3, and subdivision vertices have degree 2.
⟨ 1 ⟩ 5 \langle1\rangle5 ⟨ 1 ⟩ 5 . Q.E.D.
Proof: By ⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 , ⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 and ⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 . All entries are table entries or bits, and the construction takes polynomial time.
Theorem 2.7 (Sparse sum-product). Let Φ \Phi Φ be a factor graph over B P , ℓ \mathcal{B}_{P,\ell} B P , ℓ of arity at most a a a , whose table entries can be computed in polynomial time. Let s s s be an integer with s ≥ max { 4 ∥ Φ ∥ , ℓ , 2 } s\ge\max\{4\lVert\Phi\rVert,\ell,2\} s ≥ max { 4 ∥ Φ ∥ , ℓ , 2 } and a ≤ s 9 / 10 a\le s^{9/10} a ≤ s 9/10 . Then Z ( Φ ) Z(\Phi) Z ( Φ ) can be computed deterministically in time poly ( s + ∣ Φ ∣ ) 2 O ( s / log s ) \operatorname{poly}(s+|\Phi|)2^{O(s/\sqrt{\log s})} poly ( s + ∣Φ∣ ) 2 O ( s / l o g s ) and space poly ( s + ∣ Φ ∣ ) \operatorname{poly}(s+|\Phi|) poly ( s + ∣Φ∣ ) . The constants depend only on the polynomial that bounds the time to evaluate one table entry.
Proof of Theorem 2.7. ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . Let F 0 \mathcal{F}_0 F 0 be the factors with empty scope, and let Φ ′ \Phi' Φ ′ be Φ \Phi Φ without them. Then Z ( Φ ) = ( ∏ f ∈ F 0 ψ f ) ⋅ Z ( Φ ′ ) Z(\Phi) = \left(\prod_{f\in F_0}\psi_f\right)\cdot Z(\Phi') Z ( Φ ) = ( ∏ f ∈ F 0 ψ f ) ⋅ Z ( Φ ′ ) .
Proof: A factor with empty scope contributes the same constant to every term.
⟨1⟩2. Case: ∥ Φ ′ ∥ = 0 \|\Phi'\| = 0 ∥ Φ ′ ∥ = 0 . Then Z ( Φ ′ ) = 2 n Z(\Phi') = 2^n Z ( Φ ′ ) = 2 n , and the theorem holds.
Proof: Without factors every assignment contributes 1.
⟨1⟩3. Case: ∥ Φ ′ ∥ ≥ 1 \|\Phi'\| \ge1 ∥ Φ ′ ∥ ≥ 1 . Then the network G Φ ′ G_{\Phi'} G Φ ′ of Lemma B.1 satisfies the hypotheses of Imported Theorem 2.6 with the given s s s .
Proof: It has at most 4 ∥ Φ ′ ∥ ≤ s 4\|\Phi'\| \le s 4∥ Φ ′ ∥ ≤ s edges and vertices. Here s ≥ 4 s \ge4 s ≥ 4 , so ⌈ s 9 / 10 ⌉ ≥ 4 \lceil s^{9/10}\rceil\ge4 ⌈ s 9/10 ⌉ ≥ 4 , and the degree bound max { a , 3 } ≤ ⌈ s 9 / 10 ⌉ \max\{a,3\} \le\lceil s^{9/10}\rceil max { a , 3 } ≤ ⌈ s 9/10 ⌉ follows from a ≤ s 9 / 10 a \le s^{9/10} a ≤ s 9/10 . The ring is B P , ℓ B_{P,\ell} B P , ℓ with P , ℓ ≤ s P,\ell\le s P , ℓ ≤ s . Each entry is a table entry, computable in polynomial time, or a bit. The description of G Φ ′ G_{\Phi'} G Φ ′ has polynomial size.
⟨1⟩4. Q.E.D.
Proof: In the first case use ⟨1⟩2. In the second, Imported Theorem 2.6 computes the contraction of G Φ ′ G_{\Phi'} G Φ ′ in time poly ( s + ∣ Φ ∣ ) ⋅ 2 O ( s / log s ) \operatorname{poly}(s+|\Phi|)\cdot2^{O(s/\sqrt{\log s})} poly ( s + ∣Φ∣ ) ⋅ 2 O ( s / l o g s ) and polynomial space, by ⟨1⟩3. Multiply by 2 u 2^u 2 u (Lemma B.1 ) and by the constants of ⟨1⟩1 in B P , ℓ B_{P,\ell} B P , ℓ .
Lemma 2.8 (Exact error profiles). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N , let S S S be a sample of size m m m , and let s = max { 4 κ m , m + 1 , κ 2 } s=\max\{4\kappa m,m+1,\kappa^2\} s = max { 4 κm , m + 1 , κ 2 } . The error profile E S E_S E S can be computed exactly and deterministically in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) . The same holds for the error profile of the descriptions that extend any given partial assignment.
Proof of Lemma 2.8. ⟨1⟩1. Let: R ( S ) = ⋃ i R ( x i ) R(S)=\bigcup_i R(x_i) R ( S ) = ⋃ i R ( x i ) and n S = ∣ R ( S ) ∣ ≤ κ m n_S=|R(S)|\le\kappa m n S = ∣ R ( S ) ∣ ≤ κm . For u ∈ { 0 , 1 } R ( S ) u\in\{0,1\}^{R(S)} u ∈ { 0 , 1 } R ( S ) , let: mis ( u ) \operatorname{mis}(u) mis ( u ) be the number of examples that a description extending u u u misclassifies. Then mis ( u ) \operatorname{mis}(u) mis ( u ) is well defined, and E S ( V ) = 2 N − n S ∑ u V mis ( u ) E_S(V)=2^{N-n_S}\sum_u V^{\operatorname{mis}(u)} E S ( V ) = 2 N − n S ∑ u V mis ( u ) .
Proof: The label h w ( x i ) h_w(x_i) h w ( x i ) depends only on w ∣ R ( x i ) w|_{R(x_i)} w ∣ R ( x i ) , and R ( x i ) ⊆ R ( S ) R(x_i)\subseteq R(S) R ( x i ) ⊆ R ( S ) . Each u u u has 2 N − n S 2^{N-n_S} 2 N − n S extensions.
⟨1⟩2. Let: Φ S \Phi_S Φ S be the factor graph on the variables R ( S ) R(S) R ( S ) over B P , ℓ B_{P,\ell} B P , ℓ with P = n S + 1 P=n_S+1 P = n S + 1 and ℓ = m + 1 \ell=m+1 ℓ = m + 1 and with one factor for each example i i i : scope R ( x i ) R(x_i) R ( x i ) , and table 1 at the patterns α \alpha α with f x i ( α ) = y i f_{x_i}(\alpha)=y_i f x i ( α ) = y i and V V V elsewhere. Then Z ( Φ S ) Z(\Phi_S) Z ( Φ S ) determines the integer polynomial ∑ u V mis ( u ) \sum_u V^{\operatorname{mis}(u)} ∑ u V mis ( u ) .
Proof: Each u u u contributes V mis ( u ) V^{\operatorname{mis}(u)} V mis ( u ) . Because mis ( u ) ≤ m < ℓ \operatorname{mis}(u)\le m<\ell mis ( u ) ≤ m < ℓ , no term is truncated. Each coefficient is at most 2 n S < 2 P 2^{n_S}<2^P 2 n S < 2 P , so its residue modulo 2 P 2^P 2 P determines it.
⟨1⟩3. The factor graph Φ S \Phi_S Φ S satisfies the hypotheses of Theorem 2.7 with s = max { 4 κ m , m + 1 , κ 2 } s=\max\{4\kappa m,m+1,\kappa^2\} s = max { 4 κm , m + 1 , κ 2 } .
Proof: The size is ∥ Φ S ∥ ≤ κ m \|\Phi_S\|\le\kappa m ∥ Φ S ∥ ≤ κm , so 4 ∥ Φ S ∥ ≤ s 4\|\Phi_S\|\le s 4∥ Φ S ∥ ≤ s . Also P ≤ κ m + 1 ≤ s P\le\kappa m+1\le s P ≤ κm + 1 ≤ s , ℓ = m + 1 ≤ s \ell=m+1\le s ℓ = m + 1 ≤ s , and s ≥ 2 s\ge2 s ≥ 2 . The arity is at most κ ≤ s 1 / 2 ≤ s 9 / 10 \kappa\le s^{1/2}\le s^{9/10} κ ≤ s 1/2 ≤ s 9/10 . The entries take polynomial time.
⟨1⟩4. Fixing a set of description bits to given values preserves ⟨1⟩1–⟨1⟩3.
Proof: Fixed bits in R ( S ) R(S) R ( S ) restrict scopes and tables, and factors whose scope becomes empty are constants (Theorem 2.7). Each fixed bit outside R ( S ) R(S) R ( S ) halves the factor 2 N − n S 2^{N-n_S} 2 N − n S . Sizes, P P P and ℓ \ell ℓ do not grow.
⟨1⟩5. Q.E.D.
Proof: By ⟨1⟩2–⟨1⟩4, Theorem 2.7 computes the restricted profile in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) . Multiply by the power of 2 from ⟨1⟩1.
Proofs for Section 3: the locality transition
Realizable transfer
Theorem 3.2 (Realizable transfer). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N , and let S S S be a sample of size m m m .
(a) Counting. The number ∣ V S ( S ) ∣ |\mathrm{VS}(S)| ∣ VS ( S ) ∣ can be computed deterministically in time poly ( N , m ) ⋅ 2 κ ⋅ T κ ( N ) \operatorname{poly}(N,m)\cdot2^\kappa\cdot T_\kappa(N) poly ( N , m ) ⋅ 2 κ ⋅ T κ ( N ) .
(b) Sampling. If V S ( S ) ≠ ∅ \mathrm{VS}(S)\ne\varnothing VS ( S ) = ∅ , a uniformly random element of V S ( S ) \mathrm{VS}(S) VS ( S ) can be generated exactly in the same time, given uniform random integers in { 0 , … , M − 1 } \{0,\ldots,M-1\} { 0 , … , M − 1 } at cost poly ( log M ) \operatorname{poly}(\log M) poly ( log M ) . With fair coins only, the same bound holds for the expected time of a Las Vegas algorithm.
(c) Proper PAC learning. For all ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) , the class H \mathcal{H} H is properly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -PAC learnable from ⌈ m O c c ⌉ \lceil m_{\mathrm{Occ}}\rceil ⌈ m Occ ⌉ examples by an algorithm that is deterministic after sampling and runs in the same time.
(d) Online learning. In the realizable mistake-bound model, the halving algorithm makes at most N N N mistakes, and round t t t takes time poly ( N , t ) ⋅ 2 κ ⋅ T κ ( N ) \operatorname{poly}(N,t)\cdot2^\kappa\cdot T_\kappa(N) poly ( N , t ) ⋅ 2 κ ⋅ T κ ( N ) .
All four run in time poly ( N , m ) ⋅ 2 o ( N ) \operatorname{poly}(N,m)\cdot2^{o(N)} poly ( N , m ) ⋅ 2 o ( N ) when κ = o ( ( log N ) 1 / 4 / log log N ) \kappa=o\left((\log N)^{1/4}/\sqrt{\log\log N}\right) κ = o ( ( log N ) 1/4 / log log N ) .
Proof of Theorem 3.2. ⟨1⟩1. For every κ \kappa κ -CNF Γ \Gamma Γ on w 1 , … , w N w_1,\ldots,w_N w 1 , … , w N with M ′ M' M ′ clauses, the number # Γ \#\Gamma #Γ can be computed deterministically in time poly ( N , M ′ ) ⋅ 2 κ ⋅ T κ ( N ) \operatorname{poly}(N,M')\cdot2^\kappa\cdot T_\kappa(N) poly ( N , M ′ ) ⋅ 2 κ ⋅ T κ ( N ) .
⟨2⟩1. Let: N ′ N' N ′ be the number of variables that occur in Γ \Gamma Γ . Then # Γ = 2 N − N ′ ⋅ # ′ Γ \#\Gamma=2^{N-N'}\cdot\#'\Gamma #Γ = 2 N − N ′ ⋅ # ′ Γ , where # ′ Γ \#'\Gamma # ′ Γ counts the satisfying assignments of the occurring variables.
Proof: Each variable that does not occur doubles the count.
⟨2⟩2. Case: N ′ < 16 N'<16 N ′ < 16 or M ′ ≤ 1 M'\le1 M ′ ≤ 1 . Brute force over 2 N ′ 2^{N'} 2 N ′ assignments computes # ′ Γ \#'\Gamma # ′ Γ in time poly ( N , M ′ ) ⋅ 2 max { 16 , κ } \operatorname{poly}(N,M')\cdot2^{\max\{16,\kappa\}} poly ( N , M ′ ) ⋅ 2 m a x { 16 , κ } .
Proof: If M ′ ≤ 1 M'\le1 M ′ ≤ 1 , all occurring variables lie in one clause, so N ′ ≤ κ N'\le\kappa N ′ ≤ κ .
⟨2⟩3. Case: N ′ ≥ 16 N'\ge16 N ′ ≥ 16 and M ′ ≥ 2 M'\ge2 M ′ ≥ 2 . Then # ′ Γ \#'\Gamma # ′ Γ can be computed in time poly ( N , M ′ ) ⋅ T κ ( N ) \operatorname{poly}(N,M')\cdot T_\kappa(N) poly ( N , M ′ ) ⋅ T κ ( N ) .
Proof: Theorem 2.4 with k = κ k=\kappa k = κ and n = N ′ ≥ 4 n=N'\ge4 n = N ′ ≥ 4 takes time at most 2 C 1 κ 2 g ( N ′ ) ≤ 2 C 1 κ 2 g ( N ) 2^{C_1\kappa^2g(N')}\le2^{C_1\kappa^2g(N)} 2 C 1 κ 2 g ( N ′ ) ≤ 2 C 1 κ 2 g ( N ) , because g g g is nondecreasing. Brute force takes time 2 N ′ poly ( M ′ ) ≤ 2 N poly ( M ′ ) 2^{N'}\operatorname{poly}(M')\le2^N\operatorname{poly}(M') 2 N ′ poly ( M ′ ) ≤ 2 N poly ( M ′ ) . Run the faster of the two.
⟨2⟩4. Q.E.D.
Proof: The two cases are exhaustive. Combine them with ⟨2⟩1.
⟨1⟩2. Part (a) holds.
Proof: Build Γ S \Gamma_S Γ S by Lemma 3.1 , with M ′ ≤ m 2 κ M'\le m2^\kappa M ′ ≤ m 2 κ clauses, and apply ⟨1⟩1.
⟨1⟩3. Part (b) holds.
⟨2⟩1. Let: the algorithm fix w 1 , … , w N w_1,\ldots,w_N w 1 , … , w N in order. If w 1 , … , w i − 1 w_1,\ldots,w_{i-1} w 1 , … , w i − 1 are fixed to b 1 , … , b i − 1 b_1,\ldots,b_{i-1} b 1 , … , b i − 1 , it computes, for b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } , the number c b c_b c b of elements of V S ( S ) \mathrm{VS}(S) VS ( S ) that extend ( b 1 , … , b i − 1 , b ) (b_1,\ldots,b_{i-1},b) ( b 1 , … , b i − 1 , b ) , and it sets w i = b w_i=b w i = b with probability c b / ( c 0 + c 1 ) c_b/(c_0+c_1) c b / ( c 0 + c 1 ) .
⟨2⟩2. Each count c b c_b c b takes time poly ( N , m ) ⋅ 2 κ ⋅ T κ ( N ) \operatorname{poly}(N,m)\cdot2^\kappa\cdot T_\kappa(N) poly ( N , m ) ⋅ 2 κ ⋅ T κ ( N ) .
Proof: The count c b c_b c b is # Γ \#\Gamma #Γ for Γ S \Gamma_S Γ S plus at most N N N unit clauses, which is a κ \kappa κ -CNF because κ ≥ 1 \kappa\ge1 κ ≥ 1 . Apply ⟨1⟩1.
⟨2⟩3. Every w ∈ V S ( S ) w\in\mathrm{VS}(S) w ∈ VS ( S ) is output with probability 1 / ∣ V S ( S ) ∣ 1/|\mathrm{VS}(S)| 1/∣ VS ( S ) ∣ .
Proof: The probability is a telescoping product of the ratios c w i / ( c 0 + c 1 ) c_{w_i}/(c_0+c_1) c w i / ( c 0 + c 1 ) , whose first denominator is ∣ V S ( S ) ∣ |\mathrm{VS}(S)| ∣ VS ( S ) ∣ and whose last numerator is 1.
⟨2⟩4. Q.E.D. Proof. By ⟨1⟩2 and ⟨1⟩3, with 2 N 2N 2 N counts. The choice of w i w_i w i takes one uniform integer U U U below c 0 + c 1 ≤ 2 N c_0+c_1\le2^N c 0 + c 1 ≤ 2 N , and sets w i = 0 w_i=0 w i = 0 if and only if U < c 0 U<c_0 U < c 0 . With fair coins, rejection sampling draws such an integer with an expected number of O ( N ) O(N) O ( N ) coins.
⟨1⟩4. Part (c) holds.
Proof. Draw m = ⌈ m O c c ⌉ m=\lceil m_{\mathrm{Occ}}\rceil m = ⌈ m Occ ⌉ examples. In the realizable case V S ( S ) ≠ ∅ \mathrm{VS}(S)\ne\emptyset VS ( S ) = ∅ . Run the procedure of ⟨1⟩3, but set w i w_i w i to any b b b with c b > 0 c_b>0 c b > 0 ; the result lies in V S ( S ) \mathrm{VS}(S) VS ( S ) . By Theorem 2.1(a), its error is at most ε \varepsilon ε with probability at least 1 − δ 1-\delta 1 − δ .
⟨1⟩5. Part (d) holds.
Proof. In round t t t , with the examples S t − 1 S_{t-1} S t − 1 of earlier rounds, compute c b = ∣ V S ( S t − 1 ∪ { ( x t , b ) } ) ∣ c_b=\lvert\mathrm{VS}(S_{t-1}\cup\{(x_t,b)\})\rvert c b = ∣ VS ( S t − 1 ∪ {( x t , b )})∣ for b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } by part (a), and predict a label b b b with the larger count. After a mistake the version space keeps at most half of its elements. It starts with at most 2 N 2^N 2 N elements, and in the realizable model it never becomes empty. So there are at most N N N mistakes.
⟨1⟩6. If κ = o ( ( log N ) 1 / 4 / log log N ) \kappa=o((\log N)^{1/4}/\sqrt{\log\log N}) κ = o (( log N ) 1/4 / log log N ) , then 2 κ ⋅ T κ ( N ) = 2 o ( N ) 2^\kappa\cdot T_\kappa(N)=2^{o(N)} 2 κ ⋅ T κ ( N ) = 2 o ( N ) .
Proof. Here κ 2 g ( N ) / N = κ 2 log log N / log N = o ( 1 ) \kappa^2g(N)/N=\kappa^2\log\log N/\sqrt{\log N}=o(1) κ 2 g ( N ) / N = κ 2 log log N / log N = o ( 1 ) , and κ = o ( N ) \kappa=o(N) κ = o ( N ) .
⟨1⟩7. Q.E.D.
Proof. By ⟨1⟩2–⟨1⟩6.
The perceptron gadget and the equivalence
Lemma 3.3 (Perceptron gadget). Let k ≥ 1 k\ge1 k ≥ 1 and p = max { 1 , k − 2 } p=\max\{1,k-2\} p = max { 1 , k − 2 } . Given a k k k -CNF F F F on z 1 , … , z N z_1,\ldots,z_N z 1 , … , z N with M M M clauses, none of them tautological, one can compute in polynomial time a sample S F S_F S F of M + p M+p M + p examples in { − 1 , 0 , 1 } N + p \{-1,0,1\}^{N+p} { − 1 , 0 , 1 } N + p , all labeled 1 1 1 and each with support of size at most max { 2 k − 2 , 2 } \max\{2k-2,2\} max { 2 k − 2 , 2 } , with the following property. A sign vector σ \sigma σ is consistent with S F S_F S F as a binarized perceptron if and only if σ N + 1 = ⋯ = σ N + p = 1 \sigma_{N+1}=\cdots=\sigma_{N+p}=1 σ N + 1 = ⋯ = σ N + p = 1 and the assignment z i = 1 [ σ i = 1 ] z_i=1[\sigma_i=1] z i = 1 [ σ i = 1 ] satisfies F F F . In particular, ∣ V S B P ( S F ) ∣ = # F \lvert\mathrm{VS}_{\mathrm{BP}}(S_F)\rvert=\#F ∣ VS BP ( S F )∣ = # F .
Proof of Lemma 3.3. ⟨1⟩1. Let: the coordinates 1 , … , N 1,\ldots,N 1 , … , N be variable coordinates and N + 1 , … , N + p N+1,\ldots,N+p N + 1 , … , N + p padding coordinates. Let: S F S_F S F consist of the pinning examples e N + j e_{N+j} e N + j for j ≤ p j\le p j ≤ p and, for each clause C C C with r = ∣ C ∣ r=\lvert C\rvert r = ∣ C ∣ literals, the example x C x_C x C defined as follows. On the variable coordinates, x C x_C x C has entry + 1 +1 + 1 at i i i if z i ∈ C z_i\in C z i ∈ C , entry − 1 -1 − 1 if ¬ z i ∈ C \neg z_i\in C ¬ z i ∈ C , and 0 0 0 elsewhere. On the padding coordinates, x C x_C x C has entry + 1 +1 + 1 at N + 1 , … , N + r − 2 N+1,\ldots,N+r-2 N + 1 , … , N + r − 2 if r ≥ 2 r\ge2 r ≥ 2 , entry − 1 -1 − 1 at N + 1 N+1 N + 1 if r = 1 r=1 r = 1 , and 0 0 0 elsewhere. All labels are 1 1 1 .
Proof. The clause is not tautological, so its r r r literals are on r r r distinct variables, and x C x_C x C is well defined. It uses at most max { 1 , k − 2 } = p \max\{1,k-2\}=p max { 1 , k − 2 } = p padding coordinates.
⟨1⟩2. Every example has support of size at most max { 2 k − 2 , 2 } \max\{2k-2,2\} max { 2 k − 2 , 2 } .
Proof. A clause of width r ≥ 2 r\ge2 r ≥ 2 gives support r + ( r − 2 ) ≤ 2 k − 2 r+(r-2)\le2k-2 r + ( r − 2 ) ≤ 2 k − 2 , a clause of width 1 1 1 gives support 2 2 2 , and a pinning example has support 1 1 1 .
⟨1⟩3. A pinning example e N + j e_{N+j} e N + j is consistent with σ \sigma σ if and only if σ N + j = 1 \sigma_{N+j}=1 σ N + j = 1 .
Proof. Its label is 1 1 1 and ⟨ σ , e N + j ⟩ = σ N + j \langle\sigma,e_{N+j}\rangle=\sigma_{N+j} ⟨ σ , e N + j ⟩ = σ N + j .
⟨1⟩4. Assume: σ N + 1 = ⋯ = σ N + p = 1 \sigma_{N+1}=\cdots=\sigma_{N+p}=1 σ N + 1 = ⋯ = σ N + p = 1 . Let: z i = 1 [ σ i = 1 ] z_i=1[\sigma_i=1] z i = 1 [ σ i = 1 ] , and let: t t t be the number of literals of C C C that z z z makes true. Prove: ⟨ σ , x C ⟩ = 2 t − 2 \langle\sigma,x_C\rangle=2t-2 ⟨ σ , x C ⟩ = 2 t − 2 .
Proof. On a variable coordinate of C C C , the product of the entry of x C x_C x C and σ i \sigma_i σ i is + 1 +1 + 1 for a true literal and − 1 -1 − 1 for a false one, so the variable part is t − ( r − t ) = 2 t − r t-(r-t)=2t-r t − ( r − t ) = 2 t − r . The padding part is r − 2 r-2 r − 2 : it is a sum of r − 2 r-2 r − 2 ones if r ≥ 2 r\ge2 r ≥ 2 , and it is − 1 = r − 2 -1=r-2 − 1 = r − 2 if r = 1 r=1 r = 1 .
⟨1⟩5. Q.E.D.
Proof: By ⟨1⟩3 and ⟨1⟩4, σ \sigma σ is consistent with S F S_F S F if and only if its padding is pinned and 2 t − 2 ≥ 0 2t-2 \ge0 2 t − 2 ≥ 0 , that is t ≥ 1 t \ge1 t ≥ 1 , for every clause. This means that z z z satisfies F F F . The map from pinned σ \sigma σ to z z z is a bijection onto { 0 , 1 } N \{0,1\}^{N} { 0 , 1 } N , so ∣ V S B P ( S F ) ∣ = # F |V_{\mathrm{SBP}}(S_F)| = \#F ∣ V SBP ( S F ) ∣ = # F . The construction takes polynomial time, and ⟨1⟩2 bounds the supports.
Theorem 3.4 (Locality equivalence). Let κ , k ≥ 1 \kappa,k \ge1 κ , k ≥ 1 , and let T T T and T ′ T' T ′ be nondecreasing time bounds.
(i) If # κ \#\kappa # κ -SAT on n n n variables with M M M clauses can be solved in time T ( n , M ) T(n,M) T ( n , M ) , then for every κ \kappa κ -local class the version space of a sample of size m m m can be counted in time T ( N , m 2 κ ) + poly ( N , m ) ⋅ 2 κ T(N,m2^{\kappa})+\operatorname{poly}(N,m)\cdot2^{\kappa} T ( N , m 2 κ ) + poly ( N , m ) ⋅ 2 κ .
(ii) If version spaces of B P 2 k \mathrm{BP}_{2k} BP 2 k samples of size m m m in dimension n n n can be counted (respectively, decided nonempty) in time T ′ ( n , m ) T'(n,m) T ′ ( n , m ) , then # k \#k # k -SAT (respectively, k k k -SAT) on N N N variables with M M M clauses can be solved in time T ′ ( N + k , M + k ) + poly ( N , M ) T'(N+k,M+k)+\operatorname{poly}(N,M) T ′ ( N + k , M + k ) + poly ( N , M ) .
(iii) If B P 2 k \mathrm{BP}_{2k} BP 2 k in dimension n n n has a proper ( ε , 1 / 3 ) (\varepsilon,1/3) ( ε , 1/3 ) -PAC learner that runs in time T ′ ( n , 1 / ε ) T'(n,1/\varepsilon) T ′ ( n , 1/ ε ) , then k k k -SAT on N N N variables with M M M clauses has a randomized algorithm with one-sided error that runs in time T ′ ( N + k , 2 ( M + k ) ) ⋅ poly ( N , M ) T'(N+k,2(M+k))\cdot\operatorname{poly}(N,M) T ′ ( N + k , 2 ( M + k )) ⋅ poly ( N , M ) .
Proof of Theorem 3.4. ⟨1⟩1. Part (i) holds.
Proof: Lemma 3.1 builds the κ \kappa κ -CNF Γ S \Gamma_S Γ S on N N N variables with at most m 2 κ m2^{\kappa} m 2 κ clauses in time poly ( N , m ) ⋅ 2 κ \operatorname{poly}(N,m)\cdot2^{\kappa} poly ( N , m ) ⋅ 2 κ , and ∣ V S ( S ) ∣ = # Γ S |VS(S)|=\#\Gamma_S ∣ V S ( S ) ∣ = # Γ S . The assumed algorithm counts it in time T ( N , m 2 κ ) T(N,m2^{\kappa}) T ( N , m 2 κ ) , because T T T is nondecreasing.
⟨1⟩2. Part (ii) holds.
Proof: Let F F F be a k k k -CNF on N N N variables with M M M clauses. Deleting tautological clauses changes neither # F \#F # F nor satisfiability. Lemma 3.3 gives a sample of at most M + k M+k M + k examples in dimension N + p ≤ N + k N+p \le N+k N + p ≤ N + k , with supports of size at most max { 2 k − 2 , 2 } ≤ 2 k \max\{2k-2,2\}\le2k max { 2 k − 2 , 2 } ≤ 2 k , whose version space has size # F \#F # F . Count it, or decide whether it is nonempty, in time T ′ ( N + k , M + k ) T'(N+k,M+k) T ′ ( N + k , M + k ) .
⟨1⟩3. Part (iii) holds.
⟨2⟩1. Let: F F F be a k k k -CNF on N N N variables with M M M clauses, without tautological clauses, and Let: S F S_F S F be the sample of Lemma 3.3, with M + p ≤ M + k M+p\le M+k M + p ≤ M + k examples. Let: D \mathcal{D} D be the uniform distribution on S F S_F S F . Run the learner on D \mathcal{D} D with ε = 1 / ( 2 ( M + k ) ) \varepsilon=1/(2(M+k)) ε = 1/ ( 2 ( M + k )) , simulating each example draw in polynomial time, for at most T ′ ( N + k , 2 ( M + k ) ) T'(N+k,2(M+k)) T ′ ( N + k , 2 ( M + k )) steps. If it does not halt in time, reject; otherwise check whether the output encodes a satisfying assignment.
⟨2⟩2. If F F F is satisfiable, the algorithm accepts with probability at least 2 / 3 2/3 2/3 .
Proof: By Lemma 3.3, D \mathcal{D} D is realizable. With probability at least 2 / 3 2/3 2/3 , the output σ \sigma σ has err D ( σ ) ≤ ε < 1 / ( M + p ) \operatorname{err}_{\mathcal{D}}(\sigma)\le\varepsilon<1/(M+p) err D ( σ ) ≤ ε < 1/ ( M + p ) . Errors under D \mathcal{D} D are multiples of 1 / ( M + p ) 1/(M+p) 1/ ( M + p ) , so σ \sigma σ is consistent with every example, and by Lemma 3.3 it encodes a satisfying assignment.
⟨2⟩3. If F F F is unsatisfiable, the algorithm rejects.
Proof: No assignment passes the check.
⟨2⟩4. Q.E.D.
Proof: By ⟨2⟩2 and ⟨2⟩3, the error is one-sided. The learner runs in dimension N + p ≤ N + k N+p\le N+k N + p ≤ N + k with 1 / ε = 2 ( M + k ) 1/\varepsilon=2(M+k) 1/ ε = 2 ( M + k ) , and each step costs at most poly ( N , M ) \operatorname{poly}(N,M) poly ( N , M ) for the simulation.
⟨1⟩4. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩3.
Width reduction
We use the branching procedure of Schuler [119 ] in the form of [51 Section 3.2] . For k ≥ 1 k \ge1 k ≥ 1 , the procedure Reduce k ( F ) \operatorname{Reduce}_k(F) Reduce k ( F ) works as follows on a CNF F F F without tautological clauses. After every assignment it deletes satisfied clauses and removes false literals; no step creates a tautological clause.
If F F F contains the empty clause, stop; this leaf contributes nothing. If F F F has no clause of width larger than k k k , output F F F as a leaf.
Otherwise let C C C be the first clause of width larger than k k k , and let C ′ ⊂ C C' \subset C C ′ ⊂ C consist of its first k k k literals. Recurse on the left branch F L = ( F ∖ { C } ) ∪ { C ′ } F_{\mathrm{L}} = (F \setminus\{C\}) \cup\{C'\} F L = ( F ∖ { C }) ∪ { C ′ } and on the right branch F R F_{\mathrm{R}} F R , which is F F F with the k k k literals of C ′ C' C ′ set to false.
Claim C.1. The satisfying assignments of F F F are the disjoint union of those of F L F_{\mathrm{L}} F L and of those of F R F_{\mathrm{R}} F R extended by the assignment that falsifies C ′ C' C ′ .
Proof of Claim C.1. ⟨1⟩1. Every satisfying assignment x x x of F F F lies in exactly one of the two sets.
Proof: If x x x satisfies C ′ C' C ′ , then x x x satisfies F L F_{\mathrm{L}} F L , and x x x does not falsify C ′ C' C ′ . If x x x falsifies C ′ C' C ′ , then x x x does not satisfy F L F_{\mathrm{L}} F L , and its restriction satisfies F R F_{\mathrm{R}} F R .
⟨1⟩2. Every element of the two sets satisfies F F F .
Proof: F L F_{\mathrm{L}} F L implies F F F because C ′ ⊆ C C' \subseteq C C ′ ⊆ C . An assignment that satisfies F R F_{\mathrm{R}} F R and falsifies C ′ C' C ′ satisfies every clause of F F F .
⟨1⟩3. Q.E.D.
Proof: By ⟨1⟩1 and ⟨1⟩2.
By induction, # F \#F # F is the sum over the leaves of the number of satisfying assignments of the leaf formula over the variables that are still free at the leaf, and F F F is satisfiable if and only if some leaf formula is.
Claim C.2. Let F F F have n n n variables and m m m clauses. Every leaf is reached along a path with at most m m m left branches and r ≤ ⌊ n / k ⌋ r \le\lfloor n/k \rfloor r ≤ ⌊ n / k ⌋ right branches, and its formula is a k k k -CNF on at most n − k r n - kr n − k r variables. At most ( m + r r ) \binom{m+r}{r} ( r m + r ) leaves have exactly r r r right branches.
Proof of Claim C.2. ⟨1⟩1. Every path has at most m m m left branches.
Proof: A left branch replaces a clause of width larger than k k k by one of width k k k . Right branches and simplifications never widen or create a clause. So the number of clauses of width larger than k k k drops at every left branch and never grows.
⟨1⟩2. A path with r r r right branches has r ≤ n / k r \le n/k r ≤ n / k , and its leaf has at most n − k r n - kr n − k r free variables.
Proof: Each right branch fixes k k k free variables.
⟨1⟩3. At most ( m + r r ) \binom{m+r}{r} ( r m + r ) leaf paths have exactly r r r right branches.
Proof: Pad each such path with trailing left branches to length m + r m+r m + r . No leaf path is a prefix of another, so two distinct paths with the same padding would be a prefix of one another. So the padding is injective into the words of length m + r m+r m + r with r r r right branches.
⟨1⟩4. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩3; a leaf formula has no clause of width larger than k k k .
Lemma 3.5
Lemma 3.5 (Width-reduction transfer). Let ρ ∈ ( 0 , 1 ] \rho\in(0,1] ρ ∈ ( 0 , 1 ] , c ≥ 1 c \ge1 c ≥ 1 , K 0 = 2 ( c + 1 ) / ρ K_0 = 2(c+1)/\rho K 0 = 2 ( c + 1 ) / ρ and K ′ = 2 K 0 K' = 2K_0 K ′ = 2 K 0 . Suppose that k k k -SAT (respectively, # k \#k # k -SAT) on n n n variables with k ≤ K ′ log n k \le K' \log n k ≤ K ′ log n and at most n 2 c n^{2c} n 2 c clauses can be solved in time O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) with error probability at most 1 / 3 1/3 1/3 . Then CNF-SAT (respectively, #CNF-SAT) on n n n variables with at most n c n^c n c clauses can be solved in time O ( 2 ρ n poly ( n ) ) O(2^{\rho n}\operatorname{poly}(n)) O ( 2 ρ n poly ( n )) with error probability at most 1 / 3 1/3 1/3 .
Proof of Lemma 3.5 . ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 1. Let: F F F have n n n variables and m ≤ n c m \le n^c m ≤ n c clauses, none of them tautological, and Let: k = ⌊ K 0 log n ⌋ k = \lfloor K_0 \log n \rfloor k = ⌊ K 0 log n ⌋ . Run Reduce k ( F ) \operatorname{Reduce}_k(F) Reduce k ( F ) , and solve each leaf as follows. A leaf with n ′ ≥ n n' \ge\sqrt{n} n ′ ≥ n free variables is solved by the assumed algorithm, repeated O ( n ) O(n) O ( n ) times with a majority vote, or the most frequent answer for counting. A leaf with n ′ < n n' < \sqrt{n} n ′ < n free variables is solved by brute force. Combine the leaf answers by Claim C.1 .
Proof: Deleting tautological clauses changes neither satisfiability nor the count. Small n n n is handled by brute force.
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 2. The assumed algorithm applies to every leaf with n ′ ≥ n n' \ge\sqrt{n} n ′ ≥ n , and each repeated run has error probability at most 2 − 2 n 2^{-2n} 2 − 2 n .
Proof: Here log n ′ ≥ 1 2 log n \log n' \ge\frac{1}{2}\log n log n ′ ≥ 2 1 log n , so the width is k ≤ K 0 log n ≤ K ′ log n ′ k \le K_0\log n \le K'\log n' k ≤ K 0 log n ≤ K ′ log n ′ . The number of clauses is at most m ≤ n c ≤ n ′ 2 c m \le n^c \le n'^{2c} m ≤ n c ≤ n ′ 2 c . Repetition with a majority vote reduces the error to 2 − 2 n 2^{-2n} 2 − 2 n .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 3. The large leaves cost O ( n ) ⋅ ∑ r ( m + r r ) O ( 2 ρ ( n − k r ) ) ≤ O ( n ) ⋅ e ⋅ 2 ρ n O(n)\cdot\sum_r \binom{m+r}{r}O(2^{\rho(n-kr)}) \le O(n)\cdot e\cdot2^{\rho n} O ( n ) ⋅ ∑ r ( r m + r ) O ( 2 ρ ( n − k r ) ) ≤ O ( n ) ⋅ e ⋅ 2 ρ n in total.
Proof: By Claim C.2 , ( m + r r ) ≤ ( m + ⌊ n / k ⌋ r ) \binom{m+r}{r}\le\binom{m+\lfloor n/k\rfloor}{r} ( r m + r ) ≤ ( r m + ⌊ n / k ⌋ ) , and the binomial theorem gives
∑ r = 0 ⌊ n / k ⌋ ( m + r r ) 2 ρ ( n − k r ) ≤ 2 ρ n ( 1 + 2 − ρ k ) m + n / k ≤ 2 ρ n exp ( ( m + n / k ) 2 − ρ k ) ≤ e ⋅ 2 ρ n . \sum_{r=0}^{\lfloor n/k\rfloor}\binom{m+r}{r}2^{\rho(n-kr)}\le2^{\rho n}\left(1+2^{-\rho k}\right)^{m+n/k}\le2^{\rho n}\exp\left((m+n/k)2^{-\rho k}\right)\le e\cdot2^{\rho n}. r = 0 ∑ ⌊ n / k ⌋ ( r m + r ) 2 ρ ( n − k r ) ≤ 2 ρ n ( 1 + 2 − ρ k ) m + n / k ≤ 2 ρ n exp ( ( m + n / k ) 2 − ρ k ) ≤ e ⋅ 2 ρ n .
The last step uses k ≥ K 0 log n − 1 k\ge K_0\log n-1 k ≥ K 0 log n − 1 , so 2 − ρ k ≤ 2 n − ρ K 0 = 2 n − 2 ( c + 1 ) 2^{-\rho k}\le2n^{-\rho K_0}=2n^{-2(c+1)} 2 − ρ k ≤ 2 n − ρ K 0 = 2 n − 2 ( c + 1 ) , and 2 ( m + n / k ) n − 2 ( c + 1 ) ≤ 2 ( n c + n ) n − 2 c − 2 ≤ 1 2(m+n/k)n^{-2(c+1)}\le2(n^c+n)n^{-2c-2}\le1 2 ( m + n / k ) n − 2 ( c + 1 ) ≤ 2 ( n c + n ) n − 2 c − 2 ≤ 1 for n ≥ 2 n\ge2 n ≥ 2 .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 4. The tree has at most 2 ( ρ / 2 + o ( 1 ) ) n 2^{(\rho/2+o(1))n} 2 ( ρ /2 + o ( 1 )) n leaves, and the small leaves cost O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) in total.
Proof: By Claim C.2 , the number of leaves is at most
∑ r ≤ n / k ( m + r r ) ≤ ( n + 1 ) ( m + ⌊ n / k ⌋ ⌊ n / k ⌋ ) ≤ ( n + 1 ) ( e ( m + n / k ) n / k ) n / k ≤ ( n + 1 ) ( 2 e k n c ) n / k . \sum_{r\le n/k}\binom{m+r}{r}\le(n+1)\binom{m+\lfloor n/k\rfloor}{\lfloor n/k\rfloor}\le(n+1)\left(\frac{e(m+n/k)}{n/k}\right)^{n/k}\le(n+1)(2ekn^c)^{n/k}. r ≤ n / k ∑ ( r m + r ) ≤ ( n + 1 ) ( ⌊ n / k ⌋ m + ⌊ n / k ⌋ ) ≤ ( n + 1 ) ( n / k e ( m + n / k ) ) n / k ≤ ( n + 1 ) ( 2 e k n c ) n / k .
Its logarithm is at most n K 0 log n − 1 ( c log n + log ( 2 e k ) ) + log ( n + 1 ) = ( c / K 0 + o ( 1 ) ) n ≤ ( ρ / 2 + o ( 1 ) ) n \frac{n}{K_0\log n-1}(c\log n+\log(2ek))+\log(n+1)=(c/K_0+o(1))n\le(\rho/2+o(1))n K 0 l o g n − 1 n ( c log n + log ( 2 e k )) + log ( n + 1 ) = ( c / K 0 + o ( 1 )) n ≤ ( ρ /2 + o ( 1 )) n , because c / K 0 = c ρ / ( 2 ( c + 1 ) ) ≤ ρ / 2 c/K_0=c\rho/(2(c+1))\le\rho/2 c / K 0 = c ρ / ( 2 ( c + 1 )) ≤ ρ /2 . Each small leaf costs 2 n poly ( n ) 2^{\sqrt{n}}\operatorname{poly}(n) 2 n poly ( n ) .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 5. All leaf answers are correct with probability at least 1 − 2 − n 1-2^{-n} 1 − 2 − n .
Proof: By ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 2, ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 4 and a union bound over at most 2 n 2^n 2 n leaves.
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 6. Q.E.D.
Proof: The tree has at most twice as many nodes as leaves, each with poly ( n , m ) \operatorname{poly}(n,m) poly ( n , m ) work. With ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 3 and ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 4, the total time is O ( 2 ρ n poly ( n ) ) O(2^{\rho n}\operatorname{poly}(n)) O ( 2 ρ n poly ( n )) . By ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 5 and Claim C.1 , the combined answer is correct with probability at least 1 − 2 − n ≥ 2 / 3 1-2^{-n}\ge2/3 1 − 2 − n ≥ 2/3 .
Hardness at logarithmic locality
Corollary 3.6. (a) Under Hypothesis 2.9 , for every γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) there are K ′ , c ′ K',c' K ′ , c ′ such that k k k -SAT with k ≤ K ′ log n k\le K'\log n k ≤ K ′ log n cannot be solved in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) , even on instances with at most n c ′ n^{c'} n c ′ clauses. The same holds for counting under Hypothesis 2.10 .
(b) Under Hypothesis 2.11 , there are K ′ , c ′ , ρ > 0 K',c',\rho>0 K ′ , c ′ , ρ > 0 such that k k k -SAT with k ≤ K ′ log n k\le K'\log n k ≤ K ′ log n and at most n c ′ n^{c'} n c ′ clauses cannot be solved in time O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) .
Proof of Corollary 3.6 . ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 1. Part (a) holds.
Proof: Let c c c be the constant that Hypothesis 2.9 gives for γ / 2 \gamma/2 γ /2 , and put c ′ = 2 c c' = 2c c ′ = 2 c and ρ = 1 − γ \rho= 1-\gamma ρ = 1 − γ ; let K ′ K' K ′ be as in Lemma 3.5 . An O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) algorithm for k ≤ K ′ log n k \le K'\log n k ≤ K ′ log n and at most n c ′ n^{c'} n c ′ clauses would, by Lemma 3.5 , solve CNF-SAT with at most n c ′ n^{c'} n c ′ clauses in time O ( 2 ( 1 − γ ) n poly ( n ) ) ⊆ O ( 2 ( 1 − γ / 2 ) n ) O(2^{(1-\gamma)n}\operatorname{poly}(n)) \subseteq O(2^{(1-\gamma/2)n}) O ( 2 ( 1 − γ ) n poly ( n )) ⊆ O ( 2 ( 1 − γ /2 ) n ) , which contradicts Hypothesis 2.9 . The counting statement follows in the same way from Hypothesis 2.10 .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 2. Part (b) holds.
Proof: Let c , ρ 0 c,\rho_0 c , ρ 0 be the constants of Hypothesis 2.11 , and put c ′ = 2 c c'=2c c ′ = 2 c and ρ = ρ 0 / 2 \rho=\rho_0/2 ρ = ρ 0 /2 . An O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) algorithm would solve CNF-SAT with at most n c n^c n c clauses in time O ( 2 ρ n poly ( n ) ) ⊆ O ( 2 ρ 0 n ) O(2^{\rho n}\operatorname{poly}(n)) \subseteq O(2^{\rho_0 n}) O ( 2 ρ n poly ( n )) ⊆ O ( 2 ρ 0 n ) .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 3. Q.E.D.
Proof: By ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 1 and ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 2.
Theorem 3.8 (Hardness at logarithmic locality). Assume Hypothesis 2.9 . For every γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) there are constants K K K and c γ c_\gamma c γ with the following properties. No randomized algorithm decides in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) whether a sample of size at most n c γ n^{c_\gamma} n c γ in dimension n n n is consistent with some binarized perceptron on ⌈ K log n ⌉ \lceil K\log n\rceil ⌈ K log n ⌉ -sparse data. No proper ( n − c γ , 1 / 3 ) (n^{-c_\gamma},1/3) ( n − c γ , 1/3 ) -PAC learner for B P ⌈ K log n ⌉ \mathrm{BP}_{\lceil K\log n\rceil} BP ⌈ K l o g n ⌉ runs in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) . Under Hypothesis 2.10 , the same holds for counting version spaces. Under Hypothesis 2.11 , there are K , ρ > 0 K,\rho>0 K , ρ > 0 with the same statements for time O ( 2 ρ n ) O(2^{\rho n}) O ( 2 ρ n ) .
Proof of Theorem 3.8. ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 1. Let: K ′ , c ′ K',c' K ′ , c ′ be given by Corollary 3.6 (a) for γ / 2 \gamma/2 γ /2 , and Let: K = 2 K ′ + 2 K=2K'+2 K = 2 K ′ + 2 and c γ = c ′ + 2 c_\gamma=c'+2 c γ = c ′ + 2 . Let: F F F be a k k k -CNF on N N N variables with k = ⌊ K ′ log N ⌋ k=\lfloor K'\log N\rfloor k = ⌊ K ′ log N ⌋ and at most N c ′ N^{c'} N c ′ clauses, and Let: S F S_F S F be the sample of Lemma 3.3, in dimension n = N + p n=N+p n = N + p .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 2. The sample S F S_F S F is a B P ⌈ K log n ⌉ \mathrm{BP}_{\lceil K\log n\rceil} BP ⌈ K l o g n ⌉ sample of size at most n c γ n^{c_\gamma} n c γ , and n ≤ N + K ′ log N n \le N+K'\log N n ≤ N + K ′ log N .
Proof: The sparsity is at most 2 k ≤ K log n 2k \le K\log n 2 k ≤ K log n , the size is at most N c ′ + k ≤ n c ′ + n ≤ n c ′ + 2 N^{c'}+k \le n^{c'}+n \le n^{c'+2} N c ′ + k ≤ n c ′ + n ≤ n c ′ + 2 , and p ≤ k p \le k p ≤ k .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 3. A consistency test in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) contradicts Corollary 3.6 (a).
Proof: It decides F F F in time O ( 2 ( 1 − γ ) ( N + K ′ log N ) ) + poly ( N ) ⊆ O ( 2 ( 1 − γ / 2 ) N ) O(2^{(1-\gamma)(N+K'\log N)})+\operatorname{poly}(N) \subseteq O(2^{(1-\gamma/2)N}) O ( 2 ( 1 − γ ) ( N + K ′ l o g N ) ) + poly ( N ) ⊆ O ( 2 ( 1 − γ /2 ) N ) .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 4. A proper ( n − c γ , 1 / 3 ) (n^{-c_\gamma},1/3) ( n − c γ , 1/3 ) -PAC learner in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) contradicts Corollary 3.6 (a).
Proof: The argument of Theorem 3.4(iii) needs an accuracy below 1 / ( M + p ) 1/(M+p) 1/ ( M + p ) , and n − c γ ≤ 1 / ( 2 ( n c ′ + n ) ) ≤ 1 / ( 2 ( M + k ) ) n^{-c_\gamma} \le1/(2(n^{c'}+n)) \le1/(2(M+k)) n − c γ ≤ 1/ ( 2 ( n c ′ + n )) ≤ 1/ ( 2 ( M + k )) . It gives a one-sided randomized algorithm for F F F with the time bound of ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 3.
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 5. The counting and CNF-ETH statements hold.
Proof: Use Theorem 3.4(ii) with the counting part of Corollary 3.6 (a), and Corollary 3.6 (b), in the same way.
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 6. Q.E.D.
Proof: By ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 3–⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 5.
Corollary 3.9 (The data-sparsity transition). Consider binarized perceptrons on k k k -sparse data in dimension n n n , with samples of polynomial size.
(a) If k = o ( ( log n ) 1 / 4 / log log n ) k=o((\log n)^{1/4}/\sqrt{\log\log n}) k = o (( log n ) 1/4 / log log n ) , then consistency, version-space counting, uniform sampling, and proper PAC learning at any accuracy take time poly ( m ) ⋅ 2 o ( n ) \operatorname{poly}(m)\cdot2^{o(n)} poly ( m ) ⋅ 2 o ( n ) .
(b) Under Hypothesis 2.9 , for every γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) there are K K K and c γ c_\gamma c γ such that for k ≥ K log n k \ge K\log n k ≥ K log n , consistency and proper PAC learning to accuracy n − c γ n^{-c_\gamma} n − c γ cannot be done in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) . Under Hypothesis 2.10 , the same holds for version-space counting.
The same dichotomy holds for literal disjunctions L D k \mathrm{LD}_k LD k . There, a sample of positive examples is literally a k k k -CNF, and (b) follows from Corollary 3.6 without a gadget.
Proof of Corollary 3.9. ⟨1⟩1. Part (a) holds.
Proof: The class B P k \mathrm{BP}_k BP k is k k k -local with N = n N=n N = n , and consistency is the question whether ∣ V S ( S ) ∣ > 0 |\mathrm{VS}(S)|>0 ∣ VS ( S ) ∣ > 0 . Apply Theorem 3.2 with κ = k \kappa=k κ = k .
⟨1⟩2. Part (b) holds.
Proof: By Theorem 3.8. A ⌈ K log n ⌉ \lceil K\log n\rceil ⌈ K log n ⌉ -sparse sample is also k k k -sparse for every integer k ≥ K log n k\ge K\log n k ≥ K log n , so the hardness extends to all such k k k .
⟨1⟩3. The statements hold for L D k \mathrm{LD}_k LD k .
Proof: Part (a) holds as in ⟨1⟩1. For (b), a k k k -CNF without tautological clauses is a sample of positive L D k \mathrm{LD}_k LD k examples (Example 2.3(a)), so Corollary 3.6 applies directly, and the argument of Theorem 3.4(iii) covers learners.
⟨1⟩4. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩3.
Sample-sensitive realizable learning
Theorem 3.10 (Sample-sensitive realizable learning). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N and VC dimension d ≥ 1 d\ge1 d ≥ 1 , and let ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . With m = ⌈ m V C ⌉ m=\lceil m_{\mathrm{VC}}\rceil m = ⌈ m VC ⌉ examples, H \mathcal{H} H is properly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -PAC learnable by an algorithm that is deterministic after sampling and runs in time
poly ( N , m ) ⋅ exp ( O ( κ ( d log ( 2 / ε ) + log ( 2 / δ ) ) ε log ( 2 d / ε ) + κ 2 ) ) . \operatorname{poly}(N,m)\cdot\exp\left(O\left(\frac{\kappa\left(d\log(2/\varepsilon)+\log(2/\delta)\right)}{\varepsilon\sqrt{\log(2d/\varepsilon)}}+\kappa^2\right)\right). poly ( N , m ) ⋅ exp ( O ( ε log ( 2 d / ε ) κ ( d log ( 2/ ε ) + log ( 2/ δ ) ) + κ 2 ) ) . For constant ε \varepsilon ε and δ \delta δ the time is 2 O ( κ N / log N + κ 2 ) 2^{O(\kappa N/\sqrt{\log N}+\kappa^2)} 2 O ( κ N / l o g N + κ 2 ) , which is 2 o ( N ) 2^{o(N)} 2 o ( N ) whenever κ = o ( log N ) \kappa=o(\sqrt{\log N}) κ = o ( log N ) .
Proof of Theorem 3.10. ⟨1⟩1. Let: S S S be a sample of m = ⌈ m V C ⌉ m=\lceil m_{\mathrm{VC}}\rceil m = ⌈ m VC ⌉ examples. With probability at least 1 − δ 1-\delta 1 − δ , every w ∈ V S ( S ) w\in\mathrm{VS}(S) w ∈ VS ( S ) has err D ( w ) ≤ ε \operatorname{err}_{D}(w)\le\varepsilon err D ( w ) ≤ ε .
Proof: Imported Theorem 2.1(b).
⟨1⟩2. With probability 1 1 1 , V S ( S ) ≠ ∅ \mathrm{VS}(S)\ne\varnothing VS ( S ) = ∅ .
Proof: Because O P T = 0 \mathrm{OPT}=0 OPT = 0 , some w ∗ w^* w ∗ has err D ( w ∗ ) = 0 \operatorname{err}_{D}(w^*)=0 err D ( w ∗ ) = 0 , so each example is consistent with w ∗ w^* w ∗ with probability 1 1 1 .
⟨1⟩3. If V S ( S ) ≠ ∅ \mathrm{VS}(S)\ne\varnothing VS ( S ) = ∅ , the following procedure outputs an element of V S ( S ) \mathrm{VS}(S) VS ( S ) after at most κ m + 1 \kappa m+1 κm + 1 profile computations. Process the bits of R ( S ) R(S) R ( S ) in order, and fix each to a value for which the coefficient of V 0 V^0 V 0 in the profile of the descriptions that extend the current partial assignment stays positive. Set all other bits to 0 0 0 .
Proof: The coefficient is positive at the start, and at each step it is the sum of the coefficients for the two values, so one value keeps it positive. At the end all bits of R ( S ) R(S) R ( S ) are fixed, and a positive coefficient of V 0 V^0 V 0 means that the fixed bits make no error. The other bits do not affect any label.
⟨1⟩4. Each profile computation takes time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) with s = max { 4 κ m , m + 1 , κ 2 } ≤ 6 κ m + κ 2 s=\max\{4\kappa m,m+1,\kappa^2\}\le6\kappa m+\kappa^2 s = max { 4 κm , m + 1 , κ 2 } ≤ 6 κm + κ 2 , and log s ≥ log ( 2 d / ε ) ≥ 1 \log s\ge\log(2d/\varepsilon)\ge1 log s ≥ log ( 2 d / ε ) ≥ 1 .
Proof: The time is Lemma 2.8. For the bound on log s \log s log s : because C B ≥ 1 C_B\ge1 C B ≥ 1 and log ( 2 / ε ) ≥ 1 \log(2/\varepsilon)\ge1 log ( 2/ ε ) ≥ 1 , we have s ≥ 4 m ≥ 4 d / ε ≥ 2 d / ε ≥ 2 s\ge4m\ge4d/\varepsilon\ge2d/\varepsilon\ge2 s ≥ 4 m ≥ 4 d / ε ≥ 2 d / ε ≥ 2 .
⟨1⟩5. The total time satisfies the displayed bound. Proof: By ⟨1⟩4, s / log s ≤ ( 6 κ m + κ 2 ) / log ( 2 d / ε ) s/\sqrt{\log s} \le(6\kappa m+\kappa^2)/\sqrt{\log(2d/\varepsilon)} s / log s ≤ ( 6 κm + κ 2 ) / log ( 2 d / ε ) , and m = O ( ( d log ( 2 / ε ) + log ( 2 / δ ) ) / ε ) m=O((d\log(2/\varepsilon)+\log(2/\delta))/\varepsilon) m = O (( d log ( 2/ ε ) + log ( 2/ δ )) / ε ) . The factor κ m + 1 \kappa m+1 κm + 1 of ⟨1⟩3 is polynomial.
⟨1⟩6. For constant ε \varepsilon ε and δ \delta δ the time is 2 O ( κ N / log N + κ 2 ) 2^{O(\kappa N/\sqrt{\log N+\kappa^2})} 2 O ( κ N / l o g N + κ 2 ) .
Proof: Here m = O ( d ) m=O(d) m = O ( d ) and the exponent is O ( κ d / log ( 2 d / ε ) + κ 2 ) O(\kappa d/\sqrt{\log(2d/\varepsilon)}+\kappa^2) O ( κ d / log ( 2 d / ε ) + κ 2 ) . The function x ↦ x / log x x\mapsto x/\sqrt{\log x} x ↦ x / log x is increasing for x ≥ 2 x\ge2 x ≥ 2 , and d ≤ N d\le N d ≤ N , so d / log ( 2 d / ε ) = O ( N / log N ) d/\sqrt{\log(2d/\varepsilon)}=O(N/\sqrt{\log N}) d / log ( 2 d / ε ) = O ( N / log N ) .
⟨1⟩7. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩6. The exponent is o ( N ) o(N) o ( N ) when κ = o ( log N ) \kappa=o(\sqrt{\log N}) κ = o ( log N ) , because then also κ 2 = o ( log N ) \kappa^2=o(\log N) κ 2 = o ( log N ) .
Proofs for Section 4: the accuracy transition
Exact ERM, agnostic learning and Max-CSP
Theorem 4.1 (Exact ERM). For a κ \kappa κ -local class and any sample S S S of size m m m , a minimizer of err S \operatorname{err}_S err S , the number of minimizers and the entire error profile can be computed in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 κ m , m + 1 , κ 2 } s=\max\{4\kappa m,m+1,\kappa^2\} s = max { 4 κm , m + 1 , κ 2 } . In particular, for constant κ \kappa κ and m = O ( N ) m=O(N) m = O ( N ) , exact ERM takes time 2 O ( N / log N ) 2^{O(N/\sqrt{\log N})} 2 O ( N / l o g N ) .
Proof of Theorem 4.1. ⟨1⟩1. The profile E S E_S E S , the minimum number j ∗ j^* j ∗ of errors, and the number c j ∗ c_{j^*} c j ∗ of minimizers can be computed in the stated time.
Proof: Lemma 2.8 gives E S = ∑ j c j V j E_S=\sum_j c_jV^j E S = ∑ j c j V j , and j ∗ = min { j : c j ≠ 0 } j^*=\min\{j:c_j\ne0\} j ∗ = min { j : c j = 0 } .
⟨1⟩2. The following procedure finds a minimizer with at most κ m + 1 \kappa m+1 κm + 1 further profile computations. Process the bits of R ( S ) R(S) R ( S ) in order, and fix each to a value for which the profile of the descriptions that extend the current partial assignment has a nonzero coefficient at V j ∗ V^{j^*} V j ∗ . Set all other bits to 0.
⟨2⟩1. At every step some value keeps the coefficient at V j ∗ V^{j^*} V j ∗ nonzero.
Proof: The profile before the step is the sum of the two restricted profiles, and all coefficients are nonnegative.
⟨2⟩2. The output has exactly j ∗ j^* j ∗ errors.
Proof: At the end all bits of R ( S ) R(S) R ( S ) are fixed, and a nonzero coefficient at V j ∗ V^{j^*} V j ∗ means that these bits make exactly j ∗ j^* j ∗ errors. The other bits do not affect any label.
⟨2⟩3. Q.E.D.
Proof: By ⟨2⟩1 and ⟨2⟩2, with one profile computation per bit of R ( S ) R(S) R ( S ) .
⟨1⟩3. For constant κ \kappa κ and m = O ( N ) m=O(N) m = O ( N ) , the time is 2 O ( N / log N ) 2^{O(N/\sqrt{\log N})} 2 O ( N / l o g N ) .
Proof: Then s = O ( N ) s=O(N) s = O ( N ) , and x ↦ x / log x x\mapsto x/\sqrt{\log x} x ↦ x / log x is increasing for x ≥ 2 x\ge2 x ≥ 2 .
⟨1⟩4. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩3 and Lemma 2.8 .
:::
Corollary 4.2 (Consistency is SAT by length). Assume E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len , and let θ > 0 \theta>0 θ > 0 . No randomized algorithm with error probability at most 1 / 3 1/3 1/3 decides in time 2 m / ( log m ) C + θ 2^{m/(\log m)^{C+\theta}} 2 m / ( l o g m ) C + θ whether a sample of m m m positive examples of L D 3 \mathrm{LD}_3 LD 3 is consistent. So for 3-local classes, Theorem 4.1 is optimal up to a factor ( log m ) C − 1 / 2 + θ (\log m)^{C-1/2+\theta} ( log m ) C − 1/2 + θ in the exponent.
Proof of Corollary 4.2. ⟨1⟩1. Let: F F F be a CNF of length L L L . Let: F ′ F' F ′ arise from F F F by replacing each clause ( λ 1 ∨ ⋯ ∨ λ r ) (\lambda_1\vee\cdots\vee\lambda_r) ( λ 1 ∨ ⋯ ∨ λ r ) with r ≥ 4 r\ge4 r ≥ 4 by the chain of step ⟨1⟩3 in the proof of Lemma 4.8, with fresh variables, and by deleting tautological clauses. Then F ′ F' F ′ is satisfiable if and only if F F F is, its clauses have width at most 3, and it has at most L L L clauses.
Proof: A satisfying assignment extends to the fresh variables of each chain, and an assignment that falsifies a clause falsifies some clause of its chain; see steps ⟨ 1 ⟩ 5 \langle1\rangle5 ⟨ 1 ⟩ 5 and ⟨ 1 ⟩ 6 \langle1\rangle6 ⟨ 1 ⟩ 6 of the proof of Lemma 4.8. A clause of width r ≥ 4 r \ge4 r ≥ 4 yields r − 2 ≤ r r-2 \le r r − 2 ≤ r clauses.
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . The sample S = { ( x C , 1 ) : C ∈ F ′ } S = \{(x_C,1): C \in F'\} S = {( x C , 1 ) : C ∈ F ′ } consists of m ≤ L m \le L m ≤ L positive examples of L D 3 \mathrm{LD}_3 LD 3 , and it is consistent if and only if F F F is satisfiable.
Proof: By Example 2.3(a), the hypothesis σ \sigma σ labels x C x_C x C positive if and only if σ \sigma σ satisfies C C C . Apply ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 .
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . An algorithm as excluded in the statement decides F F F in time 2 L / ( log L ) C + θ + poly ( L ) < 2 L / ( log L ) C 2^{L/(\log L)^{C+\theta}}+\operatorname{poly}(L)<2^{L/(\log L)^C} 2 L / ( l o g L ) C + θ + poly ( L ) < 2 L / ( l o g L ) C for all large L L L .
Proof: The function x ↦ x / ( log x ) C + θ x \mapsto x/(\log x)^{C+\theta} x ↦ x / ( log x ) C + θ is increasing for large x x x , m ≤ L m \le L m ≤ L , and the reduction takes polynomial time.
⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 . For κ = 3 \kappa=3 κ = 3 , Theorem 4.1 decides consistency on m m m examples in time poly ( N ) ⋅ 2 O ( m / log m ) \operatorname{poly}(N)\cdot2^{O(m/\sqrt{\log m})} poly ( N ) ⋅ 2 O ( m / l o g m ) .
Proof: Here s = max { 12 m , m + 1 , 9 } = O ( m ) s=\max\{12m,m+1,9\}=O(m) s = max { 12 m , m + 1 , 9 } = O ( m ) and log s ≥ log m \log s\ge\log m log s ≥ log m .
⟨ 1 ⟩ 5 \langle1\rangle5 ⟨ 1 ⟩ 5 . Q.E.D.
Proof: By ⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 , such an algorithm contradicts E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len . By ⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 , the exponents of the upper and the lower bound differ by a factor of at most O ( ( log m ) C − 1 / 2 + θ ) O((\log m)^{C-1/2+\theta}) O (( log m ) C − 1/2 + θ ) .
Theorem 4.3 (Agnostic transfer). Let H \mathcal{H} H be κ \kappa κ -local with description length N N N and VC dimension d d d , and let ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . Exact ERM on m = ⌈ m U C ⌉ m=\lceil m_{\mathrm{UC}}\rceil m = ⌈ m UC ⌉ examples is a proper ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -agnostic learner, and it runs deterministically after sampling in time
poly ( N , m ) ⋅ exp ( O ( κ ( d + log ( 1 / δ ) ) ε 2 log ( 2 d / ε ) + κ 2 ) ) . \operatorname{poly}(N,m)\cdot\exp\left(O\left(\frac{\kappa(d+\log(1/\delta))}{\varepsilon^2\sqrt{\log(2d/\varepsilon)}}+\kappa^2\right)\right). poly ( N , m ) ⋅ exp ( O ( ε 2 log ( 2 d / ε ) κ ( d + log ( 1/ δ )) + κ 2 ) ) . If κ / ε 2 = o ( log N ) \kappa/\varepsilon^2=o(\sqrt{\log N}) κ / ε 2 = o ( log N ) and δ \delta δ is constant, the time is 2 o ( N ) 2^{o(N)} 2 o ( N ) .
Proof of Theorem 4.3. ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . With probability at least 1 − δ 1-\delta 1 − δ , every minimizer of err S \operatorname{err}_S err S on m = ⌈ m U C ⌉ m=\lceil m_{\mathrm{UC}}\rceil m = ⌈ m UC ⌉ examples is ε \varepsilon ε -optimal.
Proof: Imported Theorem 2.1(c).
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . Theorem 4.1 finds a minimizer in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) with s = max { 4 κ m , m + 1 , κ 2 } ≤ 6 κ m + κ 2 s=\max\{4\kappa m,m+1,\kappa^2\}\le6\kappa m+\kappa^2 s = max { 4 κm , m + 1 , κ 2 } ≤ 6 κm + κ 2 , and log s ≥ log ( 2 d / ε ) ≥ 1 \log s\ge\log(2d/\varepsilon)\ge1 log s ≥ log ( 2 d / ε ) ≥ 1 .
Proof: Because C 0 ≥ 1 C_0\ge1 C 0 ≥ 1 and ε < 1 \varepsilon<1 ε < 1 , we have s ≥ 4 κ m ≥ 4 d / ε 2 ≥ 2 d / ε ≥ 2 s\ge4\kappa m\ge4d/\varepsilon^2\ge2d/\varepsilon\ge2 s ≥ 4 κm ≥ 4 d / ε 2 ≥ 2 d / ε ≥ 2 .
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . The time satisfies the displayed bound.
Proof: By ⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 , s / log s ≤ ( 6 κ m + κ 2 ) / log ( 2 d / ε ) s/\sqrt{\log s}\le(6\kappa m+\kappa^2)/\sqrt{\log(2d/\varepsilon)} s / log s ≤ ( 6 κm + κ 2 ) / log ( 2 d / ε ) , and m = O ( ( d + log ( 1 / δ ) ) / ε 2 ) m=O((d+\log(1/\delta))/\varepsilon^2) m = O (( d + log ( 1/ δ )) / ε 2 ) .
⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 . If κ / ε 2 = o ( log N ) \kappa/\varepsilon^2=o(\sqrt{\log N}) κ / ε 2 = o ( log N ) and δ \delta δ is constant, the time is 2 o ( N ) 2^{o(N)} 2 o ( N ) .
⟨ 2 ⟩ 1 \langle2\rangle1 ⟨ 2 ⟩ 1 . Case: d ≥ N d\ge\sqrt{N} d ≥ N . Then log ( 2 d / ε ) ≥ 1 2 log N \log(2d/\varepsilon)\ge\frac{1}{2}\log N log ( 2 d / ε ) ≥ 2 1 log N , and the exponent is O ( κ N / ( ε 2 log N ) ) + O ( κ 2 ) = o ( N ) O(\kappa N/(\varepsilon^2\sqrt{\log N}))+O(\kappa^2)=o(N) O ( κ N / ( ε 2 log N )) + O ( κ 2 ) = o ( N ) .
Proof: Use d ≤ N d\le N d ≤ N and κ 2 ≤ ( κ / ε 2 ) 2 = o ( log N ) \kappa^2\le(\kappa/\varepsilon^2)^2=o(\log N) κ 2 ≤ ( κ / ε 2 ) 2 = o ( log N ) .
⟨ 2 ⟩ 2 \langle2\rangle2 ⟨ 2 ⟩ 2 . Case: d < N d<\sqrt{N} d < N . Then the exponent is O ( κ N / ε 2 ) + O ( κ 2 ) = o ( N ) O(\kappa\sqrt{N}/\varepsilon^2)+O(\kappa^2)=o(N) O ( κ N / ε 2 ) + O ( κ 2 ) = o ( N ) .
Proof: Use log ( 2 d / ε ) ≥ 1 \log(2d/\varepsilon)\ge1 log ( 2 d / ε ) ≥ 1 and κ / ε 2 = o ( log N ) \kappa/\varepsilon^2=o(\sqrt{\log N}) κ / ε 2 = o ( log N ) .
⟨ 2 ⟩ 3 \langle2\rangle3 ⟨ 2 ⟩ 3 . Q.E.D.
Proof: The cases are exhaustive. The factor poly ( N , m ) \operatorname{poly}(N,m) poly ( N , m ) is 2 o ( N ) 2^{o(N)} 2 o ( N ) , because 1 / ε 2 = o ( log N ) 1/\varepsilon^2=o(\sqrt{\log N}) 1/ ε 2 = o ( log N ) .
Q.E.D. Proof: By ⟨1⟩1–⟨1⟩4.
Corollary 4.4 (Sparse Max-CSP). Let Φ \Phi Φ be a Boolean constraint system on n n n variables with M M M constraints of arity at most k k k . For every j j j , the number of assignments that violate exactly j j j constraints can be computed in time poly ( n , M ) ⋅ 2 O ( s / log s ) \operatorname{poly}(n,M)\cdot2^{O(s/\sqrt{\log s})} poly ( n , M ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 k M , n + 1 , M + 1 , k 2 } s=\max\{4kM,n+1,M+1,k^{2}\} s = max { 4 k M , n + 1 , M + 1 , k 2 } . In particular, for every constant c c c , Max-3-SAT with n n n variables and at most c n cn c n clauses can be solved in time 2 O ( ( 1 + c ) n / log n ) 2^{O((1+c)n/\sqrt{\log n})} 2 O (( 1 + c ) n / l o g n ) . With positive integer clause weights at most W W W , the same holds with s = max { 4 k M , n + 1 , W M + 1 , k 2 } s=\max\{4kM,n+1,WM+1,k^{2}\} s = max { 4 k M , n + 1 , W M + 1 , k 2 } , and Max-3-SAT takes time 2 O ( ( 1 + c W ) n / log n ) 2^{O((1+cW)n/\sqrt{\log n})} 2 O (( 1 + c W ) n / l o g n ) .
Proof of Corollary 4.4. ⟨1⟩1. Let: Φ ′ \Phi' Φ ′ be the factor graph over B P , ℓ \mathcal{B}_{P,\ell} B P , ℓ with P = n + 1 P=n+1 P = n + 1 and ℓ = M + 1 \ell=M+1 ℓ = M + 1 that has, for each constraint, a factor with entry 1 1 1 where the constraint holds and V V V where it fails. Then Z ( Φ ′ ) = ∑ j c j V j Z(\Phi')=\sum_j c_jV^j Z ( Φ ′ ) = ∑ j c j V j , where c j c_j c j is the number of assignments that violate exactly j j j constraints.
Proof: Each assignment contributes V V V to the power of its number of violations, which is at most M < ℓ M<\ell M < ℓ . Each coefficient is at most 2 n < 2 P 2^n<2^P 2 n < 2 P .
⟨1⟩2. Theorem 2.7 applies with s = max { 4 k M , n + 1 , M + 1 , k 2 } s=\max\{4kM,n+1,M+1,k^{2}\} s = max { 4 k M , n + 1 , M + 1 , k 2 } .
Proof: The size is at most k M kM k M , P = n + 1 P=n+1 P = n + 1 , ℓ = M + 1 \ell=M+1 ℓ = M + 1 , and the arity is at most k ≤ s 1 / 2 k\le s^{1/2} k ≤ s 1/2 .
⟨1⟩3. Max-3-SAT with M ≤ c n M\le cn M ≤ c n clauses takes time 2 O ( ( 1 + c ) n / log n ) 2^{O((1+c)n/\sqrt{\log n})} 2 O (( 1 + c ) n / l o g n ) .
Proof: Here s ≤ max { 12 c n , n + 1 , c n + 1 , 9 } ≤ ( 12 c + 1 ) n + 10 s\le\max\{12cn,n+1,cn+1,9\}\le(12c+1)n+10 s ≤ max { 12 c n , n + 1 , c n + 1 , 9 } ≤ ( 12 c + 1 ) n + 10 and log s ≥ log n \log s\ge\log n log s ≥ log n . The maximum number of satisfied clauses is M − min { j : c j ≠ 0 } M-\min\{j:c_j\ne0\} M − min { j : c j = 0 } .
⟨1⟩4. The weighted statements hold.
Proof: Give a violated clause C C C the entry V wt ( C ) V^{\operatorname{wt}(C)} V wt ( C ) and take ℓ = W M + 1 \ell=WM+1 ℓ = W M + 1 , which exceeds every total violated weight. Then s = max { 4 k M , n + 1 , W M + 1 , k 2 } s=\max\{4kM,n+1,WM+1,k^{2}\} s = max { 4 k M , n + 1 , W M + 1 , k 2 } , and for Max-3-SAT s ≤ ( 12 c + c W + 1 ) n + 10 s\le(12c+cW+1)n+10 s ≤ ( 12 c + c W + 1 ) n + 10 .
⟨1⟩5. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩4.
The exponential mechanism
Theorem 4.6 (Exact private learning). Let H \mathcal{H} H be κ \kappa κ -local and ϵ d p > 0 \epsilon_{\mathrm{dp}}>0 ϵ dp > 0 . On a sample S S S of size m m m , one can sample w w w with probability proportional to exp ( − ϵ d p m err S ( w ) / 2 ) \exp(-\epsilon_{\mathrm{dp}}m\operatorname{err}_{S}(w)/2) exp ( − ϵ dp m err S ( w ) /2 ) in time poly ( N , m ) ⋅ 2 O ( s / log s ) \operatorname{poly}(N,m)\cdot2^{O(s/\sqrt{\log s})} poly ( N , m ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 κ m , m + 1 , κ 2 } s=\max\{4\kappa m,m+1,\kappa^{2}\} s = max { 4 κm , m + 1 , κ 2 } , given exact samples from explicitly given distributions on { 0 , … , m } \{0,\ldots,m\} { 0 , … , m } . This is the exponential mechanism, and it is ϵ d p \epsilon_{\mathrm{dp}} ϵ dp -differentially private. Without exact sampling, the output distribution is within statistical distance η \eta η of the mechanism for any η ≥ 2 − poly ( N , m ) \eta\ge2^{-\operatorname{poly}(N,m)} η ≥ 2 − poly ( N , m ) , and the output is ( ϵ d p , ( 1 + e ϵ d p ) η ) (\epsilon_{\mathrm{dp}},(1+e^{\epsilon_{\mathrm{dp}}})\eta) ( ϵ dp , ( 1 + e ϵ dp ) η ) -differentially private. With m = O ( ( N + log ( 1 / δ ) ) max { 1 / ( ϵ ϵ d p ) , 1 / ϵ 2 } ) m=O((N+\log(1/\delta))\max\{1/(\epsilon\epsilon_{\mathrm{dp}}),1/\epsilon^{2}\}) m = O (( N + log ( 1/ δ )) max { 1/ ( ϵ ϵ dp ) , 1/ ϵ 2 }) , the output is ϵ \epsilon ϵ -optimal with probability at least 1 − δ 1-\delta 1 − δ [92 ] , and the time is, up to polynomial factors,
exp ( O ( κ ( N + log ( 1 / δ ) ) ϵ min { ϵ , ϵ d p } log N ) ) . \exp\left(O\left(\frac{\kappa(N+\log(1/\delta))}{\epsilon\min\{\epsilon,\epsilon_{\mathrm{dp}}\}\sqrt{\log N}}\right)\right). exp ( O ( ϵ min { ϵ , ϵ dp } log N κ ( N + log ( 1/ δ )) ) ) .
Proof of Theorem 4.6. ⟨1⟩1. Let: R ( S ) R(S) R ( S ) , n S n_S n S and mis ( u ) \operatorname{mis}(u) mis ( u ) be as in the proof of Lemma 2.8. It suffices to sample u ∈ { 0 , 1 } R ( S ) u\in\{0,1\}^{R(S)} u ∈ { 0 , 1 } R ( S ) with probability proportional to e − ϵ d p mis ( u ) / 2 e^{-\epsilon_{\mathrm{dp}}\operatorname{mis}(u)/2} e − ϵ dp mis ( u ) /2 and to fill the other bits uniformly at random.
Proof: The score of w w w is m ⋅ err S ( w ) = mis ( w ∣ R ( S ) ) m\cdot\operatorname{err}_{S}(w)=\operatorname{mis}(w|_{R(S)}) m ⋅ err S ( w ) = mis ( w ∣ R ( S ) ) , and every u u u has 2 N − n S 2^{N-n_S} 2 N − n S extensions. ⟨1⟩2. The following procedure samples u u u exactly. Compute the restricted profile ∑ j c j ′ V j \sum_j c'_jV^j ∑ j c j ′ V j with c j ′ = ∣ { u : mis ( u ) = j } ∣ c'_j = |\{u : \operatorname{mis}(u) = j\}| c j ′ = ∣ { u : mis ( u ) = j } ∣ . Sample j j j with probability proportional to c j ′ e − ε d p j / 2 c'_j e^{-\varepsilon_{\mathrm{dp}}j/2} c j ′ e − ε dp j /2 . Then sample u u u uniformly from { u : mis ( u ) = j } \{u : \operatorname{mis}(u) = j\} { u : mis ( u ) = j } : fix the bits of R ( S ) R(S) R ( S ) one at a time, each with probability proportional to the coefficient of V j V^j V j in the two restricted profiles.
Proof: The second stage outputs each u u u with mis ( u ) = j \operatorname{mis}(u) = j mis ( u ) = j with probability 1 / c j ′ 1/c'_j 1/ c j ′ , by the telescoping argument of Theorem 3.2. So u u u has probability c mis ( u ) ′ e − ε d p mis ( u ) / 2 / ( Z ′ c mis ( u ) ′ ) c'_{\operatorname{mis}(u)}e^{-\varepsilon_{\mathrm{dp}}\operatorname{mis}(u)/2}/(Z'c'_{\operatorname{mis}(u)}) c mis ( u ) ′ e − ε dp mis ( u ) /2 / ( Z ′ c mis ( u ) ′ ) , where Z ′ = ∑ j c j ′ e − ε d p j / 2 Z' = \sum_j c'_j e^{-\varepsilon_{\mathrm{dp}}j/2} Z ′ = ∑ j c j ′ e − ε dp j /2 .
⟨1⟩3. The mechanism is ε d p \varepsilon_{\mathrm{dp}} ε dp -differentially private.
Proof: Changing one example changes the score of every w w w by at most 1 1 1 , and the exponential mechanism with weights e − ε d p ⋅ score / 2 e^{-\varepsilon_{\mathrm{dp}}\cdot\operatorname{score}/2} e − ε dp ⋅ score /2 for a score of sensitivity 1 1 1 is ε d p \varepsilon_{\mathrm{dp}} ε dp -differentially private [111 ] .
⟨1⟩4. An output distribution within statistical distance η \eta η of the mechanism, on every sample, is ( ε d p , ( 1 + e ε d p ) η ) (\varepsilon_{\mathrm{dp}},(1+e^{\varepsilon_{\mathrm{dp}}})\eta) ( ε dp , ( 1 + e ε dp ) η ) -differentially private, and it can be produced in time poly ( N , m , log ( 1 / η ) ) \operatorname{poly}(N,m,\log(1/\eta)) poly ( N , m , log ( 1/ η )) times the cost of the profiles.
Proof: For neighboring samples S , S ′ S,S' S , S ′ and every event E E E , with μ S \mu_S μ S the exact mechanism, Pr [ E ∣ S ] ≤ μ S ( E ) + η ≤ e ε d p μ S ′ ( E ) + η ≤ e ε d p Pr [ E ∣ S ′ ] + ( 1 + e ε d p ) η \Pr[E\mid S]\leq\mu_S(E)+\eta\leq e^{\varepsilon_{\mathrm{dp}}}\mu_{S'}(E)+\eta\leq e^{\varepsilon_{\mathrm{dp}}}\Pr[E\mid S']+(1+e^{\varepsilon_{\mathrm{dp}}})\eta Pr [ E ∣ S ] ≤ μ S ( E ) + η ≤ e ε dp μ S ′ ( E ) + η ≤ e ε dp Pr [ E ∣ S ′ ] + ( 1 + e ε dp ) η . All probability in ⟨1⟩2 can be computed to any precision in time polynomial in N N N , m m m and the number of bits, so fair coins approximate each choice within any desired distance.
⟨1⟩5. With the stated m m m , the output is ε \varepsilon ε -optimal with probability at least 1 − δ 1-\delta 1 − δ .
Proof: This is the accuracy guarantee of the exponential mechanism over a class of size at most 2 N 2^N 2 N [92 ] .
⟨1⟩6. With the stated m m m , the time is as displayed.
Proof: We may take m ≥ N ≥ κ m\geq N\geq\kappa m ≥ N ≥ κ . Then s ≤ 5 κ m s\leq5\kappa m s ≤ 5 κm and log s ≥ log N \log s\geq\log N log s ≥ log N , so the exponent is O ( κ m / log N ) O(\kappa m/\sqrt{\log N}) O ( κm / log N ) , and max { 1 / ( ε ε d p ) , 1 / ε 2 } = 1 / ( ε min { ε , ε d p } ) \max\{1/(\varepsilon\varepsilon_{\mathrm{dp}}),1/\varepsilon^2\}=1/(\varepsilon\min\{\varepsilon,\varepsilon_{\mathrm{dp}}\}) max { 1/ ( ε ε dp ) , 1/ ε 2 } = 1/ ( ε min { ε , ε dp }) . The procedure of ⟨1⟩2 uses at most n S + 1 n_S+1 n S + 1 profile computations (Lemma 2.8 ).
⟨1⟩7. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩6.
Short PCPs and constant accuracy
Lemma 4.8 (Short PCPs as LD3 _3 3 samples). Let ε 0 = 1 / ( q 2 q + 2 ) \varepsilon_0=1/(q2^{q+2}) ε 0 = 1/ ( q 2 q + 2 ) and c q = 2 q 2 q c V c_q=2q2^qc_V c q = 2 q 2 q c V . There is a deterministic polynomial-time reduction that maps a CNF F F F of length L ≥ 2 L\geq2 L ≥ 2 to a list S P C P F S_{\mathrm{PCP}}^F S PCP F of positive examples of LD3 _3 3 in dimension N ≤ c q L ( log L ) β N\leq c_qL(\log L)^\beta N ≤ c q L ( log L ) β , with the following property. Let D F D_F D F be the uniform distribution over the entries of S P C P F S_{\mathrm{PCP}}^F S PCP F . If F F F is satisfiable, then OPT ( D F ) = 0 \operatorname{OPT}(D_F)=0 OPT ( D F ) = 0 . If F F F is unsatisfiable, then OPT ( D F ) ≥ 2 ε 0 \operatorname{OPT}(D_F)\geq2\varepsilon_0 OPT ( D F ) ≥ 2 ε 0 .
Proof of Lemma 4.8. ⟨1⟩1. Case: some seed τ \tau τ has Q τ = ∅ Q_\tau=\varnothing Q τ = ∅ and D τ = 0 D_\tau=0 D τ = 0 . Then the list ( ( e 1 , 1 ) , ( − e 1 , 1 ) ) ((e_1,1),(-e_1,1)) (( e 1 , 1 ) , ( − e 1 , 1 )) in dimension 1 1 1 has the required property.
Proof: The seed τ \tau τ rejects every proof, so F F F is unsatisfiable by completeness. Every σ \sigma σ labels exactly one of e 1 , − e 1 e_1,-e_1 e 1 , − e 1 positive, so every hypothesis has error 1 / 2 ≥ 2 ε 0 1/2\geq2\varepsilon_0 1/2 ≥ 2 ε 0 .
⟨1⟩2. Case: no seed rejects any pattern. Then the list ( ( e 1 , 1 ) ) ((e_1,1)) (( e 1 , 1 )) has the required property.
Proof: Every proof is accepted for every seed, so F F F is satisfiable by soundness, and σ 1 = 1 \sigma_1=1 σ 1 = 1 has error 0 0 0 .
⟨1⟩3. Case: neither of the above. Let: S P C P F S_{\mathrm{PCP}}^F S PCP F be built as follows. For every seed τ \tau τ and every pattern α \alpha α on Q τ Q_\tau Q τ with D τ ( α ) = 0 D_\tau(\alpha)=0 D τ ( α ) = 0 , Let: C τ , α C_{\tau,\alpha} C τ , α be the clause on the proof variables that is false exactly at α \alpha α . Replace each C τ , α = ( λ 1 ∨ ⋯ ∨ λ t ) C_{\tau,\alpha}=(\lambda_1\lor\cdots\lor\lambda_t) C τ , α = ( λ 1 ∨ ⋯ ∨ λ t ) with t ≥ 4 t\ge4 t ≥ 4 by the chain
( λ 1 ∨ λ 2 ∨ ζ 1 ) , ( ¬ ζ 1 ∨ λ 3 ∨ ζ 2 ) , … , ( ¬ ζ t − 4 ∨ λ t − 2 ∨ ζ t − 3 ) , ( ¬ ζ t − 3 ∨ λ t − 1 ∨ λ t ) (\lambda_1\lor\lambda_2\lor\zeta_1),\;(\neg\zeta_1\lor\lambda_3\lor\zeta_2),\;\ldots,\;(\neg\zeta_{t-4}\lor\lambda_{t-2}\lor\zeta_{t-3}),\;(\neg\zeta_{t-3}\lor\lambda_{t-1}\lor\lambda_t) ( λ 1 ∨ λ 2 ∨ ζ 1 ) , ( ¬ ζ 1 ∨ λ 3 ∨ ζ 2 ) , … , ( ¬ ζ t − 4 ∨ λ t − 2 ∨ ζ t − 3 ) , ( ¬ ζ t − 3 ∨ λ t − 1 ∨ λ t )
with fresh variables ζ 1 , … , ζ t − 3 \zeta_1,\ldots,\zeta_{t-3} ζ 1 , … , ζ t − 3 for this clause, and keep clauses of width at most 3. Each resulting clause C C C becomes the positive example x C x_C x C of L D 3 \mathrm{LD}_3 LD 3 , with entry + 1 +1 + 1 at positive and − 1 -1 − 1 at negative literals, and S F P C P S_F^{\mathrm{PCP}} S F PCP lists these examples, one entry per occurrence. Proof: In this case every seed with Q τ = ∅ Q_\tau=\varnothing Q τ = ∅ accepts, so every clause C τ , α C_{\tau,\alpha} C τ , α is nonempty. It has width at most q q q and no complementary literals, so each x C x_C x C is well defined, and by Example 2.3(a) the hypothesis σ \sigma σ labels x C x_C x C positive if and only if σ \sigma σ satisfies C C C .
⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 . The list has at most q 2 q ∣ Ω F ∣ q2^q|\Omega_F| q 2 q ∣ Ω F ∣ entries, and its dimension is N ≤ 2 q 2 q ∣ Ω F ∣ ≤ c q L ( log L ) β N\le2q2^q|\Omega_F|\le c_qL(\log L)^\beta N ≤ 2 q 2 q ∣ Ω F ∣ ≤ c q L ( log L ) β . Proof: There are at most 2 q ∣ Ω F ∣ 2^q|\Omega_F| 2 q ∣ Ω F ∣ clauses C τ , α C_{\tau,\alpha} C τ , α . Each produces at most q q q entries and at most q q q fresh variables, and the proof has at most q ∣ Ω F ∣ q|\Omega_F| q ∣ Ω F ∣ positions (Imported Theorem 4.7).
⟨ 1 ⟩ 5 \langle1\rangle5 ⟨ 1 ⟩ 5 . If F F F is satisfiable, then OPT ( D F ) = 0 \operatorname{OPT}(D_F)=0 OPT ( D F ) = 0 . Proof: Let π \pi π be a proof that is accepted for every seed. Then π \pi π satisfies every C τ , α C_{\tau,\alpha} C τ , α . In a chain, pick a true literal λ j \lambda_j λ j , and put ζ i = 1 \zeta_i=1 ζ i = 1 for i ≤ j − 2 i\le j-2 i ≤ j − 2 and ζ i = 0 \zeta_i=0 ζ i = 0 for i ≥ j − 1 i\ge j-1 i ≥ j − 1 . The first clause holds by λ j \lambda_j λ j if j ≤ 2 j\le2 j ≤ 2 and by ζ 1 \zeta_1 ζ 1 otherwise. A middle clause ( ¬ ζ i ∨ λ i + 2 ∨ ζ i + 1 ) (\neg\zeta_i\lor\lambda_{i+2}\lor\zeta_{i+1}) ( ¬ ζ i ∨ λ i + 2 ∨ ζ i + 1 ) holds by ¬ ζ i \neg\zeta_i ¬ ζ i if i ≥ j − 1 i\ge j-1 i ≥ j − 1 , by ζ i + 1 \zeta_{i+1} ζ i + 1 if i ≤ j − 3 i\le j-3 i ≤ j − 3 , and by λ j \lambda_j λ j if i = j − 2 i=j-2 i = j − 2 . The last clause holds by ¬ ζ t − 3 \neg\zeta_{t-3} ¬ ζ t − 3 if j ≤ t − 2 j\le t-2 j ≤ t − 2 and by λ j \lambda_j λ j otherwise. So π \pi π extends to a hypothesis with no errors.
⟨ 1 ⟩ 6 \langle1\rangle6 ⟨ 1 ⟩ 6 . If F F F is unsatisfiable, then every hypothesis has error at least 2 ε 0 2\varepsilon_0 2 ε 0 . Proof: Let σ \sigma σ assign all N N N variables, and let π \pi π be its restriction to the proof positions. The verifier rejects π \pi π for at least ∣ Ω F ∣ / 2 |\Omega_F|/2 ∣ Ω F ∣/2 seeds. For each of them, C τ , α C_{\tau,\alpha} C τ , α with α = π ∣ Q τ \alpha=\pi|_{Q_\tau} α = π ∣ Q τ is false under σ \sigma σ . Its chain then contains a clause that is false under σ \sigma σ : if all its clauses were true while all λ j \lambda_j λ j are false, the chain would force ζ 1 = ⋯ = ζ t − 3 = 1 \zeta_1=\cdots=\zeta_{t-3}=1 ζ 1 = ⋯ = ζ t − 3 = 1 and falsify its last clause. Distinct seeds own disjoint entries. So σ \sigma σ errs on at least ∣ Ω F ∣ / 2 |\Omega_F|/2 ∣ Ω F ∣/2 of at most q 2 q ∣ Ω F ∣ q2^q|\Omega_F| q 2 q ∣ Ω F ∣ entries, an error of at least 1 / ( q 2 q + 1 ) = 2 ε 0 1/(q2^{q+1})=2\varepsilon_0 1/ ( q 2 q + 1 ) = 2 ε 0 .
⟨ 1 ⟩ 7 \langle1\rangle7 ⟨ 1 ⟩ 7 . Q.E.D. Proof: The three cases are exhaustive, and ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 , ⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 and ⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 –⟨ 1 ⟩ 6 \langle1\rangle6 ⟨ 1 ⟩ 6 give the property in each. The verifier runs in polynomial time, ∣ Ω F ∣ |\Omega_F| ∣ Ω F ∣ is polynomial in L L L , and there are at most 2 q 2^q 2 q patterns per seed.
Theorem 4.9 (Hardness at constant accuracy)
Theorem 4.9 (Hardness at constant accuracy). If L D 3 \mathrm{LD}_3 LD 3 has a proper realizable ( ε 0 , 1 / 3 ) (\varepsilon_0,1/3) ( ε 0 , 1/3 ) -PAC learner that runs in time T ( N ) T(N) T ( N ) , with T T T nondecreasing, then satisfiability of CNF formulas of length L L L can be decided with one-sided error 1 / 3 1/3 1/3 in time T ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) T(c_qL(\log L)^\beta)\cdot\operatorname{polylog}(L)+\operatorname{poly}(L) T ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) . Consequently, under ETHC N F _{\mathrm{CNF}} CNF , no proper realizable ( ε 0 , 1 / 3 ) (\varepsilon_0,1/3) ( ε 0 , 1/3 ) -PAC learner for L D 3 \mathrm{LD}_3 LD 3 , and so no proper ( ε 0 , 1 / 3 ) (\varepsilon_0,1/3) ( ε 0 , 1/3 ) -agnostic learner, runs in time 2 N / ( log N ) c + β + 1 2^{N/(\log N)^{c+\beta+1}} 2 N / ( l o g N ) c + β + 1 .
Proof of Theorem 4.9 . ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . Let: the algorithm compute S F P C P S_F^{\mathrm{PCP}} S F PCP by Lemma 4.8 and run the learner on D F D_F D F for at most T ( N ) T(N) T ( N ) steps, simulating each example draw in time polylog ( L ) \operatorname{polylog}(L) polylog ( L ) . If the learner does not halt in time, the algorithm rejects. Otherwise it computes the exact error of the output σ \sigma σ on S F P C P S_F^{\mathrm{PCP}} S F PCP and accepts if and only if the error is below 2 ε 0 2\varepsilon_0 2 ε 0 .
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . If F F F is satisfiable, the algorithm accepts with probability at least 2 / 3 2/3 2/3 . Proof: By Lemma 4.8, D F D_F D F is realizable. With probability at least 2 / 3 2/3 2/3 the learner halts in time with an output of error at most ε 0 < 2 ε 0 \varepsilon_0<2\varepsilon_0 ε 0 < 2 ε 0 .
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . If F F F is unsatisfiable, the algorithm rejects. Proof: By Lemma 4.8, every hypothesis has error at least 2 ε 0 2\varepsilon_0 2 ε 0 . ⟨1⟩4. The algorithm runs in time T ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) T(c_qL(\log L)^\beta)\cdot\operatorname{polylog}(L)+\operatorname{poly}(L) T ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) .
Proof: By Lemma 4.8, N ≤ c q L ( log L ) β N\le c_qL(\log L)^\beta N ≤ c q L ( log L ) β , and T T T is nondecreasing. A uniform entry of a list of polynomial length takes polylog ( L ) \operatorname{polylog}(L) polylog ( L ) time to draw.
⟨1⟩5. Under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len , no realizable learner runs in time T ( N ) = 2 N / ( log N ) C + β + 1 T(N)=2^{N/(\log N)^{C+\beta+1}} T ( N ) = 2 N / ( l o g N ) C + β + 1 .
Proof: Let N L = c q L ( log L ) β N_L=c_qL(\log L)^\beta N L = c q L ( log L ) β . Because log N L ≥ log L \log N_L\ge\log L log N L ≥ log L , we get T ( N L ) ≤ 2 c q L / ( log L ) C + 1 T(N_L)\le2^{c_qL/(\log L)^{C+1}} T ( N L ) ≤ 2 c q L / ( l o g L ) C + 1 , and T ( N L ) polylog ( L ) + poly ( L ) < 2 L / ( log L ) C T(N_L)\operatorname{polylog}(L)+\operatorname{poly}(L)<2^{L/(\log L)^C} T ( N L ) polylog ( L ) + poly ( L ) < 2 L / ( l o g L ) C for all large L L L . The function T T T is nondecreasing for large N N N . By ⟨1⟩2–⟨1⟩4, such a learner would contradict E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len .
⟨1⟩6. Q.E.D.
Proof: By ⟨1⟩2–⟨1⟩5. An agnostic learner is in particular a realizable one.
Corollary 4.10 (Constant accuracy is SAT by length). Fix a constant κ ≥ 3 \kappa\ge3 κ ≥ 3 , and let T T T and T ′ T' T ′ be nondecreasing .
(a) If satisfiability of CNF formulas of length L L L can be decided in time T ( L ) T(L) T ( L ) with error at most 1 / 3 1/3 1/3 , then every κ \kappa κ -local class is properly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -PAC learnable in time O ( N log ( N / δ ) ) ⋅ T ( κ 2 κ m + N ) + poly ( N , m ) O(N\log(N/\delta))\cdot T(\kappa2^{\kappa}m+N)+\operatorname{poly}(N,m) O ( N log ( N / δ )) ⋅ T ( κ 2 κ m + N ) + poly ( N , m ) , where m = ⌈ ( N ln 2 + ln ( 2 / δ ) ) / ε ⌉ m=\lceil(N\ln2+\ln(2/\delta))/\varepsilon\rceil m = ⌈( N ln 2 + ln ( 2/ δ )) / ε ⌉ .
(b) Conversely, a proper realizable ( ε 0 , 1 / 3 ) (\varepsilon_0,1/3) ( ε 0 , 1/3 ) -PAC learner for L D 3 \mathrm{LD}_3 LD 3 that runs in time T ′ ( N ) T'(N) T ′ ( N ) decides satisfiability of CNF formulas of length L L L in time T ′ ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) T'(c_qL(\log L)^\beta)\cdot\operatorname{polylog}(L)+\operatorname{poly}(L) T ′ ( c q L ( log L ) β ) ⋅ polylog ( L ) + poly ( L ) .
With the new algorithms, (a) gives time 2 O κ , ε , δ ( N / log N ) 2^{O_{\kappa,\varepsilon,\delta}(N/\sqrt{\log N})} 2 O κ , ε , δ ( N / l o g N ) . Under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_C ETH C len , (b) gives the lower bound 2 N / ( log N ) C + β + 1 2^{N/(\log N)^{C+\beta+1}} 2 N / ( l o g N ) C + β + 1 for every ε ≤ ε 0 \varepsilon\le\varepsilon_0 ε ≤ ε 0 . A SAT algorithm with exponent L / f ( L ) L/f(L) L / f ( L ) yields learners with exponent O ( N / f ( Θ ( N ) ) ) O(N/f(\Theta(N))) O ( N / f ( Θ ( N ))) , and a learner with exponent N / f ( N ) N/f(N) N / f ( N ) yields SAT algorithms with exponent O ( L ( log L ) β / f ( Θ ( L ( log L ) β ) ) ) O(L(\log L)^\beta/f(\Theta(L(\log L)^\beta))) O ( L ( log L ) β / f ( Θ ( L ( log L ) β ))) .
Proof of Corollary 4.10. ⟨1⟩1. Part (a) holds.
⟨2⟩1. Let: S S S be a sample of m m m examples. With probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 , every w ∈ V S ( S ) w\in\mathrm{VS}(S) w ∈ VS ( S ) has error at most ε \varepsilon ε .
Proof: Imported Theorem 2.1(a) with δ / 2 \delta/2 δ /2 .
⟨2⟩2. The version space is SAT ( Γ S ) \operatorname{SAT}(\Gamma_S) SAT ( Γ S ) for a CNF Γ S \Gamma_S Γ S of length at most κ 2 κ m \kappa2^\kappa m κ 2 κ m .
Proof: Lemma 3.1 .
⟨2⟩3. A self-reduction finds an element of SAT ( Γ S ) \operatorname{SAT}(\Gamma_S) SAT ( Γ S ) with N N N satisfiability decisions on CNFs of length at most κ 2 κ m + N \kappa2^\kappa m+N κ 2 κ m + N , all correct with probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 .
Proof: Fix w 1 , … , w N w_1,\ldots,w_N w 1 , … , w N in order: set w i = 0 w_i=0 w i = 0 if Γ S \Gamma_S Γ S with the fixed values and w i = 0 w_i=0 w i = 0 as unit clauses is satisfiable, and w i = 1 w_i=1 w i = 1 otherwise. In the realizable case SAT ( Γ S ) ≠ ∅ \operatorname{SAT}(\Gamma_S)\ne\varnothing SAT ( Γ S ) = ∅ with probability 1 1 1 . Repeat each decision O ( log ( N / δ ) ) O(\log(N/\delta)) O ( log ( N / δ )) times and take the majority, so that each is wrong with probability at most δ / ( 2 N ) \delta/(2N) δ / ( 2 N ) .
⟨2⟩4. Q.E.D.
Proof: By ⟨2⟩1–⟨2⟩3 and a union bound, the output is ε \varepsilon ε -accurate with probability at least 1 − δ 1-\delta 1 − δ , within the stated time.
⟨1⟩2. Part (b) holds.
Proof: Theorem 4.9 .
⟨1⟩3. The stated consequences hold.
Proof: With the new algorithms, T ( L ) = 2 c 3 C L / log L T(L)=2^{c_3CL/\sqrt{\log L}} T ( L ) = 2 c 3 C L / l o g L (§ 2.5 ), and κ 2 κ m + N = O κ , ε , δ ( N ) \kappa2^\kappa m+N=O_{\kappa,\varepsilon,\delta}(N) κ 2 κ m + N = O κ , ε , δ ( N ) . The lower bound is ⟨1⟩2 with Theorem 4.9 . The transfer of exponents follows from (a) with L = Θ ( N ) L=\Theta(N) L = Θ ( N ) and from (b) with N = Θ ( L ( log L ) β ) N=\Theta(L(\log L)^\beta) N = Θ ( L ( log L ) β ) .
⟨1⟩4. Q.E.D.
Proof. By ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 –⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 .
Corollary 4.11 (Gap-3-SAT under E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len ). Assume E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len . No randomized algorithm with error probability at most 1 / 3 1/3 1/3 runs in time 2 n / ( log n ) C + β + 1 2^{n/(\log n)^{C+\beta+1}} 2 n / ( l o g n ) C + β + 1 and distinguishes satisfiable 3-CNF clause multisets from those in which every assignment violates at least a 2 ε 0 2\varepsilon_0 2 ε 0 fraction of the clauses. Here n n n is the number of variables plus the number of clauses, and no bound on the number of occurrences of a variable is assumed.
Proof of Corollary 4.11. ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . Let: F F F be a CNF of length L L L , and let S F p c p S^{\mathrm{pcp}}_{F} S F pcp be the list of Lemma 4.8, read as a multiset of clauses of width at most 3. Its size is n ≤ 2 c q L ( log L ) β n \le2c_qL(\log L)^\beta n ≤ 2 c q L ( log L ) β , it is satisfiable if F F F is, and otherwise every assignment violates at least a 2 ε 0 2\varepsilon_0 2 ε 0 fraction of its clauses.
Proof: By Lemma 4.8, with step ⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 of its proof for the size.
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . An algorithm as excluded in the statement decides F F F in time 2 2 c q L / ( log L ) C + 1 + poly ( L ) < 2 L / ( log L ) C 2^{2c_qL/(\log L)^{C+1}}+\operatorname{poly}(L)<2^{L/(\log L)^C} 2 2 c q L / ( l o g L ) C + 1 + poly ( L ) < 2 L / ( l o g L ) C for all large L L L .
Proof: Let n L = 2 c q L ( log L ) β ≥ n n_L=2c_qL(\log L)^\beta\ge n n L = 2 c q L ( log L ) β ≥ n . The function x ↦ x / ( log x ) C + β + 1 x\mapsto x/(\log x)^{C+\beta+1} x ↦ x / ( log x ) C + β + 1 is increasing for large x x x , and log n L ≥ log L \log n_L\ge\log L log n L ≥ log L , so n / ( log n ) C + β + 1 ≤ n L / ( log n L ) C + β + 1 ≤ 2 c q L / ( log L ) C + 1 n/(\log n)^{C+\beta+1}\le n_L/(\log n_L)^{C+\beta+1}\le2c_qL/(\log L)^{C+1} n / ( log n ) C + β + 1 ≤ n L / ( log n L ) C + β + 1 ≤ 2 c q L / ( log L ) C + 1 for large n n n ; for bounded n n n the time is O ( 1 ) O(1) O ( 1 ) .
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . q.e.d.
Proof: The bound of ⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 contradicts E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len .
Hardness at inverse-polynomial accuracy
Theorem 4.12 (Hardness at inverse-polynomial accuracy). Assume Hypothesis 2.12 . For every γ > 0 \gamma>0 γ > 0 , no randomized proper ( ε , 1 / 3 ) (\varepsilon,1/3) ( ε , 1/3 ) -agnostic learner for L D 3 \mathrm{LD}_3 LD 3 in dimension n n n with ε = 1 / ( 8 n 3 ) \varepsilon=1/(8n^3) ε = 1/ ( 8 n 3 ) runs in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) .
Proof of Theorem 4.12. ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 . Let: F F F be a 3-CNF on n n n variables, and Let: F ′ F' F ′ be F F F without its t 0 t_0 t 0 tautological clauses. Then F ′ F' F ′ has M ≤ 2 n + 2 n 2 + 4 3 n 3 < 8 n 3 M\le2n+2n^2+\frac{4}{3}n^3<8n^3 M ≤ 2 n + 2 n 2 + 3 4 n 3 < 8 n 3 clauses, and a maximum assignment for F ′ F' F ′ satisfies the maximum number of clauses of F F F .
Proof: Tautological clauses are always satisfied. There are at most ( n j ) 2 j \binom{n}{j}2^j ( j n ) 2 j non-tautological clauses of width j j j .
⟨ 1 ⟩ 2 \langle1\rangle2 ⟨ 1 ⟩ 2 . Let: D \mathcal{D} D be uniform on { ( x C , 1 ) : C ∈ F ′ } \{(x_C,1):C\in F'\} {( x C , 1 ) : C ∈ F ′ } , where x C x_C x C has entry + 1 +1 + 1 at positive and − 1 -1 − 1 at negative literals of C C C . Then err D ( σ ) \operatorname{err}_{\mathcal{D}}(\sigma) err D ( σ ) is the fraction of clauses of F ′ F' F ′ that σ \sigma σ violates.
Proof: By Example 2.3(a), h σ ( x C ) = 1 h_\sigma(x_C)=1 h σ ( x C ) = 1 if and only if σ \sigma σ satisfies C C C .
⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 . Every output with err D ( σ ) ≤ OPT + ε \operatorname{err}_{\mathcal{D}}(\sigma)\le\operatorname{OPT}+\varepsilon err D ( σ ) ≤ OPT + ε is an optimal assignment for F ′ F' F ′ .
Proof: All errors are multiples of 1 / M 1/M 1/ M , and 1 / M > 1 / ( 8 n 3 ) = ε 1/M>1/(8n^3)=\varepsilon 1/ M > 1/ ( 8 n 3 ) = ε .
⟨ 1 ⟩ 4 \langle1\rangle4 ⟨ 1 ⟩ 4 . q.e.d.
Proof: By ⟨ 1 ⟩ 1 \langle1\rangle1 ⟨ 1 ⟩ 1 –⟨ 1 ⟩ 3 \langle1\rangle3 ⟨ 1 ⟩ 3 , a learner in time O ( 2 ( 1 − γ ) n ) O(2^{(1-\gamma)n}) O ( 2 ( 1 − γ ) n ) , with each example draw simulated in time poly ( n ) \operatorname{poly}(n) poly ( n ) , computes in time O ( 2 ( 1 − γ ) n poly ( n ) ) ⊆ O ( 2 ( 1 − γ / 2 ) n ) O(2^{(1-\gamma)n}\operatorname{poly}(n))\subseteq O(2^{(1-\gamma/2)n}) O ( 2 ( 1 − γ ) n poly ( n )) ⊆ O ( 2 ( 1 − γ /2 ) n ) the maximum number of satisfied clauses of F F F , namely t 0 t_0 t 0 plus the number of clauses of F ′ F' F ′ that its output satisfies, with error probability at most 1 / 3 1/3 1/3 . This contradicts Hypothesis 2.12 for γ / 2 \gamma/2 γ /2 . If F ′ F' F ′ is empty, the answer is t 0 t_0 t 0 .
Proofs for Section 5: the treewidth transition
Theorem 5.1 (Inference). Let Φ \Phi Φ be a factor graph on n n n Boolean variables with nonempty scopes, arity at most a a a , size ∥ Φ ∥ \lVert\Phi\rVert ∥ Φ ∥ , and ∣ F ∣ |\mathcal{F}| ∣ F ∣ factors.
(a) If all tables have nonnegative integer entries below 2 b 2^b 2 b , then Z ( Φ ) Z(\Phi) Z ( Φ ) and, if Z ( Φ ) > 0 Z(\Phi)>0 Z ( Φ ) > 0 , the marginal Pr [ x i = 1 ] \Pr[x_i=1] Pr [ x i = 1 ] for every i i i can be computed exactly in time poly ( ∣ Φ ∣ ) ⋅ 2 O ( s / log s ) \operatorname{poly}(|\Phi|)\cdot2^{O(s/\sqrt{\log s})} poly ( ∣Φ∣ ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 ∥ Φ ∥ , n + b ∣ F ∣ + 1 , a 2 } s=\max\{4\lVert\Phi\rVert,n+b|\mathcal{F}|+1,a^2\} s = max { 4 ∥ Φ ∥ , n + b ∣ F ∣ + 1 , a 2 } .
(b) If the factors carry integer energies in { 0 , … , b ′ } \{0,\ldots,b'\} { 0 , … , b ′ } , then the minimum total energy, a minimizer, and the number of minimizers can be computed in time poly ( ∣ Φ ∣ ) ⋅ 2 O ( s / log s ) \operatorname{poly}(|\Phi|)\cdot2^{O(s/\sqrt{\log s})} poly ( ∣Φ∣ ) ⋅ 2 O ( s / l o g s ) , where s = max { 4 ∥ Φ ∥ , n + 1 , b ′ ∣ F ∣ + 1 , a 2 } s=\max\{4\lVert\Phi\rVert,n+1,b'|\mathcal{F}|+1,a^2\} s = max { 4 ∥ Φ ∥ , n + 1 , b ′ ∣ F ∣ + 1 , a 2 } .
For constant degree, arity, b b b and b ′ b' b ′ , all of these take time 2 O ( n / log n ) 2^{O(n/\sqrt{\log n})} 2 O ( n / l o g n ) .
Proof of Theorem 5.1. ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 1. Part (a) holds for Z ( Φ ) Z(\Phi) Z ( Φ ) .
Proof: Each term of Z ( Φ ) Z(\Phi) Z ( Φ ) is a product of ∣ F ∣ |\mathcal{F}| ∣ F ∣ entries below 2 b 2^b 2 b , so 0 ≤ Z ( Φ ) < 2 n + b ∣ F ∣ 0\le Z(\Phi)<2^{n+b|\mathcal{F}|} 0 ≤ Z ( Φ ) < 2 n + b ∣ F ∣ . Apply Theorem 2.7 over the counting ring B P , 1 \mathcal{B}_{P,1} B P , 1 with P = n + b ∣ F ∣ + 1 P=n+b|\mathcal{F}|+1 P = n + b ∣ F ∣ + 1 . The hypotheses hold with the given s s s , because a ≤ s 1 / 2 ≤ s 9 / 10 a\le s^{1/2}\le s^{9/10} a ≤ s 1/2 ≤ s 9/10 .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 2. Part (a) holds for the marginals.
Proof: Pr [ x i = 1 ] = Z ( Φ ∣ x i = 1 ) / Z ( Φ ) \Pr[x_i=1]=Z(\Phi\mid x_i=1)/Z(\Phi) Pr [ x i = 1 ] = Z ( Φ ∣ x i = 1 ) / Z ( Φ ) , where Φ ∣ x i = 1 \Phi\mid x_i=1 Φ ∣ x i = 1 restricts the tables that contain x i x_i x i . A factor whose scope becomes empty is a constant (Theorem 2.7). The size and P P P do not grow.
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 3. Part (b) holds.
Proof: Use the profile ring with P = n + 1 P=n+1 P = n + 1 and ℓ = b ′ ∣ F ∣ + 1 \ell=b'|\mathcal{F}|+1 ℓ = b ′ ∣ F ∣ + 1 , and give the factor f f f with energy E f E_f E f the table V E f V^{E_f} V E f . The partition function is ∑ j c j V j \sum_j c_jV^j ∑ j c j V j , where c j c_j c j counts the assignments of total energy j ≤ b ′ ∣ F ∣ < ℓ j\le b'|\mathcal{F}|<\ell j ≤ b ′ ∣ F ∣ < ℓ , and c j ≤ 2 n < 2 P c_j\le2^n<2^P c j ≤ 2 n < 2 P . The minimum energy is min { j : c j ≠ 0 } \min\{j:c_j\ne0\} min { j : c j = 0 } , and the number of minimizers is its coefficient. A minimizer follows by the self-reduction in the proof of Theorem 4.1, with n + 1 n+1 n + 1 computations.
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 4. For constant degree Δ \Delta Δ , arity, b b b and b ′ b' b ′ , the time is 2 O ( n / log n ) 2^{O(n/\sqrt{\log n})} 2 O ( n / l o g n ) .
Proof: Then ∣ F ∣ ≤ ∥ Φ ∥ ≤ Δ n |\mathcal{F}|\le\lVert\Phi\rVert\le\Delta n ∣ F ∣ ≤ ∥ Φ ∥ ≤ Δ n , so s = O ( n ) s=O(n) s = O ( n ) , and s ≥ n + 1 s\ge n+1 s ≥ n + 1 gives log s ≥ log n \log s\ge\log n log s ≥ log n .
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 5. Q.E.D.
Proof: By ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 1–⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 4.
:::
Corollary 5.2 (Separation). Let ( G n ) (G_n) ( G n ) be a family of n n n -vertex graphs of maximum degree Δ = O ( 1 ) \Delta=O(1) Δ = O ( 1 ) with tw ( G n ) = Ω ( n ) \operatorname{tw}(G_n)=\Omega(n) tw ( G n ) = Ω ( n ) , for example bounded-degree expanders. Let Φ n \Phi_n Φ n be the hardcore model on G n G_n G n : one variable per vertex and the factor 1 [ ¬ ( x u ∧ x v ) ] \mathbf{1}[\neg(x_u\land x_v)] 1 [ ¬ ( x u ∧ x v )] on every edge, so that Z ( Φ n ) Z(\Phi_n) Z ( Φ n ) counts independent sets.
(a) The partition function Z ( Φ n ) Z(\Phi_n) Z ( Φ n ) and all marginals can be computed in time 2 O ( n / log n ) 2^{O(n/\sqrt{\log n})} 2 O ( n / l o g n ) .
(b) Variable elimination along any order, and junction-tree propagation over any tree decomposition, with explicitly stored tables, take time 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) .
(c) Every structured DNNF that represents the CNF ⋁ u v ∈ E ( G n ) ( ¬ x u ∨ ¬ x v ) \bigvee_{uv\in E(G_n)}(\neg x_u\vee\neg x_v) ⋁ uv ∈ E ( G n ) ( ¬ x u ∨ ¬ x v ) has size 2 Ω ( n ) 2^{\Omega(n)} 2 Ω ( n ) [5 ] . This includes every structured d d d -DNNF and every OBDD.
Proof of Corollary 5.2. ⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 1. Part (a) holds.
Proof: The model has degree Δ \Delta Δ , arity 2 2 2 and 0 / 1 0/1 0/1 tables. Apply Theorem 5.1.
⟨ 1 ⟩ \langle1\rangle ⟨ 1 ⟩ 2. Part (b) holds.
Proof: Every elimination order has induced width at least tw ( G n ) \operatorname{tw}(G_n) tw ( G n ) . So some elimination step multiplies factors whose scopes together contain at least tw ( G n ) + 1 \operatorname{tw}(G_n)+1 tw ( G n ) + 1 variables, and tabulating their product takes time 2 tw ( G n ) 2^{\operatorname{tw}(G_n)} 2 tw ( G n ) . Likewise, every tree decomposition has a bag of size at least tw ( G n ) + 1 \operatorname{tw}(G_n)+1 tw ( G n ) + 1 , and junction-tree propagation tabulates a potential over each bag. Finally tw ( G n ) = Ω ( n ) \operatorname{tw}(G_n)=\Omega(n) tw ( G n ) = Ω ( n ) .
⟨1⟩3. Part (c) holds.
Proof: The substitution x ↦ ¬ x x \mapsto\neg x x ↦ ¬ x maps the formula to the monotone 2-CNF ⋁ u v ( x u ∨ x v ) \bigvee_{uv}(x_u \vee x_v) ⋁ uv ( x u ∨ x v ) of degree Δ \Delta Δ , whose primal graph is G n G_n G n . It does not change the size of any structured DNNF. Amarilli, Capelli, Monet and Senellart [5 ] prove that every structured DNNF for a monotone CNF of bounded arity and degree has size 2 Ω ( tw ) 2^{\Omega(\operatorname{tw})} 2 Ω ( tw ) .
⟨1⟩4. Q.E.D.
Proof: By ⟨1⟩1–⟨1⟩3.
Lemma 5.4 (OR-chains with copying). Given a CNF F F F on N N N variables with M M M clauses of total length L L L , one can compute in polynomial time a factor graph Φ F \Phi_F Φ F with 0/1 tables, arity and maximum degree at most 3, and at most N + 3 L N+3L N + 3 L variables, together with a path decomposition of width at most N + 2 N+2 N + 2 , such that Z ( Φ F ) = # F Z(\Phi_F)=\#F Z ( Φ F ) = # F .
Proof of Lemma 5.4. ⟨1⟩1. Let: Φ F \Phi_F Φ F be built as follows. Each variable z i z_i z i gets an initial copy z i ( 0 ) z_i^{(0)} z i ( 0 ) . Process the literal occurrences in a fixed order, clause by clause. For the t t t -th literal of clause j j j , on the variable z i z_i z i , create a fresh copy z i ′ z_i' z i ′ and a chain variable ζ j , t \zeta_{j,t} ζ j , t . Add the factor 1 [ z i ′ = z i c u r ] 1[z_i'=z_i^{\mathrm{cur}}] 1 [ z i ′ = z i cur ] , where z i c u r z_i^{\mathrm{cur}} z i cur is the most recent copy of z i z_i z i , and make z i ′ z_i' z i ′ the most recent copy. Add the factor 1 [ ζ j , t = ζ j , t − 1 ∨ λ ( z i ′ ) ] 1[\zeta_{j,t}=\zeta_{j,t-1}\vee\lambda(z_i')] 1 [ ζ j , t = ζ j , t − 1 ∨ λ ( z i ′ )] , where λ \lambda λ applies the sign of the literal. For each clause j j j with r j r_j r j literals, add a chain variable ζ j , 0 \zeta_{j,0} ζ j , 0 with the unary factor 1 [ ζ j , 0 = 0 ] 1[\zeta_{j,0}=0] 1 [ ζ j , 0 = 0 ] , and the unary factor 1 [ ζ j , r j = 1 ] 1[\zeta_{j,r_j}=1] 1 [ ζ j , r j = 1 ] .
⟨1⟩2. Z ( Φ F ) = # F Z(\Phi_F)=\#F Z ( Φ F ) = # F .
Proof: Fix z ∈ { 0 , 1 } N z\in\{0,1\}^{N} z ∈ { 0 , 1 } N . The equality factors force every copy of z i z_i z i to equal z i z_i z i . The chain factors force ζ j , t \zeta_{j,t} ζ j , t to be the disjunction of the first t t t literals of clause j j j . So z z z has exactly one extension with all factors equal to 1 if z z z satisfies F F F , and none otherwise. Variables of F F F that occur in no clause contribute a factor 2 on both sides.
⟨1⟩3. The factor graph Φ F \Phi_F Φ F has arity and degree at most 3 and at most N + 3 L N+3L N + 3 L variables.
Proof: A copy lies in at most two equality factors and one chain factor. A chain variable lies in at most two factors. Every factor has at most 3 variables. There are N N N initial copies, L L L further copies, and L + M ≤ 2 L L+M\leq2L L + M ≤ 2 L chain variables.
⟨1⟩4. The bags B j , t B_{j,t} B j , t , one for each occurrence ( j , t ) (j,t) ( j , t ) in the processing order, form a path decomposition of width at most N + 2 N+2 N + 2 . Here B j , t B_{j,t} B j , t contains the most recent copies of all N N N variables before the occurrence, the new copy z i ′ z_i' z i ′ , and ζ j , t − 1 \zeta_{j,t-1} ζ j , t − 1 and ζ j , t \zeta_{j,t} ζ j , t .
Proof: Each bag has at most N + 3 N+3 N + 3 elements. The equality and chain factors of ( j , t ) (j,t) ( j , t ) lie in B j , t B_{j,t} B j , t , and the unary factors of clause j j j lie in its first and last bags. A copy occurs from its creation until it is superseded, and ζ j , t \zeta_{j,t} ζ j , t occurs only in B j , t B_{j,t} B j , t and B j , t + 1 B_{j,t+1} B j , t + 1 , which are consecutive. So every variable occurs in a contiguous run of bags.
⟨1⟩5. Q.E.D.
Proof: By ⟨1⟩2–⟨1⟩4. The construction takes polynomial time.
Corollary 5.3 (Inference is SAT by length). Assume E T H C l e n \mathrm{ETH}^{\mathrm{len}}_{C} ETH C len , and let θ > 0 \theta>0 θ > 0 . No randomized algorithm with error probability at most 1 / 3 1/3 1/3 decides whether the partition function of a 0/1 factor graph of arity and degree at most 3 is positive in time 2 tw / ( log tw ) C + θ poly ( n ) 2^{\operatorname{tw}/(\log\operatorname{tw})^{C+\theta}}\operatorname{poly}(n) 2 tw / ( l o g tw ) C + θ poly ( n ) , or in time 2 n γ / ( log n ) C + θ 2^{n^{\gamma/(\log n)^{C+\theta}}} 2 n γ / ( l o g n ) C + θ . For C < 1 C<1 C < 1 , no algorithm runs in time 2 tw / log tw poly ( n ) 2^{\operatorname{tw}/\log\operatorname{tw}}\operatorname{poly}(n) 2 tw / l o g tw poly ( n ) .
Proof of Corollary 5.3. ⟨1⟩1. Let: F F F be a CNF of length L L L in which every variable occurs, and Let: Φ F \Phi_F Φ F be the factor graph of Lemma 5.4. Then Φ F \Phi_F Φ F has arity and degree at most 3, at most n ≤ 4 L n \le4L n ≤ 4 L variables, treewidth at most L + 2 L+2 L + 2 , and Z ( Φ F ) > 0 Z(\Phi_F)>0 Z ( Φ F ) > 0 if and only if F F F is satisfiable.
Proof: Variables that occur in no clause do not affect satisfiability, so we may delete them. Then N ≤ L N \le L N ≤ L , and Lemma 5.4 gives at most N + 3 L ≤ 4 L N+3L \le4L N + 3 L ≤ 4 L variables and a path decomposition of width at most N + 2 ≤ L + 2 N+2 \le L+2 N + 2 ≤ L + 2 . Also Z ( Φ F ) = # F Z(\Phi_F)=\#F Z ( Φ F ) = # F .
⟨1⟩2. An algorithm that decides positivity in time 2 tw / ( log tw ) C + θ poly ( n ) 2^{\operatorname{tw}/(\log\operatorname{tw})^{C+\theta}}\operatorname{poly}(n) 2 tw / ( l o g tw ) C + θ poly ( n ) decides F F F in time at most
2 ( L + 2 ) / ( log ( L + 2 ) ) C + θ ⋅ poly ( L ) , 2^{(L+2)/(\log(L+2))^{C+\theta}}\cdot\operatorname{poly}(L), 2 ( L + 2 ) / ( l o g ( L + 2 ) ) C + θ ⋅ poly ( L ) ,
which is below 2 L / ( log L ) C 2^{L/(\log L)^C} 2 L / ( l o g L ) C for all large L L L .
Proof: The function x ↦ x / ( log x ) C + θ x\mapsto x/(\log x)^{C+\theta} x ↦ x / ( log x ) C + θ is increasing for large x x x , and tw ≤ L + 2 \operatorname{tw}\le L+2 tw ≤ L + 2 . The reduction takes polynomial time.
⟨1⟩3. An algorithm that runs in time 2 n / ( log n ) C + θ 2^{n/(\log n)^{C+\theta}} 2 n / ( l o g n ) C + θ decides F F F in time below 2 L / ( log L ) C 2^{L/(\log L)^C} 2 L / ( l o g L ) C for all large L L L .
Proof: Here n ≤ 4 L n\le4L n ≤ 4 L , and 4 L / ( log ( 4 L ) ) C + θ ≤ 4 L / ( log L ) C + θ 4L/(\log(4L))^{C+\theta}\le4L/(\log L)^{C+\theta} 4 L / ( log ( 4 L ) ) C + θ ≤ 4 L / ( log L ) C + θ , which is at most L / ( log L ) C − log 2 L L/(\log L)^C-\log^2 L L / ( log L ) C − log 2 L for all large L L L .
⟨1⟩4. If C < 1 C<1 C < 1 , an algorithm in time 2 O ( tw / log tw ) poly ( n ) 2^{O(\operatorname{tw}/\log\operatorname{tw})}\operatorname{poly}(n) 2 O ( tw / l o g tw ) poly ( n ) contradicts E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len .
Proof: Take θ = ( 1 − C ) / 2 \theta=(1-C)/2 θ = ( 1 − C ) /2 . For every constant K K K , we have K tw / log tw ≤ tw / ( log tw ) C + θ + O ( 1 ) K\operatorname{tw}/\log\operatorname{tw}\le\operatorname{tw}/(\log\operatorname{tw})^{C+\theta}+O(1) K tw / log tw ≤ tw / ( log tw ) C + θ + O ( 1 ) , and ⟨1⟩2 applies.
⟨1⟩5. Q.E.D.
Proof: By ⟨1⟩2–⟨1⟩4, each such algorithm contradicts E T H C l e n \mathrm{ETH}_{C}^{\mathrm{len}} ETH C len .
Theorem 5.5 (Inference lower bound). Assume Hypothesis 2.10 . For every γ > 0 \gamma>0 γ > 0 there is c c c such that no algorithm that is given a 0/1 factor graph of arity at most 3 and degree at most 4 with n n n variables, together with a path decomposition of width t t t , computes its partition function in time O ( 2 ( 1 − γ ) t ) O(2^{(1-\gamma)t}) O ( 2 ( 1 − γ ) t ) , even when n ≤ 5 t c + 1 n\le5t^{c+1} n ≤ 5 t c + 1 and the treewidth is at least t / 2 \sqrt{t}/2 t /2 . Under Hypothesis 2.9 , the same holds for deciding whether the partition function is positive, and so for MAP inference.
Proof of Theorem 5.5. ⟨1⟩1. Let: c c c be the constant that Hypothesis 2.10 gives for γ \gamma γ , and Let: F F F be a CNF on N ≥ 3 N\ge3 N ≥ 3 variables with between 1 and N c N^c N c clauses, none of them tautological. Then F F F has length L ≤ N c + 1 L\le N^{c+1} L ≤ N c + 1 .
Proof: Deleting tautological clauses changes neither the count nor the hypothesis, and a formula without clauses is trivial. A non-tautological clause has at most N N N literals.
⟨1⟩2. Let: r = ⌈ N ⌉ r=\lceil\sqrt{N}\rceil r = ⌈ N ⌉ , and Let: Φ \Phi Φ consist of Φ F \Phi_F Φ F from Lemma 5.4 and a disjoint r × r r\times r r × r grid of new variables with the all-ones factor on each grid edge. Then Z ( Φ ) = 2 r 2 # F Z(\Phi)=2^{r^2}\#F Z ( Φ ) = 2 r 2 # F , and Φ \Phi Φ has arity at most 3 and degree at most 4.
Proof: All-ones factors leave the grid variables free. A grid vertex lies in at most 4 edge factors, and Φ F \Phi_F Φ F has arity and degree at most 3.
⟨1⟩3. Φ \Phi Φ has a path decomposition of width t = N + 2 t=N+2 t = N + 2 , at most 5 N c + 1 ≤ 5 t c + 1 5N^{c+1}\le5t^{c+1} 5 N c + 1 ≤ 5 t c + 1 variables, and treewidth at least N ≥ t / 2 \sqrt{N}\ge\sqrt{t}/2 N ≥ t /2 .
Proof: The r × r r\times r r × r grid has treewidth and pathwidth r r r . Every bag of the decomposition of Lemma 5.4 has exactly N + 3 N+3 N + 3 elements: the N N N current copies, the new copy and two chain variables. Placing a path decomposition of the grid of width r r r before it gives a path decomposition of width max { r , N + 2 } = N + 2 \max\{r,N+2\}=N+2 max { r , N + 2 } = N + 2 . The number of variables is at most N + 3 L + r 2 ≤ 5 N + 3 N c + 1 ≤ 5 N c + 1 N+3L+r^2\le5N+3N^{c+1}\le5N^{c+1} N + 3 L + r 2 ≤ 5 N + 3 N c + 1 ≤ 5 N c + 1 , because r 2 ≤ 4 N r^2\le4N r 2 ≤ 4 N and N c ≥ 3 N^c\ge3 N c ≥ 3 . The treewidth is at least that of the grid, and N ≥ N + 2 / 2 \sqrt{N}\ge\sqrt{N+2}/2 N ≥ N + 2 /2 . ⟨1⟩4. An algorithm in time O ( 2 ( 1 − γ ) t ) O(2^{(1-\gamma)t}) O ( 2 ( 1 − γ ) t ) would count the satisfying assignments of F F F in time O ( 2 ( 1 − γ ) N ) O(2^{(1-\gamma)N}) O ( 2 ( 1 − γ ) N ) .
Proof: It computes Z ( Φ ) Z(\Phi) Z ( Φ ) in time O ( 2 ( 1 − γ ) ( N + 2 ) ) = O ( 2 ( 1 − γ ) N ) O(2^{(1-\gamma)(N+2)}) = O(2^{(1-\gamma)N}) O ( 2 ( 1 − γ ) ( N + 2 ) ) = O ( 2 ( 1 − γ ) N ) , and # F = Z ( Φ ) / 2 r 2 \#F = Z(\Phi)/2^{r^2} # F = Z ( Φ ) / 2 r 2 . The reduction takes polynomial time.
⟨1⟩5. Q.E.D.
Proof: The algorithm of ⟨1⟩4 contradicts Hypothesis 2.10 . For the decision version, Z ( Φ ) > 0 Z(\Phi) > 0 Z ( Φ ) > 0 if and only if F F F is satisfiable, and Hypothesis 2.9 applies in the same way. A MAP assignment of a 0/1 model has weight 1 if and only if Z ( Φ ) > 0 Z(\Phi) > 0 Z ( Φ ) > 0 .
Corollary 5.6 (The treewidth transition). Consider Boolean models of bounded degree and arity, with small nonnegative integer weights.
(a) If n ≤ tw ⋅ ( log tw ) 1 / 2 − θ n \le\operatorname{tw} \cdot(\log\operatorname{tw})^{1/2-\theta} n ≤ tw ⋅ ( log tw ) 1/2 − θ for some θ > 0 \theta> 0 θ > 0 , exact inference takes time 2 o ( tw ) 2^{o(\operatorname{tw})} 2 o ( tw ) , and treewidth-based algorithms are not optimal.
(b) Under Hypothesis 2.10 , for every γ > 0 \gamma> 0 γ > 0 no algorithm runs in time 2 ( 1 − γ ) tw poly ( n ) 2^{(1-\gamma)\operatorname{tw}}\operatorname{poly}(n) 2 ( 1 − γ ) tw poly ( n ) on all such models. This already holds for models with n ≤ tw O ( 1 ) n \le\operatorname{tw}^{O(1)} n ≤ tw O ( 1 ) variables. So treewidth-based algorithms are optimal up to γ \gamma γ in the exponent once polynomially many variables are allowed.
Proof of Corollary 5.6. ⟨1⟩1. Part (a) holds.
Proof: By Theorem 5.1, the time is 2 O ( n / log n ) 2^{O(n/\sqrt{\log n})} 2 O ( n / l o g n ) . Because n ≥ tw n \ge\operatorname{tw} n ≥ tw , we have n / log n ≤ tw ( log tw ) 1 / 2 − θ / log tw = tw ( log tw ) − θ = o ( tw ) n/\sqrt{\log n} \le\operatorname{tw}(\log\operatorname{tw})^{1/2-\theta}/\sqrt{\log\operatorname{tw}} = \operatorname{tw}(\log\operatorname{tw})^{-\theta} = o(\operatorname{tw}) n / log n ≤ tw ( log tw ) 1/2 − θ / log tw = tw ( log tw ) − θ = o ( tw ) . Treewidth-based algorithms take time 2 Ω ( tw ) 2^{\Omega(\operatorname{tw})} 2 Ω ( tw ) on the instances of Corollary 5.2, which satisfy n = O ( tw ) n = O(\operatorname{tw}) n = O ( tw ) .
⟨1⟩2. Part (b) holds.
Proof: Let c c c be as in Theorem 5.5 for γ / 2 \gamma/2 γ /2 . Its instances have degree at most 4 and arity at most 3, and they satisfy t / 2 ≤ tw ≤ t \sqrt{t}/2 \le\operatorname{tw} \le t t /2 ≤ tw ≤ t and n ≤ 5 t c + 1 ≤ 5 ( 4 tw 2 ) c + 1 n \le5t^{c+1} \le5(4\operatorname{tw}^{2})^{c+1} n ≤ 5 t c + 1 ≤ 5 ( 4 tw 2 ) c + 1 , so n ≤ tw O ( 1 ) n \le\operatorname{tw}^{O(1)} n ≤ tw O ( 1 ) . An algorithm in time 2 ( 1 − γ ) tw poly ( n ) 2^{(1-\gamma)\operatorname{tw}}\operatorname{poly}(n) 2 ( 1 − γ ) tw poly ( n ) would run there in time 2 ( 1 − γ ) t poly ( t ) = O ( 2 ( 1 − γ / 2 ) t ) 2^{(1-\gamma)t}\operatorname{poly}(t) = O(2^{(1-\gamma/2)t}) 2 ( 1 − γ ) t poly ( t ) = O ( 2 ( 1 − γ /2 ) t ) .
⟨1⟩3. Q.E.D.
Proof: By ⟨1⟩1 and ⟨1⟩2.
Proofs for Sections 6 and 8
Proposition 6.1 (Sparse CNF-SAT is subexponential). For all constants c , ϵ ′ > 0 c,\epsilon' > 0 c , ϵ ′ > 0 , the number of satisfying assignments of a CNF formula with n n n variables and at most c n cn c n clauses of arbitrary width can be computed in time O ( 2 ϵ ′ n ) O(2^{\epsilon'n}) O ( 2 ϵ ′ n ) .
Proof of Proposition 6.1 . ⟨1⟩1. Let: k ≥ 1 k \ge1 k ≥ 1 be a constant with log ( e ( c k + 1 ) ) / k ≤ ϵ ′ / 2 \log(e(ck + 1))/k \le\epsilon'/2 log ( e ( c k + 1 )) / k ≤ ϵ ′ /2 , and Let: F F F be the formula without its tautological clauses. Run Reduce k ( F ) \operatorname{Reduce}_k(F) Reduce k ( F ) of Section C.3.
Proof: The constant k k k exists because log ( e ( c k + 1 ) ) / k → 0 \log(e(ck + 1))/k \to0 log ( e ( c k + 1 )) / k → 0 . Deleting tautological clauses changes neither the count nor the number of variables.
⟨1⟩2. The tree has at most ( n + 1 ) ( e ( c k + 1 ) ) n / k ≤ ( n + 1 ) 2 ϵ ′ n / 2 (n + 1)(e(ck + 1))^{n/k} \le(n + 1)2^{\epsilon'n/2} ( n + 1 ) ( e ( c k + 1 ) ) n / k ≤ ( n + 1 ) 2 ϵ ′ n /2 leaves.
Proof: By Claim C.2 with m ≤ c n m \le cn m ≤ c n clauses, the number of leaves is at most ∑ r ≤ n / k ( m + r r ) ≤ ( n + 1 ) ( m + ⌊ n / k ⌋ ⌊ n / k ⌋ ) ≤ ( n + 1 ) ( e ( m k / n + 1 ) ) n / k \sum_{r\le n/k}\binom{m+r}{r} \le(n + 1)\binom{m+\lfloor n/k\rfloor}{\lfloor n/k\rfloor} \le(n + 1)(e(mk/n + 1))^{n/k} ∑ r ≤ n / k ( r m + r ) ≤ ( n + 1 ) ( ⌊ n / k ⌋ m + ⌊ n / k ⌋ ) ≤ ( n + 1 ) ( e ( mk / n + 1 ) ) n / k , and m k / n ≤ c k mk/n \le ck mk / n ≤ c k .
⟨1⟩3. Each leaf formula can be counted over its free variables in time 2 o ( n ) 2^{o(n)} 2 o ( n ) .
Proof: It is a k k k -CNF on at most n n n variables. If at least 4 variables occur in it and it has at least 2 clauses, Imported Theorem 2.4 counts the occurring variables in time 2 C 1 k 2 q 2 ( n ) = 2 o ( n ) 2^{C_1 k^2 q^2(n)} = 2^{o(n)} 2 C 1 k 2 q 2 ( n ) = 2 o ( n ) , because k k k is constant. Otherwise brute force takes constant time. Each free variable that does not occur doubles the count.
⟨1⟩4. Q.E.D.
Proof: By Claim C.1 , the count of F F F is the sum of the leaf counts. The tree has at most twice as many nodes as leaves, with polynomial work per node. With ⟨1⟩2 and ⟨1⟩3, the total time is ( n + 1 ) 2 ε ′ n / 2 ⋅ 2 o ( n ) poly ( n ) = O ( 2 ε ′ n ) (n+1)2^{\varepsilon'n/2}\cdot2^{o(n)}\operatorname{poly}(n)=O(2^{\varepsilon'n}) ( n + 1 ) 2 ε ′ n /2 ⋅ 2 o ( n ) poly ( n ) = O ( 2 ε ′ n ) .
Proposition F.1 (Proper k k k -term DNF learning). Assume Hypothesis 2.9 , and let k ≥ 2 k\ge2 k ≥ 2 be a constant. For every γ > 0 \gamma>0 γ > 0 , no randomized algorithm decides in time O ( 2 ( 1 / 2 − γ ) n ) O(2^{(1/2-\gamma)n}) O ( 2 ( 1/2 − γ ) n ) whether a sample of polynomial size in { 0 , 1 } n \{0,1\}^{n} { 0 , 1 } n is consistent with a k k k -term DNF. The same holds for proper PAC learning of k k k -term DNF to some inverse-polynomial accuracy.
The proof encodes a CNF as a hypergraph on its literals and applies the reduction of Pitt and Valiant [115 ] . The factor 1 / 2 1/2 1/2 comes from encoding literals as separate elements. Whether proper k k k -term DNF learning needs time 2 ( 1 − γ ) n 2^{(1-\gamma)n} 2 ( 1 − γ ) n under CNF-SETH, or admits a 2 ( 1 − Ω ( 1 ) ) n 2^{(1-\Omega(1))n} 2 ( 1 − Ω ( 1 )) n algorithm, is open.
Proof of Proposition F.1 . ⟨1⟩1. Let: F F F be a CNF on N N N variables. Let: U = { z i , z ˉ i : i ≤ N } ∪ { ⊥ } ∪ { s 1 , … , s k − 2 } U=\{z_i,\bar{z}_i:i\le N\}\cup\{\perp\}\cup\{s_1,\ldots,s_{k-2}\} U = { z i , z ˉ i : i ≤ N } ∪ { ⊥ } ∪ { s 1 , … , s k − 2 } , of size 2 N + k − 1 2N+k-1 2 N + k − 1 , and let: E \mathcal{E} E be the hypergraph on U U U with the following edges: { z i , z ˉ i } \{z_i,\bar{z}_i\} { z i , z ˉ i } for all i i i ; C ∪ { ⊥ } C\cup\{\perp\} C ∪ { ⊥ } for every clause C C C , where the literal ¬ z i \neg z_i ¬ z i is the element z ˉ i \bar{z}_i z ˉ i ; { s a , s b } \{s_a,s_b\} { s a , s b } for all a ≠ b a\ne b a = b ; and { s a , u } \{s_a,u\} { s a , u } for all a a a and all u ∉ { s 1 , … , s k − 2 } u\notin\{s_1,\ldots,s_{k-2}\} u ∈ / { s 1 , … , s k − 2 } . Then F F F is satisfiable if and only if E \mathcal{E} E has a k k k -coloring in which no edge is monochromatic.
⟨2⟩1. In such a coloring, the elements s a s_a s a get k − 2 k-2 k − 2 distinct colors that no other element uses.
Proof: By the edges { s a , s b } \{s_a,s_b\} { s a , s b } and { s a , u } \{s_a,u\} { s a , u } .
⟨2⟩2. If E \mathcal{E} E has such a coloring χ \chi χ , then F F F is satisfiable.
Proof: By ⟨2⟩1, the other elements use two colors. Call them 0 and 1, with χ ( ⊥ ) = 0 \chi(\perp)=0 χ ( ⊥ ) = 0 . The edge { z i , z ˉ i } \{z_i,\bar{z}_i\} { z i , z ˉ i } gives z i z_i z i and z ˉ i \bar{z}_i z ˉ i opposite colors, so under the assignment z i = χ ( z i ) z_i=\chi(z_i) z i = χ ( z i ) the color of each literal is its truth value. The edge C ∪ { ⊥ } C\cup\{\perp\} C ∪ { ⊥ } is not monochromatic, so C C C contains a literal of color 1, which is true.
⟨2⟩3. If F F F is satisfiable, then E \mathcal{E} E has such a coloring.
Proof: Color each literal by its truth value under a satisfying assignment, ⊥ \perp ⊥ by 0, and s a s_a s a by a + 1 a+1 a + 1 . Each edge C ∪ { ⊥ } C\cup\{\perp\} C ∪ { ⊥ } contains a true literal of color 1 and ⊥ \perp ⊥ of color 0. The other edges are bichromatic by construction.
⟨2⟩4. Q.E.D.
Proof: By ⟨2⟩2 and ⟨2⟩3.
⟨1⟩2. Let: U U U be identified with [ n ] [n] [ n ] , n = 2 N + k − 1 n=2N+k-1 n = 2 N + k − 1 . Let: the sample consist of the positive examples p u = 1 − e u p_u=1-e_u p u = 1 − e u for all u u u and the negative examples q Y = 1 − 1 Y q_Y=1-1_Y q Y = 1 − 1 Y for all edges Y Y Y of E \mathcal{E} E . Then E \mathcal{E} E has a k k k -coloring without monochromatic edges if and only if some k k k -term DNF is consistent with the sample [115 ] .
⟨2⟩1. If χ \chi χ is such a coloring, then T 1 ∨ ⋯ ∨ T k T_1\vee\cdots\vee T_k T 1 ∨ ⋯ ∨ T k with T a = ⋀ u : χ ( u ) ≠ a x u T_a=\bigwedge_{u:\chi(u)\ne a}x_u T a = ⋀ u : χ ( u ) = a x u is consistent.
Proof: The term T χ ( u ) T_{\chi(u)} T χ ( u ) does not contain x u x_u x u , so T χ ( u ) ( p u ) = 1 T_{\chi(u)}(p_u)=1 T χ ( u ) ( p u ) = 1 . For every a a a , an edge Y Y Y contains some u u u with χ ( u ) ≠ a \chi(u)\ne a χ ( u ) = a , so x u x_u x u is in T a T_a T a and T a ( q Y ) = 0 T_a(q_Y)=0 T a ( q Y ) = 0 .
⟨2⟩2. If T 1 ∨ ⋯ ∨ T k T_1\vee\cdots\vee T_k T 1 ∨ ⋯ ∨ T k is consistent, then coloring each u u u by some a a a with T a ( p u ) = 1 T_a(p_u)=1 T a ( p u ) = 1 leaves no edge monochromatic.
Proof: Suppose that an edge Y Y Y is monochromatic with color a a a . Every edge has at least two elements, so T a T_a T a accepts p u p_u p u and p u ′ p_{u'} p u ′ for two distinct u , u ′ ∈ Y u,u'\in Y u , u ′ ∈ Y . A negative literal ¬ x v \neg x_v ¬ x v is true on p u p_u p u only if v = u v=u v = u , so T a T_a T a has no negative literal. A literal x v x_v x v with v ∈ Y v \in Y v ∈ Y is false on p v p_v p v , which T a T_a T a accepts, so T a T_a T a contains no such literal. Thus T a ( q Y ) = 1 T_a(q_Y)=1 T a ( q Y ) = 1 , which contradicts consistency.
⟨2⟩3. Q.E.D.
Proof: By ⟨2⟩1 and ⟨2⟩2.
⟨1⟩3. Q.E.D.
Proof: The sample has polynomial size. An algorithm in time O ( 2 ( 1 / 2 − γ ) n ) O(2^{(1/2-\gamma)n}) O ( 2 ( 1/2 − γ ) n ) would decide F F F in time O ( 2 ( 1 / 2 − γ ) ( 2 N + k − 1 ) ) = O ( 2 ( 1 − 2 γ ) N ) O(2^{(1/2-\gamma)(2N+k-1)})=O(2^{(1-2\gamma)N}) O ( 2 ( 1/2 − γ ) ( 2 N + k − 1 ) ) = O ( 2 ( 1 − 2 γ ) N ) , which contradicts Hypothesis 2.9 with slack 2 γ 2\gamma 2 γ . For learners, use the argument of Theorem 3.4(iii) with the uniform distribution on the sample.
Proposition 8.1 (ERM for halfspaces on difference vectors). Let G = ( [ n ] , A ) G=([n],A) G = ([ n ] , A ) be a digraph with nonnegative arc weights w t \mathrm{wt} wt . Consider the sample S G = { ( e i − e j , 1 ) : ( i , j ) ∈ A } S_G=\{(e_i-e_j,1):(i,j)\in A\} S G = {( e i − e j , 1 ) : ( i , j ) ∈ A } , in which the example of the arc ( i , j ) (i,j) ( i , j ) has weight w t ( i , j ) \mathrm{wt}(i,j) wt ( i , j ) , and homogeneous halfspaces h w ( x ) = 1 [ ⟨ w , x ⟩ > 0 ] h_w(x)=\mathbb{1}[\langle w,x\rangle>0] h w ( x ) = 1 [⟨ w , x ⟩ > 0 ] with w ∈ R n w\in\mathbb{R}^n w ∈ R n . Then the minimum over w w w of the weighted error ∑ ( i , j ) ∈ A w t ( i , j ) 1 [ h w ( e i − e j ) = 0 ] \sum_{(i,j)\in A}\mathrm{wt}(i,j)\mathbb{1}[h_w(e_i-e_j)=0] ∑ ( i , j ) ∈ A wt ( i , j ) 1 [ h w ( e i − e j ) = 0 ] is the minimum weight of a feedback arc set of G G G .
Proof of Proposition 8.1. ⟨1⟩1. For every w w w , the misclassified arcs form a feedback arc set.
Proof: The arc ( i , j ) (i,j) ( i , j ) is classified correctly if and only if w i > w j w_i>w_j w i > w j . A cycle of correctly classified arcs would give w i 1 > w i 2 > ⋯ > w i 1 w_{i_1}>w_{i_2}>\cdots>w_{i_1} w i 1 > w i 2 > ⋯ > w i 1 .
⟨1⟩2. For every feedback arc set B B B , some w w w misclassifies only arcs of B B B .
Proof: The graph ( [ n ] , A ∖ B ) ([n],A\setminus B) ([ n ] , A ∖ B ) is acyclic. Let pos ( i ) \operatorname{pos}(i) pos ( i ) be the position of i i i in a topological order of it, and put w i = n − pos ( i ) w_i=n-\operatorname{pos}(i) w i = n − pos ( i ) . Every arc of A ∖ B A\setminus B A ∖ B goes forward in this order, so it is classified correctly.
⟨1⟩3. Q.E.D.
Proof: By ⟨1⟩1 and ⟨1⟩2, the minimum weighted error equals the minimum weight of a feedback arc set.
Notation
The table lists the global symbols. Three of them have two closely related meanings, which the context always fixes: n n n , k k k and c c c . Symbols that occur only inside one proof are defined there.
Table 3.