journal article·2023-07-04Open access

Novel Object Captioning with Semantic Match from External Knowledge

Sen Du, Hong Zhu, Guangfeng Lin, Dong Wang, Jing Shi

Applied Sciences· Volume 13· Issue 13

Abstract

Automatically describing the content of an image is a challenging task that is on the edge between natural language and computer vision. The current image caption models can describe the objects that are frequently seen in the training set very well, but they fail to describe the novel objects that are rarely seen or never seen in the training set. Despite describing novel objects being important for practical applications, only a few works investigate this issue. Furthermore, those works only investigate rarely seen objects, but ignore the never-seen objects. Meanwhile, the number of never-seen objects is more than the number of frequently seen and rarely seen objects. In this paper, we propose two blocks that incorporate external knowledge into the captioning model to solve this issue. Initially, in the encoding phase, the Semi-Fixed Word Embedding block is an improvement for the word embedding layer that enables the captioning model to understand the meaning of the arbitrary visual words rather than a fixed number of words. Furthermore, the Candidate Sentences Selection block chooses candidate sentences by semantic matching rather than probability, avoiding the influence of never-seen words. In experiments, we qualitatively analyze the proposed blocks and quantitatively evaluate several captioning models with the proposed blocks on the Nocaps dataset. The experimental results show the effectiveness of the proposed blocks for novel objects, especially when describing never-seen objects, CIDEr and SPICE improved by 13.1% and 12.0%, respectively.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Multimodal Machine Learning Applications · Advanced Image and Video Retrieval Techniques · Domain Adaptation and Few-Shot Learning

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Automation and Information Engineering, Xi’an University of Technology, Xi’an 710048, China

School of Printing, Packaging and Digital Media, Xi’an University of Technology, Xi’an 710054, China

Funding

NSFC · the Research and development of manufacturing information system platform supporting product lifecycle management · the Key Research and Development Program of Shaanxi · Doctoral Research Fund of Xi’an University of Technology, China · Xi’an Science and Technology Foundation · Natural Science Foundation of Shaanxi Province

References (55)

