山东大学学报 (工学版) ›› 2026, Vol. 56 ›› Issue (5): 62-70.doi: 10.6040/j.issn.1672-3961.0.2025.224
• 机器学习与数据挖掘 • 上一篇
陈欣1,杨凡1,崔笛2
Chen Xin1, Yang Fan1, Cui Di2
摘要: 在数字服务领域,用户面对古建筑等富含文化信息的图像时,有时难以正确把握深层语义。为有效反映古建筑图像语义信息,提出利用视觉线索引导多模态大模型生成古建图像描述的方法。首先使用S2-wrapper机制对图像进行多尺度特征提取,引入设定标签状态的标签掩膜训练策略,构建基于Transformer多标签识别网络,建立图像与标签间、标签之间的深层次联系;将生成的多个标签转化为结构化的文本提示,并定义为视觉线索;最后将视觉线索和图像一同输入至多模态大模型中,生成一系列关于古建筑知识的解读,并且无需任何额外的跨模态训练。通过对比不同方法的识别效果,并结合定性分析来评估生成描述的质量。结果表明,所提方法在自建古建筑图像数据集上平均精度、类别平均F1分数和总体F1分数分别达到82.7%、72.7%和85.7%,消融试验也进一步验证各个模块的有效性。
中图分类号:
| [1] 刘佳. 基于深度学习的建筑物风格识别研究[D]. 西安: 西安建筑科技大学, 2023: 5-7. LIU Jia. Research on Architectural Style Recognition Based on Deep Learning[D]. Xi'an: Xi'an University of Architecture and Technology, 2023: 5-7. [2] Llamas J, Lerones P M, Medina R, et al. Classification of architectural heritage images using deep learning techniques[J]. Applied Sciences, 2017, 7(10): 992. [3] Obeso A M, Benois-Pineau J, Acosta A Á R, et al.Architectural style classification of Mexican historical buildings using deep convolutional neural networks and sparse features[J]. Journal of Electronic Imaging, 2017, 26(1): 011016. [4] Shi B F, Wu Z Y, Mao M L, et al. When do we not need larger vision models? [C] //Computer Vision-ECCV 2024. Cham, Switzerland: Springer, 2025: 444-462. [5] Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need[C] //Advances in Neural Information Processing Systems. Long Beach, USA:Curran Associates, Inc., 2017: 5998-6008. [6] Wang B, Zhang S L, Zhang J F, et al. Architectural style classification based on CNN and channel-spatial attention[J]. Signal, Image and Video Processing, 2023, 17(1): 99-107. [7] Sun M R, Zhang F, Duarte F, et al. Understanding architecture age and style through deep learning[J]. Cities, 2022, 128: 103787. [8] Vinyals O, Toshev A, Bengio S, et al. Show and tell: a neural image caption generator[C] //2015 IEEE Conference on Computer Vision and Pattern Recognition(CVPR). Boston, USA: IEEE, 2015: 3156-3164. [9] 赵永强, 金芝, 张峰, 等. 深度学习图像描述方法分析与展望[J]. 中国图象图形学报, 2023, 28(9): 2788-2816. Zhao Yongqiang, Jin Zhi, Zhang Feng, et al. Deep-learning-based image captioning: analysis and prospects[J]. Journal of Image and Graphics, 2023, 28(9): 2788-2816. [10] Radford A, Kim J W, Hallacy C, et al. Learning transferable visual models from natural language supervision[PP/OL].(2021-02-26)[2025-01-08].https://doi.org/10.48550/arXiv.2103.00020 [11] Li J N, Li D X, Savarese S, et al. BLIP-2: bootstrapping language-image pre-training with frozen image encoders and large language models[C] //International Conference on Machine Learning. Honolulu, USA: PMLR, 2023: 19730-19742. [12] Wang W, Lv Q, Yu W, et al. CogVLM: visual expert for pretrained language models[PP/OL].V2.(2024-02-04)[2025-01-13].https://doi.org/10.48550/arXiv.2311.03079 [13] 李嘉鑫, 汤鹏杰, 谭云兰, 等. CIC-CGT: 基于多模态大模型的漫画图像标题与描述生成[J]. 井冈山大学学报(自然科学版), 2024, 45(6): 77-86. Li Jiaxin, Tang Pengjie, Tan Yunlan, et al. Cic-cgt: comic image captioning and description with multimodal large scale model[J]. Journal of Jinggangshan University(Natural Sciences Edition), 2024, 45(6): 77-86. [14] Koh J Y, Salakhutdinov R, Fried D. Grounding language models to images for multimodal inputs and outputs[C] //Proceedings of the 40th International Conference on Machine Learning. Honolulu, USA: PMLR, 2023, 36: 17283-17300. [15] Zhu D, Chen J, Shen X, et al. MiniGPT-4: enhancing vision-language understanding with advanced large language models[PP/OL]. V2.(2023-10-02)[2025-01-13]. https://doi.org/10.48550/arXiv.2304.10592 [16] Bai J Z, Bai S, Yang S S, et al. Qwen-VL: a versatile vision-language model for understanding, localization, text reading, and beyond[PP/OL].V2.(2023-10-13)[2025-01-13]. https://doi.org/10.48550/arXiv.2308.12966 [17] Tsimpoukelli M, Menick J, Cabi S, et al. Multimodal few-shot learning with frozen language modelsd[PP/OL].V2.(2021-07-03)[2025-01-13]. https://doi.org/10.48550/arXiv.2106.13884 [18] Berrios W, Mittal G, Thrush T, et al. Towards language models that can see: computer vision through the LENS of natural languaged[PP/OL].(2023-07-28)[2025-01-13]. https://doi.org/10.48550/arXiv.2306.16410 [19] Li Z, Yang B, Liu Q, et al. Monkey: image resolution andtext label are important things for large multi-modal models[C] //2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Seattle, USA: IEEE, 2024: 26753-26763. [20] He K M, Zhang X Y, Ren S Q, et al. Deep residual learning for image recognition[C] //2016 IEEE Conference on Computer Vision and Pattern Recognition(CVPR). Las Vegas, USA: IEEE, 2016: 770-778. [21] Yu F, Tang J J, Yin W C, et al. ERNIE-ViL: knowledge enhanced vision-language representations through scene graphs[PP/OL] V3.(2021-05-19)[2025-01-13]. https://doi.org/10.48550/arXiv.2006.16934 [22] Zhipu AI, Tsinghua University. VisualGLM-6B: an open-source Chinese-English multimodal conversational language model[R/OL]. 2023-06-25. https://github.com/THUDM/VisualGLM-6B [23] OpenAI. GPT-4o system card[EB/OL].(2024-05-13)[2025-01-13]. https://openai.com/index/gpt-4o-system-card/ [24] Team G, Georgiev P, Lei V I, et al. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context[PP/OL]. V5.(2024-12-16))[2025-01-13]. https://doi.org/10.48550/arXiv.2403.05530 [25] Wang J, Yang Y, Mao J H, et al. CNN-RNN: a unified framework for multi-label image classification[C] //2016 IEEE Conference on Computer Vision and Pattern Recognition. Las Vegas, USA: IEEE, 2016: 2285-2294. [26] Wang Z X, Chen T S, Li G B, et al. Multi-label image recognition by recurrently discovering attentional regions[C] //2017 IEEE International Conference on Computer Vision. Venice, Italy: IEEE, 2017: 464-472. [27] Lanchantin J, Wang T L, Ordonez V, et al. General multi-label image classification with transformers[C] //2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Nashville, USA: IEEE, 2021: 16473-16483. [28] Liu S, Zhang L, Yang X, et al. Query2label: a simple transformer way to multi-label classification[PP/OL].(2021-07-22)[2025-01-13]. https://doi.org/10.48550/arXiv.2107.10834 [29] Zhou Wei, Xia Zhiwu, Dou Peng, et al. Double attention based on graph attention network for image multi-label classification[J]. ACM Transactions on Multimedia Computing, Communications, and Applica-tions, 2023, 19(1): 1-23. |
| [1] | 李玮,任其文,曹永吉,余森,李常刚,阚瑞,刘子琪. 基于模型-数据混合驱动的锂电池荷电状态估计方法[J]. 山东大学学报 (工学版), 2026, 56(3): 156-165. |
| [2] | 任红伟,孟菲,王继凯,田威杨,魏明召,程之恒,杜聪,吴建清. 基于深度学习的路基病害智能检测方法[J]. 山东大学学报 (工学版), 2026, 56(3): 93-105. |
| [3] | 黎俊亮,蒋沅,吴珑雪,刘宇. 融合节点与边特征的增强Graph Transformer[J]. 山东大学学报 (工学版), 2026, 56(3): 118-126. |
| [4] | 郑晓,陈鹤,周东傲,宫永顺. 基于视频描述增强和双流特征融合的视频异常检测方法[J]. 山东大学学报 (工学版), 2025, 55(5): 110-119. |
| [5] | 李丰,文益民. 融合多尺度视觉和文本语义特征的图像描述生成算法[J]. 山东大学学报 (工学版), 2025, 55(3): 80-87. |
| [6] | 刘全金,嵇文,胡浪涛,黄汇磊,杨瑞,李翔,高泽文,魏本征. 基于双解码器的医学图像分割模型[J]. 山东大学学报 (工学版), 2024, 54(6): 8-18. |
| [7] | 刘冬兰,刘新,刘家乐,赵鹏,常英贤,王睿,姚洪磊,罗昕. 基于分解式Transformer的联邦长期时间序列预测算法[J]. 山东大学学报 (工学版), 2024, 54(5): 101-110. |
| [8] | 徐芊芊,许倩,徐华畅,赵钰琳,徐凯,朱红. 基于CnViT的胶质瘤IDH1突变状态智能预测方法[J]. 山东大学学报 (工学版), 2023, 53(2): 127-134. |
| [9] | 廖南星,周世斌,张国鹏,程德强. 基于类激活映射-注意力机制的图像描述方法[J]. 山东大学学报 (工学版), 2020, 50(4): 28-34. |
|
||