Abstract
Electronic design automation tools are widely used in circuit design and greatly assist designers in handling the complexities and challenges of circuit design and evaluation. There have been numerous recent developments in using machine learning tools, particularly graph neural networks (GNNs), to address circuit design problems. These techniques take advantage of the natural representation of a circuit as a graph. In this study, we propose using state-of-the-art GNNs to solve a key circuit design issue. Specifically, we are interested in addressing the circuit completion problem (CCP), where the goal is to determine the missing components and their connections in a partially designed or evaluated circuit. We provide a novel two-step solution to this problem: First, we formulate missing component identification as a graph classification task in the graph-based representation of partial circuit, and second, we treat the placement and connectivity of the newly (predicted) component as a link completion problem. We propose a novel graph learning framework called feature-enhanced graph isomorphism network that combines both GNNs and graph descriptors in an end-to-end fashion to extract expressive graph representations. We also present three new circuit datasets to implement and test our solutions. Our extensive experiments demonstrate that the proposed framework is an effective and generalizable solution to the CCP problem.






Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data availability statement
The datasets generated during and/or analyzed during the current study are available in the spice-datasets repository, https://github.com/symbench/spice-datasets.
Code availability
The source code and preprocessed data for the experiments are available in the Circuit-Completion-Using-GNNs repository, https://github.com/Anwar-Said/Circuit-Completion-Using-GNNs
References
Cai F, de Rijke M (2016) A survey of query auto completion in information retrieval. Found Trends Inf Retr 10:273–363
Foster SP, Griswold WG, Lerner S (2012) Witchdoctor: Ide support for real-time auto-completion of refactorings. In: 2012 34th international conference on software engineering (ICSE), pp 222–232
Moran K, Vásquez ML, Bernal-Cárdenas C, Poshyvanyk D (2015) Auto-completing bug reports for android applications. In: Proceedings of the 2015 10th joint meeting on foundations of software engineering
Rahman MM, Yeasmin S, Roy CK (2014) Towards a context-aware ide-based meta search engine for recommendation about programming errors and exceptions. In: 2014 software evolution week - IEEE conference on software maintenance, reengineering, and reverse engineering (CSMR-WCRE), pp 194–203
Sobania D, Briesch M, Rothlauf F (2022) Choose your programming copilot: a comparison of the program synthesis performance of Github copilot and genetic programming. In: Proceedings of the genetic and evolutionary computation conference
Floridi L, Chiriatti M (2020) Gpt-3: Its nature, scope, limits, and consequences. Mind Mach 30(4):681–694
Amazon: Introducing Amazon CodeWhisperer, the ML-powered coding companion (2022) https://aws.amazon.com/blogs/machine-learning/introducing-amazon-codewhisperer-the-ml-powered-coding-companion/. Accessed: 2022-08-02
Botero UJ, Wilson R, Lu H, Rahman MT, Mallaiyan MA, Ganji F, Asadizanjani N, Tehranipoor MM, Woodard D, Forte D (2021) Hardware trust and assurance through reverse engineering: a survey and outlook from image analysis and machine learning perspectives. ArXiv arXiv:2002.04210
Bao C, Forte D, Srivastava A (2016) On reverse engineering-based hardware trojan detection. IEEE Trans Comput Aided Des Integr Circuits Syst 35:49–57
Botero UJ, Tehranipoor MM, Forte D (2019) Upgrade/downgrade: efficient and secure legacy electronic system replacement. IEEE Des Test 36:14–22
Grand JA (2014) Printed circuit board deconstruction techniques. In: WOOT
Elnaggar R, Chakrabarty K (2018) Machine learning for hardware security: opportunities and risks. J Electron Test 34:183–201
Tehranipoor MM, Guin U, Forte D (2015) Counterfeit integrated circuits. Springer, Cham, pp 15–36
Robertson J, Riley M (2018) The big hack: Amazon, apple, supermicro, and the Chinese Government. Bloomberg Businessweek
Botero UJ, Wilson R, Lu H, Rahman MT, Mallaiyan MA, Ganji F, Asadizanjani N, Tehranipoor MM, Woodard DL, Forte D (2020) Hardware trust and assurance through reverse engineering. Association for Computing Machinery, New York
Zhao L, Goh S, Chan Y, Yeoh B, Hu H, Thor M, Tan A, Lam J (2018) Prediction of electrical and physical failure analysis success using artificial neural networks. In: 2018 IEEE international symposium on the physical and failure analysis of integrated circuits (IPFA), pp. 1–5. IEEE
Ye F, Zhang Z, Chakrabarty K, Gu X (2013) Board-level functional fault diagnosis using artificial neural networks, support-vector machines, and weighted-majority voting. IEEE Trans Comput Aided Des Integr Circuits Syst 32(5):723–736
Pradhan M, Bhattacharya BB (2021) A survey of digital circuit testing in the light of machine learning. Wiley Interdiscip Rev Data Mining Knowl Discov 11(1):1360
Ivanova M, Petkov N (2021) Machine learning for in-circuit testing of printed circuit board assembly. In: 2021 4th artificial intelligence and cloud computing conference, pp 221–228
Huang Z, Wang Q, Chen Y, Jiang X (2020) A survey on machine learning against hardware Trojan attacks: recent advances and challenges. IEEE Access 8:10796–10826
Acampora G, Schiattarella R (2021) Deep neural networks for quantum circuit mapping. Neural Comput Appl 33(20):13723–13743
Kahng AB (2018) New directions for learning-based ic design tools and methodologies. In: 2018 23rd Asia and South pacific design automation conference (ASP-DAC), pp 405–410. IEEE
Lopera DS, Servadei L, Kiprit GN, Hazra S, Wille R, Ecker W (2021) A survey of graph neural networks for electronic design automation. In: 2021 ACM/IEEE 3rd workshop on machine learning for CAD (MLCAD), pp. 1–6. IEEE
Said A, Hassan S-U, Abbas W, Shabbir M (2021) Netki: a kirchhoff index based statistical graph embedding in nearly linear time. Neurocomputing 433:108–118
Lee T-H, Wang T-C (2008) Congestion-constrained layer assignment for via minimization in global routing. IEEE Trans Comput Aided Des Integr Circuits Syst 27(9):1643–1656
Selvakkumaran N, Karypis G (2006) Multiobjective hypergraph-partitioning algorithms for cut and maximum subdomain-degree minimization. IEEE Trans Comput Aided Des Integr Circuits Syst 25(3):504–517
Yu B, Yuan K, Ding D, Pan DZ (2015) Layout decomposition for triple patterning lithography. IEEE Trans Comput Aided Des Integr Circuits Syst 34(3):433–446
Moreno-García CF, Elyan E, Jayne C (2019) New trends on digitisation of complex engineering drawings. Neural Comput Appl 31(6):1695–1712
Cheng K-T, Lin C-J (1995) Timing-driven test point insertion for full-scan and partial-scan bist. In: Proceedings of 1995 IEEE international test conference (ITC), pp 506–514. IEEE
Ma Y, Ren H, Khailany B, Sikka H, Luo L, Natarajan K, Yu B (2019) High performance graph convolutional networks with applications in testability analysis. In: Proceedings of the 56th annual design automation conference 2019, pp 1–6
Ma Y, He Z, Li W, Zhang L, Yu B (2020) Understanding graphs in EDA: from shallow to deep learning. In: Proceedings of the 2020 international symposium on physical design, pp 119–126
Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907
Khailany B, Ren H, Dai S, Godil S, Keller B, Kirby R, Klinefelter A, Venkatesan R, Zhang Y, Catanzaro B et al (2020) Accelerating chip design with machine learning. IEEE Micro 40(6):23–32
Hamilton WL (2020) Graph representation learning. Synth Lect Artif Intell Mach Learn 14(3):1–159
Jumper J, Evans R, Pritzel A, Green T, Figurnov M, Ronneberger O, Tunyasuvunakool K, Bates R, Žídek A, Potapenko A et al (2021) Highly accurate protein structure prediction with alphafold. Nature 596(7873):583–589
Derrow-Pinion A, She J, Wong D, Lange O, Hester T, Perez L, Nunkesser M, Lee S, Guo X, Wiltshire B, et al. (2021) Eta prediction with graph neural networks in google maps. In: Proceedings of the 30th ACM international conference on information & knowledge management, pp 3767–3776
Stokes JM, Yang K, Swanson K, Jin W, Cubillos-Ruiz A, Donghia NM, MacNair CR, French S, Carfrae LA, Bloom-Ackermann Z et al (2020) A deep learning approach to antibiotic discovery. Cell 180(4):688–702
Dey M, Mia SM, Sarkar N, Bhattacharya A, Roy S, Malakar S, Sarkar R (2021) A two-stage CNN-based hand-drawn electrical and electronic circuit component recognition system. Neural Comput Appl 33(20):13367–13390
Ustun E, Deng C, Pal D, Li Z, Zhang Z (2020) Accurate operation delay prediction for fpga hls using graph neural networks. In: Proceedings of the 39th international conference on computer-aided design, pp 1–9
Mirhoseini A, Goldie A, Yazgan M, Jiang JW, Songhori E, Wang S, Lee Y-J, Johnson E, Pathak O, Nazi A et al (2021) A graph placement methodology for fast chip design. Nature 594(7862):207–212
Xie Z, Liang R, Xu X, Hu J, Duan Y, Chen Y (2021) Net 2: A graph attention network method customized for pre-placement net length estimation. In: 2021 26th Asia and South Pacific design automation conference (ASP-DAC), pp 671–677. IEEE
Agnesina A, Chang K, Lim SK (2020) Vlsi placement parameter optimization using deep reinforcement learning. In: Proceedings of the 39th international conference on computer-aided design, pp 1–9
Lu Y-C, Pentapati S, Lim SK (2020) Vlsi placement optimization using graph neural networks. In: 34th advances in neural information processing systems (NeurIPS) workshop on ML for systems
Hamilton W, Ying Z, Leskovec J (2017) Inductive representation learning on large graphs. Adv Neural Inf Process Syst 30
Ren H, Kokai GF, Turner WJ, Ku T-S (2020) Paragraph: layout parasitics and device parameter prediction using graph neural networks. In: 2020 57th ACM/IEEE design automation conference (DAC), pp 1–6. IEEE
Zhang G, He H, Katabi D (2019) Circuit-GNN: Graph neural networks for distributed circuit design. In: International conference on machine learning, pp 7364–7373. PMLR
Wang H, Wang K, Yang J, Shen L, Sun N, Lee H-S, Han S (2020) Gcn-rl circuit designer: Transferable transistor sizing with graph neural networks and reinforcement learning. In: 2020 57th ACM/IEEE design automation conference (DAC), pp 1–6. IEEE
Li Y, Lin Y, Madhusudan M, Sharma A, Xu W, Sapatnekar SS, Harjani R, Hu J (2020) A customized graph neural network model for guiding analog IC placement. In: 2020 IEEE/ACM international conference on computer aided design (ICCAD), pp 1–9. IEEE
Abualigah L, Shehab M, Alshinwan M, Alabool H (2020) Salp swarm algorithm: a comprehensive survey. Neural Comput Appl 32(15):11195–11215
Tsitsulin A, Mottin D, Karras P, Bronstein A, Müller E (2018) Netlsd: hearing the shape of a graph. In: Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining, pp 2347–2356
Said A, Hassan S-U, Tuarob S, Nawaz R, Shabbir M (2021) Dgsd: Distributed graph representation via graph statistical properties. Futur Gener Comput Syst 119:166–175
Zhang M, Chen Y (2018) Link prediction based on graph neural networks. Adv Neural Inf Process Syst 31
Veličković P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y (2017) Graph attention networks. arXiv preprint arXiv:1710.10903
Xu K, Hu W, Leskovec J, Jegelka S (2018) How powerful are graph neural networks?. arXiv preprint arXiv:1810.00826
Zhang M, Li P (2021) Nested graph neural networks. Adv Neural Inf Process Syst 34:15734–15747
Ahmed A, Hassan ZR, Shabbir M (2020) Interpretable multi-scale graph descriptors via structural compression. Inf Sci 533:169–180
Verma S, Zhang Z-L (2017) Hunt for the unique, stable, sparse and fast feature learning on graphs. Adv Neural Inf Process Syst 30
Berlingerio M, Koutra D, Eliassi-Rad T, Faloutsos C (2013) Network similarity via multiple social theories. In: Proceedings of the 2013 IEEE/ACM international conference on advances in social networks analysis and mining, pp 1439–1440
Shervashidze N, Schweitzer P, Van Leeuwen EJ, Mehlhorn K, Borgwardt KM (2011) Weisfeiler-Lehman graph kernels. J. Mach. Learn. Res. 12(9):2539–2561
Weisfeiler B, Leman A (1968) The reduction of a graph to canonical form and the algebra which appears therein. NTI, Ser 2(9):12–16
Borgwardt KM, Kriegel H-P (2005) Shortest-path kernels on graphs. In: Fifth IEEE international conference on data mining (ICDM’05), p 8. IEEE
Cangea C, Veličković P, Jovanović N, Kipf T, Liò P (2018) Towards sparse hierarchical graph classifiers. arXiv preprint arXiv:1811.01287
Zhang M, Cui Z, Neumann M, Chen Y (2018) An end-to-end deep learning architecture for graph classification. In: Proceedings of the AAAI conference on artificial intelligence, vol 32
Acknowledgements
This work is supported in part by DARPA through contract number FA8750-20-C-0537. Any opinions, findings, and conclusions or recommendations expressed are those of the authors and do not necessarily reflect the views of the sponsor.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Said, A., Shabbir, M., Broll, B. et al. Circuit design completion using graph neural networks. Neural Comput & Applic 35, 12145–12157 (2023). https://doi.org/10.1007/s00521-023-08346-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-023-08346-x