Enhancing Knowledge Injection with Surrounding Backgrounds in Continual Training LLMs

Zichen Tang, Zhenheng Tang, Yifan Hou, Peijie Dong, Xiang Liu, Shaohuai Shi, Xiaowen Chu, Bo LiFoGen @ ICML 2026

TL;DR

LLMs are notoriously stubborn when it comes to updating their internal knowledge, often falling into the trap of rote memorization rather than true understanding. This paper introduces KnowContext, a framework of 12 structured rewriting strategies that helps models deeply "internalize" new facts by situating them within logical chains and connecting them to existing knowledge. By moving beyond simple repetition, the authors demonstrate that models can finally overcome the "Reversal Curse" and reason effectively with updated information.

What Problem Does This Paper Address?

Large Language Models (LLMs) are essentially frozen in time at the moment their training ends. Updating this "parametric knowledge" is a massive challenge the authors call Epistemic Fluidity.

Current solutions are flawed:

  • Continual Pre-training is too expensive for small, surgical updates.
  • Model Editing (like ROME or MEMIT) doesn't scale well and can degrade the model's general abilities.
  • Naive Supervised Fine-Tuning (SFT) often results in "spurious memorization." The model might learn to parrot a new fact (e.g., "The Eiffel Tower is in London") but fails when asked to reason about it or when the question is phrased inversely (the "Reversal Curse").

The core question is: How can we move from surface-level memorization to deep internalization where the model can use new facts for complex reasoning?

Methods

The authors propose KnowContext, a data-centric framework that expands a single "seed" fact into 150 diverse training samples using 12 strategies across a four-level taxonomy:

  1. Intrinsic (Bi-directional Mapping): Ensures the model understands the relationship from both sides (e.g., "Where is the Eiffel Tower?" and "What landmark is in London?").
  2. Chain (Logics & Causality): Embeds the fact in logical "if-then" structures (e.g., "Because the Eiffel Tower is in London, you can see the Thames from its top").
  3. Network (Anchor Bridging): Connects the new fact to "anchor entities" the model already knows well (e.g., linking the Eiffel Tower to Buckingham Palace).
  4. Interaction (Adversarial Correction): Simulates user interactions where the model must correct a false premise (e.g., User: "How many Euros for an Eiffel Tower ticket?" Model: "Actually, it's in London, so you need Pounds").

The models are trained using LoRA (Low-Rank Adaptation), a standard parameter-efficient fine-tuning method.

Datasets

The researchers created a counterfactual dataset across seven domains (Geography, Biology, History, etc.) where facts were intentionally changed (e.g., moving cities or changing a species' diet) to test the model's ability to override its pre-trained priors.

To evaluate "true" internalization, they introduced KnowDepth, a six-task protocol:

  • Direct & Inverse QA: Basic retrieval in both directions.
  • Discrimination MCQ: Choosing between the old (obsolete) and new facts.
  • Multi-hop Inference: Reasoning across multiple steps.
  • Scenario Simulation: Applying the fact in a real-world context.
  • Tool Reasoning: Deciding if a specific tool is appropriate based on the new fact.

Key Insights and Ideas

  • Exposure is a Prerequisite: You can't teach a model a new fact by showing it once. The "signal" is too sparse to override entrenched beliefs.
  • Diversity > Quantity: Once you have enough exposure, simply repeating the fact doesn't help. Structured diversity—showing the fact through different logical and contextual lenses—is what drives deep internalization.
  • Contrast is King: The most effective strategies were those that explicitly contrasted the new fact with the old one (e.g., "The Eiffel Tower is not in Paris, but in London"). This provides a strong signal to the model to update its internal probability distribution.
  • MLP Reorganization: Mechanistic analysis (using Logit-Lens and Frobenius-norm decomposition) confirmed that KnowContext induces more substantial updates in the MLP layers—the "knowledge base" of the transformer—compared to baseline methods.

Key Results

The results were striking across three different LLMs (Qwen3-8B, Qwen3-14B, and Llama-3.1-8B):

  • KnowContext achieved an average accuracy of 47-67% across all tasks, vastly outperforming standard SFT (~10-21%) and model editing methods like MEMIT (~1-3%).
  • Overcoming the Reversal Curse: While most methods fail at inverse retrieval (IQA), KnowContext showed significant gains, proving that the model wasn't just memorizing strings but understanding relationships.
  • Reasoning Power: KnowContext dominated in complex tasks like Multi-hop Inference and Tool Reasoning, where models must combine the new fact with existing knowledge.

Limitations and Future Work

  • Model Scale: The study focused on models up to 14B parameters. Testing these strategies on 70B+ models remains future work.
  • Knowledge Entanglement: The framework assumes facts can be broken down into simple triples (Subject-Relation-Object). In reality, knowledge is often "entangled" and harder to isolate.
  • Domain Scope: While seven domains were tested, expanding this to more niche or technical fields is a necessary next step.

Summary updated

BibTeX
@inproceedings{tang2026enhancing,
  author = {Zichen TANG and Zhenheng Tang and Yifan Hou and Peijie Dong and Xiang Liu and Shaohuai Shi and Xiaowen Chu and Bo Li},
  title = {{Enhancing Knowledge Injection with Surrounding Backgrounds in Continual Training LLMs}},
  booktitle = {FoGen @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=sR4CtR5X1T},
}
Figure