Skip to main content
QUICK REVIEW

[Paper Review] End-to-End Video Captioning with Multitask Reinforcement Learning

Lijun Li, Boqing Gong|arXiv (Cornell University)|Mar 21, 2018
Multimodal Machine Learning ApplicationsComputer Science56 references6 citations
TL;DR

This paper proposes a multitask reinforcement learning approach to end-to-end video captioning, training a single model from raw video to natural language captions by jointly optimizing caption generation, attribute prediction, and reinforcement learning-based reward maximization. The method achieves state-of-the-art performance on MSVD and MSR-VTT, outperforming prior models by a significant margin through effective supervision mining and progressive training.

ABSTRACT

Although end-to-end (E2E) learning has led to impressive progress on a variety of visual understanding tasks, it is often impeded by hardware constraints (e.g., GPU memory) and is prone to overfitting. When it comes to video captioning, one of the most challenging benchmark tasks in computer vision, those limitations of E2E learning are especially amplified by the fact that both the input videos and output captions are lengthy sequences. Indeed, state-of-the-art methods for video captioning process video frames by convolutional neural networks and generate captions by unrolling recurrent neural networks. If we connect them in an E2E manner, the resulting model is both memory-consuming and data-hungry, making it extremely hard to train. In this paper, we propose a multitask reinforcement learning approach to training an E2E video captioning model. The main idea is to mine and construct as many effective tasks (e.g., attributes, rewards, and the captions) as possible from the human captioned videos such that they can jointly regulate the search space of the E2E neural network, from which an E2E video captioning model can be found and generalized to the testing phase. To the best of our knowledge, this is the first video captioning model that is trained end-to-end from the raw video input to the caption output. Experimental results show that such a model outperforms existing ones to a large margin on two benchmark video captioning datasets.

Motivation & Objective

  • To address the challenges of training end-to-end video captioning models, including high memory consumption and overfitting due to long input and output sequences.
  • To overcome the limitations of conventional cross-entropy training, which fails to generalize well in end-to-end settings due to exposure mismatch and data scarcity.
  • To develop a unified framework that leverages auxiliary tasks—attribute prediction and reinforcement learning—to effectively supervise the training of deep encoder-decoder networks.
  • To demonstrate that end-to-end training is feasible and superior when combined with multitask learning and progressive training, even under hardware and data constraints.

Proposed method

  • The model uses a joint end-to-end architecture with a CNN backbone for video frame encoding and an LSTM decoder for caption generation.
  • It introduces auxiliary attribute prediction tasks by extracting visual and linguistic attributes (e.g., objects, actions, attributes) from human-annotated captions to provide additional supervision.
  • A reinforcement learning component uses the REINFORCE algorithm with Monte Carlo rollouts to optimize the captioning policy based on BLEU and ROUGE rewards, reducing exposure bias.
  • The training proceeds in a progressive pipeline: first pre-train the CNN with cross-entropy, then fine-tune with REINFORCE, and finally jointly optimize all components with multitask learning.
  • The method combines losses from attribute prediction ($L_a$), caption generation ($L_x$), and reinforcement learning ($L_r$) in a convex combination to stabilize training.
  • The model is trained end-to-end using backpropagation, with gradients from all auxiliary tasks flowing back to the CNN and LSTM components.

Experimental results

Research questions

  • RQ1Can end-to-end video captioning be effectively trained under hardware and data constraints using only the available human-annotated captions?
  • RQ2Does multitask learning with attribute prediction and reinforcement learning improve generalization and reduce overfitting in end-to-end video captioning?
  • RQ3Can reinforcement learning with policy gradient methods like REINFORCE mitigate the exposure bias inherent in autoregressive decoding?
  • RQ4How does progressive training—starting from supervised pre-training and then transitioning to reinforcement learning—impact final performance?
  • RQ5Is it possible to achieve state-of-the-art results without relying on external datasets or pre-trained image features?

Key findings

  • The proposed multitask reinforcement learning approach achieves state-of-the-art performance on both MSVD and MSR-VTT datasets, outperforming existing models by a large margin.
  • The ablation study shows that removing the attribute prediction branch or skipping the REINFORCE step leads to a significant drop in performance, confirming their necessity.
  • Using multiple rollouts in the REINFORCE algorithm improves performance by 1% to 2% over standard REINFORCE, indicating the benefit of trajectory sampling.
  • Direct end-to-end training with cross-entropy loss fails to generalize, resulting in performance worse than the S2VT baseline, highlighting the need for the proposed progressive training strategy.
  • The model generates more accurate, grammatically correct, and content-faithful captions than the S2VT baseline, as shown in qualitative examples on both datasets.
  • Fine-tuning the CNNs on video captioning-specific features (instead of ImageNet pre-training) significantly improves performance, demonstrating the value of task-specific representation learning.

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.