Show source-provided references
1. Hubert: Self-supervised speech representation learning by masked prediction of hidden units10.1109/TASLP.2021.3122291 ↗
2. Kenton, J.D.M.W.C., and Toutanova, L.K. (2019, January 2–7). Bert: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the NAACL-HLT, Minneapolis, MN, USA.
3. Language models are few-shot learners
4. Pan, Y., Yao, T., Li, Y., and Mei, T. (2020, January 14–19). X-linear attention networks for image captioning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01098 ↗
5. A comprehensive survey of deep learning for image captioning10.1145/3295748 ↗
6. Venugopalan, S., Anne Hendricks, L., Rohrbach, M., Mooney, R., Darrell, T., and Saenko, K. (2017, January 21–26). Captioning images with diverse objects. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.130 ↗
7. Tanaka, M., and Harada, T. (2021, January 23–28). Captioning images with novel objects via online vocabulary expansion. Proceedings of the European Conference on Computer Vision (ECCV), Glasgow, UK.
8. Wu, Y., Zhu, L., Jiang, L., and Yang, Y. (2018, January 22–26). Decoupled novel object captioner. Proceedings of the 26th ACM international conference on Multimedia, Seoul, Republic of Korea.10.1145/3240508.3240640 ↗
9. Demirel, B., Cinbiş, R.G., and İkizler Cinbiş, N. (2019). Image Captioning with Unseen Objects. arXiv.
10. The open images dataset v4: Unified image classification, object detection, and visual relationship detection at scale10.1007/s11263-020-01316-z ↗
11. Bansal, A., Sikka, K., Sharma, G., Chellappa, R., and Divakaran, A. (2018, January 8–14). Zero-shot object detection. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01246-5_24 ↗
12. Anderson, P., Fernando, B., Johnson, M., and Gould, S. (2017, January 7–11). Guided Open Vocabulary Image Captioning with Constrained Beam Search. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark.10.18653/v1/D17-1098 ↗
13. Farhadi, A., Hejrati, M., Sadeghi, M.A., Young, P., Rashtchian, C., Hockenmaier, J., and Forsyth, D. (2010, January 5–11). Every picture tells a story: Generating sentences from images. Proceedings of the Computer Vision—ECCV 2010: 11th European Conference on Computer Vision, Heraklion, Crete, Greece. Proceedings, Part IV 11.10.1007/978-3-642-15561-1_2 ↗
14. Babytalk: Understanding and generating simple image descriptions10.1109/TPAMI.2012.162 ↗
15. Kuznetsova, P., Ordonez, V., Berg, A., Berg, T., and Choi, Y. (2012, January 8–14). Collective generation of natural image descriptions. Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Jeju Island, Korea.
16. Ordonez, V., Kulkarni, G., and Berg, T. (2011). Im2text: Describing images using 1 million captioned photographs. Adv. Neural Inf. Process. Syst., 24, Available online: https://proceedings.neurips.cc/paper_files/paper/2011/hash/5dd9db5e033da9c6fb5ba83c7a7ebea9-Abstract.html.
17. Vinyals, O., Toshev, A., Bengio, S., and Erhan, D. (2015, January 7–12). Show and tell: A neural image caption generator. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298935 ↗
18. Chen, L., Zhang, H., Xiao, J., Nie, L., Shao, J., Liu, W., and Chua, T.S. (2017, January 21–26). Sca-cnn: Spatial and channel-wise attention in convolutional networks for image captioning. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.667 ↗
19. Anderson, P., He, X., Buehler, C., Teney, D., Johnson, M., Gould, S., and Zhang, L. (2018, January 18–22). Bottom-up and top-down attention for image captioning and visual question answering. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00636 ↗
20. Ren, S., He, K., Girshick, R., and Sun, J. (2015). Faster r-cnn: Towards real-time object detection with region proposal networks. Adv. Neural Inf. Process. Syst., 28, Available online: https://proceedings.neurips.cc/paper_files/paper/2015/hash/14bfa6bb14875e45bba028a21ed38046-Abstract.html.
21. Yang, X., Tang, K., Zhang, H., and Cai, J. (2019, January 15–20). Auto-encoding scene graphs for image captioning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.01094 ↗
22. Guo, L., Liu, J., Tang, J., Li, J., Luo, W., and Lu, H. (2019, January 21–25). Aligning linguistic words and visual semantic units for image captioning. Proceedings of the 27th ACM International Conference on Multimedia, Nice, France.10.1145/3343031.3350943 ↗
23. Ma, S., Wan, W., Yu, Z., and Zhao, Y. (2023). EDET: Entity Descriptor Encoder of Transformer for Multi-Modal Knowledge Graph in Scene Parsing. Appl. Sci., 13.10.3390/app13127115 ↗
24. Zellers, R., Yatskar, M., Thomson, S., and Choi, Y. (2018, January 18–22). Neural motifs: Scene graph parsing with global context. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00611 ↗
25. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Attention is all you need. Adv. Neural Inf. Process. Syst., 30, Available online: https://proceedings.neurips.cc/paper_files/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html.
26. Huang, L., Wang, W., Chen, J., and Wei, X.Y. (November, January 27). Attention on attention for image captioning. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
27. Cornia, M., Stefanini, M., Baraldi, L., and Cucchiara, R. (2020, January 14–19). Meshed-memory transformer for image captioning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01059 ↗
28. Dual global enhanced transformer for image captioning10.1016/j.neunet.2022.01.011 ↗
29. Multilevel attention and relation network based image captioning model10.1007/s11042-022-13793-0 ↗
30. Zhang, P., Li, X., Hu, X., Yang, J., Zhang, L., Wang, L., Choi, Y., and Gao, J. (2021, January 19–25). Vinvl: Revisiting visual representations in vision-language models. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00553 ↗
31. Li, X., Yin, X., Li, C., Zhang, P., Hu, X., Zhang, L., Wang, L., Hu, H., Dong, L., and Wei, F. (2020, January 23–28). Oscar: Object-semantics aligned pre-training for vision-language tasks. Proceedings of the Computer Vision—ECCV 2020: 16th European Conference, Glasgow, UK. Proceedings, Part XXX 16.10.1007/978-3-030-58577-8_8 ↗
32. Wang, Z., Yu, J., Yu, A.W., Dai, Z., Tsvetkov, Y., and Cao, Y. (2021). Simvlm: Simple visual language model pretraining with weak supervision. arXiv.
33. Yao, T., Pan, Y., Li, Y., and Mei, T. (2017, January 21–26). Incorporating copying mechanism in image captioning for learning novel objects. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.559 ↗
34. Chen, X., Jiang, M., and Zhao, Q. (2021, January 19–27). Leveraging human attention in novel object captioning. Proceedings of the International Joint Conference on Artificial Intelligence, Montreal, QC, Canada.10.24963/ijcai.2021/86 ↗
35. Cascaded revision network for novel object captioning10.1109/TCSVT.2020.2965966 ↗
36. Vo, D.M., Chen, H., Sugimoto, A., and Nakayama, H. (2022, January 18–24). Noc-rek: Novel object captioning with retrieved vocabulary from external knowledge. Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPR52688.2022.01747 ↗
37. Lu, J., Yang, J., Batra, D., and Parikh, D. (2018, January 18–22). Neural baby talk. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00754 ↗
38. Switchable novel object captioner10.1109/TPAMI.2022.3144984 ↗
39. Ramos, R., Martins, B., Elliott, D., and Kementchedjhieva, Y. (2023, January 18–22). Smallcap: Lightweight image captioning prompted with retrieval augmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Convention Center, Convention Center, Vancouver, Canada.10.1109/CVPR52729.2023.00278 ↗
40. Radford, A., Kim, J.W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., and Clark, J. (2021, January 18–24). Learning transferable visual models from natural language supervision. Proceedings of the International Conference on Machine Learning, PMLR, Virtual.
41. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
42. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. arXiv.
43. Language models are unsupervised multitask learners
44. Pennington, J., Socher, R., and Manning, C.D. (2014, January 25–29). Glove: Global vectors for word representation. Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗
45. Agrawal, H., Desai, K., Wang, Y., Chen, X., Jain, R., Johnson, M., Batra, D., Parikh, D., Lee, S., and Anderson, P. (November, January 27). Nocaps: Novel object captioning at scale. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
46. Chen, X., Fang, H., Lin, T.Y., Vedantam, R., Gupta, S., Dollár, P., and Zitnick, C.L. (2015). Microsoft coco captions: Data collection and evaluation server. arXiv.
47. Karpathy, A., and Fei-Fei, L. (2015, January 7–12). Deep visual-semantic alignments for generating image descriptions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298932 ↗
48. Papineni, K., Roukos, S., Ward, T., and Zhu, W.J. (2002, January 6–12). Bleu: A method for automatic evaluation of machine translation. Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, Philadelphia, PA, USA.10.3115/1073083.1073135 ↗
49. Banerjee, S., and Lavie, A. (2005, January 25–30). METEOR: An automatic metric for MT evaluation with improved correlation with human judgments. Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics, Ann Arbor, MI, USA.
50. Lin, C.Y. (2004). Text Summarization Branches Out, Association for Computational Linguistics.
51. Vedantam, R., Lawrence Zitnick, C., and Parikh, D. (2015, January 7–12). Cider: Consensus-based image description evaluation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7299087 ↗
52. Anderson, P., Fernando, B., Johnson, M., and Gould, S. (2016, January 11–14). Spice: Semantic propositional image caption evaluation. Proceedings of the Computer Vision—ECCV 2016: 14th European Conference, Amsterdam, The Netherlands. Proceedings, Part V 14.10.1007/978-3-319-46454-1_24 ↗
53. Visual genome: Connecting language and vision using crowdsourced dense image annotations10.1007/s11263-016-0981-7 ↗
54. Hu, X., Yin, X., Lin, K., Wang, L., Zhang, L., Gao, J., and Liu, Z. (2021, January 2–9). Vivo: Surpassing human performance in novel object captioning with visual vocabulary pre-training. Proceedings of the AAAI Conference on Artificial Intelligenc (AAAI), Virtual.
55. Mokady, R., Hertz, A., and Bermano, A.H. (2021). Clipcap: Clip prefix for image captioning. arXiv.