SLIM: A Heterogeneous Accelerator for Edge Inference of Sparse Large Language Model via Adaptive Thresholding
Open Access
- 13 May 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 25 (3) , 1-28
Abstract
Large language models (LLMs), composed of Transformer decoders, have demonstrated unparalleled proficiency in understanding and generating human language. However, efficient LLM inference on resource-constraint embedded devices remains a challenge because of the sheer model size and memory-intensive operations that arise from feedforward network (FFN) and multi-head attention (MHA) layers. Existing accelerations offload LLM inference to heterogeneous computing systems comprising expensive memory and processing units. However, recent studies show that most hardware resources are not used because LLM exhibits significant sparsity during inference. The sparsity of LLMs provides a good opportunity to perform memory-efficient inference. In this work, we propose SLIM, an algorithm and hardware co-design optimized for sparse LLM serving on the edge. SLIM exploits LLM’s sparsity by only fetching activated neurons to significantly reduce data movement. To this end, the efficient inference algorithm based on adaptive thresholding is proposed to support runtime configurable sparsity at the cost of negligible accuracy loss. Then, we present the SLIM heterogeneous hardware architecture that combines the best of both near-storage processing (NSP) and processing-in-memory (PIM). SLIM stores FFN weights in high-density 3D NAND and computes FFN layers in NSP units, alleviating high memory requirements caused by FFN weights. The memory-intensive MHA with low arithmetic density is processed in the PIM module. By leveraging the inherent sparsity observed in LLM operations and integrating NSP with PIM techniques within SSDs, SLIM significantly reduces memory footprint, data movement, and energy consumption. Meanwhile, we present the software support for integrating design into existing SSD system. Our comprehensive analysis and system-level optimization demonstrate the effectiveness of our sparsity-tailored accelerator, offering 13-18× throughput improvements over SSD-GPU system and 9-10× better energy efficiency over DRAM-GPU system while maintaining low latency.Keywords
All Related Versions
Funding Information
- PRISM and CoCoSys
- SRC Global Research Collaboration
- National Science Foundation (#1826967, #1911095, #2052809, #2112665, #2112167, and #2100237)
This publication has 24 references indexed in Scilit:
- ChatGPT for good? On opportunities and challenges of large language models for educationLearning and Individual Differences, 2023
- Evaluating the Feasibility of ChatGPT in Healthcare: An Analysis of Multiple Clinical and Research ScenariosJournal of Medical Systems, 2023
- The promise of large language models in health careThe Lancet, 2023
- SIMDRAM: a framework for bit-serial SIMD processing using DRAM2021
- In-Memory Low-Cost Bit-Serial Addition Using Commodity DRAM TechnologyIEEE Transactions on Circuits and Systems I: Regular Papers, 2019
- Sigmoid-weighted linear units for neural network function approximation in reinforcement learningNeural Networks, 2018
- Performance impact and interplay of SSD parallelism through advanced commands, allocation strategy and data granularity2011
- The performance of PC solid-state disks (SSDs) as a function of bandwidth, concurrency, device architecture, and system organizationACM SIGARCH Computer Architecture News, 2009
- Understanding intrinsic characteristics and system implications of flash memory based solid state drivesACM SIGMETRICS Performance Evaluation Review, 2009
- Hitting the memory wallACM SIGARCH Computer Architecture News, 1995