[Paper Review] RATT: Recurrent Attention to Transient Tasks for Continual Image Captioning
This paper proposes RATT (Recurrent Attention to Transient Tasks), a novel continual learning framework for LSTM-based image captioning that explicitly models the transient nature of task-specific vocabularies. By applying task-specific attention masks and adapting regularization and distillation methods to recurrent architectures, RATT achieves zero catastrophic forgetting across five sequential captioning tasks on MS-COCO and Flickr30k, outperforming EWC and LwF baselines in both automatic and human evaluations.
Research on continual learning has led to a variety of approaches to mitigating catastrophic forgetting in feed-forward classification networks. Until now surprisingly little attention has been focused on continual learning of recurrent models applied to problems like image captioning. In this paper we take a systematic look at continual learning of LSTM-based models for image captioning. We propose an attention-based approach that explicitly accommodates the transient nature of vocabularies in continual image captioning tasks -- i.e. that task vocabularies are not disjoint. We call our method Recurrent Attention to Transient Tasks (RATT), and also show how to adapt continual learning approaches based on weight egularization and knowledge distillation to recurrent continual learning problems. We apply our approaches to incremental image captioning problem on two new continual learning benchmarks we define using the MS-COCO and Flickr30 datasets. Our results demonstrate that RATT is able to sequentially learn five captioning tasks while incurring no forgetting of previously learned ones.
Motivation & Objective
- To address catastrophic forgetting in recurrent image captioning models during sequential task learning.
- To model the transient nature of vocabularies in continual image captioning, where words reappear across tasks.
- To adapt existing continual learning techniques—like EWC and LwF—to recurrent LSTM architectures for sequential generation tasks.
- To establish new benchmarks for continual image captioning using MS-COCO and Flickr30k datasets with task-splitting methodologies.
- To evaluate the effectiveness of RATT through automatic metrics and human evaluation across multiple tasks.
Proposed method
- Proposes a task-specific attention mask mechanism that selectively attends to relevant vocabulary components during training, reflecting the transient nature of task-specific words.
- Adapts Elastic Weight Consolidation (EWC) to recurrent networks by computing Fisher information on hidden state gradients to regularize important parameters.
- Modifies Knowledge Distillation (LwF) for RNNs by applying distillation loss on hidden states and output probabilities across tasks.
- Designs two new continual learning benchmarks by splitting MS-COCO and Flickr30k into five sequential, overlapping vocabulary tasks (e.g., sports, weddings, news, etc.).
- Uses a standard encoder-decoder architecture with ResNet-101 as the image encoder and an LSTM decoder for caption generation.
- Applies a learnable task embedding to condition the attention mechanism on the current task identity during inference and training.
Experimental results
Research questions
- RQ1Can a recurrent attention mechanism effectively mitigate catastrophic forgetting in image captioning when task vocabularies are transient and overlapping?
- RQ2How do standard continual learning methods like EWC and LwF perform when adapted to recurrent LSTM-based image captioning models?
- RQ3To what extent does RATT preserve performance on previously learned tasks when learning new ones, compared to baselines?
- RQ4Does the transient vocabulary structure of image captioning tasks necessitate a fundamentally different continual learning approach than disjoint-class settings?
- RQ5Can human evaluation confirm the superiority of RATT-generated captions over baseline models in terms of semantic accuracy and relevance?
Key findings
- RATT achieves zero catastrophic forgetting across five sequential captioning tasks on both MS-COCO and Flickr30k, with no performance drop on earlier tasks.
- On MS-COCO, RATT outperforms EWC and LwF in human evaluation, with 75.0% to 85.0% of users preferring RATT captions over EWC and 77.5% to 82.5% preferring RATT over LwF across tasks.
- On Flickr30k, RATT achieves 61.8% to 76.4% human preference over EWC and 45.5% to 69.1% over LwF, confirming consistent superiority.
- Automatic evaluation shows RATT maintains high BLEU, ROUGE, and CIDEr scores across all tasks, with minimal forgetting (e.g., -1.5 CIDEr on MS-COCO, 0.0 on Flickr30k).
- The ablation study confirms that task-specific attention masks are essential, as removing them leads to significant forgetting.
- Despite zero forgetting, RATT shows limited plasticity and backward transfer, as performance on older tasks does not improve with new knowledge.
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.