paper-with-me

홈 › Papers

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

2025-07-11 · Nobel Dhar, Bobin Deng, Md Romyull Islam, Xinyue Zhang, Kazi Fahim Ahmad Nasif, Kun Suo 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 utilizing it requires predicting activation patterns in a scalable manner. However, direct prediction at the neuron level is computationally expensive due to the vast number of neurons in modern LLMs. To enable efficient prediction and utilization of activation sparsity, we propose a clustering-based activation pattern compression framework. Instead of treating each neuron independently, we group similar activation patterns into a small set of representative clusters. Our method achieves up to 79.34% clustering precision, outperforming standard binary clustering approaches while maintaining minimal degradation in perplexity (PPL) scores. With a sufficiently large number of clusters, our approach attains a PPL score as low as 12.49, demonstrating its effectiveness in preserving model quality while reducing computational overhead. By predicting cluster assignments rather than individual neuron states, future models can efficiently infer activation patterns from pre-computed centroids. We detail the clustering algorithm, analyze its effectiveness in capturing meaningful activation structures, and demonstrate its potential to improve sparse computation efficiency. This clustering-based formulation serves as a foundation for future work on activation pattern prediction, paving the way for efficient inference in large-scale language models.

📄 PDF Abstract BibTeX arXiv:2507.14179

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Motivating Next-Gen Accelerators with Flexible (N:M) Activation Sparsity via Benchmarking Lightweight Post-Training Sparsification Approaches

2025-09-26 · Shirin Alanova, Kristina Kazistova, Ekaterina Galaeva, Alina Kostromina 외 arxiv

The demand for efficient large language model (LLM) inference has intensified the focus on sparsification techniques. While semi-structured (N:M) pruning is well-established for weights, its application to activation pru…

Sparsing Law: Towards Large Language Models with Greater Activation Sparsity

2024-11-04 · Yuqi Luo, Chenyang Song, Xu Han, Yingfa Chen 외

Activation sparsity denotes the existence of substantial weakly-contributed elements within activation outputs that can be eliminated, benefiting many important applications concerned with large language models (LLMs). A…

Neural Activation Patterns Across Language Model Architectures: A Comprehensive Analysis of Cognitive Task Performance

2026-05-14 · Mahdi Naser-Moghadasi, Faezeh Ghaderi arxiv

This paper presents a comprehensive analysis of neural activation patterns across six distinct large language model (LLM) architectures, examining their performance on twelve cognitive task categories. Through systematic…

Mathematical Reasoning

Dynamic Activation Pitfalls in LLaMA Models: An Empirical Study

2024-05-15 · Chi Ma, Mincong Huang, Chao Wang, Yujie Wang 외

In this work, we systematically investigate the efficacy of dynamic activation mechanisms within the LLaMA family of language models. Despite the potential of dynamic activation methods to reduce computation and increase…

Attribute

ShadowLLM: Predictor-based Contextual Sparsity for Large Language Models

2024-06-24 · Yash Akhauri, Ahmed F AbouElhamayed, Jordan Dotzel, Zhiru Zhang 외

The high power consumption and latency-sensitive deployments of large language models (LLMs) have motivated efficiency techniques like quantization and sparsity. Contextual sparsity, where the sparsity pattern is input-d…

Quantization