acceptodds
Published as a conference paper at NeurIPS 2026

FuncFormer: Circuit Representation Learning via the Flow of Functional Propagation

Yunjie Ji, Jie Wang, Zhihai Wang, Min Li, Junhua Huang, Zhihao Shi, Feng Wu, Mingxuan Yuan, Jianye Hao

Abstract

Learning expressive representations for Boolean logic circuits is a fundamental challenge at the intersection of graph learning and Electronic Automation (EDA). Existing Graph Neural (GNNs) primarily rely on topological message passing, which often fails to capture the strict causal dependencies and discrete functional semantics of logic gates. In this paper, we , a Graph Transformer that incorporates not as a proxy task, but as a fundamental inductive bias directly into the representation learning process. Unlike standard GNNs which typically rely on isotropic aggregation, FuncFormer by analyzing randomized simulation traces as they evolve through the network. This approach effectively aligns the continuous embedding manifold with the discrete Boolean function space, effectively mitigating structural aliasing. By integrating these deterministic signal trajectories with a scalable dual-path attention mechanism, our model preserves functional consistency across long-range dependencies in both combinational and sequential circuits. Empirical results demonstrate that FuncFormer significantly outperforms state-of-the-art models (e.g., DeepGate4) in Quality-of-Results (QoR) prediction and formal verification tasks, exhibiting robust generalization to unseen circuit scales.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_KwsFOpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This work designed specific representation learning methods for neural EDA circuits learning. Classical topological or positional encodings for graphs, such as Laplacian or random walking encoding, can lead the circuit to overfit to some spurious features. Besides, circuits have some unique properties, such that similar topologies can have different functions, or different structures can have same functions. This work focuses more on the function side besides the topology side, and initializes features with sampled inputs from the truth table, then use a dual channel transformer for learning the representation.

Strengths and weaknesses

Strength:

  • The motivation on focusing on the function side is strong and intuitively makes a lot of sense.
  • The dual channel transformer design is valid and matches the motivation.
  • The representation space is supported with theoretical guarantees.
  • The empirical results seem competitive.

Weakness:

  • Some presetation in the paper can be improved a bit, so the background is more accessible to readers unfamiliar with neural EDA. For instance, it is not well explained what functional signature is before densely using it in the introduction. Also see my questions below.
  • The figure 1 is nice and the results therein are strong, but at a first sight it is totally unclear what it shows, until reading the main text. Therefore, it does not help understanding the significance of the paper at the first sight. So maybe the caption can be improved a bit, and integrate your Scenario A & B description into it.
  • The experiment section is heavy in text, and the table 1 seems not informative as the items in the table have different metrics. Maybe consider moving some results from the Appendix to the main paper for better illustration.
Questions
  • Is there a clear definition of "functional signature"? After reading, my rough understanding is the circuits' output behavior wrt different inputs?
  • The authors mentioned in the introduction that there is a gap when applying topology-only learning to neural circuit learning, as similar topologies can have different functions. Therefore, it is fundamentally different from graph isomophism. This makes some sense to me, but if some neural network has perfect encoding of the structure or topology (up to isomorphism), can it also perfectly model the functional behavior? If yes, what is difficulty of designing such a neural network? If not, can you provide a simple counterexample?
  • What are the x and y axis in figure 1? Are they representations projected to 2-dimensional space with PCA or something?
  • The authors mentioned that the true input space from a truth table is huge and intractable, thus they sample some inputs. A crucial question is, if the input space is discrete, non-smooth and boolean, does it make sense to sample a few inputs? Does it really generalize to unseen inputs? I am not fully convinced how it generalizes.
  • In figure 2, there is a flow from a -> b.2 -> c, but how is b.1 integrated in the downstream?
  • I don't fully understand the temporal trace and temporal features. What are exactly the temporal features in b.2? Are these time stamps sampled in time elapse (like every millisecond), or are they discrete as the circuit state changes when the signal propagates to the next gates?
Limitations

