Skip to main content

Adaptive Multi-granularity Aggregation Transformer for Image Captioning

  • Conference paper
  • First Online:
Rough Sets (IJCRS 2023)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 14481))

Included in the following conference series:

  • 193 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. Fan, Z., et al.: TCIC: theme concepts learning cross language and vision for image captioning. arXiv preprint arXiv:2106.10936 (2021)

  4. 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)

    Google Scholar 

  5. Fei, Z.: Attention-aligned transformer for image captioning. In: proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, pp. 607–615 (2022)

    Google Scholar 

  6. Herdade, S., Kappeler, A., Boakye, K., Soares, J.: Image captioning: transforming objects into words. In: Advances in Neural Information Processing Systems, vol. 32 (2019)

    Google Scholar 

  7. Hu, N., Ming, Y., Fan, C., Feng, F., Lyu, B.: TSFNet: triple-steam image captioning. IEEE Trans. Multimedia (2022)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Ma, Y., Ji, J., Sun, X., Zhou, Y., Ji, R.: Towards local visual modeling for image captioning. Pattern Recogn. 138, 109420 (2023)

    Article  Google Scholar 

  12. 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)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, vol. 30 (2017)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

  18. 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)

    Article  Google Scholar 

  19. Xian, T., Li, Z., Zhang, C., Ma, H.: Dual global enhanced transformer for image captioning. Neural Netw. 148, 129–141 (2022)

    Article  Google Scholar 

  20. 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)

    Google Scholar 

  21. 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)

    Google Scholar 

  22. Zhang, J., Fang, Z., Sun, H., Wang, Z.: Adaptive semantic-enhanced transformer for image captioning. IEEE Trans. Neural Netw. Learn. Syst. (2022)

    Google Scholar 

  23. 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)

    Google Scholar 

  24. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Qun Liu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics