Dependency-Aware Semi-Structured Sparsity of GLU Variants in Large Language Models
Abstract
The rapid advancement in Large Language Models (LLMs) has markedly enhanced the capabilities of language understanding and generation. However, the substantial model size poses hardware challenges, affecting both memory size for serving and inference latency for token generation. To address those challenges, we propose Dependency-aware Semi-structured Sparsity (DaSS), a new method for the recent prevalent GLU-based LLMs pruning, which incorporates structural dependency into the weight magnitude-based unstructured pruning. We introduce an MLP-specific pruning metric that evaluates the importance of each weight by jointly considering its magnitude and its corresponding MLP intermediate activation norms. DaSS facilitates a balance between the adaptability offered by unstructured pruning and the structural consistency inherent in dependency-based structured pruning. Empirical evaluations on LLaMA2, Mistral, and Gemma model families demonstrate that DaSS not only achieves superior perplexity and accuracy compared to SparseGPT and Wanda in achieving hardware-friendly N:M sparsity patterns but also maintains the computational efficiency of Wanda.
Cite
Text
Guo et al. "Dependency-Aware Semi-Structured Sparsity of GLU Variants in Large Language Models." Transactions on Machine Learning Research, 2025.Markdown
[Guo et al. "Dependency-Aware Semi-Structured Sparsity of GLU Variants in Large Language Models." Transactions on Machine Learning Research, 2025.](https://mlanthology.org/tmlr/2025/guo2025tmlr-dependencyaware/)BibTeX
@article{guo2025tmlr-dependencyaware,
title = {{Dependency-Aware Semi-Structured Sparsity of GLU Variants in Large Language Models}},
author = {Guo, Zhiyu and Kamigaito, Hidetaka and Watanabe, Taro},
journal = {Transactions on Machine Learning Research},
year = {2025},
url = {https://mlanthology.org/tmlr/2025/guo2025tmlr-dependencyaware/}
}