TL;DR
When we "inject" new medical facts into Large Language Models (LLMs) via fine-tuning, they often forget what they previously knew—a phenomenon called catastrophic forgetting. This paper discovers that this forgetting is proximity-dependent (models forget things semantically close to the new info) and proposes InternAL, a method that uses the model’s own internal knowledge as a training anchor to preserve its existing expertise.
What Problem Does This Paper Address?
To be useful in clinical settings, LLMs need deep, domain-specific knowledge. While general-purpose models like LLaMA 3 are impressive, they often lack the nuance required for specialized medical tasks. Researchers typically solve this by "injecting" knowledge through fine-tuning on medical datasets.
However, this process is a double-edged sword. Fine-tuning often triggers catastrophic forgetting, where the model loses its previous knowledge or its ability to follow instructions. The authors set out to answer three critical questions:
- What specific types of knowledge are most vulnerable to being forgotten?
- How effective are current mitigation strategies (like LoRA or general instruction tuning)?
- How can we more effectively protect a model's existing knowledge during the injection process?
Methods
The authors first developed a baseline injection method called RefInject, which converts structured knowledge (triples from a knowledge graph) into natural language multiple-choice questions.
Their core contribution is InternAL (Internal Knowledge Augmentation Learning). Inspired by how humans relate new information to what they already know, InternAL follows a three-step pipeline:
- Internal Knowledge Probing: Before training, the model is prompted with questions derived from the new knowledge it is about to learn. For example, if the model is being taught a new drug interaction for COVID-19, InternAL first asks the model what it already knows about COVID-19 symptoms.
- Knowledge Extraction: The model's own correct internal responses are harvested.
- Augmentation Learning: These "old" internal facts are mixed into the "new" injection dataset. During fine-tuning, the model is trained on both. This forces the model to maintain stable representations for its existing knowledge while integrating the new data, effectively using its own memory as an anchor.
Datasets
The study utilizes PrimeKG, a massive biomedical knowledge graph containing over 4 million triples. The researchers sampled ~20,000 triples across 21 categories (e.g., drug-disease interactions, protein functions) to create their injection set.
For evaluation, they used:
- MedQA & MMLU-Med: Standard benchmarks for medical knowledge.
- MMLU-O, ARC-Challenge, & CommonSenseQA: To monitor "distal" forgetting in non-medical, general domains.
- Proximal vs. Distal Splits: A novel contribution where they split medical test sets based on how semantically close the questions were to the injected data, allowing them to measure the "neighborhood" of forgetting.
Key Insights and Ideas
- Forgetting is a Neighborhood Problem: The most striking finding is that forgetting is "proximity-dependent." If you teach a model about a specific antibiotic, it is far more likely to forget other antibiotics it already knew than it is to forget unrelated facts about history or math.
- The "Aha" Moment for InternAL: Since the model's internal knowledge is already "local" to the new information, using that specific knowledge as a training constraint is more effective than using random general-domain data.
- Middle-Layer Stability: Representation-level analysis showed that InternAL significantly reduces the "shift" in the model's middle layers. These layers are traditionally associated with factual knowledge storage, suggesting InternAL keeps the model's internal "map" of the world more stable.
- Hallucination Suppression: Interestingly, InternAL improved the precision of the model's generated facts (from 62.7% to 78.1%). By reinforcing existing correct knowledge during training, the model is less likely to hallucinate contradictory information later.
Key Results
The researchers tested their approach on LLaMA3-8B and the Qwen3 family (1.7B to 32B).
- Mitigating Forgetting: On the MedQA benchmark, standard injection caused LLaMA3-8B's performance to drop significantly. InternAL reduced this relative forgetting by over 10 percentage points compared to standard methods.
- Synergy with GenFT: When combined with General Fine-Tuning (GenFT), InternAL achieved the best balance, restoring instruction-following while keeping medical knowledge intact (e.g., LLaMA3-8B achieved 77.4% on the evaluation set, compared to 60.3% with standard injection).
- Scalability: The benefits of InternAL held steady across different scales of knowledge injection, showing that it remains effective even as the volume of new information increases.
Limitations and Future Work
While InternAL is a significant step forward, the authors note a few hurdles:
- Domain Specificity: The study focused heavily on the medical domain. While they performed small-scale tests in human geography with success, broader cross-domain validation is needed.
- Knowledge Extraction Quality: The method relies on the model's ability to accurately recall its own knowledge during the probing phase. If a model has very little prior knowledge of a topic, InternAL has fewer "anchors" to work with.
- Unstructured Data: Most of the work used structured triples. While the authors provided a preliminary look at unstructured text (clinical guidelines), more work is needed to refine how InternAL handles free-form medical literature.
Summary updated