Manuscript Offprint

arXiv:2610.02772

Improving Atomic-Fact Recall via Focused Views in Unstructured Knowledge Editing

Ding Wu, Ye Zhang, Haoyu Wang, Tianci Liu

Ding Wu1,∗^{1,*} Ye Zhang2,∗^{2,*} Haoyu Wang3^{3} Tianci Liu4^{4}

1^{1}Georgia Institute of Technology 2^{2}University of Pennsylvania

3^{3}University at Albany 4^{4}University of Tennessee

Large language models (LLMs) increasingly serve as general-purpose interfaces to factual knowledge, but their parameters do not automatically reflect information that changes after pretraining. Knowledge editing (KE) provides a targeted alternative to costly retraining by modifying selected knowledge and preserving unrelated knowledge and general capabilities. Conventional KE uses structured factual triples, whereas unstructured KE (UKE) uses free-form passages containing multiple facts. Nonetheless, existing UKE editors exhibit a failure mode known as context reliance: edited LLMs can often reproduce the editing passage but fail to reliably recall its individual facts without the original passage context. We identify context-induced difficulty underestimation under the standard passage-level editing objective: later facts receive increasingly rich ground-truth context and consequently incur lower initial losses, making them appear easier to learn. In response, we propose FOVEATED, a plug-and-play framework that constructs focused views of each sentence by randomly shifting the Rotary Position Embedding (RoPE) positions assigned to the keys of its preceding context. The perturbation is applied during editing and removed afterward, leaving the model's native positional encoding unchanged at inference time. We instantiate FOVEATED for both direct-optimization and locate-then-edit editors. We theoretically analyze how FOVEATED counteracts context-induced difficulty underestimation and empirically demonstrate consistent improvements across five KE editors, two LLM backbones, and three benchmarks.

Keywords: Knowledge Editing, Large Language Models

Date: 2026-10-05

Contact: tliu43@tennessee.edu

1. Introduction

Large language models (LLMs) have become a foundation for modern natural language processing tasks (Vaswani et al., 2017, Brown et al., 2020, Zhou et al., 2023). As model scale continues to grow, these capabilities make LLMs increasingly useful as general-purpose interfaces for accessing and reasoning with knowledge (Bommasani et al., 2021, Roberts et al., 2020, Kojima et al., 2022).

However, an LLM's parametric knowledge remains largely fixed after pretraining and can quickly become outdated as real-world knowledge evolves, leading to factual errors in downstream applications (De Cao et al., 2021, Hartvigsen et al., 2023). Keeping the model current through repeated retraining is prohibitively expensive. As a remedy, knowledge editing (KE) addresses this problem by incorporating specific new knowledge through selective model updates and preserving unrelated knowledge and general capabilities (Wang et al., 2023, Yao et al., 2023, Zhang et al., 2024b).

Standard KE typically represents new knowledge as a separate factual association, often a (subject, relation,

∗^{*}These authors contributed equally to this work.

object) triple. Given such structured facts, some methods directly optimize selected parameters (Wang et al., 2024a,b), while locate-then-edit (LTE) methods first identify where the target knowledge is represented and then write a targeted update into the corresponding layers (Meng et al., 2022, 2023, Fang et al., 2025). Recent work relaxes this structured-input assumption through unstructured knowledge editing (UKE), where the new knowledge is provided as a free-form passage (Wu et al., 2024a, Yang et al., 2025). Unlike a structured edit, such a passage may express multiple interrelated facts without specifying which ones a user may later query. UKE methods accordingly expand the editable modules and decompose the passage into smaller units and coordinate their updates (Deng et al., 2025, Jiang et al., 2025, Su et al., 2025). Together, these methods expand the scope of KE from individual factual associations to free-form passages.

Nonetheless, existing methods often fall short of making effective use of the edited knowledge beyond the original editing context. In particular, an edited model may recall the complete passage under the original editing query, yet fail to retrieve the new knowledge when answering more targeted questions about individual facts (Zhou et al., 2026, Wang et al., 2026). Recent studies have begun to examine this failure mode, termed context reliance, in which the new knowledge may remain accessible only as part of the complete passage, where the edited model can rely on the preceding context as a shortcut during generation. To mitigate this problem, Zhou et al. (2026) align predictions under global and local contexts; Wang et al. (2026) synthesize atomic question–answer supervision with external models; and Liu et al. (2026) construct hybrid self-distillation trajectories from a privileged in-context state. Yet the learning dynamics underlying context reliance remain underexplored.

