potentialpaper

Learn Locally, Recurse Globally: Neural Circuit Synthesis Beyond Training Depth

Emile R Richard

VERICODEGEN @ NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We wrap a shallow-trained Boolean circuit synthesizer in a symbolic outer loop to recover global extrapolation out of a local generalizer

Abstract. Reasoning, planning, and agentic systems demand extrapolation from training instances to harder, more compositional problem instances they encounter at deployment. Neural networks trained by gradient descent generalize reliably within their training domain but struggle to extrapolate beyond it, even when global solutions are representable in their architecture class. We study the learn locally, recurse globally paradigm: train a neural model on problems of bounded difficulty and apply it iteratively under a verifiable outer loop that decomposes hard instances into a sequence of in-distribution sub-instances and reassembles the result. We instantiate this idea in Boolean circuit synthesis from truth-tables, which we adopt as a controllable abstraction of logical reasoning: a truth-table is a complete specification, so verification is exact, and circuit depth is a clean proxy for the difficulty of the underlying reasoning task.

Empirically, a 2.2 M-parameter encoder-decoder Transformer trained on depth <= 2 circuits, wrapped in an XOR residual refinement loop, synthesizes circuits exactly at 5x training depth, with circuits of about half the depth, counted with unbounded fan-in gates, of those of a standard EDA tool. Extrapolation to input arities beyond the encoder's reach is harder in general and relies on identifying subsets of active variables. We connect the algorithms to classical Boolean decomposition theory and to recent results on the expressivity limits of constant-depth Transformers.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
12 Sep 2026VERICODEGEN @ NeurIPS 2026submittedVERICODEGEN @ NeurIPS 2026Accepted · Poster—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

(a) Summary

The paper proposes a “learn locally, recurse globally” paradigm, instantiated in Boolean circuit synthesis. A Transformer trained on shallow circuits is combined with symbolic XOR residual refinement and recursive decomposition to synthesize circuits beyond the training depth and input size. The full neuro-symbolic pipeline achieves exact synthesis on the evaluated tasks and provides structural guarantees on circuit depth.

(b) Main strengths

  • Reviewers find the combination of learned local synthesis and symbolic recursion interesting and conceptually appealing.

  • The XOR residual refinement and its strong correctness properties are interesting.

  • The empirical results demonstrate strong system-level extrapolation beyond the neural model’s training regime.

(c) Main weaknesses

  • The contribution of the neural component is not sufficiently isolated from the symbolic mechanisms.

  • Evaluation is largely limited to synthetic circuits, with limited evidence on standard benchmarks or diverse hard Boolean functions.

  • The method has substantially higher computational cost than traditional EDA tools, and the PPO selector provides limited benefit.

  • The convergence analysis relies on idealized assumptions about residual errors that require further justification.

(d) Issues

All the concerns of the reviewers look reasonable

Final justification

The rebuttal addressed most of the reviewers’ concerns effectively. None of the reviewers expressed a more negative opinion after the rebuttal. The reviewers were satisfied with the additional experiments and appreciated the authors’ candid discussion of the paper’s limitations.

Area Chair PquR · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

(a) Summary

The paper proposes a “learn locally, recurse globally” paradigm, instantiated in Boolean circuit synthesis. A Transformer trained on shallow circuits is combined with symbolic XOR residual refinement and recursive decomposition to synthesize circuits beyond the training depth and input size. The full neuro-symbolic pipeline achieves exact synthesis on the evaluated tasks and provides structural guarantees on circuit depth.

(b) Main strengths

  • Reviewers find the combination of learned local synthesis and symbolic recursion interesting and conceptually appealing.

  • The XOR residual refinement and its strong correctness properties are interesting.

  • The empirical results demonstrate strong system-level extrapolation beyond the neural model’s training regime.

(c) Main weaknesses

  • The contribution of the neural component is not sufficiently isolated from the symbolic mechanisms.

  • Evaluation is largely limited to synthetic circuits, with limited evidence on standard benchmarks or diverse hard Boolean functions.

  • The method has substantially higher computational cost than traditional EDA tools, and the PPO selector provides limited benefit.

  • The convergence analysis relies on idealized assumptions about residual errors that require further justification.

(d) Issues

All the concerns of the reviewers look reasonable

Final justification

The rebuttal addressed most of the reviewers’ concerns effectively. None of the reviewers expressed a more negative opinion after the rebuttal. The reviewers were satisfied with the additional experiments and appreciated the authors’ candid discussion of the paper’s limitations.

1 comment
Authors · CommentOpenReview ↗

Response to Area Chair PquR

We thank the Area Chair for the summary, and address the four questions in responses to reviewers.

(1) Neural contribution not isolated: The isolated neural component is already in Table 2 "Single-pass". In reply to hq1W, we built a fully symbolic version of the recursive loop (ABC leaves, no neural net) and it reproduces the neural pipeline's pre-completion error bit-identically on all four real EPFL circuits we can represent. We report that as a clean isolation result rather than a defense, and it is also why we chose circuits in the first place: a domain with an exact symbolic solver is the only place this comparison can be run fairly. The paper studies a scaffold for propositional reasoning under two assumptions: (i) input is already formalized (ii) a trained model has real but training-bounded competence. Applications domains have no comparable exact solver. In those cases neural component additionally carries the formalization step.

(2) Synthetic-only evaluation: replies to Jumi and hq1W. New: four structured hard families including a cryptographic S-box, and the full pipeline run on every EPFL circuit our representation admits (4 of 20; the cap is the 2ⁿ×m truth table, not compute). Lesson learned is: training data has to match the sub-problems the decomposition generates, not the top-level problems it is handed.

(3) Cost and PPO: reply to Jumi. We agree on both. A learned selector is the obvious thing to try, so we tried it and benchmarked it against a deterministic classical selector on matched circuits; it does not move the headline error, and our own analysis says no selector could. We will present it as a negative result. On cost we do not dispute the gap. The per-step cost is dominated by the selector's enumeration over the full truth table, not by the neural forward pass.

(4) Convergence assumptions: replies to hq1W and Jumi. The contraction is enforced by an acceptance test in the algorithm; the independence assumption supplies only a rate.

Reviewer hq1WOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a neuro-symbolic Boolean circuit synthesis framework that combines a Transformer-based local circuit synthesizer with symbolic XOR residual refinement, recursive cofactoring, and exact SOP completion. The key idea is to train a neural model only on small, shallow synthesis problems and then use symbolic recursion to extend synthesis beyond the model's training depth and input arity. The paper presents theoretical analysis of residual refinement, introduces selector strategies for recursive decomposition, and evaluates the approach on synthetic Boolean circuits and larger recursive synthesis settings. The reported results show that the full neuro-symbolic pipeline can achieve exact synthesis on the evaluated tasks while operating beyond the direct input and depth limits of the base neural model.

