Skip to main content
QUICK REVIEW

[Paper Review] Temporal Sub-sampling of Audio Feature Sequences for Automated Audio Captioning

Khoa N. A. Nguyen, Konstantinos Drossos|arXiv (Cornell University)|Jul 6, 2020
Music and Audio ProcessingComputer Science17 references5 citations
TL;DR

This paper proposes temporal sub-sampling within a multi-layered bi-directional RNN encoder for audio captioning, reducing sequence length after each RNN layer to better capture long-term audio patterns. Results on the Clotho dataset show consistent improvements across all metrics, with the best performance at a sub-sampling factor of M=8, especially in SPIDEr (+1.3).

ABSTRACT

Audio captioning is the task of automatically creating a textual description for the contents of a general audio signal. Typical audio captioning methods rely on deep neural networks (DNNs), where the target of the DNN is to map the input audio sequence to an output sequence of words, i.e. the caption. Though, the length of the textual description is considerably less than the length of the audio signal, for example 10 words versus some thousands of audio feature vectors. This clearly indicates that an output word corresponds to multiple input feature vectors. In this work we present an approach that focuses on explicitly taking advantage of this difference of lengths between sequences, by applying a temporal sub-sampling to the audio input sequence. We employ a sequence-to-sequence method, which uses a fixed-length vector as an output from the encoder, and we apply temporal sub-sampling between the RNNs of the encoder. We evaluate the benefit of our approach by employing the freely available dataset Clotho and we evaluate the impact of different factors of temporal sub-sampling. Our results show an improvement to all considered metrics.

Motivation & Objective

  • Address the mismatch in sequence length between audio inputs (thousands of feature vectors) and textual captions (tens of words) in audio captioning.
  • Investigate whether explicitly reducing temporal resolution in the encoder can enhance learning of long-duration audio patterns.
  • Improve performance of sequence-to-sequence audio captioning models by applying hierarchical sub-sampling to latent representations.
  • Evaluate the impact of different sub-sampling factors on captioning metrics using a standardized benchmark.

Proposed method

  • Apply temporal sub-sampling after each bi-directional RNN layer in the encoder, reducing the sequence length by a factor M.
  • Use a fixed-length vector output from the encoder, followed by an RNN-based decoder to generate captions.
  • Maintain the same architecture as the DCASE 2020 baseline, with only the addition of sub-sampling between encoder layers.
  • Sub-sampling is applied uniformly across all layers, reducing the number of time steps before feeding to the next RNN layer.
  • The method preserves the sequence-to-sequence framework but enhances the encoder's ability to focus on salient, long-duration audio events.
  • Sub-sampling is applied before the next RNN layer, not after the final encoder layer, to maintain hierarchical representation learning.

Experimental results

Research questions

  • RQ1Does temporal sub-sampling of audio feature sequences improve audio captioning performance?
  • RQ2How does the choice of sub-sampling factor M affect the quality of generated captions across different metrics?
  • RQ3Is there an optimal sub-sampling factor that maximizes performance on the Clotho dataset?
  • RQ4Does sub-sampling enhance the model's ability to capture long-term audio patterns corresponding to single words?
  • RQ5How does sub-sampling impact inference speed and sequence length reduction?

Key findings

  • All evaluation metrics (BLEU, METEOR, CIDEr, SPICE, SPIDEr) improved when using sub-sampling factors M ≥ 2 compared to M=1.
  • The highest SPIDEr score of 0.067 was achieved at M=8, representing a 1.3-point improvement over the baseline.
  • Sub-sampling factors of M=8 and M=16 reduced the encoder output length by 98.43% and 99.60%, respectively, compared to input.
  • Inference time was reduced from 58.81 seconds (M=1) to 20.42 seconds (M=16), demonstrating significant speedup.
  • The model successfully identified audio sources (e.g., dogs, birds, people) and actions (e.g., walking, breathing), though language modeling remained weak.
  • Performance gains were not monotonic with increasing M, suggesting a trade-off between compression and information retention.

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.