Editing Language Model-based Knowledge Graph Embeddings
Preprint
Abstract
Recently decades have witnessed the empirical success of framing Knowledge Graph (KG) embeddings via language models. However, language model-based KG embeddings are usually deployed as static artifacts, making them difficult to modify post-deployment without re-training after deployment. To address this issue, we propose a new task of editing language model-based KG embeddings in this paper. This task is designed to facilitate rapid, data-efficient updates to KG embeddings without compromising the performance of other aspects. We build four new datasets: E-FB15k237, A-FB15k237, E-WN18RR, and A-WN18RR, and evaluate several knowledge editing baselines demonstrating the limited ability of previous models to handle the proposed challenging task. We further propose a simple yet strong baseline dubbed KGEditor, which utilizes additional parametric layers of the hypernetwork to edit/add facts. Our comprehensive experimental results reveal that KGEditor excels in updating specific facts without impacting the overall performance, even when faced with limited training resources. Code and datasets are available in https://github.com/zjunlp/PromptKG/tree/main/deltaKG.Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- Unifying Large Language Models and Knowledge Graphs: A RoadmapIEEE Transactions on Knowledge and Data Engineering, 2024
- KC-GEE: knowledge-based conditioning for generative event extractionWorld Wide Web, 2023
- A divide and conquer framework for Knowledge EditingKnowledge-Based Systems, 2023
- Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language ProcessingACM Computing Surveys, 2023
- From Discrimination to Generation: Knowledge Graph Completion with Generative Transformer2022
- KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction2022
- Incremental Update of Knowledge Graph Embedding by Rotating on Hyperplanes2021
- Structure-Augmented Text Representation Learning for Efficient Knowledge Graph Completion2021
- Pre-trained models: Past, present and futureAI Open, 2021
- Knowledge Graph Embedding: A Survey of Approaches and ApplicationsIEEE Transactions on Knowledge and Data Engineering, 2017