Strengths and weaknesses

The paper presents an interesting neuro-symbolic synthesis framework that combines learned local circuit generation with symbolic verification, recursive decomposition, and exact completion. The idea of using a neural model as a local synthesizer while symbolic mechanisms provide correction and exactness is conceptually appealing. The empirical results demonstrate that the full pipeline can synthesize correct circuits beyond the direct training regime of the base Transformer.

My main concern is that the contribution of the neural component is not clearly isolated. Exactness ultimately follows from symbolic mechanisms such as XOR residual decomposition, recursive correction, and SOP completion, and the paper does not compare against strong purely symbolic recursive baselines under the same protocol. As a result, it is difficult to determine how much of the reported performance should be attributed to the learned synthesizer versus the surrounding symbolic framework.

A second concern is that the experiments primarily demonstrate extrapolation of the full neuro-symbolic system rather than extrapolation of the learned model itself. The Transformer is trained only on shallow local circuits, single-pass performance degrades beyond training depth, and large-input synthesis relies heavily on symbolic recursion. The paper would benefit from a clearer distinction between model-level generalization and system-level extrapolation.

I also found that several claims appear stronger than the supporting evidence. In particular, claims regarding selector superiority, depth advantages over ABC, scalability, and EDA-quality matching are only partially supported by the reported experiments. More broadly, the framework still relies on explicit truth tables, recursive residual tracking, and SOP fallback, so scalability remains structure-dependent and worst-case complexity remains exponential. Finally, the evaluation does not systematically explore difficult function families such as parity, arithmetic, multiplexer, cryptographic, or random Boolean functions, making it difficult to assess the practical scope of the method.

Questions
  1. Can the authors compare against purely symbolic recursive baselines (e.g., SOP recursion, ESOP/Reed–Muller decomposition, Shannon/cofactor recursion, or recursive ABC/ESPRESSO synthesis) under the same evaluation protocol? This would help isolate the contribution of the learned synthesizer.

  2. To what extent does the standalone Transformer generalize beyond its training depth without XOR refinement and symbolic recursion? The current results seem to demonstrate system-level extrapolation rather than learned-model extrapolation.

  3. Can the authors provide additional experiments on structured hard Boolean families such as parity, multiplexer, arithmetic, carry-chain, cryptographic, or random truth-table functions? This would help clarify the conditions under which the proposed framework is effective.

  4. The paper presents scalability beyond the base model's training regime. Can the authors clarify the computational complexity of the full framework, including recursive decomposition, verification, residual updates, and SOP completion, and discuss how this compares to classical symbolic synthesis methods?

  5. Proposition 4.1 appears to rely on assumptions about residual error behavior and false positives. Can the authors clarify the precise conditions under which the claimed contraction behavior is expected to hold?

Limitations

No.

The paper discusses some practical limitations, but it does not adequately address the dependence on symbolic completion, the distinction between neural and symbolic extrapolation, the lack of strong symbolic recursive baselines, the worst-case exponential complexity, or the potential failure modes on difficult Boolean function families.

Final justification

The rebuttal and discussion substantially clarified several of my original concerns. In particular, the authors clearly distinguish system-level extrapolation from model-level extrapolation, clarify that the main contribution is the neuro-symbolic scaffold rather than the learned synthesizer alone, provide additional evaluations on structured Boolean families and feasible EPFL benchmarks, and better characterize the assumptions underlying Proposition 4.1. The additional fully symbolic ABC-leaf comparison is particularly useful for isolating the neural component, and the narrowing of claims regarding selector superiority, depth advantage, scalability, and EDA-quality matching appropriately aligns the claims with the evidence.

Some important limitations nevertheless remain. The new EPFL experiments show that the neural component contributes little or nothing on several real circuits, while exactness is primarily ensured by the symbolic scaffold and completion mechanism. The fully specified truth-table representation also imposes a fundamental scalability limitation, and the framework does not demonstrate an asymptotic advantage over classical symbolic synthesis. Thus, I view the contribution primarily as a useful neuro-symbolic scaffold and controlled study of system-level extrapolation rather than evidence of neural synthesis superiority or broadly scalable EDA performance.

Overall, the rebuttal provides meaningful clarification and additional evidence addressing several of my original concerns, while also appropriately exposing and narrowing the remaining limitations. I therefore believe the strengths now slightly outweigh the weaknesses and raise my recommendation from 3 to 4 (Borderline Accept).

Formatting concerns

None observed

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer and address each point below.

1) Isolating the neural component / purely symbolic baselines. Two symbolic comparisons were already in the paper: Table 4's A-C selector, the cofactor criterion the reviewer names, on matched circuits against our learned selector, and Table 2 & 3's ABC resyn2/ESOP minimizers on the same random circuits. Prompted by this question we ran the comparison requested: the same A-C selector and scaffold as Table 4, but every leaf synthesized by ABC (strash+resyn2), a fully symbolic instantiation, no neural network anywhere.

On random circuits it lands in the same 46–51% band as Table 4's neural+A-C column (N=30 per n, independent draws, not Table 4's circuits, so we read that as distributional agreement only). The clean version is on real circuits, where the pairing is exact: on all four EPFL circuits our representation admits (ctrl, dec, cavlc, int2float), the same selector driving (a) the neural pipeline and (b) ABC-only leaf synthesis gave bit-identical residual trajectories and pre-completion error, 4 of 4. For a fixed selector the trajectory is set by the subset choices, not by which mechanism realizes each step, since both must realize the same projected sub-function exactly. The neural component is not what determines the headline error here.

This clarifies the neural component's role: it is not required for correctness on Boolean circuits, ABC solves that, and a fully classical version of our scaffold works too. The paper studies a scaffold for applying a model with real but training-bounded competence outside its training regime. Circuits are the cleanest testbed precisely because a strong classical alternative exists (see Q4 and the closing note).

Two SOP mechanisms are also worth separating from the selector: an inner fallback at k=5, fired when neural synthesis of a sub-table fails, and a final completion at full n-variable scale that guarantees termination without any selector. The selector's role is not to enable large-n synthesis (completion guarantees that regardless), but to reduce how much of the circuit needs it.

2) Model-level vs. system-level extrapolation. Table 1's "Single-pass" column reports exactly this: the standalone Transformer, no refinement or recursion. It rises from 0% at q=2 to 5.4–6.8% at q≥4, the base model alone does not extrapolate past its training depth, and the symbolic loop restores exactness (0.00% at every depth). We will make "single-pass = neural model alone" prominent in the caption and state the distinction as a limitation.

3) Structured hard function families. We ran the existing single-pass + refinement evaluation (identical harness to Table 1) on four structured families at n=m=4: parity, a 2-to-1 multiplexer, a 2-bit ripple-carry adder, and the PRESENT cipher's 4-bit S-box. Each is one canonical function, so the test set comes from random input-variable permutation, 50 runs per family over at most 24 permutations, and we report means.

