[Paper Review] Incorporating Copying Mechanism in Image Captioning for Learning Novel Objects
This paper proposes LSTM-C, a novel image captioning framework that integrates a copying mechanism into a CNN-RNN architecture to describe novel objects not seen during training. By leveraging pre-trained object detectors on external datasets, LSTM-C copies object names directly into generated captions, achieving state-of-the-art performance on MSCOCO and ImageNet, with a 17.8% relative improvement in accuracy on novel object captioning.
Image captioning often requires a large set of training image-sentence pairs. In practice, however, acquiring sufficient training pairs is always expensive, making the recent captioning models limited in their ability to describe objects outside of training corpora (i.e., novel objects). In this paper, we present Long Short-Term Memory with Copying Mechanism (LSTM-C) --- a new architecture that incorporates copying into the Convolutional Neural Networks (CNN) plus Recurrent Neural Networks (RNN) image captioning framework, for describing novel objects in captions. Specifically, freely available object recognition datasets are leveraged to develop classifiers for novel objects. Our LSTM-C then nicely integrates the standard word-by-word sentence generation by a decoder RNN with copying mechanism which may instead select words from novel objects at proper places in the output sentence. Extensive experiments are conducted on both MSCOCO image captioning and ImageNet datasets, demonstrating the ability of our proposed LSTM-C architecture to describe novel objects. Furthermore, superior results are reported when compared to state-of-the-art deep models.
Motivation & Objective
- To address the limitation of existing image captioning models in describing objects not present in training data (i.e., novel objects).
- To integrate knowledge from freely available object recognition datasets into the captioning pipeline to improve generalization to unseen objects.
- To develop an end-to-end trainable framework that combines sequence generation via LSTM with a copying mechanism for object names.
- To demonstrate that copying mechanism significantly improves performance on novel object captioning, especially when combined with external text data.
Proposed method
- The framework uses a CNN to extract visual features from input images, which are then fed into an LSTM decoder for sentence generation.
- Object detection is performed using pre-trained models on external datasets (e.g., ImageNet), producing a list of candidate objects in the image.
- A copying layer is introduced at the top of the LSTM decoder to allow the model to directly copy object names from detected objects into the output sentence.
- The copying mechanism is integrated via a soft attention mechanism that computes a probability distribution over both the vocabulary and detected objects, with a learnable tradeoff parameter λ.
- The model is trained end-to-end using cross-entropy loss, with the copying mechanism enabled through a differentiable routing of words from detected objects.
- External unpaired text data (e.g., BNC and Wikipedia) are used to pre-train word embeddings, improving generalization and performance.
![Figure 1: An example of object recognition and image captioning. The input is an image, while the output is the detected objects and a natural sentence, respectively. (upper row: the detected objects in the image; middle row: the sentence generated by LRCN [ 4 ] image captioning approach; bottom row](https://ar5iv.labs.arxiv.org/html/1708.05271/assets/x1.png)
Experimental results
Research questions
- RQ1Can a copying mechanism improve image captioning models' ability to describe novel objects not present in the training corpus?
- RQ2How does integrating external object detection models enhance the captioning model’s generalization to unseen objects?
- RQ3What is the optimal tradeoff between generating words from the vocabulary and copying words from detected objects in the captioning process?
- RQ4Does the use of external unpaired text data further improve performance in novel object captioning?
- RQ5How robust is the copying mechanism across diverse object categories, especially those with visual similarity to common objects?
Key findings
- On the MSCOCO dataset, LSTM-C achieved a 72.08% novel object accuracy and 16.39% F1 score, outperforming the baseline NOC model by 1.4% and 0.76% respectively.
- On the ImageNet dataset, LSTM-C achieved a 17.8% relative improvement in accuracy over the NOC baseline, demonstrating strong generalization to large-scale novel objects.
- The model achieved the highest F1 score for six out of eight novel objects, with the best performance observed when λ ≈ 0.2, indicating optimal balance between generation and copying.
- The inclusion of external text data (BNC and Wikipedia) further improved performance, with a 31.11% accuracy on ImageNet when using one-hot + GloVe embeddings.
- Qualitative results show that LSTM-C successfully copies precise object names (e.g., 'bus' instead of 'hydrant') into captions, improving semantic accuracy.

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.