paper-with-me

홈 › Papers

Activation Sparsity Opportunities for Compressing General Large Language Models

2024-12-13 · Nobel Dhar, Bobin Deng, Md Romyull Islam, Kazi Fahim Ahmad Nasif, Liang Zhao, Kun Suo

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.

📄 PDF Abstract BibTeX arXiv:2412.12178

Code (0)

등록된 구현이 없습니다.

Tasks

Model Compression

Similar Papers 제목 키워드 기반

Compressing the Backward Pass of Large-Scale Neural Architectures by Structured Activation Pruning

2023-11-28 · Daniel Barley, Holger Fröning

The rise of Deep Neural Networks (DNNs) has led to an increase in model size and complexity, straining the memory capacity of GPUs. Sparsity in DNNs, characterized as structural or ephemeral, has gained attention as a so…

GPUimage-classificationImage Classification

A Sparsity Predicting Approach for Large Language Models via Activation Pattern Clustering

2025-07-11 · Nobel Dhar, Bobin Deng, Md Romyull Islam, Xinyue Zhang 외 arxiv

Large Language Models (LLMs) exhibit significant activation sparsity, where only a subset of neurons are active for a given input. Although this sparsity presents opportunities to reduce computational cost, efficiently u…

Universal Properties of Activation Sparsity in Modern Large Language Models

2025-08-30 · Filip Szatkowski, Patryk Będkowski, Alessio Devoto, Jan Dubiński 외 arxiv

Activation sparsity is an intriguing property of deep neural networks that has been extensively studied in ReLU-based models, due to its advantages for efficiency, robustness, and interpretability. However, methods relyi…

Compressing DMA Engine: Leveraging Activation Sparsity for Training Deep Neural Networks

2017-05-03 · Minsoo Rhu, Mike O'Connor, Niladrish Chatterjee, Jeff Pool 외

Popular deep learning frameworks require users to fine-tune their memory usage so that the training data of a deep neural network (DNN) fits within the GPU physical memory. Prior work tries to address this restriction by…

CPUGPU

Efficient Hardware Acceleration of Sparsely Active Convolutional Spiking Neural Networks

2022-03-23 · Jan Sommer, M. Akif Özkan, Oliver Keszocze, Jürgen Teich

Spiking Neural Networks (SNNs) compute in an event-based matter to achieve a more efficient computation than standard Neural Networks. In SNNs, neuronal outputs (i.e. activations) are not encoded with real-valued activat…

Scheduling