Abstract
In image captioning, images often contain complex scenes where features at a single granularity level fail to capture all the visual information. For instance, grid features of an image provide spatial details but lack an understanding of semantic objects. Therefore, it is necessary to fuse the multi-granularity features of an image for a comprehensive representation. In this paper, we propose an adaptive multi-granularity aggregation transformer that integrates grid, region and global features of image. In contrast to previous approaches that rely on single-feature or two-feature representation, our approach integrates features of different granularity levels, which overcomes the incompleteness of traditional visual information characterization. Specifically, we construct an encoder with a multi-granularity feature enhancement module that explores intrinsic relationships between different features to reduce the redundancy of feature representation. We also design a multi-granularity feature adaptive fusion module to adjust the attention of features at different scales, enhancing cross-modal inference ability. Experiments on the MSCOCO dataset demonstrate that our model achieves superior performance, with a CIDEr score of 138.6 on the “Karpathy” split, surpassing the state-of-the-art fusion model by 2.5 points.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Anderson, P., et al.: Bottom-up and top-down attention for image captioning and visual question answering. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6077–6086 (2018)
Cornia, M., Stefanini, M., Baraldi, L., Cucchiara, R.: Meshed-memory transformer for image captioning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10578–10587 (2020)
Fan, Z., et al.: TCIC: theme concepts learning cross language and vision for image captioning. arXiv preprint arXiv:2106.10936 (2021)
Fang, Z., et al.: Injecting semantic concepts into end-to-end image captioning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 18009–18019 (2022)
Fei, Z.: Attention-aligned transformer for image captioning. In: proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, pp. 607–615 (2022)
Herdade, S., Kappeler, A., Boakye, K., Soares, J.: Image captioning: transforming objects into words. In: Advances in Neural Information Processing Systems, vol. 32 (2019)
Hu, N., Ming, Y., Fan, C., Feng, F., Lyu, B.: TSFNet: triple-steam image captioning. IEEE Trans. Multimedia (2022)
Huang, L., Wang, W., Chen, J., Wei, X.Y.: Attention on attention for image captioning. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4634–4643 (2019)
Huang, L., Wang, W., Xia, Y., Chen, J.: Adaptively aligned image captioning via adaptive attention time. In: Advances in Neural Information Processing Systems, vol. 32 (2019)
Luo, Y., et al.: Dual-level collaborative transformer for image captioning. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 35, pp. 2286–2293 (2021)
Ma, Y., Ji, J., Sun, X., Zhou, Y., Ji, R.: Towards local visual modeling for image captioning. Pattern Recogn. 138, 109420 (2023)
Pan, Y., Yao, T., Li, Y., Mei, T.: X-linear attention networks for image captioning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10971–10980 (2020)
Rennie, S.J., Marcheret, E., Mroueh, Y., Ross, J., Goel, V.: Self-critical sequence training for image captioning. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 7008–7024 (2017)
Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, vol. 30 (2017)
Vinyals, O., Toshev, A., Bengio, S., Erhan, D.: Show and tell: a neural image caption generator. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3156–3164 (2015)
Wang, Y., Xu, J., Sun, Y.: End-to-end transformer based model for image captioning. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, pp. 2585–2594 (2022)
Wu, D., Li, H., Gu, C., Guo, L., Liu, H.: Improving fusion of region features and grid features via two-step interaction for image-text retrieval. In: Proceedings of the 30th ACM International Conference on Multimedia, pp. 5055–5064 (2022)
Wu, L., Xu, M., Sang, L., Yao, T., Mei, T.: Noise augmented double-stream graph convolutional networks for image captioning. IEEE Trans. Circ. Syst. Video Technol. 31(8), 3118–3127 (2020)
Xian, T., Li, Z., Zhang, C., Ma, H.: Dual global enhanced transformer for image captioning. Neural Netw. 148, 129–141 (2022)
Xu, K., et al.: Show, attend and tell: Neural image caption generation with visual attention. In: International Conference on Machine Learning, pp. 2048–2057. PMLR (2015)
Yang, X., Tang, K., Zhang, H., Cai, J.: Auto-encoding scene graphs for image captioning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10685–10694 (2019)
Zhang, J., Fang, Z., Sun, H., Wang, Z.: Adaptive semantic-enhanced transformer for image captioning. IEEE Trans. Neural Netw. Learn. Syst. (2022)
Zhang, J., Xie, Y., Ding, W., Wang, Z.: Cross on cross attention: Deep fusion transformer for image captioning. IEEE Trans. Circ. Syst. Video Technol. (2023)
Zhang, X., et al.: RSTNet: captioning with adaptive attention on visual and non-visual words. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 15465–15474 (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Li, D., Wang, Y., Liu, Q. (2023). Adaptive Multi-granularity Aggregation Transformer for Image Captioning. In: Campagner, A., Urs Lenz, O., Xia, S., Ślęzak, D., Wąs, J., Yao, J. (eds) Rough Sets. IJCRS 2023. Lecture Notes in Computer Science(), vol 14481. Springer, Cham. https://doi.org/10.1007/978-3-031-50959-9_24
Download citation
DOI: https://doi.org/10.1007/978-3-031-50959-9_24
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-50958-2
Online ISBN: 978-3-031-50959-9
eBook Packages: Computer ScienceComputer Science (R0)