Perturb, Predict & Paraphrase: Semi-Supervised Learning using Noisy Student for Image Captioning

Arjit Jain, Pranay Reddy Samala, Preethi Jyothi, Deepak Mittal, Maneesh Kumar SinghIJCAI 2021

Abstract

Recent semi-supervised learning (SSL) methods are predominantly focused on multi-class classification tasks. Classification tasks allow for easy mixing of class labels during augmentation which does not trivially extend to structured outputs such as word sequences that appear in tasks like image captioning. Noisy Student Training is a recent SSL paradigm proposed for image classification that is an extension of self-training and teacher-student learning. In this work, we provide an in-depth analysis of the noisy student SSL framework for the task of image captioning and derive state-of-the-art results. The original algorithm relies on computationally expensive data augmentation steps that involve perturbing the raw images and computing features for each perturbed image. We show that, even in the absence of raw image augmentation, the use of simple model and feature perturbations to the input images for the student model are beneficial to SSL training. We also show how a paraphrase generator could be effectively used for label augmentation to improve the quality of pseudo labels and significantly improve performance. Our final results in the limited labeled data setting (1% of the MS-COCO labeled data) outperform previous state-of-the-art approaches by 2.5 on BLEU4 and 11.5 on CIDEr scores.

Introduction

Semi-supervised learning (SSL) is often considered the "holy grail" for machine learning tasks where labeled data is expensive but unlabeled data is plentiful. While SSL has seen significant success in image classification through techniques like Mixup, it faces unique challenges with structured outputs like image captioning. Unlike categorical labels, word sequences cannot be easily averaged or blended to create new training signals.

This research adapts the Noisy Student Training framework to the captioning domain. In this paradigm, a "Teacher" model labels unlabeled data, and a "Student" model is trained to reproduce those labels while subjected to noise. The authors address two primary hurdles in this process: the high computational cost of traditional image-level augmentations and the inherent noise in teacher-generated "pseudo-labels."

Methodology: Perturb, Predict, and Paraphrase

The proposed pipeline, illustrated in Figure 1, follows a three-step process designed for efficiency and label quality:

  1. Teacher Training: A base model (AoANet) is trained on a small set of labeled image-caption pairs.
  2. Pseudo-Labeling & Paraphrasing: The teacher generates captions for a large unlabeled dataset. To refine these results, the captions are passed through a Paraphrase Generator (a fine-tuned BART model). This module acts as a syntactic denoiser, fixing grammatical errors and repetitions often found in raw teacher outputs.
  3. Noisy Student Training: A student model is trained from scratch on both the original labeled data and the paraphrased unlabeled data. To improve generalization, the authors introduce Object Dropout. Instead of augmenting raw images, they randomly "zero out" entire object feature vectors. This feature-level perturbation is 12x faster than traditional image augmentation.
The Perturb, Predict & Paraphrase pipeline for semi-supervised image captioning.

Experimental Setup and Results

The framework was primarily benchmarked on MS-COCO, specifically testing a "low-resource" setting using only 1% of the labeled data (~1,130 images) alongside 123k unlabeled images.

In this 1% setting, the method achieved a BLEU4 of 27.5 and a CIDEr of 84.5, marking a substantial improvement over previous state-of-the-art methods like Self-Distillation (which achieved 25.0 BLEU4 and 73.0 CIDEr).

Performance comparison between Teacher and Student models across varying amounts of labeled data.

As shown in Figure 6, the student model consistently outperforms the teacher, particularly when labeled data is scarce. Key insights from the experiments include:

  • The Paraphraser as a Filter: Rather than discarding low-confidence labels, paraphrasing "fixes" them, maximizing the utility of the unlabeled pool.
  • Efficiency of Feature Perturbation: Object Dropout demonstrates that pixel-level distortion is unnecessary; hiding detected objects from the student forces it to learn from broader context.
  • Initialization Matters: The student performs best when initialized randomly, preventing it from simply mimicking the teacher's inherent biases.

Conclusion

By combining efficient feature-level noise with linguistic refinement via paraphrasing, this work sets a new standard for semi-supervised image captioning. While the gains are most dramatic in low-data regimes, the approach demonstrates that the Noisy Student paradigm is a powerful tool for structured output tasks beyond simple classification. Future work may explore scaling these methods to even larger unlabeled datasets to overcome saturation in high-resource settings.

Summary updated

BibTeX
@inproceedings{jain2021perturb,
  author = {Arjit Jain and Pranay Reddy Samala and Preethi Jyothi and Deepak Mittal and Maneesh Kumar Singh},
  title = {{Perturb, Predict \& Paraphrase: Semi-Supervised Learning using Noisy Student for Image Captioning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=W6cZDPDjYH},
}
Figure