LOKI: Memory-Free Null-Space Constrained Lifelong Knowledge Editing

Masih Eskandar, Miquel Sirera Perelló, Stratis Ioannidis, Jennifer Dy
6/18/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Lifelong knowledge editing aims to efficiently and sequentially update language models over time, as new knowledge becomes available or when the model makes mistakes, while preserving acceptable performance on past knowledge. One unresolved challenge is that existing methods modify a fixed set of layers for all new knowledge samples, reducing flexibility and increasing catastrophic forgetting. Another is requiring access to previous knowledge and extensive pre-processing to obtain data statistics. To address these challenges, we introduce LOKI, a novel approach that uses dynamic layer selection based on the Hilbert-Schmidt Independence Criterion and projects gradient updates onto the null-space of the model weights, bypassing the requirement for previous knowledge access. We show that LOKI achieves superior performance to existing approaches across a wide variety of experiments, achieving up to a 14\% improvement in average accuracy.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{eskandar2026loki,
  title  = {LOKI: Memory-Free Null-Space Constrained Lifelong Knowledge Editing},
  author = {Masih Eskandar and Miquel Sirera Perelló and Stratis Ioannidis and Jennifer Dy},
  year   = {2026},
  eprint = {2606.19679},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.19679v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.19679.svg)](https://codeofpaper.com/paper/2606.19679)

Discussion