FastAST: Accelerating Audio Spectrogram Transformer via Token Merging and Cross-Model Knowledge Distillation

Swarup Ranjan Behera, Abhishek Dhiman, Karthik Gowda, Aalekhya Satya Narayani
6/11/2024
cs.SDcs.AIcs.LG

No official code found. Best implementation: swarupbehera/FastAST (2 stars, CC0-1.0, last commit 2024-06-10).

Abstract

Audio classification models, particularly the Audio Spectrogram Transformer (AST), play a crucial role in efficient audio analysis. However, optimizing their efficiency without compromising accuracy remains a challenge. In this paper, we introduce FastAST, a framework that integrates Token Merging (ToMe) into the AST framework. FastAST enhances inference speed without requiring extensive retraining by merging similar tokens in audio spectrograms. Furthermore, during training, FastAST brings about significant speed improvements. The experiments indicate that FastAST can increase audio classification throughput with minimal impact on accuracy. To mitigate the accuracy impact, we integrate Cross-Model Knowledge Distillation (CMKD) into the FastAST framework. Integrating ToMe and CMKD into AST results in improved accuracy compared to AST while maintaining faster inference speeds. FastAST represents a step towards real-time, resource-efficient audio analysis.

View on arXivView PDF

Code Implementations(1)

CC0-1.0

This repository contains code for our Interspeech 2024 Paper: FastAST: Accelerating Audio Spectrogram Transformer via Token Merging and Cross-Model Knowledge Distillation

21Jun 10, 20242 years agoCC0-1.0

Similar Papers

Cite this paper

@article{behera2024fastast,
  title  = {FastAST: Accelerating Audio Spectrogram Transformer via Token Merging and Cross-Model Knowledge Distillation},
  author = {Swarup Ranjan Behera and Abhishek Dhiman and Karthik Gowda and Aalekhya Satya Narayani},
  year   = {2024},
  eprint = {2406.07676},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.07676v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.07676.svg)](https://codeofpaper.com/paper/2406.07676)

Discussion