Early Prediction of Dynamic Sparsity in Large Language Models
Large language models are powerful but computationally very expensive.We investigate dynamic sparsity in attention mechanisms, using the OPT model as a case study.We explore the dynamic nature of redundancy in attention heads and analyze which components of the model provide sufficient information to predict sparsity effectively.Our findings highlight the norm of attention outputs as a reliable criterion for ranking head importance.We systematically evaluate embeddings across layers and time steps, showing that dynamic sparsity predictions can be achieved early in the model pipeline with minimal loss in accuracy.By elucidating the mechanisms underlying dynamic sparsity, this work lays a foundation for more efficient and scalable transformer models.
Authors
- Anand Subramoney (ORCID: https://orcid.org/0000-0002-7333-9860)
- Reza Sedghi
- David Kappel (ORCID: https://orcid.org/0000-0001-5942-4033)
- Amit Pal (ORCID: https://orcid.org/0009-0007-2463-2888)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.14428/esann/2025.es2025-97
- Citations
- 1
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.48
Funders
- Bundesministerium für Bildung und Forschung
- Gauss Centre for Supercomputing