Skip to main content
QUICK REVIEW

[Paper Review] WaveTransformer: A Novel Architecture for Audio Captioning Based on Learning Temporal and Time-Frequency Information

An Cong Tran, Konstantinos Drossos|arXiv (Cornell University)|Oct 21, 2020
Music and Audio ProcessingComputer Science21 references9 citations
TL;DR

WaveTransformer proposes a novel audio captioning architecture that explicitly models both temporal and time-frequency patterns in audio using dedicated 1D dilated convolutions and 2D CNNs, followed by a learnable fusion module. It achieves state-of-the-art performance on the Clotho dataset, reaching 18.2 SPIDEr with beam search, surpassing prior methods without data augmentation or multi-task learning.

ABSTRACT

Automated audio captioning (AAC) is a novel task, where a method takes as an input an audio sample and outputs a textual description (i.e. a caption) of its contents. Most AAC methods are adapted from from image captioning of machine translation fields. In this work we present a novel AAC novel method, explicitly focused on the exploitation of the temporal and time-frequency patterns in audio. We employ three learnable processes for audio encoding, two for extracting the local and temporal information, and one to merge the output of the previous two processes. To generate the caption, we employ the widely used Transformer decoder. We assess our method utilizing the freely available splits of Clotho dataset. Our results increase previously reported highest SPIDEr to 17.3, from 16.2.

Motivation & Objective

  • To develop a deep learning architecture for automated audio captioning that explicitly captures both temporal and time-frequency patterns in audio.
  • To improve caption quality by fusing local, temporal, and spectrogram-based representations using a learnable merging mechanism.
  • To achieve state-of-the-art performance on the Clotho dataset using only publicly available splits and without data augmentation or multi-task learning.
  • To analyze the individual and combined contributions of temporal, time-frequency, and fused representations to captioning performance.

Proposed method

  • The model uses a three-branch encoder: one branch with 1D dilated convolutions (WaveNet-inspired) to learn long-range temporal dependencies, another with 2D CNNs to extract time-frequency patterns, and a third to merge their outputs.
  • The temporal encoder (E_temp) uses stacked wave-blocks, each containing seven 1D convolutions with varying kernel sizes, dilation rates, and receptive fields to capture hierarchical temporal features.
  • The time-frequency encoder (E_tf) processes log-mel spectrograms using 2D CNNs to learn localized spectral patterns and sound events.
  • The merging module (E_merge) combines features from E_temp and E_tf via element-wise addition or concatenation followed by feed-forward layers to produce a unified audio representation.
  • The decoder is a standard Transformer decoder with multi-head attention, generating captions autoregressively from the fused audio representation.
  • Beam search is used during inference to improve generation quality, significantly boosting SPIDEr scores.

Experimental results

Research questions

  • RQ1How do temporal and time-frequency representations individually contribute to audio captioning performance?
  • RQ2Can a learnable fusion of temporal and time-frequency features improve caption quality beyond using either modality alone?
  • RQ3Does the proposed WaveTransformer architecture achieve state-of-the-art performance on the Clotho dataset without data augmentation or multi-task learning?
  • RQ4How do different components (E_temp, E_tf, E_merge) affect the model's ability to describe objects, attributes, and spatiotemporal relationships?

Key findings

  • WaveTransformer achieves a new state-of-the-art SPIDEr score of 18.2 on the Clotho evaluation split using beam search, surpassing previous SOTA methods.
  • The time-frequency encoder (WT_tf) alone outperforms the temporal encoder (WT_temp), suggesting that spectrogram patterns are crucial for identifying sound events.
  • Combining both temporal and time-frequency features via the E_merge module leads to a significant performance boost, especially in SPICE and CIDEr scores, indicating better modeling of object attributes and relationships.
  • The full WaveTransformer model (WT) achieves 17.3 SPIDEr on the standard split, improving upon the previous SOTA of 16.2.
  • Beam search provides a substantial performance gain, increasing SPIDEr from 17.3 to 18.2, demonstrating its effectiveness in improving caption quality.
  • The model outperforms NTT (without data augmentation) and TRACKE (without multi-task learning), confirming its superiority without relying on external regularization techniques.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.