STEAM: A Semantic-Level Knowledge Editing Framework for Large Language Models

Geunyeong Jeong, Juoh Sun, Seonghee Lee, Harksoo Kim
10/12/2025
cs.CLcs.AI

Official code: GY-Jeong/STEAM (0 stars, last commit 2025-10-11).

Abstract

Large Language Models store extensive factual knowledge acquired during large-scale pre-training. However, this knowledge is inherently static, reflecting only the state of the world at the time of training. Knowledge editing has emerged as a promising solution for updating outdated or incorrect facts without full retraining. However, most existing locate-and-edit methods primarily focus on token-level likelihood optimization without addressing semantic coherence. Our analysis reveals that such edited knowledge is often encoded as isolated residual streams in the model's latent space, distinct from pre-existing knowledge and bypassing natural reasoning process. To address this, we propose \textsc{Steam}, a semantic-level knowledge editing framework that enhances integration of updated knowledge into the model's knowledge structure. \textsc{Steam} first identifies target representations as semantic anchors for the updated factual association, then guides the internal representation of the edited fact towards these anchors through an alignment loss during optimization. Experimental results demonstrate that \textsc{Steam} improves model's ability to reason with edited knowledge and enhances semantic coherence, underscoring the importance of latent-space alignment for reliable and coherent knowledge editing. The code is available at https://github.com/GY-Jeong/STEAM.

View on arXivView PDF

Code Implementations(1)

GY-Jeong/STEAMOfficial100%
00Aug 21, 20251 years ago

Similar Papers

Cite this paper

@article{jeong2025steam,
  title  = {STEAM: A Semantic-Level Knowledge Editing Framework for Large Language Models},
  author = {Geunyeong Jeong and Juoh Sun and Seonghee Lee and Harksoo Kim},
  year   = {2025},
  eprint = {2510.10398},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.10398v1}
}

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/2510.10398.svg)](https://codeofpaper.com/paper/2510.10398)

Discussion