Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3508352.3549363acmconferencesArticle/Chapter ViewAbstractPublication PagesiccadConference Proceedingsconference-collections
research-article

Batch Sequential Black-Box Optimization with Embedding Alignment Cells for Logic Synthesis

Published: 22 December 2022 Publication History

Abstract

During the logic synthesis flow of EDA, a sequence of graph transformation operators are applied to the circuits so that the Quality of Results (QoR) of the circuits highly depends on the chosen operators and their specific parameters in the sequence, making the search space operator-dependent and increasingly exponential. In this paper, we formulate the logic synthesis design space exploration as a conditional sequence optimization problem, where at each transformation step, an optimization operator is selected and its corresponding parameters are decided. To solve this problem, we propose a novel sequential black-box optimization approach without human intervention: 1) Due to the conditional and sequential structure of operator sequence with variable length, we build an embedding alignment cells based recurrent neural network as a surrogate model to estimate the QoR of the logic synthesis flow with historical data. 2) With the surrogate model, we construct acquisition function to balance exploration and exploitation with respect to each metric of the QoR. 3) We use multi-objective optimization algorithm to find the Pareto front of the acquisition functions, along which a batch of sequences, consisting of parameterized operators, are (randomly) selected to users for evaluation under the budget of computing resource. We repeat the above three steps until convergence or time limit. Experimental results on public EPFL benchmarks demonstrate the superiority of our approach over the expert-crafted optimization flows and other machine learning based methods. Compared to resyn2, we achieve 11.8% LUT-6 count descent improvements without sacrificing level values.

References

[1]
Luca Amarù, Pierre-Emmanuel Gaillardon, and Giovanni De Micheli. 2015. The EPFL Combinational Benchmark Suite. In Proceedings of the 24th International Workshop on Logic & Synthesis (IWLS 2015).
[2]
Berkeley Logic Synthesis and Verification Group. [n.d.]. ABC: A System for Sequential Synthesis and Verification. http://www.eecs.berkeley.edu/~alanmi/abc/.
[3]
Antoine Grosnit, Cedric Malherbe, Rasul Tutunov, Xingchen Wan, Jun Wang, and Haitham Bou Ammar. 2022. BOiLS: Bayesian Optimisation for Logic Synthesis. In Proceeding of the 25th Design, Automation Test in Europe Conference (DATE 2022).
[4]
Winston Haaswijk, Edo Collins, Benoit Seguin, Mathias Soeken, Frédéric Kaplan, Sabine Süsstrunk, and Giovanni De Micheli. 2018. Deep Learning for Logic Optimization Algorithms. In Proceedings of the 2018 IEEE International Symposium on Circuits and Systems (ISCAS 2018). 1--4.
[5]
Soha Hassoun and Tsutomu Sasao. 2012. Logic Synthesis and Verification. Vol. 654. Springer Science & Business Media.
[6]
Sepp Hochreiter and Jörgen Schmidhuber. 1997. Long Short-Term Memory. 9, 8 (1997), 1735--1780.
[7]
Abdelrahman Hosny, Soheil Hashemi, Mohamed Shalan, and Sherief Reda. 2020. DRiLLS: Deep Reinforcement Learning for Logic Synthesis. In Proceedings of the 25th Asia and South Pacific Design Automation Conference (ASP-DAC). 581--586.
[8]
Guyue Huang, Jingbo Hu, Yifan He, Jialong Liu, Mingyuan Ma, Zhaoyang Shen, Juejian Wu, Yuanfan Xu, Hengrui Zhang, Kai Zhong, Xuefei Ning, Yuzhe Ma, Haoyu Yang, Bei Yu, Huazhong Yang, and Yu Wang. 2021. Machine Learning for Electronic Design Automation: A Survey. 26, 5, Article 40 (2021).
[9]
Donald R. Jones, Matthias Schonlau, and William J. Welch. 1998. Efficient Global Optimization of Expensive Black-Box Functions. 13 (1998), 455--492.
[10]
Xing Li, Lei Chen, Fan Yang, Mingxuan Yuan, Hongli Yan, and Yupeng Wan. 2022. HIMap: A Heuristic and Iterative Logic Synthesis Approach. In Proceedings of the 59th Annual Design Automation Conference (DAC 2022).
[11]
Burgun Luc, Greiner Alain, and Prado Lopes Eudes. 1994. A Consistent Approach in Logic Synthesis for FPGA Architectures. In Proceedings of the 1st International Conference on ASIC (ASICON). 104--107.
[12]
Wenlong Lyu, Fan Yang, Changhao Yan, Dian Zhou, and Xuan Zeng. 2018. Batch Bayesian Optimization via Multi-objective Acquisition Ensemble for Automated Analog Circuit Design. In Proceedings of the 35th International Conference on Machine Learning (ICML 2018). 3306--3314.
[13]
Tomáš Mikolov, Martin Karafiát, Lukáš Burget, Jan, Honza Černocký, and Sanjeev Khudanpur. 2010. Recurrent neural network based language model. In Proceedings of the 11th Annual Conference of the International Speech Communication Association (INTERSPEECH 2010). 1045--1048.
[14]
Walter Lau Neto, Max Austin, Scott Temple, Luca Amaru, Xifan Tang, and Pierre-Emmanuel Gaillardon. 2019. LSOracle: A Logic Synthesis Framework Driven by Artificial Intelligence. In Proceedings of the IEEE/ACM International Conference on Computer-Aided Design (ICCAD 2019). 1--6.
[15]
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. PyTorch: An Imperative Style, High-Performance Deep Learning Library. In Advances in Neural Information Processing Systems 32 (NeurIPS 2019). 8024--8035.
[16]
Carl Edward Rasmussen and Christopher K. I. Williams. 2006. Gaussian Processes for Machine Learning. The MIT Press.
[17]
Bobak Shahriari, Kevin Swersky, Ziyu Wang, Ryan P. Adams, and Nando de Freitas. 2016. Taking the Human Out of the Loop: A Review of Bayesian Optimization. 104, 1 (2016), 148--175.
[18]
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is All You Need. In Proceedings of the 31st International Conference on Neural Information Processing Systems (NeurIPS 2017). 6000--6010.
[19]
Clifford Wolf. [n.d.]. Yosys Open SYnthesis Suite. http://www.clifford.at/yosys/.
[20]
Wenlong Yang, Lingli Wang, and Alan Mishchenko. 2012. Lazy man's logic synthesis. In Proceedings of the IEEE/ACM International Conference on Computer-Aided Design (ICCAD 2012). 597--604.
[21]
Cunxi Yu, Houping Xiao, and Giovanni De Micheli. 2018. Developing Synthesis Flows without Human Knowledge. In Proceedings of the 55th Annual Design Automation Conference (DAC 2018). 1--6.
[22]
Matthew M. Ziegler, Hung-Yi Liu, and Luca P. Carloni. 2016. Scalable Auto-Tuning of Synthesis Parameters for Optimizing High-Performance Processors. In Proceedings of the 2016 International Symposium on Low Power Electronics and Design. 180--185.
[23]
Matthew M. Ziegler, Hung-Yi Liu, George Gristede, Bruce Owens, Ricardo Nigaglioni, and Luca P. Carloni. 2016. A synthesis-parameter tuning system for autonomous design-space exploration. In Proceeding of the 19th Design, Automation Test in Europe Conference (DATE 2016). 1148--1151.

