All models

PolarGate

A graph neural network encoder that embeds and-inverter graph circuits with logic-aware message passing.

Graphs and geometry · 424 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 (24 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
988.9K
Operations
424
Framework
PyTorch
Recurrent
No
Published
ICCAD 2024
Cited by
10 (as of 28 October 2026)
Authors
Jiawei Liu, Jianwang Zhai, Mingyu Zhao and others
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
m19413
Graph hash
4586b4f66db2bf0a9dc387b380e837d15b27f4531d271cfeaf31c355ce490b92
Skeleton hash
3c5cc813359e7c8744d38a6519d70fafa288197e81eb180b3176565f3edc41f0
Architecture hash
cbecebd13ef211e0ef4daa2f1e5aff76113e3326c8e0903a5b75f99b7813affe
Diagram SHA-256
06be558f7420588019f46ad626f04a16ad99e576ea8c2d3a3d8243c9a064537a
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

PolarGate is a graph neural network (GNN) encoder that embeds and-inverter graphs (AIGs), a standardized form of logic circuit, into gate-level vectors. The paper starts from the observation that GNNs encode the structure of an AIG well but usually fail to fully represent the functionality of Boolean logic. PolarGate maps the behavior of each logic gate into an ambipolar state space, defines differentiable logical operators and uses a functionality-aware message passing strategy.

The paper tests it on two tasks: signal probability prediction and truth-table distance prediction. On those tasks it reports improvements of 62.1% and 40.6% in learning capability and 79.5% and 85.6% in efficiency over the GNN-based methods it compares against. The repository's training commands use nine layers and one-hot gate features with an input dimension of 3.

Key idea. PolarGate aligns GNN message passing with Boolean logic by mapping gate behavior into an ambipolar state space and using differentiable logical operators.

  • PolarGate
  • and-inverter graph
  • AIG
  • Boolean network
  • logic circuit embedding
  • signal probability prediction
  • truth-table distance prediction
  • electronic design automation
  • EDA
  • AIG neural network

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

Cite the paper

@inproceedings{Liu_2024, series={ICCAD ’24}, title={PolarGate: Breaking the Functionality Representation Bottleneck of And-Inverter Graph Neural Network}, url={http://dx.doi.org/10.1145/3676536.3676834}, DOI={10.1145/3676536.3676834}, booktitle={Proceedings of the 43rd IEEE/ACM International Conference on Computer-Aided Design}, publisher={ACM}, author={Liu, Jiawei and Zhai, Jianwang and Zhao, Mingyu and Lin, Zhe and Yu, Bei and Shi, Chuan}, year={2024}, month=Oct, pages={1–9}, collection={ICCAD ’24} }