DeepGate2: Functionality-Aware Circuit Representation Learning

Zhengyuan Shi, Hongyang Pan, Sadaf Khan, Min Li, Yi Liu +5 more
5/25/2023
cs.LGcs.AIcs.AR

Official code: cure-lab/DeepGate (28 stars, last commit 2023-07-12). 1 more implementation below.

Abstract

Circuit representation learning aims to obtain neural representations of circuit elements and has emerged as a promising research direction that can be applied to various EDA and logic reasoning tasks. Existing solutions, such as DeepGate, have the potential to embed both circuit structural information and functional behavior. However, their capabilities are limited due to weak supervision or flawed model design, resulting in unsatisfactory performance in downstream tasks. In this paper, we introduce DeepGate2, a novel functionality-aware learning framework that significantly improves upon the original DeepGate solution in terms of both learning effectiveness and efficiency. Our approach involves using pairwise truth table differences between sampled logic gates as training supervision, along with a well-designed and scalable loss function that explicitly considers circuit functionality. Additionally, we consider inherent circuit characteristics and design an efficient one-round graph neural network (GNN), resulting in an order of magnitude faster learning speed than the original DeepGate solution. Experimental results demonstrate significant improvements in two practical downstream tasks: logic synthesis and Boolean satisfiability solving. The code is available at https://github.com/cure-lab/DeepGate2

View on arXivView PDF

Code Implementations(2)

cure-lab/DeepGateOfficial100%

This is an official implementation for "DeepGate: Learning Neural Representations of Logic Gates".

284Shell, Python3 years ago
cure-lab/DeepGate2Official100%
190Shell, Python3 years ago

Similar Papers

Cite this paper

@article{shi2023deepgate,
  title  = {DeepGate2: Functionality-Aware Circuit Representation Learning},
  author = {Zhengyuan Shi and Hongyang Pan and Sadaf Khan and Min Li and Yi Liu and Junhua Huang and Hui-Ling Zhen and Mingxuan Yuan and Zhufei Chu and Qiang Xu},
  year   = {2023},
  eprint = {2305.16373},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.16373v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.16373.svg)](https://codeofpaper.com/paper/2305.16373)

Discussion