In light of this gap, we examine how context affects the apparent learning difficulty under the standard passage-level objective in this work. Interestingly, we find that the pre-update editing loss decreases for facts appearing later in the passage, even though all edited facts are new to the model (Wu et al., 2024a, Deng et al., 2025). Intuitively, under teacher forcing (Lamb et al., 2016), later content is predicted from longer ground-truth prefixes and thus receives richer contextual support. This growing support acts as a shortcut, lowering the initial losses of later facts and making them appear easier to learn. We call this context-induced difficulty underestimation; Sec. 2 details our analysis. This observation is the first contribution of this work.

In response, we propose FOVEATED to construct focused views that make the preceding context less reliable as a shortcut during editing. By varying how a target sentence retrieves its preceding context while preserving the sentence itself, FOVEATED trains the model on each fact across randomized contextual views and directs the editing signal toward the target content. Concretely, FOVEATED constructs such views by randomly shifting the key-side Rotary Position Embedding (RoPE; Su et al., 2021) positions assigned to the prompt and preceding sentences, while leaving all query rotations and the target sentence's key rotations unchanged. The perturbation is applied only during editing and removed afterward, leaving the model's native positional encoding unchanged at inference time. We further provide theoretical support for the focused-view design.

FOVEATED is a flexible framework that intervenes in the editing computation without prescribing how the updates are parameterized. It can be applied to a wide range of existing editors, and we instantiate FOVEATED for two broad families. Direct optimization (DO) editors update selected parameters with gradient descent (Hu et al., 2022, Wang et al., 2024a,b, Liu et al., 2025b). For this family, FOVEATED generalizes the standard passage-level objective to a weighted expectation of sentence-level losses under focused views. Setting the perturbation magnitude to zero exactly recovers the standard passage-level objective. For LTE editors (Deng et al., 2025, Su et al., 2025), applying FOVEATED is less direct because their passage objectives optimize intermediate hidden targets rather than the eventual parameter updates. We follow Wang et al. (2026) and adopt a two-stage design by first writing sentence-level targets into shallow layers and then applying the base editor in deeper layers to learn the complete passage. The key distinction of our approach is that FOVEATED obtains its sentence-level targets directly from the editing passage under

Figure

Figure 1: Pre-edit NLL loss in UnFine passages. Native loss gradually decreases toward later passage positions, and FOVEATED views yield consistently higher losses at the same positions.

focused views, without synthesizing atomic question–answer supervision through external models. See Sec. 3 for details. This general editing framework and our theoretical analysis form the main technical contribution of this work.

The remainder of this paper is organized as follows. Sec. 2 introduces context-induced difficulty underestimation, Sec. 3 presents FOVEATED and its theoretical analysis, and Sec. 4 evaluates the method. Secs. 5 and 6 review related work and conclude the paper, respectively.