Single-pass error is 0.0% (adder), 7.8% (parity), 17.3% (multiplexer), 25.8% (S-box); after refinement all four reach exactly 0.0% with zero fallbacks, at 1.0/1.9/2.0/3.7 mean iterations. Difficulty is strongly family-dependent, not only depth-dependent, a new axis beyond Table 1, while correctness holds even on the S-box, near worst-case for low-degree approximability. That graded difficulty is the structure a training curriculum could exploit, and we state it as future work.

4) Computational complexity. Component by component, for input arity n, output arity m, subset size k=5:

  • Selection, the dominant per-step cost in the recursive regime. The A-C selector enumerates all C(n,k) subsets, scoring each by cofactor column multiplicity over all 2ⁿ rows per active output: O(C(n,k)·m·2ⁿ), ≈10⁶ cell ops at n=10. The learned selector is one small forward pass.
  • Leaf synthesis and verification, one constant-cost forward pass, independent of n, plus an exact check at O(2ᵏ·m); the inner SOP fallback is also O(2ᵏ·m).
  • Residual update, O(2ⁿ·m) per accepted step: the correction is a k-junta but XOR-ed across the whole table.
  • Completion, O(2ⁿ·m) gates worst case, the same class as any exact two-level method; budgets are 30 refinement and 80 decomposition steps before it fires.

Comparison to classical symbolic synthesis: the neural component buys no asymptotic advantage. Even granting a free, O(1), perfectly parallel forward pass, every other term above is identical between the neural and ABC-leaf pipelines, selection, residual update and completion never involve the model, and selection dominates. That is also measured: both backends under the same selector give bit-identical trajectories on all four EPFL circuits.

The structural reason matters more than the measurement. Accepting a leaf means checking it against the projected sub-table, Θ(2ᵏ·m) whatever produced it, so exactness imposes a verification floor no learned speedup can go below: a learned synthesizer competes on the search side of the leaf problem, never the checking side. We return to what follows from that in the closing note.

Our claim is not sub-exponential worst-case complexity, but that the decomposition path reaches exactness with far fewer than 2ⁿ neural evaluations on typical instances, deferring the exponential term to a classical step already counted in our timings, from one machine running circuits sequentially. Neither path parallelizes within a trajectory, though both are parallel across circuits.

5) Proposition 4.1's assumptions. The precise condition is an acceptance test in the algorithm, not a property of the errors. In the refinement regime (k=n, the setting the proposition concerns) a correction is applied only if it strictly reduces the residual's Hamming weight, else it is rejected and a fallback fires. Contraction is enforced, so the independence assumption supplies only the rate (the 2ε₀ factor), not correctness or termination, which follow from monotone descent on a non-negative integer weight; the ≈2.4-iteration plateau checks that rate. In the decomposition regime (k<n) there is no such test: each step applies its projection unconditionally and the expected weight change is zero. We will state the distinction and the assumption's narrower role explicitly.

6) Claims stronger than the evidence. Fair, and the EPFL runs let us concede two with data rather than only theory. (i) Selector superiority, stronger than Table 4 supports: all selectors tie on the headline metric, the learned one's advantage is confined to compactness, and at N=30 it is directional, not established. (ii) Depth advantage over ABC, does not generalize without re-training the neural model: it holds on ctrl (depth 6 vs 8) and fails on the other three EPFL circuits, where we are 6–12× larger and deeper. The right scoping is by regime: the q_train + log₂T bound describes the refinement regime, where the model closes the residual and the output is an XOR of shallow leaves. In the decomposition regime the residual does not shrink, zero expected drift, for any selector, so completion dominates the output and its depth, and a better-trained model would not change that. (iii) Scalability, the interface is a fully specified 2ⁿ×m truth table, capped near n≤20 by representation alone on any hardware; 4 of 20 EPFL circuits are in reach, a property of the method and not of our compute. (iv) EDA-quality matching, no evidence and out of scope; we remove that phrasing.

7) Limitations. We will add all five items named: dependence on symbolic completion for the guarantee; the model- vs. system-level distinction; the absent symbolic baselines (supplied above); worst-case exponential complexity; and failure modes on hard families, including the mask fallback's lack of a bound.

We will also scope the method's interface explicitly: the framework assumes a fully observed truth table, and every guarantee depends on that. All four EPFL circuits and the survey go into an expanded Appendix F, at no cost in body pages.

Closing. We have answered several points by narrowing a claim, so we should say why what remains matters. The verification floor in Q4 is the crux. Boolean synthesis at k=5 is near the worst case for that trade, which is why the neural component buys nothing here, and why we treat this as a testbed, not an application. The regime where the scaffold should pay is the mirror image: proposing is hard, checking is cheap, no fast exact solver exists. Program verification against pre-/post-conditions is the case we have in mind: the specification pair plays the role of (X, Y). A candidate implementation the role of the circuit and checking is far cheaper than searching program space. Two things change there, and both are the interesting part, not obstacles. The specification is partial and possibly noisy, so acceptance degrades from exactly correct to consistent with observed constraints, and part of the problem becomes inferring what it omits. The XOR operator would not transfer (it is GF(2)-specific), but the scaffold it instantiates, decompose, verify locally, recombine, does not depend on that algebra. What this paper establishes is the piece that has to come first: a symbolic scaffold can carry an exactness guarantee while a bounded learner supplies only local, verified steps, and that guarantee survives even when the learner contributes nothing at all. This is measured, not simply asserted. Whether it survives a weakened verifier is what we most want to answer next.

Authors · CommentOpenReview ↗

On Q5 conditions of Proposition 4.1

Proposition 4.1 has two conditions: (C1) ε0∈[0,1/2)\varepsilon_0 \in [0, 1/2); (C2) the correction the step accepts (the first of up to MM candidates to pass the test) introduces at most ε0wt\varepsilon_0 w_t false positives (errors written into already-correct cells). Under both, the proposition gives the rate 2ε02\varepsilon_0 and contraction holds.

