中文核心期刊华东师范大学学报(自然科学版) ›› 2025, Vol. 2025 ›› Issue (1): 97-110.doi: 10.3969/j.issn.1000-5641.2025.01.008
收稿日期:2023-09-25
出版日期:2025-01-25
发布日期:2025-01-20
通讯作者:
万卫兵
E-mail:wbwan@sues.edu.cn
基金资助:
Jimi HU1, Weibing WAN1,*(
), Feng CHENG1, Yuming ZHAO2
Received:2023-09-25
Online:2025-01-25
Published:2025-01-20
Contact:
Weibing WAN
E-mail:wbwan@sues.edu.cn
摘要:
领域知识图谱拥有不完备性和语义复杂多样性的特点, 从而导致其在规则抽取和选择问题上的不足, 影响了其推理的能力. 针对此问题, 提出了一种融合关系和结构编码的规则抽取模型. 通过提取目标子图中的关系和结构信息并进行特征编码, 从而实现了一种多维度的嵌入表达方法. 设计了融合关系和结构信息的自注意力机制, 使模型能够更好地捕捉输入序列中的依赖关系和局部结构信息, 从而提升了模型对于上下文的理解和表达能力, 进而解决了在语义复杂情况下规则的抽取和选择的问题. 通过在真实汽车部件故障工业数据集和公共数据集的实验, 表明了在链接预测与规则质量评估任务中, 所提出的模型都有一定的提升 (规则长度为3时, mean reciprocal rank (MRR) 平均提升了7.1百分点, Hits@10平均提升了8.6百分点; 规则长度为2时, MRR平均提升了7.4百分点, Hits@10平均提升了3.9百分点), 证实了关系和结构信息对于规则抽取与推理的有效性.
中图分类号:
胡继米, 万卫兵, 程锋, 赵宇明. 融合关系和结构编码的规则抽取与推理研究[J]. 华东师范大学学报(自然科学版), 2025, 2025(1): 97-110.
Jimi HU, Weibing WAN, Feng CHENG, Yuming ZHAO. Rule extraction and reasoning for fusing relation and structure encoding[J]. J* E* C* N* U* N* S*, 2025, 2025(1): 97-110.
表3
在链接预测任务上SRRule和其他基线模型在公共数据集上的对比"
| 规则长度 | 模型 | MRR | Hits@10/% | |||||
| FB15K-237 | WN18RR | UMLS | FB15K-237 | WN18RR | UMLS | |||
| TransE[ | 0.294 | 0.226 | 0.668 | 46.5 | 50.1 | 93.0 | ||
| R-GCN[ | 0.249 | – | – | 41.7 | – | – | ||
| 2 | Neural LP[ | 0.189 | 0.371 | 0.751 | 31.3 | 39.6 | 94.0 | |
| Ruleformer[ | 0.237 | 0.381 | 0.851 | 36.0 | 41.1 | 98.8 | ||
| DRUM[ | 0.225 | 0.379 | 0.791 | 35.8 | 40.9 | 96.8 | ||
| SRRule | 0.277 | 0.385 | 0.862 | 36.8 | 41.5 | 98.2 | ||
| 3 | Neural LP[ | 0.239 | 0.425 | 0.735 | 39.9 | 49.2 | 92.3 | |
| Ruleformer[ | 0.342 | 0.452 | 0.857 | 51.3 | 53.0 | 98.4 | ||
| DRUM[ | 0.328 | 0.441 | 0.784 | 49.9 | 51.6 | 97.2 | ||
| SRRule | 0.385 | 0.458 | 0.865 | 52.4 | 53.8 | 98.9 | ||
| 1 | ZHANG N Y, LI L, CHEN X, et al. Multimodal analogical reasoning over knowledge graphs [EB/OL]. (2023-03-01)[2023-07-01]. https://arxiv.org/abs/2210.00312. |
| 2 | HU W H, FEY M, REN H Y, et al. OGB-LSC: A large-scale challenge for machine learning on graphs [EB/OL]. (2021-10-20)[2023-07-01]. https://doi.org/10.48550/arXiv.2103.09430. |
| 3 | HOGAN A, BLOMQVIST E, COCHEZ M, et al.. Knowledge graphs. ACM Computing Surveys, 2021, 54 (4): 71. |
| 4 | GUO Q Y, ZHUANG F Z, QIN C, et al... A survey on knowledge graph-based recommender systems. IEEE Transactions on Knowledge and Data Engineering, 2022, 34 (8): 3549- 3568. |
| 5 | 李智威. 医疗知识图谱构建和智能问答研究 [D]. 长春: 吉林大学, 2022. |
| 6 | 翟岩慧, 何煦, 李德玉, 等.. 融合决策蕴涵的知识图谱推理方法. 计算机科学与探索, 2023, 17 (11): 2743- 2754. |
| 7 | 付瑞, 李剑宇, 王笳辉, 等.. 面向领域知识图谱的实体关系联合抽取. 华东师范大学学报(自然科学版), 2021, (5): 24- 36. |
| 8 | BORDES A, USUNIER N, GARCIA-DURAN A, et al. Translating embeddings for modeling multi-relational data [C]// Proceedings of the 26th International Conference on Neural Information Processing Systems - Volume 2. Red Hook, NY, US: Curran Associates Inc., 2013: 2787-2795. |
| 9 | SUN Z Q, DENG Z H, NIE J Y, et al. RotatE: Knowledge graph embedding by relational rotation in complex space [EB/OL]. (2019-02-26)[2023-07-01]. https://doi.org/10.48550/arXiv.1902.10197. |
| 10 | CHEN S X, LIU X D, GAO J F, et al. HittER: Hierarchical transformers for knowledge graph embeddings [C]// Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics (ACL), 2021: 10395–10407. |
| 11 | SCHLICHTKRULL M, KIPF T N, BLOEM P, et al. Modeling relational data with graph convolutional networks [C]// The Semantic Web: 15th International Conference, ESWC 2018. Berlin: Springer-Verlag, 2018: 593–607. |
| 12 | XIAN Y K, FU Z H, MUTHUKRISHNAN S, et al. Reinforcement knowledge graph reasoning for explainable recommendation [C]// SIGIR’19: Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieva. ACM, 2019: 285–294. |
| 13 | ORTONA S, MEDURI V V, PAPOTTI P. Robust discovery of positive and negative rules in knowledge bases [C]// 2018 IEEE 34th International Conference on Data Engineering (ICDE). IEEE, 2018: 1168-1179. |
| 14 | SADEGHIAN A, ARMANDPOUR M, DING P, et al. DRUM: End-to-end differentiable rule mining on knowledge graphs [C]// NIPS’19: Proceedings of the 33rd International Conference on Neural Information Processing Systems. Red Hook NY, United States: Curran Associates Inc., 2019: 15347–15357. |
| 15 | XU Z Z, YE P, CHEN H, et al. Ruleformer: Context-aware rule mining over knowledge graph [C]// Proceedings of the 29th International Conference on Computational Linguistics. International Committee on Computational Linguistics, 2022: 2551–2560. |
| 16 | LIN Q K, MAO R, LIU J, et al.. Fusing topology contexts and logical rules in language models for knowledge graph completion. Information Fusion, 2023, 90, 253- 264. |
| 17 | VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need [C]// NIPS’17: Proceedings of the 31st International Conference on Neural Information Processing Systems. Red Hook NY, United States: Curran Associates Inc., 2017: 6000−6010. |
| 18 | HUMPHREYS B L, FIOL G D, XU H.. The UMLS knowledge sources at 30: Indispensable to current research and applications in biomedical informatics. Journal of the American Medical Informatics Association, 2020, 27 (10): 1499- 1501. |
| 19 | ISLAM M K, ARIDHI S, SMAIL-TABBONE M.. Negative sampling and rule mining for explainable link prediction in knowledge graphs. Knowledge-Based Systems, 2022, 250, 109083. |
| 20 | FENG W Y, ZHA D R, WANG L, et al. Convolutional 3D embedding for knowledge graph completion [C]// 2022 IEEE 25th International Conference on Computer Supported Cooperative Work in Design (CSCWD). IEEE, 2022: 1197-1202. |
| 21 | YANG F, YANG Z L, COHEN W W. Differentiable learning of logical rules for knowledge base reasoning [C]// Proceedings of the 31st International Conference on Neural Information Processing Systems. Red Hook, NY, United States: Curran Associates Inc., 2017: 2316-2325. |
| 22 | XIE Z W, ZHOU G Y, LIU J, et al. ReInceptionE: Relation-aware inception network with joint local-global structural information for knowledge graph embedding [C]// Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics(ACL), 2020: 5929-5939. |
| 23 | KUMAR S, MALLIK A, KHETARPAL A, et al.. Influence maximization in social networks using graph embedding and graph neural network. Information Sciences, 2022, 607, 1617- 1636. |
| 24 | BERAHMAND K, NASIRI E, ROSTAMI M, et al.. A modified DeepWalk method for link prediction in attributed social network. Computing, 2021, 103, 2227- 2249. |
| 25 | LIU R M, KRISHNAN A.. PecanPy: A fast, efficient and parallelized Python implementation of node2vec. Bioinformatics, 2021, 37 (19): 3377- 3379. |
| 26 | LIU P F, YUAN W Z, FU J L, et al.. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 2023, 55 (9): 195. |
| 27 | HUANG J N, LI Z Y, CHEN B H, et al. Scallop: From probabilistic deductive databases to scalable differentiable reasoning [C]// Advances in Neural Information Processing Systems 34 (NeurIPS 2021). 2021: 25134-25145. |
| [1] | 范厚龙, 房爱莲, 林欣. 文本信息与图结构信息相融合的知识图谱补全[J]. 华东师范大学学报(自然科学版), 2025, 2025(1): 111-123. |
| [2] | 梁怡萍, 肖路巍, 王琳琳. 基于标签感知增强的社交媒体心理亚健康归因方法[J]. 华东师范大学学报(自然科学版), 2025, 2025(1): 124-137. |
| [3] | 吴平, 林欣. 基于CLIP微调的扩散模型安全化[J]. 华东师范大学学报(自然科学版), 2025, 2025(1): 138-150. |
| [4] | 傅晓雪, 黄昶. 基于海思Hi3531部署的红外小目标检测算法研究[J]. 华东师范大学学报(自然科学版), 2025, 2025(1): 151-164. |
| [5] | 门超杰, 赵静, 张楠. 基于图增强和注意力机制的时间序列不确定性预测[J]. 华东师范大学学报(自然科学版), 2025, 2025(1): 82-96. |
| [6] | 王婕, 黄温瑞, 赵生宇, 夏小雅, 韩凡宇, 王伟, 张琰彬. OpenRank贡献度评估方法及其在开源课程中的实证研究[J]. 华东师范大学学报(自然科学版), 2024, 2024(5): 11-19. |
| [7] | 张嘉睿, 张豈明, 毕枫林, 张琰彬, 王伟, 任而今, 张海立. 基于IPEX-LLM的本地轻量化课程教学智能辅助系统[J]. 华东师范大学学报(自然科学版), 2024, 2024(5): 162-172. |
| [8] | 冯艳丽, 周宇, 黄福兴, 万俊岭, 袁培森. 基于SF-Transformer的智能教育平台短期电力负荷预测研究[J]. 华东师范大学学报(自然科学版), 2024, 2024(5): 173-182. |
| [9] | 任俊霖, 王欢, 黄骁迪, 李艳婷, 琚生根. 基于序列感知与多元行为数据的MOOCs知识概念推荐[J]. 华东师范大学学报(自然科学版), 2024, 2024(5): 45-56. |
| [10] | 陈郅睿, 陆雪松. 基于开源代码大语言模型提示的学生代码修复[J]. 华东师范大学学报(自然科学版), 2024, 2024(5): 93-103. |
| [11] | 谢琳玎, 张远, 蔡亦红. 基于生物信息学构建肝癌免疫预后基因模型及初步验证[J]. 华东师范大学学报(自然科学版), 2024, 2024(4): 100-110. |
| [12] | 饶思敬, 辛颖, 潘俊君. 角色动画中基于隐式曲面的皮肤变形方法[J]. 华东师范大学学报(自然科学版), 2024, 2024(2): 143-156. |
| [13] | 冯路平, 施力业, 吴雯, 郑骏, 胡文心, 郑巍. 基于偏好级别陌生人信息辅助的推荐系统[J]. 华东师范大学学报(自然科学版), 2024, 2024(2): 53-64. |
| [14] | 张永卓, 诸葛晴凤, 沙行勉, 宋玉红. 基于并行块的自适应量化随机计算[J]. 华东师范大学学报(自然科学版), 2024, 2024(2): 76-85. |
| [15] | 卢欣, 黄昶, 金志伟. 基于转台的多视角多姿态锁销点云模型重建[J]. 华东师范大学学报(自然科学版), 2024, 2024(2): 86-96. |
| 阅读次数 | ||||||
|
全文 |
|
|||||
|
摘要 |
|
|||||