Less is KEN: a Universal and Simple Non-Parametric Pruning Algorithm for Large Language Models

Michele Mastromattei, Fabio Massimo Zanzotto


Abstract
Neural network pruning has become increasingly crucial due to the complexity of these models and their widespread use in various fields. Existing pruning algorithms often suffer from limitations such as architecture specificity, excessive complexity and reliance on demanding calculations, rendering them impractical for real-world applications.This paper introduces KEN: a straightforward, universal and unstructured pruning algorithm based on Kernel Density Estimation (KDE). KEN aims to construct optimized transformers by selectively preserving the most significant parameters while restoring others to their pre-training state. This strategy preserves model performance while enabling storage of only the optimized subnetwork, leading to substantial memory savings.Extensive evaluations across seven different LLMs demonstrate that KEN achieves equal or better performance than their original unpruned versions, with a minimum parameter reduction of 25%. Furthermore, in-depth comparisons with established pruning and PEFT algorithms confirm KEN effectiveness. We further introduce KENviz, an explainable tool that visualizes the optimized model composition achieved by KEN from different points of view.
Anthology ID:
2024.findings-acl.674
Volume:
Findings of the Association for Computational Linguistics ACL 2024
Month:
August
Year:
2024
Address:
Bangkok, Thailand and virtual meeting
Editors:
Lun-Wei Ku, Andre Martins, Vivek Srikumar
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
11361–11374
Language:
URL:
https://aclanthology.org/2024.findings-acl.674
DOI:
Bibkey:
Cite (ACL):
Michele Mastromattei and Fabio Massimo Zanzotto. 2024. Less is KEN: a Universal and Simple Non-Parametric Pruning Algorithm for Large Language Models. In Findings of the Association for Computational Linguistics ACL 2024, pages 11361–11374, Bangkok, Thailand and virtual meeting. Association for Computational Linguistics.
Cite (Informal):
Less is KEN: a Universal and Simple Non-Parametric Pruning Algorithm for Large Language Models (Mastromattei & Zanzotto, Findings 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.findings-acl.674.pdf