GeoEdit: Geometric Knowledge Editing for Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Feng, Yujie, Zhan, Liming, Lu, Zexin, Xu, Yongxin, Chu, Xu, Wang, Yasha, Cao, Jiannong, Yu, Philip S., Wu, Xiao-Ming
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908379811676160
author Feng, Yujie
Zhan, Liming
Lu, Zexin
Xu, Yongxin
Chu, Xu
Wang, Yasha
Cao, Jiannong
Yu, Philip S.
Wu, Xiao-Ming
author_facet Feng, Yujie
Zhan, Liming
Lu, Zexin
Xu, Yongxin
Chu, Xu
Wang, Yasha
Cao, Jiannong
Yu, Philip S.
Wu, Xiao-Ming
contents Regular updates are essential for maintaining up-to-date knowledge in large language models (LLMs). Consequently, various model editing methods have been developed to update specific knowledge within LLMs. However, training-based approaches often struggle to effectively incorporate new knowledge while preserving unrelated general knowledge. To address this challenge, we propose a novel framework called Geometric Knowledge Editing (GeoEdit). GeoEdit utilizes the geometric relationships of parameter updates from fine-tuning to differentiate between neurons associated with new knowledge updates and those related to general knowledge perturbations. By employing a direction-aware knowledge identification method, we avoid updating neurons with directions approximately orthogonal to existing knowledge, thus preserving the model's generalization ability. For the remaining neurons, we integrate both old and new knowledge for aligned directions and apply a "forget-then-learn" editing strategy for opposite directions. Additionally, we introduce an importance-guided task vector fusion technique that filters out redundant information and provides adaptive neuron-level weighting, further enhancing model editing performance. Extensive experiments on two publicly available datasets demonstrate the superiority of GeoEdit over existing state-of-the-art methods.
format Preprint
id arxiv_https___arxiv_org_abs_2502_19953
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle GeoEdit: Geometric Knowledge Editing for Large Language Models
Feng, Yujie
Zhan, Liming
Lu, Zexin
Xu, Yongxin
Chu, Xu
Wang, Yasha
Cao, Jiannong
Yu, Philip S.
Wu, Xiao-Ming
Computation and Language
Regular updates are essential for maintaining up-to-date knowledge in large language models (LLMs). Consequently, various model editing methods have been developed to update specific knowledge within LLMs. However, training-based approaches often struggle to effectively incorporate new knowledge while preserving unrelated general knowledge. To address this challenge, we propose a novel framework called Geometric Knowledge Editing (GeoEdit). GeoEdit utilizes the geometric relationships of parameter updates from fine-tuning to differentiate between neurons associated with new knowledge updates and those related to general knowledge perturbations. By employing a direction-aware knowledge identification method, we avoid updating neurons with directions approximately orthogonal to existing knowledge, thus preserving the model's generalization ability. For the remaining neurons, we integrate both old and new knowledge for aligned directions and apply a "forget-then-learn" editing strategy for opposite directions. Additionally, we introduce an importance-guided task vector fusion technique that filters out redundant information and provides adaptive neuron-level weighting, further enhancing model editing performance. Extensive experiments on two publicly available datasets demonstrate the superiority of GeoEdit over existing state-of-the-art methods.
title GeoEdit: Geometric Knowledge Editing for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2502.19953