[Paper Review] An Encoder-Decoder Based Audio Captioning System With Transfer and Reinforcement Learning
This paper presents a CNN-Transformer audio captioning system that leverages transfer learning from pre-trained audio models (PANNs) and in-domain fine-tuning on AudioCaps, combined with reinforcement learning to optimize for CIDEr scores. The system achieved 3rd place in DCASE 2021 Task 6, outperforming a state-of-the-art ensemble model on most metrics, though reinforcement learning introduced redundant phrases like "in the background" into captions.
Automated audio captioning aims to use natural language to describe the content of audio data. This paper presents an audio captioning system with an encoder-decoder architecture, where the decoder predicts words based on audio features extracted by the encoder. To improve the proposed system, transfer learning from either an upstream audio-related task or a large in-domain dataset is introduced to mitigate the problem induced by data scarcity. Besides, evaluation metrics are incorporated into the optimization of the model with reinforcement learning, which helps address the problem of ``exposure bias'' induced by ``teacher forcing'' training strategy and the mismatch between the evaluation metrics and the loss function. The resulting system was ranked 3rd in DCASE 2021 Task 6. Ablation studies are carried out to investigate how much each element in the proposed system can contribute to final performance. The results show that the proposed techniques significantly improve the scores of the evaluation metrics, however, reinforcement learning may impact adversely on the quality of the generated captions.
Motivation & Objective
- To address data scarcity in audio captioning by applying transfer learning from upstream audio tasks and in-domain datasets.
- To mitigate the mismatch between training loss and evaluation metrics by incorporating CIDEr into model optimization via reinforcement learning.
- To investigate the impact of reinforcement learning on caption quality beyond metric scores.
- To evaluate the effectiveness of multi-modal transfer learning (audio and language) versus single-modality pre-training.
- To analyze discrepancies between automatic evaluation metrics and human judgment in audio captioning.
Proposed method
- The system uses a 10-layer CNN encoder (based on PANNs) to extract log-mel spectrogram features from audio inputs.
- A Transformer decoder generates captions autoregressively, conditioned on encoder features and previously generated tokens.
- Transfer learning is applied via a pre-trained PANNs encoder and fine-tuning on the AudioCaps dataset to improve both audio and language representation learning.
- Reinforcement learning optimizes the model using CIDEr as the reward signal, directly aligning training with evaluation metrics.
- The policy gradient method is used to update the decoder parameters based on the CIDEr score of generated captions.
- Ablation studies compare models with and without transfer learning and reinforcement learning to isolate component contributions.
Experimental results
Research questions
- RQ1How does pre-training on PANNs and AudioCaps affect audio captioning performance compared to training from scratch?
- RQ2To what extent does reinforcement learning improve automatic evaluation metrics like CIDEr and SPICE?
- RQ3Does reinforcement learning degrade the fluency and semantic quality of generated captions despite metric improvements?
- RQ4How do different transfer learning strategies (audio-only vs. audio+language) compare in performance and robustness?
- RQ5Why does reinforcement learning lead to the overuse of phrases like "in the background" in generated captions?
Key findings
- The proposed system achieved 3rd place in DCASE 2021 Task 6, outperforming a state-of-the-art ensemble model on all metrics except BLEU-1.
- Pre-training with PANNs significantly improved all evaluation metrics, demonstrating the importance of strong audio feature extraction.
- Fine-tuning on AudioCaps further boosted performance, confirming that joint audio-language transfer learning is more effective than single-modality pre-training.
- Reinforcement learning improved all evaluation metrics, including CIDEr, SPICE, and CIDEr-D, but introduced syntactic errors and repetitive words.
- After RL, 765 generated captions contained "in the background"—five times more than without RL—despite only 302 ground-truth captions including it, indicating metric-driven overfitting.
- The results suggest that current automatic metrics like CIDEr do not fully align with human judgment, as improved scores were accompanied by degraded caption quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.