{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T17:01:31Z","timestamp":1775840491715,"version":"3.50.1"},"reference-count":43,"publisher":"Association for Computing Machinery (ACM)","issue":"5","funder":[{"DOI":"10.13039\/501100001809","name":"NSFC","doi-asserted-by":"crossref","award":["No. U25A20485, W2412034 and 62504204"],"award-info":[{"award-number":["No. U25A20485, W2412034 and 62504204"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Zhejiang University Education Foundation Qizhen Scholar Foundation"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Des. Autom. Electron. Syst."],"published-print":{"date-parts":[[2026,9,30]]},"abstract":"<jats:p>Large language models (LLMs) have been the driving force behind significant advancements in artificial intelligence. However, their unique self-attention mechanism leads to difficulties in accelerating the inference. Softmax, with its complex nonlinear operations and low parallelism, significantly limits the efficiency of LLMs for long sequences. This work proposes a novel high-parallelism hardware\/software co-design Softmax solution. By incorporating a sum estimation algorithm, we eliminate the need for complex exponential on all elements. A high-speed low-energy hardware architecture is introduced by applying high-parallelism statistical module and simplified division module. Experimental results demonstrate that our approach achieves a 9.90\u201344.75% reduction in latency and up to a 17.36% reduction in energy consumption compared with state-of-the-art Softmax hardware, with minimal impact on model inference accuracy.<\/jats:p>","DOI":"10.1145\/3801553","type":"journal-article","created":{"date-parts":[[2026,3,12]],"date-time":"2026-03-12T21:11:41Z","timestamp":1773349901000},"page":"1-20","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["A High-Parallelism Softmax Hardware-Software Co-Design for Fast and Efficient LLM Inference"],"prefix":"10.1145","volume":"31","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6508-2639","authenticated-orcid":false,"given":"Chenyi","family":"Wen","sequence":"first","affiliation":[{"name":"Zhejiang University","place":["Hangzhou, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-6345-8991","authenticated-orcid":false,"given":"Haonan","family":"Du","sequence":"additional","affiliation":[{"name":"Zhejiang University","place":["Hangzhou, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-0286-5020","authenticated-orcid":false,"given":"Xuyang","family":"He","sequence":"additional","affiliation":[{"name":"Zhejiang University","place":["Hangzhou, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1830-606X","authenticated-orcid":false,"given":"Zheyu","family":"Yan","sequence":"additional","affiliation":[{"name":"Zhejiang University","place":["Hangzhou, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5153-6698","authenticated-orcid":false,"given":"Qi","family":"Sun","sequence":"additional","affiliation":[{"name":"Zhejiang University","place":["Hangzhou, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2610-7522","authenticated-orcid":false,"given":"Cheng","family":"Zhuo","sequence":"additional","affiliation":[{"name":"Zhejiang University","place":["Hangzhou, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2026,4,10]]},"reference":[{"key":"e_1_3_1_2_2","first-page":"4699","volume-title":"Proceedings of the Twelfth Language Resources and Evaluation Conference","author":"Amin-Nejad Ali","year":"2020","unstructured":"Ali Amin-Nejad, Julia Ive, and Sumithra Velupillai. 2020. Exploring transformer text generation for medical dataset augmentation. In Proceedings of the Twelfth Language Resources and Evaluation Conference. 4699\u20134708."},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v34i05.6239"},{"key":"e_1_3_1_4_2","unstructured":"Tom B. Brown Benjamin Mann Nick Ryder Melanie Subbiah Jared Kaplan Prafulla Dhariwal Arvind Neelakantan Pranav Shyam Girish Sastry Amanda Askell et\u00a0al. 2020. Language models are few-shot learners. In Proceedings of the 34th International Conference on Neural Information Processing Systems (NIPS\u201920). Curran Associates Inc. Vancouver BC Canada."},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICCV51070.2023.01587"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/3676536.3676753"},{"key":"e_1_3_1_7_2","first-page":"19974","volume-title":"Advances in Neural Information Processing Systems","author":"Chen Tianlong","year":"2021","unstructured":"Tianlong Chen, Yu Cheng, Zhe Gan, Lu Yuan, Lei Zhang, and Zhangyang Wang. 2021. Chasing sparsity in vision transformers: An end-to-end exploration. In Advances in Neural Information Processing Systems. M. Ranzato, A. Beygelzimer, Y. Dauphin, P. S. Liang, and J. Wortman Vaughan (Eds.), Vol. 34. Curran Associates, Inc., 19974\u201319988."},{"key":"e_1_3_1_8_2","unstructured":"Rewon Child Scott Gray Alec Radford and Ilya Sutskever. 2019. Generating Long Sequences with Sparse Transformers. arXiv:1904.10509. Retrieved from https:\/\/arxiv.org\/abs\/1904.10509"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.sysarc.2023.102990"},{"key":"e_1_3_1_10_2","unstructured":"Christopher Clark Kenton Lee Ming-Wei Chang Tom Kwiatkowski Michael Collins and Kristina Toutanova. 2019. BoolQ: Exploring the surprising difficulty of natural yes\/no questions. arXiv:1905.10044. Retrieved from https:\/\/arxiv.org\/abs\/1905.10044"},{"key":"e_1_3_1_11_2","unstructured":"Alexey Dosovitskiy Lucas Beyer Alexander Kolesnikov Dirk Weissenborn Xiaohua Zhai Thomas Unterthiner Mostafa Dehghani Matthias Minderer Georg Heigold Sylvain Gelly Jakob Uszkoreit and Neil Houlsby. 2021. An image is worth 16x16 words: Transformers for image recognition at scale. (2021)."},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.23919\/DATE64628.2025.10992717"},{"key":"e_1_3_1_13_2","article-title":"Gptq: Accurate post-training quantization for generative pre-trained transformers","author":"Frantar Elias","year":"2022","unstructured":"Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. 2022. Gptq: Accurate post-training quantization for generative pre-trained transformers. arXiv preprint arXiv:2210.17323 (2022).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISCAS45731.2020.9180870"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/D19-5615"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC56929.2023.10247958"},{"key":"e_1_3_1_17_2","first-page":"5506","volume-title":"International Conference on Machine Learning","author":"Kim Sehoon","year":"2021","unstructured":"Sehoon Kim, Amir Gholami, Zhewei Yao, Michael W. Mahoney, and Kurt Keutzer. 2021. I-bert: Integer-only bert quantization. In International Conference on Machine Learning. PMLR, 5506\u20135518."},{"key":"e_1_3_1_18_2","article-title":"Full stack optimization of transformer inference: A survey","author":"Kim Sehoon","year":"2023","unstructured":"Sehoon Kim, Coleman Hooper, Thanakul Wattanawong, Minwoo Kang, Ruohan Yan, Hasan Genc, Grace Dinh, Qijing Huang, Kurt Keutzer, Michael W. Mahoney, et\u00a0al. 2023. Full stack optimization of transformer inference: A survey. arXiv preprint arXiv:2302.14017 (2023).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISCAS46773.2023.10181465"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","unstructured":"Ji Lin Jiaming Tang Haotian Tang Shang Yang Guangxuan Xiao and Song Han. 2025. AWQ: Activation-aware weight quantization for on-device LLM compression and acceleration. GetMobile: Mobile Comp. and Comm. 28 4 (January 2025) 12\u201317. DOI:10.1145\/3714983.3714987","DOI":"10.1145\/3714983.3714987"},{"key":"e_1_3_1_21_2","article-title":"Fq-vit: Post-training quantization for fully quantized vision transformer","author":"Lin Yang","year":"2021","unstructured":"Yang Lin, Tianyu Zhang, Peiqin Sun, Zheng Li, and Shuchang Zhou. 2021. Fq-vit: Post-training quantization for fully quantized vision transformer. arXiv preprint arXiv:2111.13824 (2021).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC63849.2025.11133073"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3676536.3676766"},{"key":"e_1_3_1_24_2","unstructured":"Zhenhua Liu Yunhe Wang Kai Han Wei Zhang Siwei Ma and Wen Gao. 2021. Post-training quantization for vision transformer. In Advances in Neural Information Processing Systems M. Ranzato A. Beygelzimer Y. Dauphin P. S. Liang and J. Wortman Vaughan (Eds.). Vol. 34 Curran Associates Inc. 28092\u201328103. Retrieved from https:\/\/proceedings.neurips.cc\/paper_files\/paper\/2021\/file\/ec8956637a99787bd197eacd77acce5e-Paper.pdf"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCSII.2023.3265710"},{"key":"e_1_3_1_26_2","article-title":"Online normalizer calculation for softmax","author":"Milakov Maxim","year":"2018","unstructured":"Maxim Milakov and Natalia Gimelshein. 2018. Online normalizer calculation for softmax. arXiv preprint arXiv:1805.02867 (2018).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_27_2","unstructured":"Alec Radford Jeff Wu Rewon Child David Luan Dario Amodei and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. (2019)."},{"key":"e_1_3_1_28_2","first-page":"8821","volume-title":"International Conference on Machine Learning","author":"Ramesh Aditya","year":"2021","unstructured":"Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss, Alec Radford, Mark Chen, and Ilya Sutskever. 2021. Zero-shot text-to-image generation. In International Conference on Machine Learning. Pmlr, 8821\u20138831."},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3474381"},{"issue":"3","key":"e_1_3_1_30_2","first-page":"1652","article-title":"Aggressive approximation of the softmax function for power-efficient hardware implementations","volume":"69","author":"Spagnolo Fanny","year":"2021","unstructured":"Fanny Spagnolo, Stefania Perri, and Pasquale Corsonello. 2021. Aggressive approximation of the softmax function for power-efficient hardware implementations. IEEE Transactions on Circuits and Systems II: Express Briefs 69, 3 (2021), 1652\u20131656.","journal-title":"IEEE Transactions on Circuits and Systems II: Express Briefs"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC18074.2021.9586134"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSICT.2018.8565706"},{"key":"e_1_3_1_33_2","article-title":"Llama: Open and efficient foundation language models","author":"Touvron Hugo","year":"2023","unstructured":"Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timoth\u00e9e Lacroix, Baptiste Rozi\u00e8re, Naman Goyal, Eric Hambro, Faisal Azhar, et\u00a0al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971 (2023).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_34_2","article-title":"Attention is all you need","volume":"30","author":"Vaswani Ashish","year":"2017","unstructured":"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, \u0141ukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. Advances in Neural Information Processing Systems 30 (2017).","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_35_2","article-title":"Glue: A multi-task benchmark and analysis platform for natural language understanding","author":"Wang Alex","year":"2018","unstructured":"Alex Wang. 2018. Glue: A multi-task benchmark and analysis platform for natural language understanding. arXiv preprint arXiv:1804.07461 (2018).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_36_2","article-title":"Superglue: A stickier benchmark for general-purpose language understanding systems","volume":"32","author":"Wang Alex","year":"2019","unstructured":"Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. 2019. Superglue: A stickier benchmark for general-purpose language understanding systems. Advances in Neural Information Processing Systems 32 (2019).","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA51647.2021.00018"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICCAD57390.2023.10323725"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","unstructured":"Chenyi Wen Haonan Du Jiayi Wang Zhengrui Chen Li Zhang Qi Sun and Cheng Zhuo. 2025. PACE: A piece-wise approximate floating-point divider with runtime configurability and high energy efficiency. 30 2 Article 21 (Jan.2025) 23 pages. DOI:10.1145\/3706634","DOI":"10.1145\/3706634"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3489517.3530505"},{"key":"e_1_3_1_41_2","article-title":"Hellaswag: Can a machine really finish your sentence?","author":"Zellers Rowan","year":"2019","unstructured":"Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. 2019. Hellaswag: Can a machine really finish your sentence? arXiv preprint arXiv:1905.07830 (2019).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_42_2","unstructured":"Susan Zhang Stephen Roller Naman Goyal Mikel Artetxe Moya Chen Shuohui Chen Christopher Dewan Mona Diab Xian Li Xi Victoria Lin et\u00a0al. 2022. OPT: Open Pre-trained Transformer Language Models. arxiv:2205.01068 [cs.CL]"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCSI.2022.3175534"},{"key":"e_1_3_1_44_2","unstructured":"Zhixiong Zhao Haomin Li Fangxin Liu Yuncheng Lu Zongwu Wang Tao Yang Li Jiang and Haibing Guan. 2025. QUARK: Quantization-Enabled Circuit Sharing for Transformer Acceleration by Exploiting Common Patterns in Nonlinear Operations. arxiv:2511.06767 [cs.LG] https:\/\/arxiv.org\/abs\/2511.06767"}],"container-title":["ACM Transactions on Design Automation of Electronic Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3801553","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T16:05:54Z","timestamp":1775837154000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3801553"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,10]]},"references-count":43,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2026,9,30]]}},"alternative-id":["10.1145\/3801553"],"URL":"https:\/\/doi.org\/10.1145\/3801553","relation":{},"ISSN":["1084-4309","1557-7309"],"issn-type":[{"value":"1084-4309","type":"print"},{"value":"1557-7309","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,10]]},"assertion":[{"value":"2025-08-12","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-02-26","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-10","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}