# 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*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155637) · [OpenReview](https://openreview.net/forum?id=46NBp3fllK) · [Open on the map](../papers.html#p155637)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Semi-Supervised and Active Learning with Pseudo-Labels](../pgroup/533.md) · Type: new method · Keywords: circuit representation learning, functional simulation, graph transformer, electronic design automation, QoR prediction

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Dynamic and relational architectures › Graph Neural Architectures; [Graph Learning](../areas/graph-learning.md) › Multidimensional Graph Learning › Graph Representation Learning

## Summary
FuncFormer is a Graph Transformer that uses functional simulation traces as an inductive bias to learn expressive representations of Boolean logic circuits, improving QoR prediction and verification.

## Explained to a 5-year-old
Logic gates are tiny parts inside computers that decide if something should happen. They act like very simple switches that can be either on or off. When many gates are connected, they form a circuit that can do complex tasks. Understanding how these circuits work is hard because the signals move in a complicated way. The researchers looked at how signals travel through the gates during normal operation.

## Explained to a 5-year-old, longer
Logic gates are tiny parts inside computers that decide if something should happen. They act like very simple switches that can be either on or off. When many gates are connected, they form a circuit that can do complex tasks. Understanding how these circuits work is hard because the signals move in a complicated way. The researchers looked at how signals travel through the gates during normal operation. They recorded many examples of these signal patterns to learn from. They built a new model that pays attention to the flow of these signals. This model helps the computer see the whole circuit as a picture. It can predict how well the circuit will perform without actually running it. It also helps check if the circuit will work correctly in new situations. The new method works for both simple circuits and more complicated ones. This makes designing better electronic devices easier and faster.

## For a technical reader
The paper introduces FuncFormer, a Graph Transformer that treats functional simulation traces as an inductive bias rather than a proxy task. By analyzing randomized signal trajectories through the circuit, the model aligns continuous embeddings with the discrete Boolean function space, reducing structural aliasing. A scalable dual-path attention mechanism integrates deterministic trajectories, preserving functional consistency across long-range dependencies in both combinational and sequential circuits. Empirically, FuncFormer outperforms existing GNN-based baselines such as DeepGate4 on QoR prediction and formal verification, and generalizes to unseen circuit sizes. This approach provides a more faithful representation of logic-gate behavior for electronic design automation workflows.

## Problem
Learning expressive representations for Boolean logic circuits that capture causal dependencies and discrete functional semantics is challenging, as existing GNNs based on topological message passing often fail to model these strict relationships.

## Method
The approach integrates deterministic signal trajectories from functional simulations into a dual-path attention mechanism, aligning continuous embeddings with the discrete Boolean function space and preserving functional consistency across long-range dependencies in combinational and sequential circuits.

## Results
The approach achieves significantly higher performance than existing models on QoR prediction and formal verification, and generalizes well to unseen circuit scales.

## Contributions
It introduces a Graph Transformer that uses functional simulation traces as an inductive bias, aligns embeddings with Boolean function space, and employs a dual-path attention to preserve functional consistency across long-range dependencies.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155637)