The authors have a conclusion and limitation chapter.

Paper formatting concerns

None

Final justification

I believe the paper has its novelty and significance, and the proposed method is well motivated in EDA domain. Given some minor shortcomings, such as the presentation of the paper as well as the results, and some intrinsic complexity, I would suggest a weak accept.

Reviewer_ToJKOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
4
Significance
4
Read review
Summary

The paper presents FuncFormer, a method for learning circuit representations. Rather than starting mainly from graph structure, FuncFormer uses randomized logic simulation to create functional signatures for circuit nodes. These signatures show how Boolean values move through logic depth and across clock cycles in sequential circuits. A dual path transformer then learns from the spatial and temporal traces. The method is tested on QoR prediction, functional reasoning, and verification hardness prediction. Across these tasks, FuncFormer performs better than strong baselines such as DeepGate4 and HOGA.

Strengths and weaknesses

Strengths:

  1. The paper uses logic simulation signatures as input features, so the model sees Boolean behavior directly instead of relying mainly on circuit structure.
  2. The method is well connected to EDA practice. Random simulation and time frame expansion are standard ideas, and the paper turns them into a practical learning framework.
  3. The evaluation is broad and convincing. The method is tested on QoR prediction, functional reasoning, verification hardness prediction, and property scheduling. The gains over strong baselines, especially DeepGate4, are consistent.
  4. The property scheduling result is valuable because it shows possible use in a real formal verification workflow, not only in a prediction task.

Weaknesses:

  1. The scalability analysis could be stronger. The paper gives some cost and complexity details, but more details on preprocessing time, memory scaling, and runtime on large circuits would make the tradeoff clearer.
  2. The treatment of sequential behavior could use more detail. The paper explains latch conditioned expansion and temporal unrolling, but it should better explain latch initialization, input sequence generation, and the effect of unreachable states.
Questions
  1. The paper gives some cost and complexity details, but the scalability tradeoff is still not fully clear. Can the authors report preprocessing time, peak memory, and inference time on the largest OpenABC-D and HWMCC circuits, and compare these with DeepGate4 and HOGA under the same setting?
  2. For temporal traces, how are latch initial states and input sequences selected? The paper uses a fixed temporal unrolling length, but it would be useful to know how sensitive the results are to this choice and how unreachable latch states affect the traces.
  3. For QoR prediction, can the authors clarify how the main table computes relative MSE normalized by DeepGate4, and how this relates to the raw MSE and improvement numbers in the appendix?
Limitations

The paper discusses some limitations, but a few points need more detail.

  1. FuncFormer may be costly on very large circuits because it uses random simulation, spatial traces, and temporal unrolling. The paper gives some cost details, but clearer runtime and memory results would help.
  2. The sequential part is not fully explained. The paper should say more about latch initial states, input sequences, and how unreachable states affect the temporal traces.
  3. Random sampling may miss rare but important logic differences. This is important for verification, where rare cases can matter a lot.
Paper formatting concerns

No major paper formatting concerns

Reviewer_boaiOpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
2
Quality
2
Significance
3
Read review
Summary

This paper proposes FuncFormer, a graph transformer for Boolean circuit representation learning that integrates randomized logic simulation as an input representation method rather than as a training supervision signal. The framework proceeds in three stages:
(1) latch-conditioned DAG unrolling that converts cyclic sequential circuits into sequences of acyclic time frames via time-frame expansion;
(2) functional feature propagation, where randomly sampled input patterns are propagated through gate-level AND/NOT operations in a level-wise manner, producing spatial traces across logic depth and temporal traces across clock cycles; and
(3) a dual-path transformer with separate spatial and temporal encoders followed by a concatenation-MLP readout.


A theoretical result (Theorem 3.1) shows that the normalized Euclidean distance between functional signatures is an unbiased estimator of Boolean disagreement probability under the sampling distribution. The method is evaluated on three EDA tasks - QoR prediction, functional reasoning, and verification-hardness prediction and property scheduling - and reports consistent improvements over DeepGate4, HOGA, GCN, and GAT baselines.

