Skip to main content
QUICK REVIEW

[Paper Review] ContCap: A scalable framework for continual image captioning

Giang Nguyen, Tae Joon Jun|arXiv (Cornell University)|Sep 19, 2019
Multimodal Machine Learning ApplicationsComputer Science33 references10 citations
TL;DR

ContCap is a scalable framework that integrates continual learning into image captioning to mitigate catastrophic forgetting, using pseudo-labeling, selective weight freezing (encoder or decoder), and feature distillation. It significantly outperforms standard fine-tuning, especially in sequential class addition, with CIDEr scores of 15.1 (vs. 4.8 for fine-tuning) on old tasks when adding five classes one-by-one.

ABSTRACT

While advanced image captioning systems are increasingly describing images coherently and exactly, recent progress in continual learning allows deep learning models to avoid catastrophic forgetting. However, the domain where image captioning working with continual learning has not yet been explored. We define the task in which we consolidate continual learning and image captioning as continual image captioning. In this work, we propose ContCap, a framework generating captions over a series of new tasks coming, seamlessly integrating continual learning into image captioning besides addressing catastrophic forgetting. After proving forgetting in image captioning, we propose various techniques to overcome the forgetting dilemma by taking a simple fine-tuning schema as the baseline. We split MS-COCO 2014 dataset to perform experiments in class-incremental settings without revisiting dataset of previously provided tasks. Experiments show remarkable improvements in the performance on the old tasks while the figures for the new surprisingly surpass fine-tuning. Our framework also offers a scalable solution for continual image or video captioning.

Motivation & Objective

  • Address catastrophic forgetting in image captioning when new visual classes are incrementally introduced.
  • Develop a scalable, non-rehearsal approach to continual image captioning that avoids revisiting old data.
  • Evaluate the effectiveness of regularization-based techniques—pseudo-labeling, weight freezing, and feature distillation—in maintaining performance on both old and new tasks.
  • Investigate the failure modes of sequential class addition, identifying 'stage catastrophic forgetting' as a critical challenge.
  • Demonstrate that multi-modal generative models can benefit from continual learning techniques designed for single-modal tasks.

Proposed method

  • Propose ContCap, a framework combining encoder-decoder image captioning with continual learning via regularization-based techniques.
  • Use pseudo-labeling to stabilize predictions on new tasks by leveraging the antecedent model’s outputs as supervision.
  • Apply selective weight freezing—either encoder or decoder—to preserve knowledge from previous tasks during incremental training.
  • Implement feature distillation to align hidden representations between old and new models, preserving semantic consistency.
  • Train incrementally in a class-incremental setting by splitting MS-COCO 2014 into sequential task streams without data replay.
  • Use standard image captioning metrics (BLEU, CIDEr, ROUGE) to evaluate performance on both old and new tasks across settings.

Experimental results

Research questions

  • RQ1Can standard fine-tuning be effectively applied to continual image captioning without catastrophic forgetting?
  • RQ2How do regularization-based continual learning techniques (pseudo-labeling, freezing, distillation) perform in a multi-modal, sequential captioning setting?
  • RQ3What causes performance collapse in sequential class addition, and can it be mitigated?
  • RQ4Does freezing the encoder or decoder yield better performance retention in continual image captioning?
  • RQ5How does the performance of ContCap compare to standard fine-tuning in terms of generalization and forgetting on old tasks?

Key findings

  • Catastrophic forgetting severely degrades image captioning performance: after fine-tuning on a new class (e.g., 'person'), the model misdescribes a 'dog' image as 'a little boy is standing in the grass with a frisbee'.
  • When adding five classes sequentially, CIDEr scores on old tasks drop from 47.1 (baseline) to 4.8 (with feature distillation) and 4.5 (with fine-tuning), indicating extreme forgetting.
  • Pseudo-labeling achieves the best performance in sequential addition (15.1 CIDEr on old tasks), outperforming both fine-tuning and feature distillation, suggesting robustness to accumulated noise.
  • Freezing the encoder yields better performance (15.6 CIDEr) than freezing the decoder (10.0 CIDEr) in sequential settings, indicating the encoder's greater role in long-term knowledge retention.
  • Simultaneous addition of multiple classes leads to better generalization and higher performance (e.g., 53.4 BLEU1 and 15.1 CIDEr with pseudo-labeling) compared to sequential addition, which suffers from 'stage catastrophic forgetting'.
  • The framework demonstrates scalability and effectiveness in class-incremental settings, maintaining strong performance on old tasks while achieving high performance on new ones, especially with pseudo-labeling and encoder freezing.

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.