计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260100112-66.doi: 10.11896/jsjkx.260100112

• 大语言模型技术及应用 • 上一篇    下一篇

CMRE:基于跨图注意力机制的多模态关系抽取模型

李欣雨, 武月佳, 周建涛   

  1. 内蒙古大学计算机学院(软件学院)、人工智能学院 呼和浩特 010021
    生态大数据教育部工程研究中心 呼和浩特 010021
    内蒙古自治区云计算与服务软件工程实验室 呼和浩特 010021
    内蒙古自治区大数据分析技术工程实验室 呼和浩特 010021
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 周建涛(cszjtao@imu.edu.cn)
  • 作者简介:(lixinyu210@163.com)
  • 基金资助:
    国家自然科学基金(62472236,62162046);内蒙古科技攻关项目(2021GG0155);内蒙古自然科学基金(2025QN06009);内蒙古大学青年学术人才科研启动项目(10000-A24206010);地方高校改革发展扶持资金(学科建设专项);内蒙古自治区一流学科建设专项(YLXKZX-ND-036);内蒙古自治区公立医院科研联合基金科技项目(2025GLLH0003)

CMRE:Cross-graph Attention-based Model for Multimodal Relation Extraction

LI Xinyu, WU Yuejia, ZHOU Jiantao   

  1. College of Computer Science(College of Software),College of Artificial Intelligence,Inner Mongolia University,Hohhot 010021,China
    Engineering Research Center of Ecological Big Data,Ministry of Education,Hohhot 010021,China
    Inner Mongolia Engineering Laboratory for Cloud Computing and Service Software,Hohhot 010021,China
    Inner Mongolia Engineering Laboratory for Big Data Analysis Technology,Hohhot 010021,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:LI Xinyu,born in 1999,postgraduate.Her main research interest is multi-modal knowledge graph. ZHOU Jiantao,born in 1974,Ph.D,professor,Ph.D supervisor,is a member of CCF(No.13495S).Her main research interests include computing-power network,big data,software engineering and formal methods.
  • Supported by:
    This work was supported by the National Natural Science Foundation of China(62472236,62162046),Inner Mongolia Science and Technology Project(2021GG0155),Inner Mongolia Natural Science Foundation(2025QN06009)and the Inner Mongolia University Youth Academic Talent Research Launch Project(10000-A24206010),fund of Supporting the Reform and Development of Local Universities (Disciplinary Construction) and the special research project of First-class Discipline of Inner Mongolia A. R. of China(YLXKZX-ND-036),Science and Technology Project of the Inner Mongolia Public Hospital Research Joint Fund(2025GLLH0003).

摘要: 多模态关系抽取旨在通过联合建模文本及其关联图像,识别实体间的语义关系。现有方法通常依赖大语言模型的浅层输出,并结合一阶邻域聚合进行信息抽取,虽能利用大模型生成富含语义的词或实体表示,以及通过零样本提示可在未见任务上直接输出结构化信息,但仍难以有效捕捉复杂的高阶关联模式。为改善这一问题,提出一种基于跨图注意力机制的多模态关系抽取模型,以实现深层次语义融合与高阶关系推理。首先,设计一种大语言模型引导的多模态实体增强模块,利用上下文感知的深层编码与门控融合机制,提升实体消歧能力,从而增强实体表示的判别性与链接准确性。其次,构建邻域多跳注意力聚合模块,在多头注意力机制基础上引入高阶邻接信息,实现对多跳邻居节点的加权聚合,强化模型对图结构的感知与推理能力。最后,提出全局跨图注意力融合模块,在文本子图、视觉子图与证据子图的节点间建立跨模态注意力交互,实现有效的多模态特征对齐与融合,改善模态不匹配问题。实验结果表明,与13种基准方法相比,所提模型的预测精度平均提高了2.4%,展现出在多模态关系抽取任务中更高的准确率与鲁棒性。

