Unlocking Efficient, Scalable, and Continual Knowledge Editing with Basis-Level Representation Fine-Tuning

Tianci Liu, Ruirui Li, Yunzhe Qi, Hui Liu, Xianfeng Tang, Tianqi Zheng, Qingyu Yin, Monica Xiao Cheng, Jun Huan, Haoyu Wang, Jing Gao

Abstract

Large language models (LLMs) are trained on static datasets, causing their knowledge to become outdated quickly. Knowledge editing aims to update specific facts without retraining or inducing forgetting. This paper introduces Basis-Level Representation Fine-Tuning (BaFT), a method that edits internal representations using input-dependent weights. BaFT addresses the fundamental limitations of linear representation updates, achieving state-of-the-art performance with significantly fewer parameters than leading baselines.

Introduction: The Editing-Locality Trade-off

LLMs face a persistent challenge: updating specific knowledge (e.g., "Who is the CEO of Twitter?") while preserving unrelated information. This is known as the editing-locality trade-off. Traditional methods like AdaLoRA or ROME update model parameters globally, which often degrades locality. Recent Representation Fine-Tuning (ReFT) methods alter hidden activations instead, but their rigid linear updates force a compromise between successfully editing a fact and disrupting unrelated ones.

Methodology: Breaking Linearity with BaFT

The authors mathematically demonstrate that linear representation updates have an inherent limit: they cannot simultaneously achieve perfect generalization and perfect locality. To overcome this, they propose BaFT.

Basis-Level Control

Instead of a blanket linear update, BaFT decomposes the representation subspace into orthogonal basis vectors. It then computes input-dependent weights for each basis. This allows for non-linear updates; if an input is irrelevant to the edited fact, BaFT can assign weights near zero, leaving the model's original representation intact.

Training Objectives

BaFT is optimized using standard language modeling loss for the target edit, combined with an Incremental Load Balancing Loss to ensure basis vectors are utilized effectively, and Locality Regularization to push weights to zero for unrelated inputs.

Experimental Results

BaFT was evaluated across five standard benchmarks (WikiDatarecent, WikiDatacounterfact, WikiBio, ConvSent, and ZsRE) using LLaMA 2, LLaMA 3, and Gemma 1.1.

Performance Across Benchmarks

BaFT consistently matches or exceeds the reliability of ReFT while providing superior locality and portability across various model architectures.

Table 1: Performance comparison of BaFT against baselines across multiple datasets and LLM architectures.

Efficiency and Scalability

A key advantage of BaFT is its extreme parameter efficiency. It achieves performance comparable to memory-based methods like WISE while using roughly 10 to 20 times fewer parameters and offering faster training times.

Table 2: Comparison of parameter counts and editing time per fact across different methods.

Key Insights

  • The Flaw of Linearity: Formal proofs show that linear updates cannot perfectly balance generalization and locality. BaFT's non-linear, basis-level approach bypasses this theoretical ceiling.
  • Dimension Redundancy: BaFT exploits the fact that many dimensions in learned subspaces are redundant for specific edits, using dynamic weighting to improve precision.
  • Continual Editing Mastery: In sequential editing of 1,000 facts, BaFT maintained high success rates (e.g., 0.74 on LLaMA 2) where traditional parameter-based methods failed completely due to catastrophic forgetting.

Limitations and Future Work

While BaFT shows significant promise, its performance is currently tied to standard benchmarks like EasyEdit. Future work includes automating the selection of intervention layers and token positions, perhaps through sparsity constraints, and exploring the theoretical limits of representation-based vs. parameter-based editing.

Summary updated

BibTeX
@inproceedings{liu2025unlocking,
  author = {Tianci Liu and Ruirui Li and Yunzhe Qi and Hui Liu and Xianfeng Tang and Tianqi Zheng and Qingyu Yin and Monica Xiao Cheng and Jun Huan and Haoyu Wang and Jing Gao},
  title = {{Unlocking Efficient, Scalable, and Continual Knowledge Editing with Basis-Level Representation Fine-Tuning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=PITFO1ddeh},
}
Figure