SAP: Syntactic Attention Pruning for Transformer-based Language Models
Open Access
- 23 March 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1237-1239
Abstract
This paper introduces Syntactic Attention Pruning (SAP), a novel method for effectively pruning attention heads in Transformer models. Unlike conventional approaches that rely solely on mathematical analysis of model weights and activations, SAP incorporates both the syntactic structure and attention patterns of sentences to guide the pruning process. By leveraging these linguistic features, SAP achieves performance comparable to state-of-the-art methods. To further improve robustness, we propose Candidate Filtering (CF), a mechanism that prioritizes heads based on their contribution to model performance, mitigating degradation during pruning. Experimental results indicate that SAP effectively preserves critical heads of a high density of strong attention values, outperforming existing head pruning strategies in retrain-free settings.Keywords
All Related Versions
This publication has 2 references indexed in Scilit:
- Magnitude Attention-based Dynamic PruningExpert Systems with Applications, 2025
- Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional Activations2024