Cited By

View all
  • (2024)ReLS: Retrieval Is Efficient Knowledge Transfer For Logic SynthesisProceedings of the 2024 ACM/IEEE International Symposium on Machine Learning for CAD10.1145/3670474.3685946(1-7)Online publication date: 9-Sep-2024
  • (2024)A General Framework for Efficient Logic Synthesis2024 2nd International Symposium of Electronics Design Automation (ISEDA)10.1109/ISEDA62518.2024.10617733(361-362)Online publication date: 10-May-2024
  • (2024)On Accelerating Domain-Specific MC-TS with Knowledge Retention and Efficient Parallelization for Logic Optimization2024 2nd International Symposium of Electronics Design Automation (ISEDA)10.1109/ISEDA62518.2024.10617624(235-240)Online publication date: 10-May-2024
  • Show More Cited By

Index Terms

  1. Batch Sequential Black-Box Optimization with Embedding Alignment Cells for Logic Synthesis
      Index terms have been assigned to the content through auto-classification.

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      ICCAD '22: Proceedings of the 41st IEEE/ACM International Conference on Computer-Aided Design
      October 2022
      1467 pages
      ISBN:9781450392174
      DOI:10.1145/3508352
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Sponsors

      In-Cooperation

      • IEEE-EDS: Electronic Devices Society
      • IEEE CAS
      • IEEE CEDA

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 22 December 2022

      Permissions

      Request permissions for this article.

      Check for updates

      Qualifiers

      • Research-article

      Conference

      ICCAD '22
      Sponsor:
      ICCAD '22: IEEE/ACM International Conference on Computer-Aided Design
      October 30 - November 3, 2022
      California, San Diego

      Acceptance Rates

      Overall Acceptance Rate 457 of 1,762 submissions, 26%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)122
      • Downloads (Last 6 weeks)9
      Reflects downloads up to 10 Nov 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)ReLS: Retrieval Is Efficient Knowledge Transfer For Logic SynthesisProceedings of the 2024 ACM/IEEE International Symposium on Machine Learning for CAD10.1145/3670474.3685946(1-7)Online publication date: 9-Sep-2024
      • (2024)A General Framework for Efficient Logic Synthesis2024 2nd International Symposium of Electronics Design Automation (ISEDA)10.1109/ISEDA62518.2024.10617733(361-362)Online publication date: 10-May-2024
      • (2024)On Accelerating Domain-Specific MC-TS with Knowledge Retention and Efficient Parallelization for Logic Optimization2024 2nd International Symposium of Electronics Design Automation (ISEDA)10.1109/ISEDA62518.2024.10617624(235-240)Online publication date: 10-May-2024
      • (2023)EffiSyn: Efficient Logic Synthesis with Dynamic Scoring and Pruning2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD)10.1109/ICCAD57390.2023.10323902(1-9)Online publication date: 28-Oct-2023
      • (2023)AlphaSyn: Logic Synthesis Optimization with Efficient Monte Carlo Tree Search2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD)10.1109/ICCAD57390.2023.10323856(1-9)Online publication date: 28-Oct-2023
      • (2023)Three Challenges in ReRAM-Based Process-In-Memory for Neural Network2023 IEEE 5th International Conference on Artificial Intelligence Circuits and Systems (AICAS)10.1109/AICAS57966.2023.10168640(1-5)Online publication date: 11-Jun-2023

      View Options

      Get Access

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media