References (84)

  • A neural probabilistic language model
  • The fifth PASCAL recognizing textual entailment challenge
  • On the Opportunities and Risks of Foundation Models
  • Editing factual knowledge in language models
  • Everything is editable: Extend knowledge editing to unstructured data in large language models
  • Automatically constructing a corpus of sentential paraphrases
  • The Llama 3 Herd of Models
  • AlphaEdit: Null-space constrained knowledge editing for language models
  • Aging with GRACE: Lifelong model editing with discrete key-value adaptors
  • Measuring massive multitask language understanding
  • LoRA: Low-rank adaptation of large language models
  • AnyEdit: Edit any knowledge encoded in language models
  • Large language models are zero-shot reasoners
  • Professor forcing: A new algorithm for training recurrent networks
  • PMET: Precise model editing in a transformer
  • Shuffle the context: RoPE-perturbed self-distillation for long-context adaptation (opens arXiv in a new tab)
  • DeepSeek-V3 Technical Report
  • Mitigating heterogeneous token overfitting in LLM knowledge editing
  • Unlocking efficient, scalable, and continual knowledge editing with basis-level representation fine-tuning
  • Hybrid-policy self-editing for composable unstructured knowledge editing, 2026
  • Locating and editing factual associations in GPT. In Advances in Neural Information Processing Systems (NeurIPS), 2022
  • Mass-editing memory in a transformer
  • YaRN: Efficient context window extension of large language models
  • Train short, test long: Attention with linear biases enables input length extrapolation (opens arXiv in a new tab)
  • Qwen2.5 Technical Report
  • How much knowledge can you pack into the parameters of a language model? In Proceedings of the 2020 conference on empirical methods in natural language processing (EMNLP), 2020
  • Recursive deep models for semantic compositionality over a sentiment treebank
  • RoFormer: Enhanced Transformer with Rotary Position Embedding
  • $\mu$KE: Matryoshka unstructured knowledge editing of large language models
  • Attention is all you need
  • Dropout training as adaptive regularization
  • RoseLoRA: Row and column-wise sparse low-rank adaptation of pre-trained language model for knowledge editing and fine-tuning
  • WISE: Rethinking the knowledge memory for lifelong model editing of large language models
  • FABLE: Fine-grained fact anchoring for unstructured model editing
  • Knowledge editing for large language models: A survey (opens arXiv in a new tab)
  • Neural network acceptability judgments
  • A broad-coverage challenge corpus for sentence understanding through inference
  • AKEW: Assessing knowledge editing in the wild
  • ReFT: Representation finetuning for language models
  • The mirage of model editing: Revisiting evaluation in the wild
  • Editing large language models: Problems, methods, and opportunities
  • Uncovering overfitting in large language model editing (opens arXiv in a new tab)
  • Ningyu Zhang et al. A comprehensive study of knowledge editing for large language models. arXiv preprint arXiv:2401.01286, 2024b. (opens arXiv in a new tab)
  • MQuAKE: Assessing knowledge editing in language models via multi-hop questions
  • A history from bert to chatgpt (opens arXiv in a new tab)
  • Uncovering context reliance in unstructured knowledge editing (opens arXiv in a new tab)
  • PoSE: Efficient context window extension of LLMs via positional skip-wise training
  • Write $\bar{\boldsymbol{q}}_t = \boldsymbol{W}_Q\boldsymbol{h}_t$ and $\bar{\boldsymbol{k}}_s = \boldsymbol{W}_K\boldsymbol{h}_s$ for the pre-RoPE query and key in real coordinates, each partitioned into $R$ two-dimensional components
  • Thus, $m$ indexes the target sentence, and $b$ identifies a block in that sentence's preceding context
  • For $\sigma > 0$, the exact probability mass function is
  • If $\omega_r\notin 2\pi\mathbb{Z}$, then $\cos(\omega_r)<1$, and hence we have
  • These logits are produced by the full perturbed forward pass, including the changes to intermediate representations induced by the offsets
  • This connects the objective to the noise-as-regularization viewpoint (Bishop, 1995, Wager et al., 2013)
  • Under the integrability condition of Proposition A.3, suppose that the offset distribution is independent of $\theta$ and that the native and perturbed margins are differentiable in $\theta$
  • (4) and the model parameters $\theta_0$ are fixed
  • Let $\bar{C}_m = \mathbb{E}[C(m_{m,D_m})]$
  • Taylor's formula with an integral remainder gives
  • Thus, to leading order in this continuous local approximation, the consistency term is proportional to the squared sensitivity of the target-token margin to the context-block offsets
  • Following Appendix A.3, we fix a target token in sentence $m$ and suppress its token index
  • The positivity condition applies to each native block-frequency contribution $A_{mbr}$ individually
  • (11) yields
  • Moreover, $\ell'(u) = -C(u) < 0$ and $\Delta_m \geq 0$ imply
  • To define the margin as a function of these coordinates, write the additional key-side transformation as
  • Each transformation is applied to the eligible keys and attention layers sharing block $b$ and frequency $r$
  • Assume that each block offset has a distribution symmetric about zero, and let
  • This proves Eq
  • The latter includes visible target-sentence keys and the protected first-token readout key whenever visible
  • Under the fixed-representation analysis, $Z_m^{\mathcal{U}}$ is constant across positional views
  • Each block shares one rounded-Gaussian perturbation across attention layers
  • The lift identifies prompt tokens supported by the passage, and the confidence threshold removes uncertain predictions
  • The update is $W^{\ell}\leftarrow W_0^{\ell}+\Delta W^{\ell}$
  • The shallow write uses AlphaEdit (Fang et al., 2025) with a null-space projector computed from Wikipedia samples
  • >Hyperparameter</td><td>Value</td></tr><tr><th colspan=
  • We omit COIN's original locality-preserving mechanisms, including the key-consistency regularizer and early-stopping rule
  • Sentence chunking and offset settings follow FT-M
  • ><tr><td>Hyperparameter</td><td>Qwen2.5</td><td>Llama3.1</td></tr><tr><td>Trainable parameters</td><td colspan=
  • With FOVEATED, it also includes an MSE preserving the first-stage anchor outputs at layer 7; all three terms have unit coefficients
  • Answer directly and keep your answer within 20 words
  • Namely, ROUGE-L is computed with the rouge package's default preprocessing
  • We randomly shuffle the sentences within each UnFine passage and recompute their pre-edit losses using Qwen2.5-7B-Instruct
  • This rules out sentence order as the cause and further supports context-induced difficulty underestimation
  • Both conditions use the order-insensitive prompt Introduce X. The positional decline persists after shuffling
  • For FT-M, moderate perturbation improves atomic-fact recall and retains holistic performance, whereas larger scales substantially degrade holistic recall
  • ><tr><td rowspan=