Strengths and weaknesses

Strengths

  • The paper identifies a genuine limitation in existing circuit representation learning: structural encodings alone cannot reliably capture Boolean functional behavior, particularly after synthesis transformations that alter topology while preserving function. The idea of moving functional information from the supervision or loss side to the input representation side is a clean and sensible design choice that distinguishes FuncFormer from prior work such as the DeepGate family [2,3,1].

  • The level-wise propagation mechanism, which re-initializes each logic depth as pseudo-primary-inputs and propagates fresh random signatures through the Boolean logic, is well motivated. Separating combinational reasoning (spatial encoder) from sequential reasoning (temporal encoder) into two branches is a principled architectural decision that reflects the fundamentally different characteristics of these two phenomena in circuits.

  • The experimental evaluation covers three distinct EDA tasks that stress complementary aspects of circuit representations: synthesis-invariant prediction, functional equivalence identification, and temporal state reasoning. The paper reports consistent improvements over strong baselines (DeepGate4, HOGA, GCN, GAT) across all three tasks, and provides per-circuit results in Appendix A (Tables 4–11).

  • The ablation study (Section 4.3, Tables 8–11) helpfully decomposes several design choices: spatial-only vs. temporal-only branches (72.77% vs. 73.00% → full 81.09%), simulation width effects (dsim = 64: 72.53% → dsim = 512: 81.64%), and input initialization strategies (Random Normal 76.62%, PIE 78.36%, functional signatures 81.09%). The property scheduling results (528 solved properties vs. DeepGate4's 431 and COI's 217) demonstrate practically relevant potential.

Weaknesses

  • Comparison with verification-specific literature. The property-scheduling experiment is presented as an important practical outcome, but the evaluation does not include a specialized property-ordering method such as PURSE [4]. MPBMC [5] and Dureja et al. [6] are less direct comparisons because they focus on property grouping or partitioning, but they remain relevant for positioning the work within multi-property verification. The rebuttal explains the implementation limitations and the complementary relationship with MPBMC, which partially addresses this concern. Nevertheless, the lack of a direct specialized ordering comparison limits how strongly the scheduling results can be contextualized relative to the formal-verification literature.

  • Memory cost vs. performance trade-off. FuncFormer uses 16.72 GB of training memory compared to DeepGate4's 7.53 GB (Table 12), approximately 2.2× more. While the paper reports this transparently as a trade-off, it does not explore whether FuncFormer maintains its advantages under memory-constrained settings comparable to those of baselines. The ablation on simulation width (d_sim=64 → 72.53%) suggests that reducing the key memory driver can bring performance below DeepGate4 (74.53%), but a systematic study of the memory–performance frontier is not provided.

  • Statistical uncertainty. The paper appears to report single-run results without error bars or confidence intervals, which the authors' NeurIPS checklist (Question 7) also notes. Since the method depends on random simulation sampling, multi-seed results (across both simulation seeds and model initializations) would be helpful for assessing the stability of the reported improvements.

    • The added five-seed experiment addresses my concern regarding sensitivity to randomized simulation sampling.
  • Unexplained EDA-specific concepts. The paper targets a NeurIPS audience of ML researchers, and most of the technical content is well explained. However, a few EDA concepts central to understanding the work could benefit from brief additional exposition. For example, the And-Inverter Graph (AIG) representation (why it contains only AND and NOT gates, and how general circuits are lowered to this form) is used throughout without explanation. Similarly, what constitutes a formal verification "property" and what it means to "solve" one is assumed knowledge that may not be familiar to ML readers. Offering brief intuitive explanations of these terms would improve the paper's accessibility to the broader NeurIPS audience.

    • The rebuttal provides appropriate definitions and commits to adding them to the revision; I consider this concern addressed.

