Retrieval-Guided Reinforcement Learning for Boolean Circuit Minimization. Chowdhury, A. B., Romanelli, M., Tan, B., Karri, R., & Garg, S. January, 2024. arXiv:2401.12205 [cs]
Paper doi abstract bibtex Logic synthesis, a pivotal stage in chip design, entails optimizing chip specifications encoded in hardware description languages like Verilog into highly efficient implementations using Boolean logic gates. The process involves a sequential application of logic minimization heuristics (``synthesis recipe"), with their arrangement significantly impacting crucial metrics such as area and delay. Addressing the challenge posed by the broad spectrum of design complexities - from variations of past designs (e.g., adders and multipliers) to entirely novel configurations (e.g., innovative processor instructions) - requires a nuanced `synthesis recipe` guided by human expertise and intuition. This study conducts a thorough examination of learning and search techniques for logic synthesis, unearthing a surprising revelation: pre-trained agents, when confronted with entirely novel designs, may veer off course, detrimentally affecting the search trajectory. We present ABC-RL, a meticulously tuned ${\}alpha$ parameter that adeptly adjusts recommendations from pre-trained agents during the search process. Computed based on similarity scores through nearest neighbor retrieval from the training dataset, ABC-RL yields superior synthesis recipes tailored for a wide array of hardware designs. Our findings showcase substantial enhancements in the Quality-of-result (QoR) of synthesized circuits, boasting improvements of up to 24.8% compared to state-of-the-art techniques. Furthermore, ABC-RL achieves an impressive up to 9x reduction in runtime (iso-QoR) when compared to current state-of-the-art methodologies.
@misc{chowdhury_retrieval-guided_2024,
title = {Retrieval-{Guided} {Reinforcement} {Learning} for {Boolean} {Circuit} {Minimization}},
url = {http://arxiv.org/abs/2401.12205},
doi = {10.48550/arXiv.2401.12205},
abstract = {Logic synthesis, a pivotal stage in chip design, entails optimizing chip specifications encoded in hardware description languages like Verilog into highly efficient implementations using Boolean logic gates. The process involves a sequential application of logic minimization heuristics (``synthesis recipe"), with their arrangement significantly impacting crucial metrics such as area and delay. Addressing the challenge posed by the broad spectrum of design complexities - from variations of past designs (e.g., adders and multipliers) to entirely novel configurations (e.g., innovative processor instructions) - requires a nuanced `synthesis recipe` guided by human expertise and intuition. This study conducts a thorough examination of learning and search techniques for logic synthesis, unearthing a surprising revelation: pre-trained agents, when confronted with entirely novel designs, may veer off course, detrimentally affecting the search trajectory. We present ABC-RL, a meticulously tuned \${\textbackslash}alpha\$ parameter that adeptly adjusts recommendations from pre-trained agents during the search process. Computed based on similarity scores through nearest neighbor retrieval from the training dataset, ABC-RL yields superior synthesis recipes tailored for a wide array of hardware designs. Our findings showcase substantial enhancements in the Quality-of-result (QoR) of synthesized circuits, boasting improvements of up to 24.8\% compared to state-of-the-art techniques. Furthermore, ABC-RL achieves an impressive up to 9x reduction in runtime (iso-QoR) when compared to current state-of-the-art methodologies.},
urldate = {2024-01-23},
publisher = {arXiv},
author = {Chowdhury, Animesh Basak and Romanelli, Marco and Tan, Benjamin and Karri, Ramesh and Garg, Siddharth},
month = jan,
year = {2024},
note = {arXiv:2401.12205 [cs]},
keywords = {\#broken, Computer Science - Artificial Intelligence, Computer Science - Hardware Architecture, Computer Science - Machine Learning, Jab/\#Pre},
}
Downloads: 0
{"_id":"J2jX7wbBceq6oTsPr","bibbaseid":"chowdhury-romanelli-tan-karri-garg-retrievalguidedreinforcementlearningforbooleancircuitminimization-2024","author_short":["Chowdhury, A. B.","Romanelli, M.","Tan, B.","Karri, R.","Garg, S."],"bibdata":{"bibtype":"misc","type":"misc","title":"Retrieval-Guided Reinforcement Learning for Boolean Circuit Minimization","url":"http://arxiv.org/abs/2401.12205","doi":"10.48550/arXiv.2401.12205","abstract":"Logic synthesis, a pivotal stage in chip design, entails optimizing chip specifications encoded in hardware description languages like Verilog into highly efficient implementations using Boolean logic gates. The process involves a sequential application of logic minimization heuristics (``synthesis recipe\"), with their arrangement significantly impacting crucial metrics such as area and delay. Addressing the challenge posed by the broad spectrum of design complexities - from variations of past designs (e.g., adders and multipliers) to entirely novel configurations (e.g., innovative processor instructions) - requires a nuanced `synthesis recipe` guided by human expertise and intuition. This study conducts a thorough examination of learning and search techniques for logic synthesis, unearthing a surprising revelation: pre-trained agents, when confronted with entirely novel designs, may veer off course, detrimentally affecting the search trajectory. We present ABC-RL, a meticulously tuned ${\\}alpha$ parameter that adeptly adjusts recommendations from pre-trained agents during the search process. Computed based on similarity scores through nearest neighbor retrieval from the training dataset, ABC-RL yields superior synthesis recipes tailored for a wide array of hardware designs. Our findings showcase substantial enhancements in the Quality-of-result (QoR) of synthesized circuits, boasting improvements of up to 24.8% compared to state-of-the-art techniques. Furthermore, ABC-RL achieves an impressive up to 9x reduction in runtime (iso-QoR) when compared to current state-of-the-art methodologies.","urldate":"2024-01-23","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Chowdhury"],"firstnames":["Animesh","Basak"],"suffixes":[]},{"propositions":[],"lastnames":["Romanelli"],"firstnames":["Marco"],"suffixes":[]},{"propositions":[],"lastnames":["Tan"],"firstnames":["Benjamin"],"suffixes":[]},{"propositions":[],"lastnames":["Karri"],"firstnames":["Ramesh"],"suffixes":[]},{"propositions":[],"lastnames":["Garg"],"firstnames":["Siddharth"],"suffixes":[]}],"month":"January","year":"2024","note":"arXiv:2401.12205 [cs]","keywords":"#broken, Computer Science - Artificial Intelligence, Computer Science - Hardware Architecture, Computer Science - Machine Learning, Jab/#Pre","bibtex":"@misc{chowdhury_retrieval-guided_2024,\n\ttitle = {Retrieval-{Guided} {Reinforcement} {Learning} for {Boolean} {Circuit} {Minimization}},\n\turl = {http://arxiv.org/abs/2401.12205},\n\tdoi = {10.48550/arXiv.2401.12205},\n\tabstract = {Logic synthesis, a pivotal stage in chip design, entails optimizing chip specifications encoded in hardware description languages like Verilog into highly efficient implementations using Boolean logic gates. The process involves a sequential application of logic minimization heuristics (``synthesis recipe\"), with their arrangement significantly impacting crucial metrics such as area and delay. Addressing the challenge posed by the broad spectrum of design complexities - from variations of past designs (e.g., adders and multipliers) to entirely novel configurations (e.g., innovative processor instructions) - requires a nuanced `synthesis recipe` guided by human expertise and intuition. This study conducts a thorough examination of learning and search techniques for logic synthesis, unearthing a surprising revelation: pre-trained agents, when confronted with entirely novel designs, may veer off course, detrimentally affecting the search trajectory. We present ABC-RL, a meticulously tuned \\${\\textbackslash}alpha\\$ parameter that adeptly adjusts recommendations from pre-trained agents during the search process. Computed based on similarity scores through nearest neighbor retrieval from the training dataset, ABC-RL yields superior synthesis recipes tailored for a wide array of hardware designs. Our findings showcase substantial enhancements in the Quality-of-result (QoR) of synthesized circuits, boasting improvements of up to 24.8\\% compared to state-of-the-art techniques. Furthermore, ABC-RL achieves an impressive up to 9x reduction in runtime (iso-QoR) when compared to current state-of-the-art methodologies.},\n\turldate = {2024-01-23},\n\tpublisher = {arXiv},\n\tauthor = {Chowdhury, Animesh Basak and Romanelli, Marco and Tan, Benjamin and Karri, Ramesh and Garg, Siddharth},\n\tmonth = jan,\n\tyear = {2024},\n\tnote = {arXiv:2401.12205 [cs]},\n\tkeywords = {\\#broken, Computer Science - Artificial Intelligence, Computer Science - Hardware Architecture, Computer Science - Machine Learning, Jab/\\#Pre},\n}\n\n","author_short":["Chowdhury, A. B.","Romanelli, M.","Tan, B.","Karri, R.","Garg, S."],"key":"chowdhury_retrieval-guided_2024","id":"chowdhury_retrieval-guided_2024","bibbaseid":"chowdhury-romanelli-tan-karri-garg-retrievalguidedreinforcementlearningforbooleancircuitminimization-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2401.12205"},"keyword":["#broken","Computer Science - Artificial Intelligence","Computer Science - Hardware Architecture","Computer Science - Machine Learning","Jab/#Pre"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://api.zotero.org/users/4645877/collections/5QADJUWI/items?key=OGCZ3uLZZq4lLIXadnuJrB1J&format=bibtex&limit=100","dataSources":["TRtmubHSqHw6999cH","Wsv2bQ4jPuc7qme8R"],"keywords":["#broken","computer science - artificial intelligence","computer science - hardware architecture","computer science - machine learning","jab/#pre"],"search_terms":["retrieval","guided","reinforcement","learning","boolean","circuit","minimization","chowdhury","romanelli","tan","karri","garg"],"title":"Retrieval-Guided Reinforcement Learning for Boolean Circuit Minimization","year":2024}