Research note
Posterior-Cut Preconditioning for Exact Learning of \(k\)-Term DNFs
Positive witnesses, certified peeling, boundary-rescue overlap, and central equivalence hypotheses as a unified geometric language for membership and equivalence query learning.
1. Exact Learning as Posterior Collapse
Let \(\mathcal X=\{0,1\}^n\), and let \(H_k\) be the class of Boolean functions representable by a DNF with at most \(k\) terms. A transcript \(\tau_t\) of membership and equivalence query responses defines the version space
With any full-support prior on \(H_k\), the noiseless posterior is exactly supported on \(V_t\). The target is learned exactly when every surviving hypothesis computes the same Boolean function, even if several syntactic representations remain.
Definition 1.1: Collapse and Disagreement
Define the posterior predictive probability and disagreement region by
The version space has collapsed exactly when \(D_t=\varnothing\), or equivalently when \(p_t(x)\in\{0,1\}\) for every \(x\in\mathcal X\).
Membership queries as local cuts
A membership query at \(x\) partitions \(V_t\) into \(V_t^0(x)\) and \(V_t^1(x)\). The best guaranteed local split is
If \(\alpha(V_t)\) is large, one point query removes a substantial posterior fraction regardless of the returned label.
Equivalence queries as global cuts
A proposed hypothesis \(g\) defines disagreement slices \(E_t(g,x)=\{h\in V_t:h(x)\ne g(x)\}\). A rejected equivalence query returns some \(x\) and restricts the posterior to this slice.
If \(\Lambda_t(g)\le 1-\beta\), then every counterexample cuts at least a \(\beta\) fraction of the posterior.
2. Central Hypotheses
The ideal equivalence-query proposal is the posterior-majority function
Theorem 2.1: Majority Halving
For every version space and posterior, \[ \Lambda_t(g_t^{\mathrm{Maj}})\le \frac12. \] Consequently, every rejected equivalence query to \(g_t^{\mathrm{Maj}}\) removes at least half of the posterior mass.
Proof sketch. At each point \(x\), the posterior-majority label is disagreed with by posterior mass at most \(1/2\). The oracle may choose any counterexample, but every possible counterexample lies in a minority slice.
This halving fact is information-theoretic. The difficulty for DNF learning is representational: the majority vote over surviving \(k\)-term DNFs need not itself be a compact \(k\)-term DNF. The central task is therefore to construct compact surrogates that are sufficiently central.
Lemma 2.2: Approximate Centers
If \(\widehat p_t\) satisfies \[ \sup_x|\widehat p_t(x)-p_t(x)|\le\varepsilon, \] then \(\widehat g_t(x)=\mathbf 1[\widehat p_t(x)\ge 1/2]\) is \((1/2-\varepsilon)\)-central: \[ \Lambda_t(\widehat g_t)\le \frac12+\varepsilon. \]
Positive-witness peeling and overlap compression should be read as preconditioners for this central-hypothesis problem. They simplify the residual posterior geometry until useful centers are easier to represent.
3. Positive Witnesses and Local Fibers
DNFs are asymmetric: a positive point says that at least one term fired. For \(x\in\mathcal X\), let the agreeing literal in coordinate \(i\) be
Definition 3.1: Local Kill Set
For a positive point \(x^+\), define
The associated positive-witness fiber is the class of hypotheses satisfying \(h(x^+)=1\) and \(h(x^+\oplus e_i)=0\) for every \(i\in K_f(x^+)\).
Lemma 3.2: Killed Neighbors Certify Active Literals
If \(f=T_1\vee\cdots\vee T_m\), \(f(x^+)=1\), and \(f(x^+\oplus e_i)=0\), then every term active at \(x^+\) contains the agreeing literal \(\lambda_i^{x^+}\).
Proof sketch. If an active term did not contain \(\lambda_i^{x^+}\), flipping coordinate \(i\) would leave that term satisfied, forcing \(f(x^+\oplus e_i)=1\), a contradiction.
Thus each killed neighbor removes one bit of active-term ambiguity. Among all conjunctions satisfied by \(x^+\), requiring the \(s\) killed literals reduces the active term choices by a factor \(2^{-s}\).
4. Certified Term Peeling
The strongest local case occurs when a positive witness isolates a single term from the rest of the DNF.
Definition 4.1: Isolated Positive Witness
Write \(f=T\vee R\), where \(R\in H_{k-1}\). A point \(x^+\) is isolated for \(T\) if
Theorem 4.2: One-Term Recovery
If \(x^+\) is isolated for \(T\), then querying all one-bit perturbations recovers the term exactly:
Corollary 4.3: Certified Preconditioning Bound
Suppose \(q\) terms are recovered and peeled by isolated witnesses. Then, using any exact learner \(Q(n,s)\) for \(H_s\) on the residual,
In particular, using the Alman--Nadimpalli--Patel--Servedio learner for the residual gives
This is an instance-dependent improvement. The certificate is exact: the peeled DNF has no false positives, and any subsequent residual hypothesis \(\widehat R\) can be proposed as \(G_q\vee\widehat R\).
5. Failure to Peel Forces Overlap
The obstruction to peeling is also informative. Let \(f=T_1\vee\cdots\vee T_m\), define \(R_j=\bigvee_{\ell\ne j}T_\ell\), and let the private region of \(T_j\) be
Theorem 5.1: Peel-or-Overlap Dichotomy
For every term \(T_j\), exactly one of the following alternatives holds:
(i) \(P_j=\varnothing\), so \(T_j\) is redundant in the representation.
(ii) \(T_j\) is locally peelable: there exists \(x\in P_j\) such that \(R_j(x\oplus e_i)=0\) for all \(i\in\mathrm{var}(T_j)\).
(iii) \(P_j\ne\varnothing\), \(T_j\) is not locally peelable, and every private point has a rescued one-bit boundary:
Moreover, if \(r_j=|\mathrm{var}(T_j)|\), then some coordinate rescues at least a \(1/r_j\) fraction of \(P_j\).
Thus an unpeelable nonredundant term is not featureless. Its private region is surrounded by other terms along one-bit boundaries.
6. Boundary-Rescue Compression
Represent a term as a subcube \(C_j=\{x:T_j(x)=1\}\), let \(S_j=\mathrm{var}(T_j)\), and define private density \(\rho_j=|P_j|/|C_j|\). The overlap side of the dichotomy gives a quantitative compression statement.
Theorem 6.1: Nearby Rescuer
If \(T_j\) is nonredundant and not locally peelable, then there exist \(i^\star\in S_j\) and another term \(T_\ell\) such that, with \(a_{j\ell}=|S_\ell\setminus S_j|\),
In words, some rescuer term is close to \(T_j\) in the number of new variables it introduces.
Under bounded width \(w\) and private density lower bound \(\rho\), every unpeelable nonredundant term has a rescuer within radius
This defines a boundary-rescue graph on terms. A cluster described by an anchor plus radius-\(L\) rescue transitions has rough description length
rather than \(m\log N_w\), where \(N_w=\sum_{a=0}^w{n\choose a}2^a\). This does not yet give a worst-case learning improvement, but it isolates the residual structure that a sharper theorem would need to exploit.
7. Certified Overlap Modules
Boundary rescue is a compression certificate, not automatically a learner. One complete setting where it becomes an exact learner is a query-separable module decomposition.
Definition 7.1: Query-Separable Residual
Let \(f=G_q\vee R\), where \(G_q\) is the peeled DNF. A decomposition \(R=M_1\vee\cdots\vee M_c\) is query-separable with local width \(\ell\) if each \(M_a\) depends only on \(Y_a\), \(|Y_a|\le\ell\), and every local assignment \(y\in\{0,1\}^{Y_a}\) has a constructible point \(x(a,y)\) with
Theorem 7.2: Exact Learning From Certified Modules
If a preconditioning phase peels \(q\) terms and certifies such a residual decomposition into \(c\) modules of local width at most \(\ell\), then \(f\) is exactly learnable using
queries after the certificates are available.
This theorem identifies the missing structural step needed for a worst-case improvement: prove that high rescue-rate residuals organize into query-separable modules, or into another compact representation from which central equivalence hypotheses can be constructed.
8. Relation to the ANPS Enhanced-Feature Learner
The Alman--Nadimpalli--Patel--Servedio exact learner can be translated directly into the present language. It maintains eligible pairs \((T',R_{T'})\), where \(T'\) is a candidate stem and \(R_{T'}\) is an auxiliary variable set. Its feature space contains augmented monomials
If the maintained family is fully expressive, every target term has a valid stem \(T'\) whose missing literals lie in \(R_{T'}\). Then the DNF is represented as an augmented polynomial threshold function of degree and weight
Winnow2 over this feature space supplies the equivalence-query sequence. Positive counterexamples grow the stem family; negative counterexamples grow \(R_{T'}\) through a noised line-search that filters out variables relevant only to long terms.
More explicitly, after \(q\) certified peels, with \(s=k-q\), the residual augmented-PTF degree and weight become
The feature-count term changes from roughly \(|{\cal F}|\binom{O(k^2\log k)}{\le d_k}\) to \(|{\cal F}_{\mathrm{res}}|\binom{O(s^2\log s)}{\le d_s}\), up to the usual \(\widetilde O(\cdot)\) factors.
9. Sequence-Level View
A transcript can be treated as an adaptive query program
Each step has posterior-retention ratio \(r_t=P_0(V_{t+1})/P_0(V_t)\) and cut \(c_t=1-r_t\). The framework evaluates a sequence not only by \(\prod_t r_t\), but also by the structural information it certifies.
10. Numerical Probes
The experiments below are small-scale geometry probes, not asymptotic evidence. They test whether the transcript mechanisms above produce large cuts and whether failure to peel coincides with boundary-rescue overlap.
Exact \(H_k\) enumeration for \(n=4\)
| \(k\) | \(|H_k|\) | Best MQ cut \(\alpha\) | Majority-EQ guaranteed cut | Best legal \(H_k\)-EQ retained |
|---|---|---|---|---|
| 1 | 82 | 0.195 | 0.805 | 0.195 |
| 2 | 1,886 | 0.320 | 0.680 | 0.320 |
| 3 | 15,358 | 0.418 | 0.582 | 0.418 |
| 4 | 44,262 | 0.472 | 0.528 | 0.472 |
| 5 | 61,294 | 0.495 | 0.505 | 0.495 |
The majority equivalence proposal inverts the local splitting skew: a point with small minority mass gives a strong counterexample cut.
Adaptive sequence simulation
| Policy, \(n=4,k=3\) | Mean queries | Median queries | Max queries | Mean cut/query |
|---|---|---|---|---|
| Greedy membership | 15.44 | 15.0 | 17 | 0.477 |
| EQ to posterior majority | 9.56 | 10.0 | 12 | 0.583 |
| EQ to best legal \(H_k\) center | 10.49 | 11.0 | 13 | 0.557 |
| Crude one-step hybrid | 11.10 | 11.0 | 15 | 0.555 |
Sampled over 80 targets with adversarial counterexamples. Majority-style equivalence proposals produce larger average cuts than greedy membership splits in this finite setting.
Positive-witness star cut
| Witness choice, \(n=4,k=3\) | Mean retained mass | Mean cut | Mean killed neighbors |
|---|---|---|---|
| Random positive witness | 0.0258 | 0.974 | 2.42 |
| Best positive witness | 0.0234 | 0.977 | 2.79 |
The one-bit star around a positive witness leaves only a small posterior fiber and simultaneously certifies active literals.
A small representability check also supports the central-hypothesis view. Across 936 posterior states visited by majority-EQ traces for \(n=4,k=3\), the exact posterior-majority truth table itself belonged to \(H_k\) in about 75.2% of states. When it did not, the best legal \(H_k\)-center was usually close: the mean retained-mass gap was about 0.008, with worst observed gap 0.167.
11. Sequential Peeling and the Residual Parameter
Random fixed-width DNFs were sampled, and a finite-cube routine repeatedly peeled any term with a locally isolated private witness. The purpose is to measure the possible drop from \(k\) to the residual term count \(s\).
| \(n,k,w\) | Mean peeled \(q\) | Median \(q\) | Mean residual \(s\) | Median \(s\) | \(\sqrt{k}-E\sqrt{s}\) | Rescue rate |
|---|---|---|---|---|---|---|
| 10,16,4 | 15.57 | 16.0 | 0.42 | 0.0 | 2.903 | 0.041 |
| 10,32,4 | 26.22 | 30.0 | 5.78 | 2.0 | 3.655 | 0.214 |
| 12,32,4 | 31.27 | 32.0 | 0.73 | 0.0 | 4.489 | 0.067 |
| 12,48,4 | 32.86 | 45.0 | 15.14 | 3.0 | 3.859 | 0.315 |
| 12,64,4 | 2.31 | 0.0 | 61.69 | 64.0 | 0.213 | 0.755 |
| 14,64,5 | 63.68 | 64.0 | 0.32 | 0.0 | 6.930 | 0.027 |
120 trials per row. Peeling is strong in sparse and moderately dense regimes. When it collapses, rescue rate rises sharply.
Bars show mean peeled terms \(q\) as a fraction of \(k\).
12. The Density Transition
A phase curve at \(n=12,w=4\) shows the shift from peelable geometry to overlap-heavy geometry.
| \(k\) | Mean peeled | Median residual | Full peel rate | Stuck-at-start rate | Residual rescue rate |
|---|---|---|---|---|---|
| 16 | 15.85 | 0.0 | 92.5% | 0.0% | 0.019 |
| 24 | 23.64 | 0.0 | 83.8% | 0.0% | 0.043 |
| 32 | 30.99 | 0.0 | 72.5% | 0.0% | 0.078 |
| 40 | 39.01 | 0.0 | 68.8% | 0.0% | 0.087 |
| 48 | 32.59 | 2.0 | 37.5% | 2.5% | 0.297 |
| 56 | 7.50 | 55.0 | 3.8% | 35.0% | 0.666 |
| 64 | 1.00 | 64.0 | 0.0% | 62.5% | 0.758 |
80 trials per row. As local peeling fails, rescued boundary overlap becomes the dominant observed structure.
13. Artifacts and Reproducibility
The accompanying workspace contains three kinds of artifacts. First, the
two source notes develop the posterior-collapse and central-equivalence
viewpoints separately. Second, the scripts
cut_sequence_experiments.py and
anps_witness_preconditioning_experiments.py generate the
finite version-space and random syntactic DNF probes. Third, the HTML
notes provide a web reading layer with the same numerical tables.
The exact \(n=4\) enumeration is deterministic once \(n\) and \(k\) are fixed. Terms are represented by non-contradictory literal patterns, truth tables are encoded as integers, and syntactic duplicates are removed. The random syntactic probes use explicit seeds and fixed-width terms sampled without replacement.
14. Present Contribution and Open Route
Certified improvement
If \(q\) terms are peeled, the residual ANPS-style phase runs with \(k-q\). This is an exact, certificate-driven, instance-dependent improvement.
Structural dichotomy
A nonredundant term either peels or has rescued one-bit private boundaries. Failure to peel is forced overlap structure.
Next theorem target
Prove that high boundary-rescue overlap yields query-separable modules or compact central surrogates for equivalence-query cuts.
The resulting research program is:
The current note stops short of a worst-case improvement over \(\mathrm{poly}(n)2^{\widetilde O(\sqrt{k})}\). Its value is a certified preconditioning theorem, a structural obstruction theorem, and numerical evidence that the two regimes predicted by the theory are visible in finite DNF geometries.
References
D. Angluin. Queries and concept learning. Machine Learning, 2(4):319--342, 1988.
J. Alman, S. Nadimpalli, S. Patel, and R. A. Servedio. Faster exact learning of \(k\)-term DNFs with membership and equivalence queries. arXiv:2507.20336, 2025.
J. Alman, S. Nadimpalli, S. Patel, and R. A. Servedio. DNF learning via locally mixing random walks. arXiv:2505.18839, 2025.
A. Blum and S. Rudich. Fast learning of \(k\)-term DNF formulas with queries. Journal of Computer and System Sciences, 51(3):367--373, 1995.
N. H. Bshouty. Exact learning Boolean functions via the monotone theory. Information and Computation, 123(1):146--153, 1995.
N. H. Bshouty. A subexponential exact learning algorithm for DNF using equivalence queries. Information Processing Letters, 59(1):37--39, 1996.
N. H. Bshouty. Almost optimal distribution-free junta testing. Computational Complexity, 28:749--783, 2019.
L. Hellerstein and V. Raghavan. Exact learning of DNF formulas using DNF hypotheses. Journal of Computer and System Sciences, 70(4):435--470, 2005.
L. Hellerstein, D. Kletenik, L. Sellie, and R. A. Servedio. Tight bounds for proper equivalence query learning of DNF. COLT, 2012.
A. R. Klivans and R. A. Servedio. Learning DNF in time \(2^{\widetilde O(n^{1/3})}\). Journal of Computer and System Sciences, 68(2):303--318, 2004.
E. Kushilevitz. A simple algorithm for learning \(O(\log n)\)-term DNF. Information Processing Letters, 61(6):289--292, 1997.
N. Littlestone. Learning quickly when irrelevant attributes abound: A new linear-threshold algorithm. Machine Learning, 2:285--318, 1988.
X. Liu, X. Chen, R. A. Servedio, Y. Sheng, and J. Xie. Distribution-free junta testing. ACM Transactions on Algorithms, 15(1):1--23, 2018.
L. G. Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134--1142, 1984.