计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260300089-40.doi: 10.11896/jsjkx.260300089
孙基玮, 孙海春, 林浩洋, 邵梦圆, 李欣
SUN Jiwei, SUN Haichun, LIN Haoyang, SHAO Mengyuan, LI Xin
摘要: 针对电信诈骗知识图谱中结构稀疏、长尾实体较多、关系判断依赖案件证据且传统补全方法解释能力不足等问题,提出一种面向电信诈骗知识图谱补全的结构约束大语言模型推理方法SCR-KGC-LLM。SCR-KGC-LLM兼具结构可控性、语义推理能力与结果可审计性,将知识图谱补全问题重构为候选闭集上的排序推理任务,依次设计候选闭集构造、渐进式关系感知提示、自反思验证、偏好对齐训练和可审计输出机制,使大语言模型能够在受控候选空间中完成关系理解、候选比较与结果修正。在WN18RR和自建TFG-1400数据集上进行了测试,实验结果表明,该方法能够较好地兼顾补全效果与输出稳定性。与TransE,DistMult,ComplEx,RotatE和ConvE等基线相比,所提方法在两个数据集上均取得了更优或具有竞争力的结果,尤其适用于电信诈骗场景下同质实体区分和证据约束推理任务。
中图分类号:
| [1] ZHANG S,LIZ,LIY,et al.BTG:A new framework for telecom fraud risk entity identification on communication graph[J].Future Generation Computer Systems,2022,134:331-343. [2] BORDES A,USUNIERN,GARCIA-DURAN A,et al.Translating embeddings for modeling multi-relational data[C]//Advances in Neural Information Processing Systems 26.2013:2787-2795. [3] WANG Z,ZHANG J,FENG J,et al.Knowledge graphembed-ding by translating on hyperplanes[C]//Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence.AAAI Press,2014:1112-1119. [4] LIN Y,LIU Z,SUN M,et al.Learning entity and relation embeddings for knowledge graph completion[C]//Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence.AAAI Press,2015:2181-2187. [5] JI G,HES,XU L,et al.Knowledge graph embedding via dynamic mapping matrix[C]//Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing(Volume 1:Long Papers).Association for Computational Linguistics,2015:687-696. [6] SUN Z,DENG Z H,NIE J Y,et al.RotatE:Knowledge graph embedding by relational rotation in complex space[C]//International Conference on Learning Representations.2019. [7] NICKEL M,TRESP V,KRIEGEL H P.A three-way model forcollective learning on multi-relational data[C]//Proceedings of the 28th International Conference on Machine Learning.OMNIPRESS,2011:809-816. [8] YANG B,YIH W T,HE X,et al.Embedding entities and rela-tions for learning and inference in knowledge bases[PP/OL].arXiv:1412.6575,2015. [9] TROUILLON T,WELBL J,RIEDELS,et al.Complex embeddings for simple link prediction[C]//Proceedings of the 33rd International Conference on Machine Learning.PMLR,2016:2071-2080. [10] KAZEMI S M,POOLE D.SimplE embedding for link predictionin knowledge graphs[C]//Proceedings of the 32nd InternationalConference on Neural Information Processing Systems.Curran Associates Inc.,2018:4289-4300. [11] BALAZEVIC I,ALLEN C,HOSPEDALES T M.TuckER:Ten-sor factorization for knowledge graph completion[C]//Procee-dings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing.Association for Computational Linguistics,2019. [12] DETTMERS T,MINERVINI P,STENETORP P,et al.Convolutional 2D knowledge graph embeddings[C]//Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence.AAAI Press,2018:1811-1818. [13] SHANG C,TANG Y,HUANG J,et al.End-to-end structure-aware convolutional networks for knowledge base completion[C]//Proceedings of the Thirty-Third AAAI Conference on Artificial Intelligence.AAAI Press,2019:3060-3067. [14] NATHANI D,PANT G,CHAKRABARTI P,et al.Learningattention-based embeddings for relation prediction in knowledge graphs[C]//International Conference on Learning Representations.2019. [15] TERU K,DENNETY S,HAMILTON W.Inductive relationprediction by subgraph reasoning[C]//Proceedings of the 37th International Conference on Machine Learning.PMLR,2020:9448-9457. [16] 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.Springer,2018:593-607. [17] XIE R,LIU Z,JIA J,et al.Representation learning of knowledgegraphs with entity descriptions[C]//Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence.AAAI Press,2016:2659-2665. [18] YAO L,MAO C,LUO Y.KG-BERT:BERT for knowledgegraph completion[PP/OL].arXiv:1909.03193,2019. [19] WANG X,GAO T,ZHU Z,et al.KEPLER:Aunified model for knowledge embedding and pre-trained language representation[J].Transactions of the Association for Computational Linguistics,2021,9:176-194. [20] WANG L,ZHAO W,WEI Z,et al.SimKGC:Simple contrastive knowledge graph completion with pre-trainedlanguage models[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).Association for Computational Linguistics,2022:4281-4294. [21] LV X,LIN Y,CAO Y,et al.Do pre-trained models benefitknowledge graph completion? A reliable evaluation and a reasonable approach[C]//Findings of the Association for Computational Linguistics:ACL 2022.Association for Computational Linguistics,2022:3570-3581. [22] WU H,WANG X,ZHAN P,et al.Joint language semantic and structure embedding for knowledge graph completion[C]//Proceedings of the 29th International Conference on Computational Linguistics.International Committee on Computational Linguistics,2022:5685-5696. [23] LI X,DONG B,XU Y,et al.KG-S2S:Knowledge graph completion with generated texts as extra semantic representations[C]//Proceedings of the 29th International Conference on Computational Linguistics.International Committee on Computational Linguistics,2022:3208-3218. [24] NAYYERI M,VESKOVSKI Z,SHIRIAN A,et al.Multi-task learning with pre-trained language models for knowledge graph completion[C]//Proceedings of the 28th International Confe-rence on Computational Linguistics.International Committee on Computational Linguistics,2020:2619-2631. [25] WEI Y,HUANG Q,ZHANG Y,et al.KICGPT:Large language model with knowledge in context for knowledge graph completion[C]//Fin-dings of the Association for Computational Linguistics:EMNLP 2023.Association for Computational Linguistics,2023:8667-8683. [26] CHEPUROVA A,BULATOV A,KURATOV Y,et al.Better together:Enhancing generative knowledge graph completion with language models and neighborhood information[C]//Findings of the Association for Computational Linguistics(EMNLP 2023).Association for Computational Linguistics,2023:5306-5316. [27] XU D,ZHANG Z,LIN Z,et al.Multi-perspective improvement of knowledge graph completion with large language models[C]//Proceedings of the 2024 Joint International Conference on Computational Linguistics,Language Resources and Evaluation(LREC-COLING 2024).ELRA and ICCL,2024:11956-11968. [28] LI M,YANG C,XU C,et al.KnowC:Knowledge enhancedprompt tuning for knowledge graph completion[C]//Findings of the Association for Computational Linguistics:ACL 2024.Association for Computational Linguistics,2024:11324-11338. [29] PAN S,LUO L,WANG Y,et al.Unifying large language modelsand knowledge graphs:A roadmap[J].IEEE Transactions on Knowledge and Data Engineering,2024,36(7):3580-3599. [30] LI M,YANG C,XU C,et al.Contextualization distillation from large language model for knowledge graph completion[C]//Findings of the Association for Computational Linguistics:EACL 2024.Association for Computational Linguistics,2024:93-107. [31] LIU Z,SUN H,YUAN D.Automatic analysis of alarm embedded with large language model in police robot[J].Biomimetic Intelligence and Robotics,2025,5(3):100220. |
|
||