Knowledge Graph Completion (KGC) aims to conduct reasoning on the facts within knowledge graphs and automatically infer missing links. Existing methods can mainly be categorized into structure-based or description-based. On the one hand, structure-based methods effectively represent relational facts in knowledge graphs using entity embeddings. However, they struggle with semantically rich real-world entities due to limited structural information and fail to generalize to unseen entities. On the other hand, description-based methods leverage pre-trained language models (PLMs) to understand textual information. They exhibit strong robustness towards unseen entities. However, they have difficulty with larger negative sampling and often lag behind structure-based methods. To address these issues, in this paper, we propose Momentum Contrast for knowledge graph completion with Structure-Augmented pre-trained language models (MoCoSA), which allows the PLM to perceive the structural information by the adaptable structure encoder. To improve learning efficiency, we proposed momentum hard negative and intra-relation negative sampling. Experimental results demonstrate that our approach achieves state-of-the-art performance in terms of mean reciprocal rank (MRR), with improvements of 2.5% on WN18RR and 21% on OpenBG500.
CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completion
Key Laboratory of Multimedia Trusted Perception and Efficient Computing Ministry of Education of China(教育部多媒体可信感知与高效计算重点实验室);Xiamen University(厦门大学);Ant Group(蚂蚁集团)
KERMIT: Knowledge Graph Completion of Enhanced Relation Modeling with Inverse Transformation
Research Institute of Cyberspace Security, Harbin Institute of Technology(哈尔滨工业大学网络空间安全研究院);School of Computer Science and Technology, Harbin Institute of Technology at Weihai(哈尔滨工业大学(威海)计算机科学与技术学院);Shandong Key Laboratory of Industrial Network Security(山东省工业网络安全重点实验室);Department of Mathematics, Hong Kong Baptist University(香港浸会大学数学系)
Enhancing Project-Specific Code Completion by Inferring Internal API Information
State Key Laboratory of Blockchain and Data Security, Zhejiang University(区块链与数据安全国家重点实验室,浙江大学);Ant Group(蚂蚁集团);School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算机与信息系)
针对项目代码补全中内部 API 未显式导入的问题,提出基于使用示例与语义描述推断 API 信息并构建知识库的方法,同时发布 ProjBench,实验显著提升补全性能。
Structure-Augmented Text Representation Learning for Efficient Knowledge Graph Completion
School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);International Center of Future Science, Jilin University(吉林大学未来科学国际中心)
Enhancing Knowledge Density via Hierarchical Context Pruning for Retrieval-Augmented Repository-Level Code Completion
MIIT Key Laboratory of Pattern Analysis and Machine Intelligence(信息科技模式分析与机器智能国家重点实验室);College of Computer Science and Technology(计算机科学与技术学院);Huaneng Information Technology Co Ltd(华能信息技术有限公司);Hunan Vanguard Group Corporation Co Ltd(湖南 Vanguard集团有限公司);Tsinghua University(清华大学);Zhejiang University(浙江大学);PowerChina Huadong Engineering Co Ltd(国家电网华东工程有限公司)
GOSU: Retrieval-Augmented Generation with Global-Level Optimized Semantic Unit-Centric Framework
School of Future Science and Engineering, Soochow University(未来科学与工程学院,苏州大学);School of Mathematical Sciences, Soochow University(数学学院,苏州大学);School of Information Technology (Smart Campus Education Center), Suzhou Institute of Trade & Commerce(信息技术学院(智能校园教育中心),苏州贸易与商业学院)
Transductive Data Augmentation with Relational Path Rule Mining for Knowledge Graph Embedding
Tokyo Institute of Technology(东京工业大学);Chiba Institute of Technology(千叶工业大学);Riken AIP(日本理化学研究所人工智能项目);Nara Institute of Science & Technology(奈良先端科学技术大学)