Image captioning with memorized knowledge

Hui Chen, Guiguang Ding (Corresponding author), Zijia Lin, Yuchen Guo, Caifeng Shan, Jungong Han

Research output: Contribution to journalArticleAcademicpeer-review

4 Citations (Scopus)


Image captioning, which aims to automatically generate text description of given images, has received much attention from researchers. Most existing approaches adopt a recurrent neural network (RNN) as a decoder to generate captions conditioned on the input image information. However, traditional RNNs deal with the sequence in a recurrent way, squeezing the information of all previous words into hidden cells and updating the context information by fusing the hidden states with the current word information. This may miss the rich knowledge too far in the past. In this paper, we propose a memory-enhanced captioning model for image captioning. We firstly introduce an external memory to store the past knowledge, i.e., all the information of generated words. When predicting the next word, the decoder can retrieve knowledge information about the past by means of a selective reading mechanism. Furthermore, to better explore the knowledge stored in the memory, we introduce several variants that consider different types of past knowledge. To verify the effectiveness of the proposed model, we conduct extensive experiments and comparisons on the well-known image captioning dataset MS COCO. Compared with the state-of-the-art captioning models, the proposed memory-enhanced captioning model shows a significant improvement in terms of the performance (improving 3.5% in terms of CIDEr). The proposed memory-enhanced captioning model, as demonstrated in the experiments, is more effective and superior to the state-of-the-art methods.

Original languageEnglish
Pages (from-to)807-820
Number of pages14
JournalCognitive Computation
Issue number4
Early online date10 Jun 2019
Publication statusPublished - Jul 2021


  • Attention
  • Encoder-decoder
  • Image captioning
  • Memory


Dive into the research topics of 'Image captioning with memorized knowledge'. Together they form a unique fingerprint.

Cite this