journal article·2024-01-17Open access

Thangka Image—Text Matching Based on Adaptive Pooling Layer and Improved Transformer

Kaijie Wang, Tiejun Wang, Xiaoran Guo, Kui Xu, Jiao Wu

Applied Sciences· Volume 14· Issue 2

Abstract

Image–text matching is a research hotspot in the multimodal task of integrating image and text processing. In order to solve the difficult problem of associating image and text data in the multimodal knowledge graph of Thangka, we propose an image and text matching method based on the Visual Semantic Embedding (VSE) model. The method introduces an adaptive pooling layer to improve the feature extraction capability of semantic associations between Thangka images and texts. We also improved the traditional Transformer architecture by combining bidirectional residual concatenation and mask attention mechanisms to improve the stability of the matching process and the ability to extract semantic information. In addition, we designed a multi-granularity tag alignment module that maps global and local features of images and text into a common coding space, leveraging inter- and intra-modal semantic associations to improve image and text accuracy. Comparative experiments on the Thangka dataset show that our method achieves significant improvements compared to the VSE baseline method. Specifically, our method improves the recall by 9.4% and 10.5% for image-matching text and text-matching images, respectively. Furthermore, without any large-scale corpus pre-training, our method outperforms all models without pre-training and outperforms two out of four pre-trained models on the Flickr30k public dataset. Also, the execution efficiency of our model is an order of magnitude higher than that of the pre-trained models, which highlights the superior performance and efficiency of our model in the image–text matching task.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Multimodal Machine Learning Applications · Topic Modeling · Advanced Image and Video Retrieval Techniques

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

Affiliations

Key Laboratory of China’s Ethnic Languages and Information Technology of Ministry of Education, Northwest Minzu University, Lanzhou 730030, China

Funding

2023 Basic Research Operating Expenses of Central Universities · National Natural Science Foundation of China · Natural Science Foundation of Gansu Province · Northwest University for Nationalities‘ Talent Recruitment Scientific Research Project

References (26)

Show source-provided references
1. Hotelling, H. (1992). Breakthroughs in Statistics: Methodology and Distribution, Springer.
2. Frome, A., Corrado, G.S., Shlens, J., Bengio, S., Dean, J., Ranzato, M.A., and Mikolov, T. (2013). Advances in Neural Information Processing Systems, NeurIPS.
3. Lee, K.H., Chen, X., Hua, G., Hu, H., and He, X. (2018, January 8–14). Stacked cross attention for image-text matching. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01225-0_13 ↗
4. Zhang, Q., Lei, Z., Zhang, Z., Hu, H., and He, X. (2020, January 13–19). Context-aware attention network for image-text retrieval. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00359 ↗
5. Chen, H., Ding, G., Liu, X., Lin, Z., Liu, J., and Han, J. (2020, January 13–19). Imram: Iterative matching with recurrent attention memory for cross-modal image-text retrieval. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01267 ↗
6. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-Training of Deep Bidirectional Transformers for Language Understanding. arXiv.
7. Lu, J., Batra, D., Parikh, D., and Lee, S. (2019). Advances in Neural Information Processing Systems, NeurIPS.
8. Li, X., Yin, X., Li, C., Zhang, P., Hu, X., Zhang, L., Wang, L., Hu, H., Dong, L., and Wei, F. (2020). Proceedings of the Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, 23–28 August 2020, Springer International Publishing. Proceedings, Part XXX 16.
9. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Advances in Neural Information Processing Systems, NeurIPS.
10. Ren, S., He, K., Girshick, R., and Sun, J. (2015). Advances in Neural Information Processing Systems, NeurIPS.
11. Dey, R., and Salem, F.M. (2017, January 6–9). Gate-Variants of Gated Recurrent Unit (GRU) Neural Networks. Proceedings of the 2017 IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS), Boston, MA, USA.10.1109/MWSCAS.2017.8053243 ↗
12. Diao, H., Zhang, Y., Ma, L., and Lu, H. (2021, January 2–9). Similarity reasoning and filtration for image-text matching. Proceedings of the AAAI Conference on Artificial Intelligence, Virtual Event.10.1609/aaai.v35i2.16209 ↗
13. Zhang, Z., Shu, C., Xiao, Y., Shen, Y., Zhu, D., Xiao, J., Chen, Y., Lau, J.H., Zhang, Q., and Lu, Z. (2022). Improving Visual-Semantic Embedding with Adaptive Pooling and Optimization Objective. arXiv.10.18653/v1/2023.eacl-main.87 ↗
14. Chinese named entity recognition based on Transformer encoder
15. Dai, Z., Wang, X., Ni, P., Li, Y., Li, G., and Bai, X. (2019, January 19–21). Named entity recognition using BERT BiLSTM CRF for Chinese electronic health records. Proceedings of the 2019 12th International Congress on Image and Signal Processing, Biomedical Engineering and Informatics (CISP-BMEI), Suzhou, China.10.1109/CISP-BMEI48845.2019.8965823 ↗
16. Mikolov, T., Chen, K., Corrado, G., and Dean, J. (2013). Efficient Estimation of Word Representations in Vector Space. arXiv.
17. Xie, S., Zhang, H., Guo, J., Tan, X., Bian, J., Awadalla, H.H., Menezes, A., Qin, T., and Yan, R. (2023). ResiDual: Transformer with Dual esidual Connections. arXiv.
18. Schroff, F., Kalenichenko, D., and Philbin, J. (2015, January 7–12). Facenet: A unified embedding for face recognition and clustering. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298682 ↗
19. Plummer, B.A., Wang, L., Cervantes, C.M., Caicedo, J.C., Hockenmaier, J., and Lazebnik, S. (2015, January 7–13). Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.303 ↗
20. Wikidata: A free collaborative knowledgebase10.1145/2629489 ↗
21. Wei, J., and Zou, K. (2019). Eda: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Tasks. arXiv.10.18653/v1/D19-1670 ↗
22. The relationship between recall and precision10.1002/(SICI)1097-4571(199401)45:1<12::AID-ASI2>3.0.CO;2-L ↗
23. Wang, Z., Liu, X., Li, H., Sheng, L., Yan, J., Wang, X., and Shao, J. (November, January 27). Camp: Cross-modal adaptive message passing for text-image retrieval. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
24. Liu, C., Mao, Z., Zhang, T., Xie, H., Wang, B., and Zhang, Y. (2020, January 13–19). Graph structured network for image-text matching. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01093 ↗
25. Radford, A., Kim, J.W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., and Clark, J. (2021, January 1). Learning transferable visual models from natural language supervision. Proceedings of the 38th International Conference on Machine Learning, Virtual Event.
26. Li, Z., Fan, Z., Tou, H., and Wei, Z. (2022). Mvp: Multi-Stage Vision-Language Pre-Training via Multi-Level Semantic Alignment. arXiv.