GCT: Gated Contextual Transformer for Sequential Audio Tagging

Yuanbo Hou, Yun Wang, Wenwu Wang, Dick Botteldooren
10/22/2022
cs.SDeess.AS
transformer-attention

Official code: Yuanbo2020/GCT (2 stars, Python, last commit 2023-06-21).

Abstract

Audio tagging aims to assign predefined tags to audio clips to indicate the class information of audio events. Sequential audio tagging (SAT) means detecting both the class information of audio events, and the order in which they occur within the audio clip.

Show full abstract

Most existing methods for SAT are based on connectionist temporal classification (CTC). However, CTC cannot effectively capture connections between events due to the conditional independence assumption between outputs at different times. The contextual Transformer (cTransformer) addresses this issue by exploiting contextual information in SAT. Nevertheless, cTransformer is also limited in exploiting contextual information as it only uses forward information in inference. This paper proposes a gated contextual Transformer (GCT) with forward-backward inference (FBI). In addition, a gated contextual multi-layer perceptron (GCMLP) block is proposed in GCT to improve the performance of cTransformer structurally. Experiments on two real-life audio datasets show that the proposed GCT with GCMLP and FBI performs better than the CTC-based methods and cTransformer. To promote research on SAT, the manually annotated sequential labels for the two datasets are released.

View on arXivView PDF

Code Implementations(1)

Yuanbo2020/GCTOfficial100%
20PythonSep 22, 20223 years ago

Similar Papers

Cite this paper

@article{hou2022gct,
  title  = {GCT: Gated Contextual Transformer for Sequential Audio Tagging},
  author = {Yuanbo Hou and Yun Wang and Wenwu Wang and Dick Botteldooren},
  year   = {2022},
  eprint = {2210.12541},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.12541}
}

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/2210.12541.svg)](https://codeofpaper.com/paper/2210.12541)

Discussion