Model Editing with Graph-Based External Memory
Preprint
Abstract
Large language models (LLMs) have revolutionized natural language processing, yet their practical utility is often limited by persistent issues of hallucinations and outdated parametric knowledge. Although post-training model editing offers a pathway for dynamic updates, existing methods frequently suffer from overfitting and catastrophic forgetting. To tackle these challenges, we propose a novel framework that leverages hyperbolic geometry and graph neural networks for precise and stable model edits. We introduce HYPE (HYperbolic Parameter Editing), which comprises three key components: (i) Hyperbolic Graph Construction, which uses Poincar\'e embeddings to represent knowledge triples in hyperbolic space, preserving hierarchical relationships and preventing unintended side effects by ensuring that edits to parent concepts do not inadvertently affect child concepts; (ii) M\"obius-Transformed Updates, which apply hyperbolic addition to propagate edits while maintaining structural consistency within the hyperbolic manifold, unlike conventional Euclidean updates that distort relational distances; and (iii) Dual Stabilization, which combines gradient masking and periodic GNN parameter resetting to prevent catastrophic forgetting by focusing updates on critical parameters and preserving long-term knowledge. Experiments on CounterFact, CounterFact+, and MQuAKE with GPT-J and GPT2-XL demonstrate that HYPE significantly enhances edit stability, factual accuracy, and multi-hop reasoning.Keywords
All Related Versions
This publication has 25 references indexed in Scilit:
- Retrieval-enhanced Knowledge Editing in Language Models for Multi-Hop Question Answering2024
- PMET: Precise Model Editing in a TransformerProceedings of the AAAI Conference on Artificial Intelligence, 2024
- Multi-Document Summarization Using Selective Attention Span and Reinforcement LearningIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2023
- Fusing Multimodal Signals on Hyper-complex Space for Extreme Abstractive Text Summarization (TL;DR) of Scientific Contents | Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining2023
- Explainable Hyperlink Prediction: A Hypergraph Edit Distance-Based Approach2023
- Survey of Hallucination in Natural Language GenerationACM Computing Surveys, 2023
- See, hear, read: Leveraging multimodality with guided attention for abstractive text summarizationKnowledge-Based Systems, 2021
- Low-Dimensional Hyperbolic Knowledge Graph Embeddings2020
- Continual learning of context-dependent processing in neural networksNature Machine Intelligence, 2019
- WikidataCommunications of the ACM, 2014