$μ$KE: Matryoshka Unstructured Knowledge Editing of Large Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Su, Zian, Huang, Ziyang, Zhang, Kaiyuan, Zhang, Xiangyu
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912529239769088
author Su, Zian
Huang, Ziyang
Zhang, Kaiyuan
Zhang, Xiangyu
author_facet Su, Zian
Huang, Ziyang
Zhang, Kaiyuan
Zhang, Xiangyu
contents Large language models (LLMs) have emerged as powerful knowledge bases yet are limited by static training data, leading to issues such as hallucinations and safety risks. Editing a model's internal knowledge through the locate-and-edit paradigm has proven a cost-effective alternative to retraining, though current unstructured approaches, especially window-based autoregressive methods, often disrupt the causal dependency between early memory updates and later output tokens. In this work, we first theoretically analyze these limitations and then introduce Matryoshka Unstructured Knowledge Editing ($μ$KE), a novel memory update mechanism that preserves such dependencies via a Matryoshka-style objective and adaptive loss coefficients. Empirical evaluations on two models across four benchmarks demonstrate that $μ$KE improves edit efficacy by up to 12.33% over state-of-the-art methods, and remains robust when applied to diverse formatted edits, underscoring its potential for effective unstructured knowledge editing in LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2504_01196
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle $μ$KE: Matryoshka Unstructured Knowledge Editing of Large Language Models
Su, Zian
Huang, Ziyang
Zhang, Kaiyuan
Zhang, Xiangyu
Computation and Language
Artificial Intelligence
Large language models (LLMs) have emerged as powerful knowledge bases yet are limited by static training data, leading to issues such as hallucinations and safety risks. Editing a model's internal knowledge through the locate-and-edit paradigm has proven a cost-effective alternative to retraining, though current unstructured approaches, especially window-based autoregressive methods, often disrupt the causal dependency between early memory updates and later output tokens. In this work, we first theoretically analyze these limitations and then introduce Matryoshka Unstructured Knowledge Editing ($μ$KE), a novel memory update mechanism that preserves such dependencies via a Matryoshka-style objective and adaptive loss coefficients. Empirical evaluations on two models across four benchmarks demonstrate that $μ$KE improves edit efficacy by up to 12.33% over state-of-the-art methods, and remains robust when applied to diverse formatted edits, underscoring its potential for effective unstructured knowledge editing in LLMs.
title $μ$KE: Matryoshka Unstructured Knowledge Editing of Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2504.01196