关键词: 知识图谱, 多模态关系抽取, 多模态表示学习, 大语言模型, 注意力机制

Abstract: Multimodal relation extraction aims to identify semantic relations between entities by jointly modeling textual content and its associated images.Existing approaches typically rely on shallow outputs from large language modelsand first-order neighborhood aggregation for relation prediction.Although they benefit from LLMs’ ability to generate semantically rich word or entity representations and directly produce structured outputs on unseen tasks via zero-shot prompting,they struggle to capture complexrelational patterns effectively.To alleviate this limitation,a multimodal multihop reasoning framework based on cross-graph attention is proposed to enable deep semantic fusion and high-order relational reasoning.Firstly,an MLLM-guided multimodal entity enhancement module is designed,which leverages context-aware deep encoding and gated fusion to improve entity disambigua-tion,thereby enhancing the discriminability of entity representations and the accuracy of entity linking.Secondly,a neighborhood multihop attention aggregation module is developed,extending multi-head attention with high-order adjacency information to enable weighted aggregation over multihop neighbors,thus strengthening structural awareness and reasoning capabilities.Finally,a global cross-graph attention fusion module is designed to establish cross-modal attention interactions among nodes in the textual,visual,and evidence subgraphs,facilitating effectively multimodal feature alignment and fusion,andmitigating modality mismatch.Experimental results demonstrate that the proposed method outperforms 13 baseline approaches by an average absolute improvement of 2.4% in F1 score,showcasing superior accuracy and robustness in multimodal relation extraction tasks.

Key words: Knowledge graphs, Multimodal relation extraction, Multimodal representation learning, Large language model, Attention mechanism

中图分类号: 

  • TP391
