{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,7]],"date-time":"2026-08-07T15:58:23Z","timestamp":1786118303469,"version":"build-2736575974"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2026,8,6]],"date-time":"2026-08-06T00:00:00Z","timestamp":1785974400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Archit. Code Optim."],"published-print":{"date-parts":[[2026,9,30]]},"abstract":"<jats:p>\n                    Over the past two years, the rapid evolution of Large Language Models (LLMs) and the relatively slower progress in hardware development have led to the emergence of many operator-level optimization techniques and theories. These software-based methods accelerate model inference by improving memory management and computational efficiency, and they have demonstrated empirical effectiveness. However, in current computer architecture research, hardware designers often focus on microarchitectural optimizations or the performance of individual operations. They tend to adopt existing software optimizations passively, without actively leveraging them as design principles. Constrained by this limited perspective, researchers may overlook opportunities to systematically integrate insights from software into hardware design, potentially hindering more efficient and flexible architectural innovations. To combine operator-level optimization methods with hardware design, we introduce a hardware evaluation platform called LLMSGHD (\n                    <jats:bold>L<\/jats:bold>\n                    arge\n                    <jats:bold>L<\/jats:bold>\n                    anguage\n                    <jats:bold>M<\/jats:bold>\n                    odel\n                    <jats:bold>S<\/jats:bold>\n                    oftware-\n                    <jats:bold>G<\/jats:bold>\n                    uided\n                    <jats:bold>H<\/jats:bold>\n                    ardware\n                    <jats:bold>D<\/jats:bold>\n                    esign), which focuses on operator-level optimized LLM inference workloads. LLMSGHD simulates hardware inference behavior while aiming for broad applicability and high efficiency. LLMSGHD integrates advanced software optimization techniques to offer more insightful analysis for hardware design, particularly regarding computational density variations in inference and their interaction with software-level optimizations. Based on LLMSGHD, we develope a heterogeneous LLM inference platform targeting high throughput and low cost.\n                  <\/jats:p>","DOI":"10.1145\/3820045","type":"journal-article","created":{"date-parts":[[2026,7,10]],"date-time":"2026-07-10T08:56:51Z","timestamp":1783673811000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["LLMSGHD: Co-Designing Large Language Model Software and Hardware for Efficient Inference"],"prefix":"10.1145","volume":"23","author":[{"ORCID":"https:\/\/orcid.org\/0009-0008-7454-0890","authenticated-orcid":false,"given":"Qingshan","family":"Xue","sequence":"first","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1710-4060","authenticated-orcid":false,"given":"Sheng","family":"Ma","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4220-9569","authenticated-orcid":false,"given":"Rui","family":"Xu","sequence":"additional","affiliation":[{"name":"Academy of Military Sciences","place":["Beijing, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-1906-2408","authenticated-orcid":false,"given":"Yihao","family":"Shi","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0004-9441-0509","authenticated-orcid":false,"given":"Bo","family":"Wang","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-5551-2897","authenticated-orcid":false,"given":"Shengbai","family":"Luo","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-2308-8685","authenticated-orcid":false,"given":"Xueyi","family":"Zhang","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8307-6742","authenticated-orcid":false,"given":"Libo","family":"Huang","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1509-1761","authenticated-orcid":false,"given":"Tiejun","family":"Li","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, National University of Defense Technology","place":["Changsha, China"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,8,6]]},"reference":[{"key":"e_1_3_1_2_2","article-title":"Gpt-4 technical report","author":"Achiam Josh","year":"2023","unstructured":"Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et\u00a0al. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774 (2023).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_3_2","article-title":"Sarathi: Efficient llm inference by piggybacking decodes with chunked prefills","author":"Agrawal Amey","year":"2023","unstructured":"Amey Agrawal, Ashish Panwar, Jayashree Mohan, Nipun Kwatra, Bhargav S. Gulavani, and Ramachandran Ramjee. 2023. Sarathi: Efficient llm inference by piggybacking decodes with chunked prefills. arXiv preprint arXiv:2308.16369 (2023).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1109\/E2SC.2016.012"},{"key":"e_1_3_1_5_2","unstructured":"AMD. 2023. AMD CDNA 2 Architecture White Paper. Retrieved June 6 2025 from https:\/\/www.amd.com\/content\/dam\/amd\/en\/documents\/instinct-business-docs\/white-papers\/amd-cdna2-white-paper.pdf"},{"key":"e_1_3_1_6_2","article-title":"Verified instruction-level energy consumption measurement for NVIDIA GPUs","author":"Arafa Yehia","year":"2020","unstructured":"Yehia Arafa et\u00a0al. 2020. Verified instruction-level energy consumption measurement for NVIDIA GPUs. arXiv preprint arXiv:2002.07795 (2020).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.acl-long.172"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISPASS.2009.4919648"},{"key":"e_1_3_1_9_2","first-page":"1877","article-title":"Language models are few-shot learners","volume":"33","author":"Brown Tom","year":"2020","unstructured":"Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D. Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et\u00a0al. 2020. Language models are few-shot learners. Advances in Neural Information Processing Systems 33 (2020), 1877\u20131901.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3579371.3589048"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA57654.2024.00022"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/3520142"},{"key":"e_1_3_1_13_2","article-title":"Palu: Compressing kv-cache with low-rank projection","author":"Chang Chi-Chih","year":"2024","unstructured":"Chi-Chih Chang, Wei-Cheng Lin, Chien-Yu Lin, Chong-Yan Chen, Yu-Fang Hu, Pei-Shuo Wang, Ning-Chi Huang, Luis Ceze, Mohamed S. Abdelfattah, and Kai-Chiang Wu. 2024. Palu: Compressing kv-cache with low-rank projection. arXiv preprint arXiv:2407.21118 (2024).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3676536.3676753"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1145\/3676536.3676753"},{"key":"e_1_3_1_16_2","article-title":"Evaluating large language models trained on code","author":"Chen Mark","year":"2021","unstructured":"Mark Chen. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374 (2021).","journal-title":"arXiv preprint"},{"issue":"240","key":"e_1_3_1_17_2","first-page":"1","article-title":"Palm: Scaling language modeling with pathways","volume":"24","author":"Chowdhery Aakanksha","year":"2023","unstructured":"Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et\u00a0al. 2023. Palm: Scaling language modeling with pathways. Journal of Machine Learning Research 24, 240 (2023), 1\u2013113.","journal-title":"Journal of Machine Learning Research"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.52202\/068431-1189"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/3627535.3638466"},{"issue":"120","key":"e_1_3_1_20_2","first-page":"1","article-title":"Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity","volume":"23","author":"Fedus William","year":"2022","unstructured":"William Fedus, Barret Zoph, and Noam Shazeer. 2022. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research 23, 120 (2022), 1\u201339.","journal-title":"Journal of Machine Learning Research"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1109\/MM.2017.37"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC18074.2021.9586216"},{"key":"e_1_3_1_23_2","unstructured":"GitHub. 2021. GitHub Copilot: Your AI pair programmer. Retrieved March 12 2025 from https:\/\/github.com\/features\/copilot"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3676641.3716009"},{"key":"e_1_3_1_25_2","volume-title":"Power Consumption Properties of Modern GPUs","author":"Holtmann Jonah","year":"2025","unstructured":"Jonah Holtmann. 2025. Power Consumption Properties of Modern GPUs. Technical Report. FAU Erlangen-N\u00fcrnberg."},{"key":"e_1_3_1_26_2","article-title":"KV prediction for improved time to first token","author":"Horton Maxwell","year":"2024","unstructured":"Maxwell Horton, Qingqing Cao, Chenfan Sun, Yanzi Jin, Sachin Mehta, Mohammad Rastegari, and Moin Nabi. 2024. KV prediction for improved time to first token. arXiv preprint arXiv:2410.08391 (2024).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_27_2","volume-title":"Annual Conference on Neural Information Processing Systems","author":"Imai Saki","year":"2024","unstructured":"Saki Imai, Rina Nakazawa, Marcelo Amaral, Sunyanan Choochotkaew, and Tatsuhiro Chiba. 2024. Predicting LLM inference latency: A roofline-driven ML method. In Annual Conference on Neural Information Processing Systems."},{"key":"e_1_3_1_28_2","first-page":"256","volume-title":"Sparse Matrix Proceedings 1978","volume":"1","author":"Kung Hsiang Tsung","year":"1979","unstructured":"Hsiang Tsung Kung and Charles E. Leiserson. 1979. Systolic arrays (for VLSI). In Sparse Matrix Proceedings 1978, Vol. 1. Society for Industrial and applied mathematics Philadelphia, PA, USA, 256\u2013282."},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2019.2928289"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.acl-long.859"},{"key":"e_1_3_1_31_2","article-title":"External large foundation model: How to efficiently serve trillions of parameters for online Ads recommendation","author":"Liang Mingfu","year":"2025","unstructured":"Mingfu Liang, Xi Liu, Rong Jin, Boyang Liu, Qiuling Suo, Qinghai Zhou, Song Zhou, Laming Chen, Hua Zheng, Zhiyuan Li, et\u00a0al. 2025. External large foundation model: How to efficiently serve trillions of parameters for online Ads recommendation. arXiv preprint arXiv:2502.17494 (2025).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_32_2","article-title":"Deepseek-v3 technical report","author":"Liu Aixin","year":"2024","unstructured":"Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et\u00a0al. 2024. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437 (2024).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_33_2","article-title":"Headinfer: Memory-efficient llm inference by head-wise offloading","author":"Luo Cheng","year":"2025","unstructured":"Cheng Luo, Zefan Cai, Hanshi Sun, Jinqi Xiao, Bo Yuan, Wen Xiao, Junjie Hu, Jiawei Zhao, Beidi Chen, and Anima Anandkumar. 2025. Headinfer: Memory-efficient llm inference by head-wise offloading. arXiv preprint arXiv:2502.12574 (2025).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA.2018.00070"},{"key":"e_1_3_1_35_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_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3230543.3230560"},{"key":"e_1_3_1_37_2","unstructured":"NVIDIA. 2020. NVIDIA A100 Tensor Core GPU Architecture. Retrieved May 25 2025 from https:\/\/developer.nvidia.com\/blog\/nvidia-ampere-architecture-in-depth\/"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISPASS.2019.00042"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA59077.2024.00019"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1109\/SC41405.2020.00024"},{"key":"e_1_3_1_41_2","first-page":"551","volume-title":"2021 USENIX Annual Technical Conference (USENIX ATC 21)","author":"Ren Jie","year":"2021","unstructured":"Jie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase, Shuangyan Yang, Minjia Zhang, Dong Li, and Yuxiong He. 2021. \\(\\lbrace\\) Zero-offload \\(\\rbrace\\) : Democratizing \\(\\lbrace\\) billion-scale \\(\\rbrace\\) model training. In 2021 USENIX Annual Technical Conference (USENIX ATC 21). 551\u2013564."},{"key":"e_1_3_1_42_2","article-title":"LLM inference acceleration via efficient operation fusion","author":"Salmani Mahsa","year":"2025","unstructured":"Mahsa Salmani and Ilya Soloveychik. 2025. LLM inference acceleration via efficient operation fusion. arXiv preprint arXiv:2502.17728 (2025).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_43_2","unstructured":"sg. 2023. ShareGPT Vicuna unfiltered. Retrieved March 12 2025 from https:\/\/huggingface.co\/datasets\/anon8231489123\/ShareGPT_Vicuna_unfiltered"},{"key":"e_1_3_1_44_2","article-title":"Megatron-lm: Training multi-billion parameter language models using model parallelism","author":"Shoeybi Mohammad","year":"2019","unstructured":"Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan Catanzaro. 2019. Megatron-lm: Training multi-billion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053 (2019).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_45_2","article-title":"Qwen3 Technical Report","author":"Team Qwen","year":"2025","unstructured":"Qwen Team. 2025. Qwen3 Technical Report. arXiv preprint arXiv:2505.09388","journal-title":"arXiv preprint"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/328236.328147"},{"key":"e_1_3_1_47_2","article-title":"LayerNorm: A key component in parameter-efficient fine-tuning","author":"ValizadehAslani Taha","year":"2024","unstructured":"Taha ValizadehAslani and Hualou Liang. 2024. LayerNorm: A key component in parameter-efficient fine-tuning. arXiv preprint arXiv:2403.20284 (2024).","journal-title":"arXiv preprint"},{"key":"e_1_3_1_48_2","first-page":"5998","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), 5998\u20136008.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1109\/AICAS57966.2023.10168602"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/3649329.3657317"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1109\/TVLSI.2019.2926114"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA59077.2024.00082"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA53966.2022.00064"}],"container-title":["ACM Transactions on Architecture and Code Optimization"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3820045","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,6]],"date-time":"2026-08-06T15:44:05Z","timestamp":1786031045000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3820045"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,6]]},"references-count":52,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2026,9,30]]}},"alternative-id":["10.1145\/3820045"],"URL":"https:\/\/doi.org\/10.1145\/3820045","relation":{},"ISSN":["1544-3566","1544-3973"],"issn-type":[{"value":"1544-3566","type":"print"},{"value":"1544-3973","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,6]]},"assertion":[{"value":"2025-08-06","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-05-18","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-08-06","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}