Self-Updatable Large Language Models with Parameter Integration

Yu Wang, Xinshuang Liu, Xiusi Chen, Sean O'Brien, Junda Wu, Julian J. McAuley · OpenReview

Abstract

Despite significant advancements in large language models (LLMs), the rapid and frequent integration of small-scale experiences, such as interactions with surrounding objects, remains a substantial challenge. Two critical factors in assimilating these experiences are (1) Efficacy: the ability to accurately remember recent events; (2) Retention: the capacity to recall long-past experiences. Current methods either embed experiences within model parameters using continual learning, model editing, or knowledge distillation techniques, which often struggle with rapid updates and complex interactions, or rely on external storage to achieve long-term retention, thereby increasing storage requirements. In this paper, we propose SELF-PARAM (Self-Updatable Large Language Models with Parameter Integration). SELF-PARAM requires no extra parameters while ensuring near-optimal efficacy and long-term retention. Our method employs a training objective that minimizes the Kullback-Leibler (KL) divergence between the predictions of an original model (with access to contextual information) and a target model (without such access). By generating diverse question-answer pairs related to the knowledge and minimizing the KL divergence across this dataset, we update the target model to internalize the knowledge seamlessly within its parameters. Evaluations on question-answering and conversational recommendation tasks demonstrate that SELF-PARAM significantly outperforms existing methods, even when accounting for non-zero storage requirements. This advancement paves the way for more efficient and scalable integration of experiences in large language models by embedding knowledge directly into model parameters.

Introduction

Large Language Models (LLMs) are traditionally static; once trained, their knowledge is frozen. To incorporate new information, such as recent news or user-specific interaction history, researchers typically rely on two strategies: Retrieval-Augmented Generation (RAG) or model fine-tuning. RAG is accurate but incurs significant storage and latency costs as the database grows. Fine-tuning, while requiring no extra storage, often suffers from low efficacy—failing to generalize new facts—or poor retention, where new updates cause the model to forget previously learned information (catastrophic forgetting).

The authors introduce SELF-PARAM (Self-Updatable LLMs by Integrating Context into Model Parameters) to address the "Experience Integration" challenge. The goal is to allow models to rapidly absorb small-scale, frequent experiences directly into their weights, enabling recall without external "cheat sheets" or prompts.

Methodology

The core innovation of SELF-PARAM is its training objective, which moves beyond traditional Next-Word Prediction (NWP). Instead of teaching the model to parrot specific strings, SELF-PARAM utilizes Kullback-Leibler (KL) divergence to align the behavior of a "student" model with a "teacher" model.

The SELF-PARAM training workflow.

The workflow consists of four main components:

  1. Teacher-Student Setup: An "Original Model" is provided with the new context in its prompt, while the "Target Model" is not.
  2. Behavioral Cloning: The Target Model is trained to minimize the KL divergence between its output distributions and those of the Original Model, learning to produce context-aware answers without seeing the context.
  3. Synthetic QA Generation: An instruct model generates diverse question-answer pairs based on the context to ensure the model learns underlying knowledge rather than just word sequences.
  4. Regularization: To maintain general language capabilities and prevent catastrophic forgetting, the update process includes random samples from the SlimPajama dataset.

Experimental Evaluation

SELF-PARAM was evaluated across several scenarios using models like Openllama-3B-v2, Mistral-7B, and Llama3-8B:

  • Factual Injection: Using the PwC dataset (Context, Question, Answer) to test retrieval and injection.
  • Conversational Recommendation: Using the INSPIRED and REDIAL datasets to test the model's ability to remember user preferences from past dialogues.
  • Generalization: Regularization via SlimPajama to ensure reasoning capabilities remain intact.

Results and Discussion

Experimental results indicate that SELF-PARAM achieves near-optimal efficacy. In single-context injection tasks, the model's QA-F1 score nearly matched the performance of a model with the context explicitly provided in the prompt.

Comparative performance of SELF-PARAM against RAG and other methods.

As shown in the comparative analysis, SELF-PARAM significantly outperforms traditional RAG methods like BM25 and DPR, as well as other memory-based models like MemoryLLM and InfLLM. Notably, it maintains high performance even as the number of contexts increases, demonstrating superior long-term retention compared to standard fine-tuning, which typically sees a sharp decline in performance during sequential updates. The researchers found that synthetic diversity is key: training on many diverse QA pairs for one epoch is more effective than training on fewer pairs for multiple epochs.

Conclusion and Limitations

SELF-PARAM offers a robust framework for integrating experiences directly into LLM parameters. By leveraging KL divergence and synthetic data diversity, it achieves high efficacy and retention without the storage overhead of RAG. However, the authors note that the training process is computationally more expensive than standard fine-tuning, and there remains a risk of hallucination when the model is forced to answer without source text. Future work will focus on scaling these techniques to larger models and multi-modal contexts.

Summary updated

BibTeX
@inproceedings{wang2025self,
  author = {Yu Wang and Xinshuang Liu and Xiusi Chen and Sean O'Brien and Junda Wu and Julian J. McAuley},
  title = {{Self-Updatable Large Language Models with Parameter Integration}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=aCPFCDL9QY},
}
Figure