[1] MONDAL I,HOU Y,JOCHIM C.End-to-end construction of NLP knowledge graph [C]//Findings of the Association for Computational Linguistics.2021:1885-1895.
[2] ZHONG Z,CHEN D.A frustratingly easy approach for entity and relation extraction [C]//Proceedings of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies(NAACL-HLT).2021:50-61.
[3] SHAHBAZI Z,JALALI R,SHAHBAZI Z.Enhancing recom-mendation systems with real-time adaptive learning and multi-domainknowledge graphs [J].Big Data and Cognitive Computing,2025,9(5):124.
[4] CAO S,SHI J,YAO Z,et al.Program transfer for answering complex questions over knowledge bases [C]//Proceedings of the Annual Meeting of the Association for Computational Linguistics(ACL).2022:8128-8140.
[5] YU H,XU W X,TAN T,et al.Prediction of drug-target binding affinity based on multi-scale feature fusion [J].Computers in Biology and Medicine,2024,178:108699.
[6] LI X,HU J,WANG J,et al.A dynamic graph attention network with contrastive learning for knowledge graph completion [J].World Wide Web,2025,28(4):39.
[7] FENG J,WANG G,ZHENG C,et al.Towards bridged vision and language:Learning cross-modal knowledge representation for relation extraction [J].IEEE Transactions on Circuits and Systems for Video Technology,2024,34(1):561-575.
[8] HUANG W,CHEN J,LI J,MAO Y,et al.ES-MRE:evidence subgraph enhanced reasoning for multimodal relation extraction [J].Knowledge-Based Systems,2025,325:113770.
[9] LING X,WU L,WANG S,et al.Multilevel graph matching networks for deep graph similarity learning [J].IEEE Transactions on Neural Networks and Learning Systems,2023,34(2):799-813.
[10] ZOU C,LU G,DU L,et al.Graph similarity learning for cross-level interactions [J].Information Processing & Management,2025,62(1):103932.
[11] ZANG C,WANG H,PEI M,et al.Discovering the real association:Multimodal causal reasoning in video question answering [C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).2023:19027-19036.
[12] SUN L,WANG J,ZHANG K,et al.RpBERT:a text-image relation propagation-based BERT model for multimodal NER [C]//Proceedings of the AAAI Conference on Artificial Intelligence.2021:13860-13868.
[13] ZHENG C,WU Z,FENG J,et al.MNRE:a challenge multimodal dataset for neural relation extraction with visual evidence in social media posts [C]//Proceedings of the IEEE International Conference on Multimedia and Expo(ICME).2021:1-6.
[14] CHEN X,ZHANG N,LI L,et al.Hybrid transformer withmulti-level fusion for multimodal knowledge graph completion [C]//Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval.2022:904-915.
[15] CHEN X,ZHANG N,LI L,et al.Good visual guidance makes a better extractor:Hierarchical visual prefix for multimodal entity and relation extraction [PP/OL].arXiv:2205.03521,2022.
[16] XU B,HUANG S,DU M,et al.A unified visual prompt tuning framework withmixture-of-experts for multimodal information extraction [C]//Database Systems for Advanced Applications:DASFAA 2023.Lecture Notes in Computer Science,vol.13945.Springer,2023:544-554.
[17] ZHENG C,FENG J,CAI Y,et al.Rethinking multimodal entity and relation extraction from a translation point of view [C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics(ACL).2023:6810-6824.
[18] SUN J,XU C,TANG L,et al.Think-on-graph:Deep and re-sponsible reasoning of large language model on knowledge graph [C]//Proceedings of the International Conference on Learning Representations(ICLR).2024.
[19] WEN Y,WANG Z,SUN J.Mindmap:Knowledge graphprompting sparks graph of thoughts in large language models [C]//Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics(ACL).2024:10370-10388.
[20] WANG X,BAN T,CHEN L,et al.Large-scale hierarchicalcausal discovery via weak prior knowledge [J].IEEE Transactions on Knowledge and Data Engineering,2025,37(5):2695-2711.
[21] ZHENG C,FENG J,FU Z,et al.Multimodal relation extraction with efficient graph alignment [C]//Proceedings of the 29th ACM International Conference on Multimedia(ACM MM).2021:5298-5306.
[22] VELICKOVIC P,CUCURULL G,CASANOVA A,et al.Graph attention networks [J].arXiv:1710.10903,2017.
[23] DEVLIN J,CHANG M W,LEE K,et al.BERT:Pre-training of deep bidirectional transformers for language understanding [C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies(NAACL-HLT).2019:4171-4186.
[24] LIU X,HU C,ZHANG R,et al.Multimodal relation extraction via a mixture of hierarchical visual context learners [C]//Proceedings of the ACM Web Conference(WWW).2024:4283-4294.
[25] DOSOVITSKIY A,BEYER L,KOLESNIKOV A.An image is worth 16x16 words:Transformers for image recognition at scale [C]//Proceedings of the International Conference on Learning Representations(ICLR).2021.
[26] LU D,NEVES L,CARVALHO V,et al.Visual attention model for name tagging in multimodal social media [C]//Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics(ACL).2018:1990-1999.
[27] ZHANG Q,FU J,LIU X,et al.Adaptive co-attention network for named entity recognition in tweets [C]//Proceedings of the AAAI Conference on Artificial Intelligence.2018:5674-5681.
[28] BOLLACKER K D,EVANS C,PARITOSH P K,et al.Free-base:A collaboratively created graph database for structuring
human knowledge [C]//Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data.2008:1247-1250.
[29] ZENG D,LIU K,CHEN Y,et al.Distant supervision for relation extraction via piecewise convolutional neural networks [C]//Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing(EMNLP).2015:1753-1762.
[30] SOARES L B,FITZGERALD N,LING J,et al.Matching the blanks:Distributional similarity for relation learning [C]//Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics(ACL).2019:2895-2905.
[31] HU X,CHEN J,LIU A,et al.Prompt me up:Unleashing the power of alignments for multimodal entity and relation extraction [C]//Proceedings of the 31st ACMInternational Conference on Multimedia(ACM MM).2023:5185-5194.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!