Deploying local AI models, such as Large Language Models (LLMs), to edge devices can substantially enhance devices' independent capabilities, alleviate the server's burden, and lower the response time. Owing to these tremendous potentials, many big tech companies have released several lightweight Small Language Models (SLMs) to bridge this gap. However, we still have huge motivations to deploy more powerful (LLMs) AI models on edge devices and enhance their smartness level. Unlike the conventional approaches for AI model compression, we investigate activation sparsity. The activation sparsity method is orthogonal and combinable with existing techniques to maximize the compression rate while maintaining great accuracy. LLMs' Feed-Forward Network (FFN) components, which typically comprise a large proportion of parameters (around 2/3), ensure that our FFN optimizations would have a better chance of achieving effective compression. Moreover, our findings are beneficial to general LLMs and are not restricted to ReLU-based models. This work systematically investigates the tradeoff between enforcing activation sparsity and perplexity (accuracy) on state-of-the-art LLMs. Our empirical analysis demonstrates that we can obtain around 50% of main memory and computing reductions for critical FFN components with negligible accuracy degradation. This extra 50% sparsity does not naturally exist in the current LLMs, which require tuning LLMs' activation outputs by injecting zero-enforcing thresholds. To obtain the benefits of activation sparsity, we provide a guideline for the system architect for LLM prediction and prefetching. The success prediction allows the system to prefetch the necessary weights while omitting the inactive ones and their successors, therefore lowering cache and memory pollution and reducing LLM execution time on resource-constrained edge devices.
How Pruning Reshapes Features: Sparse Autoencoder Analysis of Weight-Pruned Language Models
organization= VRAIN -- Valencian Research Institute for Artificial Intelligence, Universitat Polit\`ecnica de Val\`encia , city= Valencia , country= Spain;organization= Department of Economics;organization= Department of Business Organisation, Universitat Polit\`ecnica de Val\`encia , city= Valencia , country= Spain
Structural Sensitivity in Compressed Transformers: Relative Error Propagation and Layer Removal
Indian Institute of Information Technology Allahabad, India(阿利哈巴德信息技术学院,印度);National Institute of Electronics(电子研究所);Indian Institute of Technology Patna, India(帕纳印度理工学院,印度);Indian Institute of Information Technology Kalyani, India(卡里尼信息技术学院,印度)
Tight Compression: Compressing CNN Through Fine-Grained Pruning and Weight Permutation for Efficient Implementation
ACCESS - AI Chip Center for Emerging Smart Systems(ACCESS——新兴智能系统人工智能芯片中心);Hong Kong University of Science and Technology (HKUST)(香港科技大学);NVIDIA Corporation(英伟达公司)
Achieving Trustworthy Real-Time Decision Support Systems with Low-Latency Interpretable AI Models
School of Physics and Astronomy(物理与天文学系);University of Edinburgh(爱丁堡大学);Siebel School of Computing and Data Science(计算与数据科学学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);AI Agent Lab(AI代理实验室);Vokram Group(Vokram集团);Department of Anatomical Pathology(解剖病理学部);Singapore General Hospital(新加坡中央医院);Department of Computer Science(计算机科学系);Emory University(埃默里大学)
Decoding Compressed Trust: Scrutinizing the Trustworthiness of Efficient LLMs Under Compression
University of Texas at Austin(德克萨斯大学奥斯汀分校);Drexel University(德雷塞尔大学);MIT(麻省理工学院);UIUC(伊利诺伊大学厄巴纳-香槟分校);Duke University(杜克大学);Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室);Center for AI Safety(人工智能安全中心);University of California, Berkeley(加州大学伯克利分校);University of Chicago(芝加哥大学)
OPQ: Compressing Deep Neural Networks with One-shot Pruning-Quantization
Institute for Infocomm Research, Agency for Science, Technology and Research(新加坡科技研究局资讯通信研究院);College of Computer Science, Sichuan University(四川大学计算机学院);Nanyang Technological University(南洋理工大学)