Introduction
Automated Audio Captioning (AAC) involves generating natural language descriptions for environmental sounds. Unlike Automatic Speech Recognition (ASR), AAC faces the challenge of "word-selection indeterminacy." A single acoustic event, such as a car passing, can be described using various synonyms (e.g., "vehicle," "traffic," "automobile"), leading to a "one-to-many" mapping that complicates model convergence. To address this, researchers from NTT Corporation proposed TRACKE (Transformer-based audio-captioning model with keyword Estimation), which utilizes keyword estimation as a guiding sub-task to constrain the captioning process.
Methods
The TRACKE framework integrates a keyword estimation branch into a standard Transformer architecture to narrow down the possible vocabulary for a given audio clip.
Training Pipeline and Multi-task Learning
The training process utilizes a multi-task learning approach to synchronize keyword detection with caption generation. Ground-truth keywords are extracted from captions using a rule-based system that identifies nouns, verbs, adjectives, and adverbs. The model is then trained to minimize both the caption generation loss and the keyword estimation loss simultaneously.
Model Architecture
As detailed in the architecture diagram below, TRACKE consists of three primary components:
- Encoder: Extracts high-level acoustic features ($ν$) from audio using a pre-trained VGGish model.
- Keyword Estimation Branch: Performs a sub-task of Acoustic Event Detection (AED) to estimate the probability of specific keywords ($m$) appearing in the audio. This branch uses a weakly supervised polyphonic AED strategy.
- Decoder: Generates the final caption by attending to both the encoder's acoustic features and the estimated keywords. The keywords act as an "attention factor," helping the model select the most relevant terms.
Notably, the keyword estimation branch is not fully back-propagated from the text generation loss. Because the "sort and select" step for keywords is non-differentiable, the branch is updated based solely on its own estimation accuracy.
Evaluation and Results
The model was evaluated on the Clotho dataset, a standard benchmark for the DCASE 2020 Challenge. TRACKE achieved a SPIDEr score of 17.7, a significant improvement over the DCASE 2020 baseline (5.4) and a standard Transformer without keyword estimation (16.2).
Key performance metrics include:
- Human-Level Proximity: TRACKE reached 97.6% of the performance of an "Oracle" model provided with perfect ground-truth keywords.
- Efficiency: Despite the added complexity of the keyword branch, the model remains efficient with approximately 1.13 million parameters.
Discussion and Key Insights
The success of TRACKE stems from using keywords as semantic constraints. By first identifying what sounds are present (e.g., "bird," "chirp"), the model simplifies the subsequent task of structuring the natural language description. Furthermore, the keyword branch learns implicit co-occurrences; for instance, it may associate the keyword "person" with the sound of a door opening based on learned patterns in the training data, even in the absence of explicit human vocalizations.
Current limitations include a fixed keyword estimation count ($K=5$) and a keyword estimation accuracy of 48.1%. Future work will focus on dynamic keyword selection and scaling the model with larger audio-captioning datasets to reach the full potential of the Transformer architecture.
Summary updated