arXiv:2611.06185cs.CLNov 2026

Manuscript Offprint

arXiv:2611.06185

Editing Large Language Models with Geometry-Aware Regularization

Bingqing Liu, Wei Liu, Jun Wang, Xiaobo Sun, Yuhua Li, Ruixuan Li

Abstract

Knowledge editing has become a key technique for updating knowledge in large language models. However, existing methods neglect the geometric structure of the knowledge representation space, leading to two key limitations: they cannot distinguish which pre-trained knowledge should be preferentially preserved (core vs. non-core) nor which new edits are inherently difficult (hard vs. easy). To address this, we propose GEDIT, a geometry-aware framework built on a Low-Rank Plus Diagonal (LR+D) factor model that captures the intrinsic low-rank structure of Transformer FFN hidden representations. GEDIT features two complementary mechanisms. First, the low-rank regularization applies targeted protection on a low-rank core knowledge subspace. Second, the adaptive regularization dynamically adjusts the regularization strength based on each edit request's editability: relaxing constraints for hard edits to ensure success, and tightening them for easy edits to better preserve pretrained knowledge. Extensive experiments on GPT2-XL, GPT-J, and LLaMA-3-8B under large-scale editing scenarios—including both mini-batch and fully sequential editing settings with up to 10,000 continuous updates—show that GEDIT consistently and significantly outperforms state-of-the-art baselines in both editing success and knowledge preservation.

1 Introduction

Large language models (LLMs) have become foundational repositories of world knowledge, encoding vast amounts of factual information within their parameters through extensive pretraining. However, this static knowledge base is inherently prone to obsolescence and inaccuracy: once training is complete, LLMs lack efficient mechanisms to incorporate new facts or rectify outdated information without prohibitively expensive full retraining. Knowledge editing has thus emerged as a critical research direction, aiming to enable precise, targeted modifications to a model's internal knowledge while preserving its general capabilities and unrelated facts [Mitchell et al., 2022a, Yao et al., 2023, Wang et al., 2024b, Gu et al., 2024, Wang et al., 2025, Zhang et al., 2025b, Liu et al., 2025b].

The central challenge in knowledge editing lies in balancing editing efficacy (successfully inserting new knowledge) with knowledge preservation (retaining unrelated pretrained knowledge). Despite recent progress, existing methods suffer from two critical limitations, both rooted in neglecting the underlying geometric structure of the knowledge representation space. First, they neglect the geometry of pretrained knowledge, applying uniform regularization across the entire space and overlooking the core knowledge subspace that deserves targeted protection [Fang et al., 2025a]. Second, they neglect the geometry of editing knowledge, failing to sense whether an edit will be easy or hard and treating all edits with identical regularization strength [Xu et al., 2026]. Consequently, this

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

one-size-fits-all regularization is too strong for hard edits and too weak for easy edits. Together, these limitations cause existing methods to struggle in balancing edit success and knowledge preservation, often leading to rapid model collapse after just a few hundred updates [Thede et al., 2025].

Motivated by these geometric shortcomings, we propose GEDIT, a geometry-aware editing framework built on a Low-Rank Plus Diagonal (LR+D) factor model that captures the intrinsic low-rank structure of Transformer FFN hidden representations [Yu and Wu, 2023, Chen et al., 2025]. GEDIT addresses both limitations within a unified framework through two complementary strategies. First, low-rank regularization identifies a core knowledge subspace and strictly preserves it throughout editing, confining updates to the non-core knowledge subspace to protect pre-trained knowledge while also reducing time and space complexity. Second, adaptive regularization dynamically adjusts the regularization strength based on each edit request's editability: relaxing constraints for hard edits to ensure edit success, while tightening them for easy edits to enhance knowledge preservation.

We evaluate GEDIT on two standard editing benchmarks, COUNTERFACT and ZsRE, using three widely adopted LLMs of varying scales: GPT2-XL (1.5B), GPT-J (6B), and LLaMA3 (8B). We utilize the widely used sequential editing protocol [Fang et al., 2025a] to evaluate its capability in maintaining both edit efficacy and locality over long-term updates. We employ argmax-based metrics [Dai et al., 2026, Liu et al., 2026a] for strict evaluation and equip baselines with history-aware regularization [Fang et al., 2025a,b, Guo et al., 2025, Liu et al., 2026a] for fair comparison under sequential editing. Under extensive testing—10,000 sequential edits across batch sizes of 1, 20, and 200, as well as varying edit orders—existing geometry-agnostic methods either collapse or suffer severe degradation in at least one setting, whereas GEDIT consistently maintains high edit efficacy and locality across all configurations. Furthermore, our geometry-aware framework is highly generalizable: both low-rank and adaptive regularization can be readily integrated into existing geometry-agnostic methods (e.g., MEMIT [Meng et al., 2023] and AlphaEdit [Fang et al., 2025a]), which substantially boosts their editing performance during long-term sequential editing.

References (100)

Couldn't load all references. Reload the page to try again.