Manuscript Offprint

arXiv:2610.31235

Muting Tokens: Exploring Token Sparsification for Efficient Audio Transformers

Shreya Sajid, Fabrizio Julian Piva, Hiram Rayo Torres Rodriguez, Elif Ceren Gok Yildirim, Murat Onur Yildirim, Joaquin Vanschoren

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Transformer-based models have shown strong performance across diverse tasks, but their reliance on self-attention mechanisms often leads to high computational costs. Token sparsification, which reduces the number of tokens processed in transformer layers, offers a promising solution to maintain performance while improving efficiency. However, although widely studied in the vision and language domains, token sparsification remains underexplored in audio, with existing work often limited to a single method, model size, or dataset. This work presents a comprehensive evaluation of token sparsification techniques for audio transformers. We assess a range of token pruning and merging strategies across multiple datasets and model sizes, under both post-training and fine-tuning settings. Furthermore, we introduce a novel sparsification approach that combines attention scores with spectral cues derived from the frequency content of token embeddings. Our experiments show that frequency-aware approaches, particularly those based on spectral flatness and low-frequency energy, consistently outperform attention-only methods. We also find that sparsification based on spectrogram patch intensity is especially effective for longer audio inputs. These results highlight the value of incorporating frequency-domain and input-specific information into sparsification strategies to enhance performance in audio tasks.

1 INTRODUCTION

Transformer-based models have demonstrated the ability to achieve state-of-the-art performance across various domains such as Natural Language Processing (NLP) (Devlin et al., 2019; Vaswani et al., 2017) and Computer Vision (Khan et al., 2022; Radford et al., 2021). However, the self-attention mechanism can be computationally intensive, as its complexity scales quadratically with the number of input tokens (Bolya et al., 2023; Fayyaz et al., 2022). To address this challenge, recent work has explored compression techniques such as pruning (Chavan et al., 2022; Song et al., 2022), quantization (Li et al., 2022b; Lin et al., 2023), and knowledge distillation (KD) (Rao et al., 2021b; Ren et al., 2021), in an effort to reduce model size and inference latency while maintaining task performance.

Recently, token sparsification, a transformer-specific optimization method that discards, merges, or refines input tokens, has emerged as a promising alternative to reduce the

Figure

Figure 1. Post-training sparsification results on the AST-Base (Gong et al., 2021) model, evaluated on AudioSet-20K (Gemmeke et al., 2017) at a 50% keep rate. Methods that include frequency-domain cues, such as the proposed Spectral Flatness (SF) and the adapted Low-Frequency Energy (LFE) (Wang et al., 2022b), outperform others in terms of mean average precision (mAP), a standard metric for multi-label classification. The baseline (without sparsification) achieves an average mAP of 0.3572. The Pareto front is highlighted to illustrate the performance-efficiency trade-off.

†^{\dagger}Equal contribution. 1^{1}Eindhoven University of Technology, Eindhoven, Netherlands 2^{2}NXP Semiconductors, Eindhoven, Netherlands.

computational cost of self-attention. For example, the Expediting Vision Transformers (EViT) method achieves up to 50% faster inference on ImageNet (Deng et al., 2009), with only a 1.3 percentage point drop in accuracy when retaining 50% of the tokens, referred to as the keep rate (Liang et al., 2022a).

A growing body of work has explored token sparsification techniques across various tasks, particularly in image classification (Bonnaerens & Dambre, 2023; Chen et al., 2022b; Huang et al., 2024; Kong et al., 2022; Liang et al., 2022a; Wu et al., 2023), video classification (Ryoo et al., 2022; Wu et al., 2024), and even large language models (Cao et al., 2023; Chen et al., 2024; Jiang et al., 2023; Liu et al., 2023). Although Vision Transformers (ViT) have demonstrated notable success in audio tasks by using spectrograms as input representations, the application of token sparsification in this domain remains largely underexplored (Chen et al., 2022a; Gong et al., 2021; 2022a;b; Huang et al., 2022). This gap is particularly important because spectrogram inputs yield more tokens as the input duration increases, which can make self-attention increasingly expensive for longer audio clips (Gong et al., 2021). Addressing this challenge could not only help advance efficient transformers' research, but also enable practical, large-scale deployment of audio-based systems, from everyday voice assistants to real-time transcription services at the edge.

Recent work (Lee & Lee, 2025) has begun to explore the effectiveness of token sparsification in audio tasks. However, while showing promising results, this study presents considerable limitations. First, it restricts its scope to only two sparsification methods, Top-K pruning (Haurum et al., 2022a) and Intensity pruning (Lee & Lee, 2025), overlooking other promising approaches such as token merging (Bolya et al., 2023). Second, their analysis is restricted to only the ViT-Base model (Dosovitskiy et al., 2021) limiting the generalizability of their conclusions to a single model size. Third, the study focuses solely on applying sparsification during fine-tuning, whereas many real-world deployment scenarios favor post-training sparsification methods, mainly due to the widespread availability of pretrained models, and the training costs associated with larger datasets (Chen et al., 2025; Ilhan et al., 2024). Finally, it reports suboptimal performance of the intensity pruning method at low keep rates, without investigating the potential influence of input-dependent factors such as the audio duration.

In this work, we systematically evaluate a broad range of token sparsification methods for audio transformers, examining their performance across multiple model sizes and datasets, under two key settings: fine-tuning and post-training sparsification. To ensure a fair comparison, we conduct all experiments within a unified training and inference pipeline, establishing a consistent benchmark for evaluating sparsification techniques in this domain. We also revisit the intensity pruning method and show that its effectiveness improves when combined with attention scores. Furthermore, we propose a novel sparsification approach that integrates attention and frequency-based cues, drawing on insights from audio signal processing. As illustrated in Fig. 1, methods that incorporate frequency-domain information consistently outperform existing sparsification approaches across our experimental setup. Our contributions can be summarized as:

• We conduct a comprehensive evaluation of token sparsification methods for audio transformers, including token pruning and merging approaches under a unified evaluation setup.

• We demonstrate the effectiveness of intensity-based pruning, showing that when combined with attention scores, it can outperform pure attention methods for audio inputs longer than 2 seconds across our experimental setup.

• We introduce a novel sparsification method based on spectral flatness, and show that it can consistently improve performance across a wide range of model sizes and datasets.

References (62)