[1] Zheng, Ziyang, et al. "DeepGate4: Efficient and Effective Representation Learning for Circuit Design at Scale." The Thirteenth International Conference on Learning Representations.
[2] Shi, Zhengyuan, et al. "Deepgate2: Functionality-aware circuit representation learning." 2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD). IEEE, 2023.
[3] Li, Min, et al. "Deepgate: Learning neural representations of logic gates." Proceedings of the 59th ACM/IEEE Design Automation Conference. 2022.
[4] Das, Sourav, et al. "Purse: Property ordering using runtime statistics for efficient multi-property verification." 2024 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE, 2024.
[5] Roy, Soumik Guha, et al. "MPBMC: Multi-Property Bounded Model Checking with GNN-Guided Clustering." 2026 39th International Conference on VLSI Design & 25th International Conference on Embedded Systems (VLSID). IEEE, 2026.
[6] Dureja, Rohit, et al. "Boosting verification scalability via structural grouping and semantic partitioning of properties." 2019 Formal Methods in Computer Aided Design (FMCAD). IEEE, 2019.

Questions
  1. Controlled baselines. The ablation study (Section 4.3) already provides useful attribution evidence: with the same dual-path architecture, functional signatures outperform random initialization (81.09% vs. 76.62%), and with the same functional signatures, the dual-path transformer outperforms a Level-GNN (81.09% vs. 64.14%). Extending this to experiments such as DeepGate4 + functional signatures could offer further insight; we would be curious whether the authors have considered or attempted such controlled comparisons.

  2. Comparison with verification-specific methods. For the property scheduling task, it would be interesting to hear the authors' perspective on how existing verification-specific baselines such as PURSE (runtime-statistics-based ordering) or MPBMC (GNN-guided clustering) relate to their approach. If full reimplementation is not feasible, any available comparison under similar settings, or a discussion of what prevents direct comparison, would be very helpful.

  3. Statistical variability. It would be interesting to know how sensitive the results are to the random seed used for simulation sampling. Multi-seed results with confidence intervals would be helpful for assessing the stability of the reported improvements, especially for the verification-hardness and property scheduling results.

  • The added five-seed experiment addresses my concern regarding sensitivity to randomized simulation sampling.
  1. HWMCC circuit selection. Could the authors briefly explain why these particular 5 HWMCC-13 circuits were selected, and whether similar results might be expected on the larger HWMCC'24 or HWMCC'25 benchmark sets?
Limitations

yes

Paper formatting concerns

No

Final justification

The authors' responses sufficiently clarified the stability of the method with respect to randomized simulation seeds and the intended scope of the formal verification experiments.

However, functional signatures reflect only the behaviors observed under the chosen sampling distribution. It therefore remains unclear whether they adequately capture rare but verification-critical behaviors or the reachable-state characteristics of sequential circuits.

Using functional simulation as an input representation and organizing it into spatial and temporal trajectories is useful, but I view the main contribution as an integration of largely established components, with limited methodological novelty. Placing substantial weight on these remaining limitations and the originality of the work, I maintain my score of 3.

Comments on the paper

1 comment
Meta-review

The paper is about circuit learning and proposes FuncFormer, as a graph transformer for Boolean circuit representation learning. The key idea behind FuncFormer is to integrate randomized logic simulation as an input representation method instead of keeping it only as a training supervision signal. One main concern pointed by Reviewer boai is the following: the baselines do not receive comparable functional signatures or temporal traces. I find this especially relevant for functional reasoning, where signature distance can already estimate Boolean disagreement. A standard encoder supplied with the same signature would clarify what is gained from the proposed architecture. The verification results are also based on five circuits without multi-seed uncertainty, and comparisons with verification-specific scheduling methods are limited. Some computational aspects would benefit from further clarification. Reviewers ToJK and KwsF ask about latch initialization, unreachable states, and rare behaviors that randomized simulation may miss. FuncFormer also uses substantially more memory than DeepGate4, but preprocessing and runtime are not reported on the largest circuits. I recommend the authors' response focus on these points, as these could inform the review process and the decision.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.