{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,10]],"date-time":"2025-12-10T12:36:23Z","timestamp":1765370183850,"version":"3.41.0"},"reference-count":35,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2023,9,1]],"date-time":"2023-09-01T00:00:00Z","timestamp":1693526400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"United Kingdom EPSRC","award":["EP\/S030069\/1, EP\/P010040\/1"],"award-info":[{"award-number":["EP\/S030069\/1, EP\/P010040\/1"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Reconfigurable Technol. Syst."],"published-print":{"date-parts":[[2023,12,31]]},"abstract":"<jats:p>\n            Field-programmable gate array (FPGA)\u2013specific deep neural network (DNN) architectures using native lookup tables (LUTs) as independently trainable inference operators have been shown to achieve favorable area-accuracy and energy-accuracy trade-offs. The first work in this area, LUTNet, exhibited state-of-the-art performance for standard DNN benchmarks. In this article, we propose the learned optimization of such LUT-based topologies, resulting in higher-efficiency designs than via the direct use of off-the-shelf, hand-designed networks. Existing implementations of this class of architecture require the manual specification of the number of inputs per LUT,\n            <jats:italic>K<\/jats:italic>\n            . Choosing appropriate\n            <jats:italic>K<\/jats:italic>\n            <jats:italic>a priori<\/jats:italic>\n            is challenging. Doing so at even high granularity, for example, per layer, is a time-consuming and error-prone process that leaves FPGAs\u2019 spatial flexibility underexploited. Furthermore, prior works see LUT inputs connected randomly, which does not guarantee a good choice of network topology. To address these issues, we propose\n            <jats:italic>logic shrinkage<\/jats:italic>\n            , a fine-grained netlist pruning methodology enabling\n            <jats:italic>K<\/jats:italic>\n            to be automatically learned for every LUT in a neural network targeted for FPGA inference. By removing LUT inputs determined to be of low importance, our method increases the efficiency of the resultant accelerators. Our GPU-friendly solution to LUT input removal is capable of processing large topologies during their training with negligible slowdown. With logic shrinkage, we improve the area and energy efficiency of the best-performing LUTNet implementation of the CNV network classifying CIFAR-10 by 1.54\u00d7 and 1.31\u00d7, respectively, while matching its accuracy. This implementation also reaches 2.71\u00d7 the area efficiency of an equally accurate, heavily pruned binary neural network (BNN). On ImageNet, with the Bi-Real Net architecture, employment of logic shrinkage results in a post-synthesis area reduction of 2.67\u00d7\n            <jats:italic>vs.<\/jats:italic>\n            LUTNet, allowing for implementation that was previously impossible on today\u2019s largest FPGAs. We validate the benefits of logic shrinkage in the context of real application deployment by implementing a face mask detection DNN using a BNN, LUTNet, and logic-shrunk layers. Our results show that logic shrinkage results in area gains versus LUTNet (up to 1.20\u00d7) and equally pruned BNNs (up to 1.08\u00d7), along with accuracy improvements.\n          <\/jats:p>","DOI":"10.1145\/3583075","type":"journal-article","created":{"date-parts":[[2023,2,10]],"date-time":"2023-02-10T12:05:05Z","timestamp":1676030705000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Logic Shrinkage: Learned Connectivity Sparsification for LUT-Based Neural Networks"],"prefix":"10.1145","volume":"16","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3603-6852","authenticated-orcid":false,"given":"Erwei","family":"Wang","sequence":"first","affiliation":[{"name":"AMD, United Kingdom"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1728-8824","authenticated-orcid":false,"given":"Marie","family":"Auffret","sequence":"additional","affiliation":[{"name":"Imperial College London, United Kingdom"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3694-644X","authenticated-orcid":false,"given":"Georgios-Ilias","family":"Stavrou","sequence":"additional","affiliation":[{"name":"Imperial College London, United Kingdom"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8236-1816","authenticated-orcid":false,"given":"Peter Y. K.","family":"Cheung","sequence":"additional","affiliation":[{"name":"Imperial College London, United Kingdom"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0201-310X","authenticated-orcid":false,"given":"George A.","family":"Constantinides","sequence":"additional","affiliation":[{"name":"Imperial College London, United Kingdom"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4568-8932","authenticated-orcid":false,"given":"Mohamed S.","family":"Abdelfattah","sequence":"additional","affiliation":[{"name":"Cornell University, United States"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4910-3188","authenticated-orcid":false,"given":"James J.","family":"Davis","sequence":"additional","affiliation":[{"name":"Imperial College London, United Kingdom"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2023,9]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"Tushar Agrawal K. Imran Matteo Figus and C. Kirkpatrick. 2020. Automatically Detecting Personal Protective Equipment on Persons in Images Using Amazon Rekognition. https:\/\/aws.amazon.com\/cn\/blogs\/machine-learning\/automaticallydetecting-personal-protective-equipment-on-persons-in-images-using-amazon-rekognition\/."},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.smhl.2020.100144"},{"issue":"1","key":"e_1_3_2_4_2","doi-asserted-by":"crossref","DOI":"10.1109\/MSP.2017.2765695","article-title":"Model compression and acceleration for deep neural networks: the principles, progress, and challenges","volume":"35","author":"Cheng Yu","year":"2018","unstructured":"Yu Cheng, Duo Wang, Pan Zhou, and Tao Zhang. 2018. Model compression and acceleration for deep neural networks: the principles, progress, and challenges. IEEE Signal Processing Magazine 35, 1 (2018).","journal-title":"IEEE Signal Processing Magazine"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR.2009.5206848"},{"key":"e_1_3_2_6_2","first-page":"108","volume-title":"IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW\u201921)","author":"Fasfous Nael","year":"2021","unstructured":"Nael Fasfous, Manoj-Rohit Vemparala, Alexander Frickenstein, Lukas Frickenstein, Mohamed Badawy, and Walter Stechele. 2021. BinaryCoP: Binary neural network-based COVID-19 face-mask wear and positioning predictor on edge devices. In IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW\u201921). IEEE, 108\u2013115."},{"key":"e_1_3_2_7_2","first-page":"2682","volume-title":"IEEE Conference on Computer Vision and Pattern Recognition","author":"Ge Shiming","year":"2017","unstructured":"Shiming Ge, Jia Li, Qiting Ye, and Zhao Luo. 2017. Detecting masked faces in the wild with LLE-CNNs. In IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2682\u20132690."},{"key":"e_1_3_2_8_2","first-page":"57","volume-title":"IEEE International Symposium on Field-Programmable Custom Computing Machines","author":"Ghasemzadeh Mohammad","year":"2018","unstructured":"Mohammad Ghasemzadeh, Mohammad Samragh, and Farinaz Koushanfar. 2018. ReBNet: Residual binarized neural network. In IEEE International Symposium on Field-Programmable Custom Computing Machines. IEEE, 57\u201364."},{"key":"e_1_3_2_9_2","doi-asserted-by":"crossref","unstructured":"Karim Hammoudi Adnane Cabani Halim Benhabiles and Mahmoud Melkemi. 2020. Validating the correct wearing of protection mask by taking a selfie: Design of a mobile application \u201cCheckYourMask\u201d to limit the spread of COVID-19. HAL preprint hal-02614790 (2020).","DOI":"10.36227\/techrxiv.12355970.v1"},{"key":"e_1_3_2_10_2","volume-title":"Conference on Neural Information Processing Systems","author":"Han Song","year":"2015","unstructured":"Song Han, Jeff Pool, John Tran, and William J. Dally. 2015. Learning both weights and connections for efficient neural network. In Conference on Neural Information Processing Systems, Vol. 28. IEEE."},{"key":"e_1_3_2_11_2","volume-title":"Learning Multiple Layers of Features from Tiny Images","author":"Krizhevsky Alex","year":"2009","unstructured":"Alex Krizhevsky. 2009. Learning Multiple Layers of Features from Tiny Images. Master\u2019s thesis. University of Toronto."},{"key":"e_1_3_2_12_2","first-page":"84","volume-title":"Commun. ACM","author":"Krizhevsky Alex","year":"2012","unstructured":"Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. 2012. ImageNet classification with deep convolutional neural networks. Commun. ACM 60, 6 (2017), 84\u201390."},{"key":"e_1_3_2_13_2","article-title":"Implementing a real-time, AI-based, face mask detector application for COVID-19","volume":"13","author":"Kulkarni Amey","year":"2020","unstructured":"Amey Kulkarni, Amulya Vishwanath, and Chintan Shah. 2020. Implementing a real-time, AI-based, face mask detector application for COVID-19. NVIDIA Developer Blog 13 (2020).","journal-title":"NVIDIA Developer Blog"},{"issue":"11","key":"e_1_3_2_14_2","article-title":"Gradient-based learning applied to document recognition","volume":"86","author":"LeCun Yann","year":"1998","unstructured":"Yann LeCun, L\u00e9on Bottou, Yoshua Bengio, and Patrick Haffner. 1998. Gradient-based learning applied to document recognition. Proceedings of the IEEE 86, 11 (1998).","journal-title":"Proceedings of the IEEE"},{"key":"e_1_3_2_15_2","volume-title":"International Conference on Learning Representations","author":"Lee Namhoon","year":"2019","unstructured":"Namhoon Lee, Thalaiyasingam Ajanthan, and Philip Torr. 2019. SNIP: Single-shot network pruning based on connection sensitivity. In International Conference on Learning Representations."},{"key":"e_1_3_2_16_2","article-title":"FP-BNN: Binarized neural network on FPGA","volume":"275","author":"Liang Shuang","year":"2018","unstructured":"Shuang Liang, Shouyi Yin, Leibo Liu, Wayne Luk, and Shaojun Wei. 2018. FP-BNN: Binarized neural network on FPGA. Neurocomputing 275, C (2018).","journal-title":"Neurocomputing"},{"key":"e_1_3_2_17_2","volume-title":"International Conference on Learning Representations","author":"Liu Hanxiao","year":"2018","unstructured":"Hanxiao Liu, Karen Simonyan, and Yiming Yang. 2018. DARTS: Differentiable architecture search. In International Conference on Learning Representations."},{"key":"e_1_3_2_18_2","first-page":"722","volume-title":"European Conference on Computer Vision","author":"Liu Zechun","year":"2018","unstructured":"Zechun Liu, Baoyuan Wu, Wenhan Luo, Xin Yang, Wei Liu, and Kwang-Ting Cheng. 2018. Bi-Real Net: Enhancing the performance of 1-bit CNNs with improved representational capability and advanced training algorithm. In European Conference on Computer Vision, Springer, 722\u2013737."},{"key":"e_1_3_2_19_2","volume-title":"International Conference on Learning Representations","author":"Mei Jieru","year":"2019","unstructured":"Jieru Mei, Yingwei Li, Xiaochen Lian, Xiaojie Jin, Linjie Yang, Alan Yuille, and Jianchao Yang. 2019. AtomNAS: Fine-grained end-to-end neural architecture search. In International Conference on Learning Representations."},{"key":"e_1_3_2_20_2","volume-title":"International Conference on Learning Representations","author":"Molchanov Pavlo","year":"2017","unstructured":"Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. 2017. Pruning convolutional neural networks for resource efficient inference. In International Conference on Learning Representations."},{"key":"e_1_3_2_21_2","article-title":"NullaNet: Training deep neural networks for reduced-memory-access inference","author":"Nazemi Mahdi","year":"2018","unstructured":"Mahdi Nazemi, Ghasem Pasandi, and Massoud Pedram. 2018. NullaNet: Training deep neural networks for reduced-memory-access inference. arXiv preprint arXiv:1807.08716 (2018).","journal-title":"arXiv preprint arXiv:1807.08716"},{"key":"e_1_3_2_22_2","volume-title":"NIPS Workshop on Deep Learning and Unsupervised Feature Learning","author":"Netzer Yuval","year":"2011","unstructured":"Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y. Ng. 2011. Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning."},{"key":"e_1_3_2_23_2","unstructured":"World Health Organization. 2020. Archived: WHO Timeline - COVID-19 . https:\/\/www.who.int\/news\/item\/27-04-2020-who-timeline---covid-19."},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v33i01.33014780"},{"issue":"4","key":"e_1_3_2_25_2","article-title":"A comprehensive survey of neural architecture search: Challenges and solutions","volume":"54","author":"Ren Pengzhen","year":"2021","unstructured":"Pengzhen Ren, Yun Xiao, Xiaojun Chang, Po-Yao Huang, Zhihui Li, Xiaojiang Chen, and Xin Wang. 2021. A comprehensive survey of neural architecture search: Challenges and solutions. Computing Surveys 54, 4 (2021).","journal-title":"Computing Surveys"},{"key":"e_1_3_2_26_2","first-page":"291","volume-title":"SIGNLL Conference on Computational Natural Language Learning","author":"See Abigail","year":"2016","unstructured":"Abigail See, Minh-Thang Luong, and Christopher D. Manning. 2016. Compression of neural machine translation models via pruning. In SIGNLL Conference on Computational Natural Language Learning. 291\u2013301."},{"issue":"12","key":"e_1_3_2_27_2","article-title":"Efficient processing of deep neural networks: a tutorial and survey","volume":"105","author":"Sze Vivienne","year":"2017","unstructured":"Vivienne Sze, Yu-Hsin Chen, Tien-Ju Yang, and Joel S. Emer. 2017. Efficient processing of deep neural networks: a tutorial and survey. Proceedings of the IEEE 105, 12 (2017).","journal-title":"Proceedings of the IEEE"},{"key":"e_1_3_2_28_2","first-page":"291","volume-title":"International Conference on Field-Programmable Logic and Applications","author":"Umuroglu Yaman","year":"2020","unstructured":"Yaman Umuroglu, Yash Akhauri, Nicholas J. Fraser, and Michaela Blott. 2020. LogicNets: Co-designed neural networks and circuits for extreme-throughput applications. In International Conference on Field-Programmable Logic and Applications. IEEE, 291\u2013297."},{"key":"e_1_3_2_29_2","first-page":"65","volume-title":"ACM\/SIGDA International Symposium on Field-Programmable Gate Arrays","author":"Umuroglu Yaman","year":"2017","unstructured":"Yaman Umuroglu, Nicholas J. Fraser, Giulio Gambardella, Michaela Blott, Philip H. W. Leong, Magnus Jahre, and Kees Vissers. 2017. FINN: A framework for fast, scalable binarized neural network inference. In ACM\/SIGDA International Symposium on Field-Programmable Gate Arrays. ACM, 65\u201374."},{"key":"e_1_3_2_30_2","first-page":"26","volume-title":"IEEE International Symposium on Field-Programmable Custom Computing Machines","author":"Wang Erwei","year":"2019","unstructured":"Erwei Wang, James J. Davis, Peter Y. K. Cheung, and George A. Constantinides. 2019. LUTNet: Rethinking inference in FPGA soft logic. In IEEE International Symposium on Field-Programmable Custom Computing Machines. IEEE, 26\u201334."},{"issue":"12","key":"e_1_3_2_31_2","article-title":"LUTNet: Learning FPGA configurations for highly efficient neural network inference","volume":"69","author":"Wang Erwei","year":"2020","unstructured":"Erwei Wang, James J. Davis, Peter Y. K. Cheung, and George A. Constantinides. 2020. LUTNet: Learning FPGA configurations for highly efficient neural network inference. IEEE Transactions on Computers 69, 12 (2020).","journal-title":"IEEE Transactions on Computers"},{"key":"e_1_3_2_32_2","first-page":"101","volume-title":"ACM\/SIGDA International Symposium on Field-Programmable Gate Arrays","author":"Wang Erwei","year":"2022","unstructured":"Erwei Wang, James J. Davis, Georgios-Ilias Stavrou, Peter Y. K. Cheung, George A. Constantinides, and Mohamed Abdelfattah. 2022. Logic shrinkage: Learned FPGA netlist sparsity for efficient neural network inference. In ACM\/SIGDA International Symposium on Field-Programmable Gate Arrays. ACM, 101\u2013111."},{"issue":"2","key":"e_1_3_2_33_2","article-title":"Deep neural network approximation for custom hardware: Where we\u2019ve been, where we\u2019re going","volume":"52","author":"Wang Erwei","year":"2019","unstructured":"Erwei Wang, James J. Davis, Ruizhe Zhao, Ho-Cheung Ng, Xinyu Niu, Wayne Luk, Peter Y. K. Cheung, and George A. Constantinides. 2019. Deep neural network approximation for custom hardware: Where we\u2019ve been, where we\u2019re going. Computing Surveys 52, 2 (2019).","journal-title":"Computing Surveys"},{"key":"e_1_3_2_34_2","article-title":"Masked face recognition dataset and application","author":"Wang Zhongyuan","year":"2020","unstructured":"Zhongyuan Wang, Guangcheng Wang, Baojin Huang, Zhangyang Xiong, Qi Hong, Hao Wu, Peng Yi, Kui Jiang, Nanxi Wang, Yingjiao Pei, et\u00a0al. 2020. Masked face recognition dataset and application. arXiv preprint arXiv:2003.09093 (2020).","journal-title":"arXiv preprint arXiv:2003.09093"},{"key":"e_1_3_2_35_2","article-title":"Wearmask: Fast in-browser face mask detection with serverless edge computing for COVID-19","author":"Wang Zekun","year":"2021","unstructured":"Zekun Wang, Pengwei Wang, Peter C. Louis, Lee E. Wheless, and Yuankai Huo. 2021. Wearmask: Fast in-browser face mask detection with serverless edge computing for COVID-19. arXiv preprint arXiv:2101.00784 (2021).","journal-title":"arXiv preprint arXiv:2101.00784"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR.2018.00907"}],"container-title":["ACM Transactions on Reconfigurable Technology and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3583075","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3583075","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T17:48:47Z","timestamp":1750182527000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3583075"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,9]]},"references-count":35,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2023,12,31]]}},"alternative-id":["10.1145\/3583075"],"URL":"https:\/\/doi.org\/10.1145\/3583075","relation":{},"ISSN":["1936-7406","1936-7414"],"issn-type":[{"type":"print","value":"1936-7406"},{"type":"electronic","value":"1936-7414"}],"subject":[],"published":{"date-parts":[[2023,9]]},"assertion":[{"value":"2022-09-25","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-01-26","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-09-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}