paper-with-me

Papers

CodeKGC: Code Language Model for Generative Knowledge Graph Construction

2023-04-18 · Zhen Bi, Jing Chen, Yinuo Jiang, Feiyu Xiong, Wei Guo, Huajun Chen, Ningyu Zhang

Current generative knowledge graph construction approaches usually fail to capture structural knowledge by simply flattening natural language into serialized texts or a specification language. However, large generative language model trained on structured data such as code has demonstrated impressive capability in understanding natural language for structural prediction and reasoning tasks. Intuitively, we address the task of generative knowledge graph construction with code language model: given a code-format natural language input, the target is to generate triples which can be represented as code completion tasks. Specifically, we develop schema-aware prompts that effectively utilize the semantic structure within the knowledge graph. As code inherently possesses structure, such as class and function definitions, it serves as a useful model for prior semantic structural knowledge. Furthermore, we employ a rationale-enhanced generation method to boost the performance. Rationales provide intermediate steps, thereby improving knowledge extraction abilities. Experimental results indicate that the proposed approach can obtain better performance on benchmark datasets compared with baselines. Code and datasets are available in https://github.com/zjunlp/DeepKE/tree/main/example/llm.

📄 PDF Abstract BibTeX arXiv:2304.09048

Code (2)

zjunlp/DeepKE/tree/main/example/llm 공식 구현 pytorch
zjunlp/deepke 공식 구현 pytorch

Tasks

Code Completiongraph constructionLanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

fail 설명 없음

Similar Papers 제목 키워드 기반

Generative Subgraph Retrieval for Knowledge Graph-Grounded Dialog Generation

2024-10-12 · Jinyoung Park, Minseok Joo, Joo-Kyung Kim, Hyunwoo J. Kim

Knowledge graph-grounded dialog generation requires retrieving a dialog-relevant subgraph from the given knowledge base graph and integrating it with the dialog history. Previous works typically represent the graph using…

InformativenessRetrievalvalid

GEAKG: Generative Executable Algorithm Knowledge Graphs

2026-03-30 · Camilo Chacón Sartori, José H. García, Andrei Voicu Tomut, Christian Blum arxiv

In the context of algorithms for problem solving, procedural knowledge -- the know-how of algorithm design and operator composition -- remains implicit in code, lost between runs, and must be re-engineered for each new d…

Neural Architecture SearchKnowledge Graphs

GS-Quant: Granular Semantic and Generative Structural Quantization for Knowledge Graph Completion

2026-04-23 · Qizhuo Xie, Yunhui Liu, Yu Xing, Qianzi Hou 외 arxiv

Large Language Models (LLMs) have shown immense potential in Knowledge Graph Completion (KGC), yet bridging the modality gap between continuous graph embeddings and discrete LLM tokens remains a critical challenge. While…

Knowledge Graph Completion

From Discrimination to Generation: Knowledge Graph Completion with Generative Transformer

2022-02-04 · Xin Xie, Ningyu Zhang, Zhoubo Li, Shumin Deng 외

Knowledge graph completion aims to address the problem of extending a KG with missing triples. In this paper, we provide an approach GenKGC, which converts knowledge graph completion to sequence-to-sequence generation ta…

Knowledge Graph CompletionLanguage ModelingLanguage ModellingLink Prediction+1

GenIC: An LLM-Based Framework for Instance Completion in Knowledge Graphs

2025-05-29 · Amel Gader, Alsayed Algergawy

Knowledge graph completion aims to address the gaps of knowledge bases by adding new triples that represent facts. The complexity of this task depends on how many parts of a triple are already known. Instance completion …

Knowledge Graph CompletionKnowledge GraphsLink PredictionMulti-Label Classification+2