All models

FuncGNN

A graph neural network that learns functional representations of logic circuits given as And-Inverter Graphs.

Graphs and geometry · 180 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (31 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
976.5K
Operations
180
Framework
PyTorch
Recurrent
No
Published
ACM Transactions on Reconfigurable Technology and Systems (arXiv 2025)
Cited by
2 (as of 28 October 2026)
Authors
Qiyun Zhao
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16770
Graph hash
61f4efefe69ffa5a936d4cbba2b95ac5fabff3d6e7455b03c7dd211c7c6a6e36
Skeleton hash
13316d49671885079e6a4df545550cd34b3c9e3c3cad390f690d59c8b081caf3
Architecture hash
db9567c8e85fd3bc09a1f5b945873027835f52ff00832479b65f82344ae6e0f8
Diagram SHA-256
03323612b0124c2cca2d69a582472eb4f1a57ac4b72d40294c3574ba0cf9d91e
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

FuncGNN is a graph neural network for And-Inverter Graphs (AIGs), which reduce Boolean networks to a compact, canonical form using two-input AND gates and inverters and serve as the standard intermediate representation in electronic design automation workflows. The model learns representations of logic circuits, and the paper evaluates it on two tasks: signal probability prediction and truth-table distance prediction.

FuncGNN operates on three inputs: a node feature matrix, an edge tensor that encodes AND as +1 and NOT as -1, and the circuit's ratio of AND to NOT edges. Its Hybrid Feature Aggregation Component combines GraphSAGE-based neighborhood aggregation with GINConv-based nonlinear enhancement, and features for NOT edges are negated during message passing. The Global Context Normalization Component adds two linear layers on top of standard GraphNorm, which generate scaling and bias terms from the ratio input. The Multi-Layer Integration Component keeps the intermediate outputs of all processing stages and fuses them through a fully connected layer.

The experiments use a dataset of 9,933 AIG samples from four circuit benchmark suites. The paper reports improvements of 2.06% and 18.71% on the two tasks over the methods it compares against, with training time reduced by approximately 50.6% and GPU memory usage by about 32.8%.

Key idea. FuncGNN combines hybrid GraphSAGE and GIN aggregation, normalization conditioned on a circuit's AND-to-NOT ratio, and multi-layer feature fusion to learn functional representations of And-Inverter Graphs.

  • FuncGNN
  • And-Inverter Graph
  • AIG
  • logic circuit representation
  • electronic design automation
  • signal probability prediction
  • truth-table distance prediction
  • circuit graph neural network

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhao2025funcgnnlearningfunctionalsemantics,
      title={FuncGNN: Learning Functional Semantics of Logic Circuits with Graph Neural Networks}, 
      author={Qiyun Zhao},
      year={2025},
      eprint={2506.06787},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2506.06787}, 
}