Termination rests on neither. Algorithm 1 compresses the accept/reject structure into a single guard; see the expanded pseudo-code in our reply to Jumi. Each step commits only if E(R′)<E(R)\mathcal{E}(R') < \mathcal{E}(R), so every applied step strictly reduces a non-negative integer and the loop halts after at most E(Y)\mathcal{E}(Y) of them. If no candidate passes, it halts and the SOP completion zeroes the residual. Exactness is therefore independent of the model. Compactness is not: a model that rarely passes the test simply hands more of the residual to completion.

Reviewer hq1W · CommentOpenReview ↗

Thank you for the detailed clarification. The rebuttal helps clarify the intended scope of the contribution. In particular, I appreciate the clarification that the primary contribution is the neuro-symbolic scaffold rather than the learned synthesizer alone, that the paper demonstrates system-level rather than model-level extrapolation, and that no asymptotic computational advantage over classical symbolic synthesis is being claimed. The additional clarification regarding the assumptions underlying Proposition 4.1 and the narrowing of claims related to selector superiority, depth advantage, scalability, and EDA-quality matching are also helpful. These clarifications address part of my concerns regarding the interpretation and scope of the paper's claims. However, my remaining concerns regarding the isolation of the neural component, the breadth of the experimental validation, and the evaluation against strong symbolic recursive baselines remain unchanged.

Authors · CommentOpenReview ↗

We thank the reviewer for engaging with the response. We would like to leave two things on the record.

On scope. The scaffold, rather than the learned synthesizer alone, has been the stated contribution throughout: it is the title (Learn Locally, Recurse Globally), the opening sentence of the abstract, and the first listed contribution. The paper's premise is that a model with bounded competence is wrapped in a symbolic loop that supplies correctness the model cannot.

On the three remaining points, we may not have signposted the relevant material well, so we list where it sits.

Isolation of the neural component. Table 2 of the submission reports, on the same 1,000 circuits per depth, the base model alone (single-pass, no refinement or recursion), the full system, and ABC: the pure-neural and the pure-symbolic endpoints side by side with the hybrid, which is what those two baselines were introduced for in §5.1. Table 3 extends the symbolic side to resyn2, &esop and &exorcism on the same circuits. Table 4 evaluates four selectors, including the classical Ashenhurst–Curtis criterion, and shows all four at ≈50% pre-completion error with the completion step supplying 0% regardless of selector; §5.4 states explicitly that completion, not the learned component, is load-bearing for correctness. Added in the response: a fully symbolic instantiation of the recursive loop, and on all four EPFL circuits our representation admits, the neural and ABC-only backends produce bit-identical residual trajectories.

Evaluation against strong symbolic recursive baselines. This is what we built in response to your Q1, which asked for recursive ABC/ESPRESSO synthesis under the same evaluation protocol. The comparison uses the same A-C selector and the same recursive scaffold, with ABC (strash+resyn2) synthesizing every leaf and no neural network anywhere in the loop. On random circuits it reaches 46–51% pre-completion error at n=6–10, the same band as the neural pipeline: independent draws from the same generator, which the bit-identical EPFL result then confirms exactly on matched circuits. The comparison is also insensitive to how strong the leaf synthesizer is: both backends must realize the same projected sub-function exactly, so any exact realization produces the identical residual trajectory.

Breadth of experimental validation. Added in the response: four structured families at n=m=4 (parity, multiplexer, ripple-carry adder, and the PRESENT cipher's 4-bit S-box), and the full pipeline on every EPFL combinational circuit the method can represent: 4 out of 20, with the survey showing the fifth-smallest has 24 inputs and twelve have 128 or more, so the limit is the 2ⁿ×m truth-table interface, not compute. The submission measured distance from the training distribution along one axis, circuit depth. The structured families and the EPFL circuits are out-of-distribution along different ones: function family, and real designs.

Reviewer JumiOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

They address a simple, well-motivated problem: NNs trained on shallow data fail badly when tested on deeper, more structured test data. Their demonstration is of circuit synthesis: they train a small (2.2M parameters) Transformer to produce 2-input Boolean circuits, and then wrap it in a symbolic outer loop that applies a transformation based on XOR algebra, breaking down deeper circuits into shorter segments. Any circuit has a Reed-Muller representation, which is an XOR sum of simpler circuits.

The NN repeatedly XORs its output with the true output to compute the error, then solves that circuit (an XOR of many small errors), hoping the NN can learn from it. This is repeated until the error is hopefully zero.

The system provably converges on 5-depth circuits after a few iterations. They had to include a less convincing “variable selection module” for a larger number of inputs: they tried this, learned policy with PPO to select input variables at each stage of decomposition, all selectors (including non-learned baselines) get about 50% pre-SOP error; only a deterministic fallback provides 0% error.

Strengths and weaknesses

Top Strengths

The core algorithmic idea is elegant and theoretically sound. The XOR residual refinement isn't merely a heuristic; the correctness proof relies solely on GF(2) algebra, completely independent of anything the neural component learns. This is highly unusual in neuro-symbolic papers, where correctness usually assumes reasonable off-distribution behavior from the neural parts.

The 0% synthesis error rate at a training depth of 5 is an impressive empirical result. Also, the fact that the required number of iterations saturates around 2.4 across test depths from 4 to 10 is a strong indicator that the circuit decomposition is actually extracting meaningful structure rather than papering over a flaky approximation.

The authors openly acknowledge that the loaded edge in establishing correctness actually belongs to the fallback SOP component rather than the trained policy. Most authors would downplay or ignore such inconvenient truths.

Top Weaknesses

All experimental evaluation relies on synthetically generated random circuits. Examination of the standard EPFL logic synthesis benchmark is deferred. The disconnect between the proposed methodology and its practical applicability to real-world problems remains largely unaddressed, given the lack of results on standard benchmarks.

The reported wall-clock time complexity is orders of magnitude higher than that of traditional EDA tools such as ABC. While the authors acknowledge this significant disadvantage, they fail to propose any avenues for optimization or further study. Given the paper’s context regarding EDA tools, this drawback warrants more than a single mention.

The contribution related to PPO is effectively nil. With performance hovering around a 50% error rate prior to the SOP fallback, a mechanism that guarantees correctness irrespective of selector performance, Section 5.4 contributes little beyond the negative finding that the PPO selector is ineffective. Framing this section as an additional contribution inflates the overall impact.

The convergence proof hinges on a crucial assumption: the independence of per-bit errors from the structure of the residual computation. This is admittedly an idealized scenario, and the authors offer no refined analysis. As a theoretical matter, this assumption is a major flaw; even in a General paper, it undermines the theoretical argument.

Questions
  1. Real benchmarks? A minimal EPFL evaluation (10-20 circuits, full pipeline vs ABC) would significantly boost the Significance. The central question is whether XOR residual refinement is applicable to actual circuit structures rather than just random truth tables.

  2. Where does Proposition 4.1 fail? We only observe the comment "per bit independence...holds generally". Which class of circuit families leads to the most frequent use of the mask-decomposition fallback? We'd like to see an experimental analysis of failure cases to strengthen the theory.

  3. Sensitivity not beyond depth? How does the loop perform under variations other than circuit depth (distribution of gate types, output arity, etc)? An ablation study with different training distributions at a fixed depth should provide insight into the robustness of the proposed paradigm.

  4. Link to BDD variable ordering with RL? In Kappart et al. (INFORMS JoC, 2022), a solution to the decision problem is introduced by framing the problem of ordering variables as a DP, using a DP similar to the PPO selector. No cite of this paper; the link and differentiation with the proposal needs to be made.

Limitations

The authors are remarkably up front about limitations, and that should be rewarded. That the SOP fall back, and not the PPO selector, is on the critical path for correctness, that there is a wall-clock comparison with ABC, and that the independence assumption in Prop. 4.1 is flagged, and the EPFL comparison is left for a future evaluation are all reported with appropriate honesty.

I have two comments in addition.

Synthetic-only evaluation is noted, but the authors seem to downplay its consequences. It may well be that the circuits synthesized are structurally very regular and thus systematically advantageously to an XOR residual loop. Whether the same applies to circuits of very different kinds (adders, multipliers, arithmetic circuits, ... ) is unknown and should have been flagged as part of the limitation. Second - Fallback without worst-case guarantee: The mask-decomposition fall back lacks any guaranteed correctness criteria; it only samples up to 20 random masks. And although no circuit required to do so failed, it was based on sampling only 1,000 circuits per depth and cannot guarantee to scale to harder or adversary circuits.

Formatting concerns

na

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for a detailed review, and for crediting our transparency around limitations. We address each point below.

EPFL benchmark evaluation. Appendix F previously reported ABC baselines. We have now run the full pipeline on every EPFL combinational circuit our method can represent, each truth table extracted from the .aig and checked against ABC's equivalence checker.

That is 4 of 20, and the reason is a representational cap, not a time budget: the interface is a fully specified 2ⁿ×m truth table, so arity is capped near n≤20 on any hardware. EPFL is sharply bimodal — ctrl 7 inputs, dec 8, cavlc 10, int2float 11, then sin at 24 (16.7M rows), log2 at 32, and the remaining 14 at 60–1,204. We ran the complete feasible set, not a sample of it.

Circuit n/m Pre-compl. Final Ours nd/dep resyn2 orig
ctrl 7/26 21.5% 0.0% 157/6 108/8 174/10
dec 8/256 0.8% 0.0% 1,846/11 304/3 304/3
cavlc 10/11 27.2% 0.0% 8,001/18 662/16 693/16
int2float 11/7 60.4% 0.0% 2,615/19 214/15 260/16

Lessons learned:

Exactness holds: 0% final error on all four.

The isolation result is confirmed exactly. Running the identical selector against a fully classical (ABC) leaf synthesizer reproduces the pre-completion error bit-identically on all four: the residual trajectory is fixed by the selector's subset sequence, not by which mechanism realizes each step.

Size is worse than our synthetic results suggested; we correct a claim rather than defend it. On ctrl our output is shallower than resyn2 (depth 6 vs 8), matching Table 3's depth-for-nodes trade; on the other three it is not; we are 6–12× larger and deeper. That claim belongs to the refinement regime (k=n), not the decomposition regime these circuits exercise. We will scope it accordingly. These counts are lower bounds: they exclude the XOR network combining per-step corrections, and the depth shown is the completion layer's.

The base model's competence degrades sharply under domain shift. Its inner-fallback rate (how often it fails to synthesize the sub-table it is handed) rises from 3/80 steps on ctrl to 45/80, 72/80 and 80/80 on the others. On cavlc it succeeded at no step. That run is effectively the symbolic scaffold alone. That a learned component degrades off-distribution is unsurprising; the useful form is a design lesson for scaffolds. In a scaffold you do not choose the leaf distribution, the scaffold induces it. Matching training data to top-level problems is not the same as matching it to the sub-problems the decomposition generates, and only the latter governs whether the learned component contributes. We take that up as a concrete direction under structured families below.

On the strength of that claim: the experiment shows leaf-distribution match predicts whether the learned component contributes, and localizes the gap to the base model's coverage, not the scaffold; it does not establish that retraining closes it. Two circuits end above their initial residual density (ctrl 19.1→21.5%, dec 0.4→0.8%) and two below (cavlc 30.2→27.2%, int2float 71.5→60.4%) — the two-sided, no-net-progress pattern the driftless-random-walk analysis predicts. All four circuits, the survey and the two-backend comparison will replace the ABC-only Appendix F, at no cost in body pages.

Structured families / regularity of the synthetic generator. The concern that our random circuits may be structurally regular in a way that favors a XOR residual loop, and that adders and arithmetic circuits are untested, is well taken, and we ran it. On four structured families at n=m=4 (parity; a 2-to-1 multiplexer; a 2-bit ripple-carry adder; the PRESENT cipher's 4-bit S-box), single-pass error runs 0.0% (adder), 7.8% (parity), 17.3% (multiplexer), 25.8% (S-box) — difficulty is strongly family-dependent, and the S-box is harder for the base model than any random circuit in Table 1. Refinement nevertheless reaches exactly 0% error on all four with zero fallbacks, at 1.9–3.7 mean iterations. Each family is one canonical function, so the test set comes from random input-variable permutation (50 runs over at most 24 permutations), which we will state rather than call 50 independent samples. With the EPFL results: the loop's correctness is family-agnostic, the base model's competence is not.

The finding indicates a research direction. Difficulty varies by family in a graded, measurable way (0% → 7.8% → 17.3% → 25.8%). This is a structure a curriculum can exploit: mixing structured families into training and ordering them by the degree-based difficulty is a concrete route to widening the base model's competence. On sensitivity beyond depth: these are two such axes; gate-type distribution and output arity remain unswept. Our generator fixes both.

Wall-clock cost and PPO's contribution. We do not dispute the wall-clock gap (§5.2, Limitations), and frame this as a methodology study rather than a production-EDA competitor for that reason.

On PPO we agree with the reviewer. A learned selector is the obvious thing to try, so we tried it, and benchmarked it against a deterministic classical selector (Ashenhurst–Curtis) on matched circuits. It does not reduce the headline pre-completion error, and further analysis of the update rule indicates no selector could: the correctable errors under a fixed subset size span a fixed structure, giving a selector-independent floor, and the per-step update is a driftless random walk, not a contraction. The one axis it moves is how compactly each correction is expressed (46% vs. 63% inner-fallback at n=8). Reporting that cleanly is the useful contribution: testing a natural hypothesis against a fair baseline and finding it does not pay off tells practitioners of decomposition pipelines where the leverage is not. The reviewer is right that presenting §5.4 as an added contribution overstates it; we will reframe it as a negative result and diagnostic.

On cost, the point that we identify no optimization avenues is fair, and isolating the recursive scaffold gave us one. The completion layer is emitted as raw minterms — one shared AND-of-n-literals term per remaining nonzero row, fanned out to whichever outputs are active there. Passing the identical residual through ABC's resyn2 gives 60 → 26 at n=6 and 933 → 178 at n=10 for ~40 ms extra (minterms on the left, AIG gates on the right). We can also say where the recursive-regime time goes: the dominant per-step cost is the A-C selector's enumeration of C(n,k) subsets over the full 2ⁿ-row table, not the neural forward pass.

Convergence proof's independence assumption. Further analysis narrows what the assumption is actually doing. In the refinement regime (k=n), a correction is applied only if it strictly reduces the residual's Hamming weight, else it is rejected and a fallback fires: contraction is enforced by the acceptance test, so the assumption supplies only the rate (the 2ε₀ factor), not correctness or termination, which follow from monotone descent on a non-negative integer weight; the ≈2.4-iteration plateau checks that rate. In the decomposition regime (k<n) there is no such test, and the expected weight change is zero rather than negative. We agree the assumption as stated reads as load-bearing for a result it does not carry, and will restate its role.

Which families trigger the fallback, and its lack of a guarantee. We tested the first directly. Our stored test data retains only truth tables, so we computed two exact Walsh–Hadamard features per circuit: mean Fourier degree and high-degree spectral mass, in the same degree-based language as Proposition 4.1. Neither correlates significantly with fallback incidence across 1,199 circuits (Spearman r=0.01–0.04, p0.1), and the rate does not trend cleanly with depth (2.3–7.0% across q=4–10). Only 60 circuits triggered the fallback at all, so this rules out moderate-to-large associations, not small ones. On the related limitation: the fallback samples up to 20 masks with no bound on finding a resolver, and our evidence that it never failed is 1,000 circuits per depth. A sampling statement, not a guarantee, and not one extending to adversarial inputs. It does not threaten correctness, which comes from the deterministic SOP completion. We will separate those statements in Limitations.

BDD variable-ordering citation. Thank you for the reference [1]. DRL selects a full variable ordering for relaxed decision diagrams to tighten bounds in branch-and-bound; ours chooses a k-sized subset per decomposition step to maximize how compactly a fixed synthesizer can express the projected sub-table. Objectives and action spaces differ, but the structural parallel. A learned policy replacing a classical ordering heuristic over a Boolean-decomposition representation is a genuine cousin, and we will cite it alongside classical decomposition theory.

[1] Cappart, Bergman, Rousseau, Prémont-Schwarz and Parjadis, "Improving Variable Orderings of Approximate Decision Diagrams Using Reinforcement Learning," INFORMS Journal on Computing 34(5), 2022.

Reviewer Jumi · CommentOpenReview ↗

Thank you for the detailed rebuttal: the EPFL runs, the isolation experiment, and the structured-family results substantially strengthen the paper, and I appreciate that you ran the fully symbolic ABC-leaf comparison rather than arguing around it. I'm satisfied on three fronts: the PPO negative-result framing, the wall-clock cost accounting with the identified optimization path, and the added citation.

One point remains open. My original concern about Proposition 4.1 was the independence assumption; your response resolves this by stating that "a correction is applied only if it strictly reduces the residual's Hamming weight, else it is rejected and a fallback fires," so contraction is enforced by an acceptance test and the independence assumption supplies only the rate.

I can't locate this acceptance test in Algorithm 1 as submitted. Line 5 applies the residual update unconditionally (Rt ← Rt-1 ⊕ Ŷt), and line 7's condition triggers decomposition only on stall (E(Rt) = E(Rt-1)), not on an increase. As written, nothing in the refinement loop rejects a step that worsens the residual. Could you clarify exactly where this strict-decrease check lives — is it in the implementation but missing from the pseudocode, is it the exact-match filter from §5.4 (which, as described, applies to the cofactor/decomposition regime, not refinement), or is this a reframing introduced in the rebuttal? Since monotone descent is now doing the work the independence assumption used to do, I'd like Algorithm 1 corrected explicitly in camera-ready if the check does exist, with the acceptance condition stated as part of the algorithm rather than left implicit.

On the EPFL results more broadly: I read these as confirming rather than dissolving my original concern about synthetic-only evaluation — the neural component contributes nothing measurable on 3 of 4 real circuits, and the bit-identical trajectories with an ABC-leaf substitution make that precise rather than anecdotal. I think this is the right thing for the paper to say openly, and the "scaffold induces the leaf distribution" framing is a genuine and useful lesson. I'm maintaining my score at 4, conditional on the Algorithm 1 clarification above and on the promised limitations/rescoping (EDA-quality-matching claim removed, depth advantage scoped to the refinement regime, EPFL results and structured-family results added to the appendix) actually being delivered in camera-ready form as described.

Authors · CommentOpenReview ↗

Algorithm 1 pseudo-code. The check is in the implementation; the submitted pseudocode understates it. Line 5 shows the update as unconditional where the implementation forms a candidate and commits only after a test, and line 7's guard is written as equality where the implemented condition is stall or increase. We are correcting the pseudocode. At each step the loop forms the candidate residual, tests it, and commits only on a strict decrease.

R ← Y
for t = 1..T:
    C  ← f_θ(X, R);  R' ← R ⊕ C(X)
    if E(R') < E(R):                      # accept
        emit C;  R ← R'
    else:                                 # reject; try mask decomposition
        for up to M random masks m:
            C' ← f_θ(X, R∧m) ⊕ f_θ(X, R∧¬m)
            if E(R ⊕ C'(X)) < E(R):  emit C';  R ← R ⊕ C'(X);  break
        if no mask accepted:  SOP-complete R;  break
    if E(R) = 0: break
return ⊕_t C_t

Emission and the residual assignment sit only inside branches that have already established the strict decrease; if none succeeds within budget, the loop completes symbolically and terminates.

Every emitted CtC_t satisfies E(Rt)<E(Rt−1)\mathcal{E}(R_t) < \mathcal{E}(R_{t-1}), and because E\mathcal{E} is a non-negative integer, the loop halts after at most E(Y)\mathcal{E}(Y) accepted steps; for any model. Correctness comes from the XOR decomposition proposition and the SOP completion, neither of which involves ε0\varepsilon_0. The independence assumption governs only how fast the weight falls, not whether it falls. We added this explicit invariant in the revision.

It is not the §5.4 exact-match filter, and the difference is load-bearing. That filter tests whether a synthesized sub-circuit reproduces the projected sub-table exactly; once it passes, the projection is applied unconditionally, with no test against the global residual. That is precisely why the decomposition regime has zero expected drift and cannot rely on monotone descent, while the refinement regime can. If the two were the same mechanism our account of Proposition 4.1 would not hold together.

Verification. We instrumented the loop to log the residual weight at every accepted step and re-ran the evaluation: across 400 test circuits spanning q∈{4,6,8,10}q \in \{4,6,8,10\} and 975 accepted steps, no step failed to strictly decrease the residual. Reported in the revision.

EPFL results. We would frame these against the paper's thesis, which they test directly. Learn locally, recurse globally asserts that global correctness should not require the model to extrapolate: the learner is asked only for small, in-distribution sub-problems, and a deterministic symbolic loop carries everything else. The two halves can therefore fail and succeed independently, and the EPFL runs separate them cleanly.

On the local half the reviewer's reading is right and we would not soften it. The base model's competence is narrow, it contributes nothing measurable on three of the four circuits, and the bit-identical ABC-leaf trajectories confirm it. The submission already measures this against circuit depth: the model is exact up to qtrainq_{\text{train}} and plateaus at 55–77% beyond it. EPFL is not a new failure mode, it is an independent measurement of where local competence ends.

On the global half, the same experiment is among the strongest evidence we have. Exactness held at 00% on all four circuits, including the one where the learned component succeeded at no step at all. That is precisely the condition the paradigm is designed for: when the local learner is at its weakest, the recursion and the completion still deliver a correct global result. A guarantee that survives its learned component contributing nothing is the useful thing to have demonstrated, and why we report the 80/8080/80 figure rather than bury it.

The rescoping is implemented in our revision: the depth advantage is scoped to the refinement regime with the drift proposition cited as the reason it does not extend; the EPFL evaluation (feasibility survey, 4 circuits, 2 leaf backends) and results are in the appendix; Limitations is rewritten with listed items.

ABC baseline. We chose ABC primarily as an exact reference: circuits are one of few reasoning domains where a trusted solver can certify correctness. On that measure the full system (local learner & global recursion) matches it, at 00% error on every test we report, in-distribution and on all four EPFL circuits. Within the trained regime we are additionally shallower than resyn2 (depth ≈2.8\approx2.8 vs. 4.54.5–5.25.2 Fig 2), which was the objective, at a gate-count cost. We claim no advantage on wall-clock, never an objective, nor on gate count, where classical minimizers are more compact. What we narrow is the stronger reading that this matches EDA quality-of-results in general, a broader metric set than we measured, and one our EPFL numbers do not support outside the trained regime.

Reviewer R2VAOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a learn locally, recurse-globally paradigm and instantiates it using the task of Boolean circuit synthesis, where a small transformer takes as input truth tables, and then as output synthesizes local Boolean circuits. Subsequently, a symbolic outer XOR loop composes and compresses the outputted circuits to verify and ensure correctness and transform them into shallower circuits. This result holds for synthesis of circuits of up to 5x training depth. Throughout, the authors connect their results to transformer expressivity results, as well as algorithms in classical Boolean decomposition theory (of which I know little about).

Strengths and weaknesses

A caveat: my expertise is in transformers and compositional / length generalization; I am not familiar with classical Boolean decomposition theory (Shannon / Ashenhurst-Curtis / Reed-Muller) or with the logic-synthesis tooling the paper benchmarks against (ESPRESSO, ABC, AIG/ESOP minimizers), and so my confidence in my score reflects that. With that caveat in mind, I think this is an interesting paper studying a worthwhile question. My cursory understanding of the circuit synthesis problem is that it is actually an interesting problem to study from the perspective of compositionality and reasoning, with the bonus of being relevant to EDA. Using Boolean circuit synthesis, with its noiseless oracle and exact, depth-controllable supervision, as a controlled setting to probe whether a small transformer can be driven to extrapolate far past its training regime seems to me as a useful lens on transformer compositionality and out-of-distribution generalization. However, in contrast to many problems in compositionality, e.g., in context free grammars, the problem of using truth tables to synthesize circuits is generally ill-posed or ambiguous. I understand the training paradigm the authors used make sure that a given truth table always maps to a unique circuit, but my main questions surround whether or not the behavior of models depends on which circuits their oracles map to. Besides this, I highlight my strengths / weaknesses below.

Strengths

  • A well-designed, controlled testbed for a theoretically valuable problem (reasoning, compositionality) as well as circuit design.
  • Clever implementation of the strided positional encoding. PE is known to be critical for length extrapolation. Perhaps it is obvious in hindsight, but the authors design a clever strided PE that clearly is well suited to the problem. I would be interested to understand whether this PE is learnable, but I think this may be unfair to expect this to be studied within this paper (though the authors may wish to).
  • A structural depth guarantee. The bound depth = q_train + log_2 T, with no dependence on the input function's depth q_test, is a satisfying result.

Weaknesses

  • Training targets are defined by a specifically instantiated data generation pipeline, rather than a true optimum. The labels are produced by a random-tree sampler (depth q∈{1,2}q \in \{1,2\}) followed by a greedy rule-based simplifier. I understand that some degree of choice of generator is necessary, and a single-valued target is required for the decoder to learn a clean function. My concern is: calling it the "minimal canonical form" – is this an overstatement, or is this a unique canonical form? What happens to performance if the minimal canonical form is not used for training?
  • Choice of q_train is treated as a fixed data-generation implementation rather than the potential trade-off axis that is determined by a depth bound. Because depth = q_train + log⁡2T\log_2 T, q_train seems like an adaptable parameter choice: deeper leaves should be more expressive and converge in fewer refinements (and gate count tracks T). But, depth grows linearly in q_train, so deeper canonical targets plausibly stress learnability (they are less unique, worsening the one truth table to many circuits issue. Fixing q∈{1,2}q \in \{1,2\} without showing this sweep leaves it unclear whether the choice is optimal or whether this method can scale, achieving smaller T, but at the likely upfront cost of more difficult learning for q>2q>2 yet fewer steps T.
  • The depth bound qtrain+log⁡2Tq_{train} + \log_2 T has no q_test dependence. Is depth extrapolation structurally guaranteed rather than a test of the learned component?
Questions
  • On small instances where ESPRESSO/ABC can compute the true minimum, does the simplifier's canonical form agree with C*? If not, how much of the depth/quality comparison is attributable to the canonicalization choice rather than the learned model?
  • Related to weakness 3: Why was extrapolation evaluation limited to 5x? Is depth extrapolation guaranteed rather than a test of the learned component? Does single-pass leaf error compound as T grows?
  • The sampler's depth ≤2\leq 2 prior defines "in-distribution," but the outer loop's decompositions generate the leaf sub-problems the model actually sees at deployment, enabling length generalization. Is there evidence that the leaf sub-problems that match the training prior's statistics are being applied in-distribution?
  • Related to weakness 2: Is q_train treated as a swept axis anywhere? As q_train increases, does error rise and T fall, and is there a regime that converges in fewer terms without losing the depth advantage or becoming untrainable?
  • Tangentially related question, perhaps not in scope of the paper, but my own interest: The strided PE is clean and delivers generality by construction. Would an ablation against a learned baseline (or one that breaks the stable-index invariance) clarify how much of the cross-size transfer is owed to the hand-designed stride versus the learned embedding? Perhaps a discussion could be helpful.
  • Can the authors comment: Are there other domains, besides Boolean circuit synthesis + compression that may be interesting problems to solve with an algorithm that “learns locally” then “recurses globally”.
Limitations

yes.

Formatting concerns

N/a

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for engaging closely with the data-generation details.

"Minimal canonical form." Our simplifier applies a greedy, best-first local rewrite system, not a global minimizer (consistent with circuit minimization being NP-hard, as we cite); we will correct this to "reduced" canonical form. On uniqueness: we re-sampled 1,000,000 circuits from the identical generator and parameters used to build the released n=m=4 training set, and asked whether two independently-sampled circuits realizing the same truth table always simplify identically. They do not always: 4.7% of sampled circuits share a truth table with at least one other draw.

On what follows from this, we would push back gently on the implicit premise that a one-to-many target map is a defect to be removed. It is the normal situation for a conditional sequence model. A prefix with several valid continuations is learned as a distribution over them, not as a contradiction; and the affected fraction here is small (under 5% of sampled circuits share a truth table with any other draw at all). What makes it benign specifically in our setting is stronger than the general argument. Every emitted circuit is checked for exact equality against its target before being accepted. A completion that is valid-but-different is accepted on its merits and one that is wrong is rejected and retried. Target multiplicity therefore costs at most extra sampling attempts; it cannot propagate into the output. This is the concrete payoff of putting a verifier in the loop, and it is why we do not think deduplicating the generator is the right fix. We would be removing variation the system is already designed to absorb.

What we will correct is the language on both ends. "Minimal canonical form" becomes "reduced", and §3's claim that canonicalization is essential because "the decoder cannot identify a consistent output" is too strong as written: canonicalization sharply reduces the entropy of the learning target, which is a real benefit for sample efficiency, but it is not what makes the system correct, and the residual multi-valuedness we measured does not break anything. We will report the measurement as a characterization of the training data rather than as a defect, and state the entropy-versus-correctness distinction explicitly.

Does the simplifier's canonical form agree with a true minimum, and does the canonicalization choice drive the depth comparison? We have not run the ESPRESSO/ABC-minimum comparison the reviewer suggests, and given the finding above we expect the answer is no. A greedy local rewrite system will not in general reach a global minimum. On the second half of the question: we think the canonicalization choice does substantially shape the depth comparison, and this is worth stating as a limitation rather than a defense. Our depth advantage comes from the construction. A q_train-depth leaf plus a log₂T-deep XOR combining tree. So it inherits whatever depth profile the canonical targets have, while the node-count disadvantage versus ABC has the same origin. We will state that the depth/quality comparison is partly a property of the target canonicalization and not solely of the learned model, and that separating the two would require retraining on ABC-minimal targets.

q_train as a swept axis. Not swept in this submission; q_train=2 was chosen as the smallest depth giving a tractable, largely single-valued target distribution, not from a sweep demonstrating optimality. We agree this is a real trade-off (deeper canonical targets likely trade fewer refinement steps against a harder, less unique learning target, and the confluence measurement above suggests the uniqueness cost is already nonzero at q_train=2, so it would grow) and will state it explicitly as unexplored in Limitations.

Depth bound vs. a real test of the learned component; why 5×; does leaf error compound as T grows? The depth bound itself (depth = q_train + log₂T) is structural and holds regardless of model behavior, but whether the loop terminates at all, and in how many steps, depends entirely on the model's per-step success. That is where the test of the learned component lives. Table 1's single-pass column shows the model does not trivially solve everything unaided (5-7% error at q≥4 with no refinement), so the small, stable step count we observe (mean ≈2.4, plateauing across q=4-10) is evidence about the model's local competence, not an artifact of the bound. On compounding: it does not, and the mechanism is that each accepted step is applied only if it strictly reduces the residual's Hamming weight. An incorrect proposal is rejected, not than accumulated, so leaf error costs iterations, not correctness. That is also why T saturates rather than growing with q_test. On the 5× limit: it is a property of the generator, not of the method. Our sampler produces circuits at n=m=4 whose truth tables saturate in difficulty well before depth 10 (single-pass error is already flat from q=4 onward), so deeper test circuits at this arity would not be a harder test. The informative direction to push is input arity, not depth, and that is where the recursive regime and its limits (§5.4) sit.

Are the leaf sub-problems the model actually sees in-distribution? On random circuits mostly yes, on real circuits (EPFL benchmark) we observe different distributions. The training prior is depth-≤2 canonical circuits, while the sub-problems the loop hands back are arbitrary truth tables produced by projecting the residual, not draws from that prior. The natural measurement is how often the model fails to synthesize the sub-table it is given. On the random circuits of Table 1 that rate is 2–7%, and mean iterations plateau at ≈2.4 rather than growing with depth, so the sub-problems are close enough to the prior to be useful. On the four real EPFL benchmark circuits we ran for this response, the same rate is 3/80 steps on ctrl but 45/80, 72/80, and 80/80 on int2float, dec, and cavlc — on cavlc the model succeeded at no step, and the run reduces to the symbolic scaffold alone. So the leaf sub-problems generated by our own decomposition of real designs are largely outside the training prior, and the reviewer's instinct that this is the load-bearing question is right.

The lesson we draw is more specific than "train in-domain", and it is really a statement about scaffold design: one does not choose the leaf distribution: the scaffold induces it. Matching training data to the distribution of top-level problems is not the same as matching it to the distribution of sub-problems the decomposition generates, and only the latter determines whether the learned component contributes anything. Our sampler's depth prior defines "in-distribution" for the former, and the reviewer is right that it does not automatically do so for the latter. The concrete fix is to harvest training targets from the scaffold's own projections on the target family; we will state that as the implied direction, while being clear that our experiment shows the correlation rather than demonstrating that retraining repairs it. These results will go into an expanded Appendix F (currently ABC baselines only), which costs no main-body pages.

Positional-encoding ablation and other domains. PE-learnability is an interesting open item for future work. On other domains: the paradigm applies to any compositional task with a cheap, exact verifier for a proposed sub-solution and an algebraic or programmatic way to recombine verified sub-solutions. For example program synthesis from I/O examples (verifier: test cases; recombination: function composition), or multi-step tool-use planning checked against a simulator. Boolean circuits let us make both properties exact and cheap, which is why we started there. Relatedly, and worth stating as scope: the present method assumes a fully observed truth table; that is what makes per-step verification exact and the completion step constructible. Relaxing it to partially observed or sampled specifications is a direction we will name explicitly in future work, since that opens major applications such as software verification where pre and post conditions are always incomplete.

Reviewer R2VA · CommentOpenReview ↗

Rebuttal acknowledgement

Thanks to the authors for providing responses to my questions and comments, as they have improved my understanding of the paper. As my original score was already a 5, I maintain my score.

Comments on the paper

1 comment
Area Chair PquR · CommentOpenReview ↗

Dear Reviewers

The Author–Reviewer Discussion period will end soon. Please review the authors’ responses and acknowledge them before the discussion period closes. If you have any remaining questions or concerns, please leave them in the discussion so that the authors have an opportunity to respond.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…