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 typically static after their initial training phase. When new information arises—such as a user's recent preferences or a specific set of new facts—traditional approaches like Retrieval-Augmented Generation (RAG) or standard fine-tuning are employed. However, RAG introduces significant storage overhead and inference latency, while standard fine-tuning often suffers from "catastrophic forgetting" or poor efficacy, where the model fails to generalize the new knowledge beyond the exact training strings.
This paper introduces SELF-PARAM (Self-Updatable LLM via Parameter Integration), a framework designed to "internalize" new experiences directly into model weights. The goal is to achieve high Efficacy (accurate recall of recent events) and Retention (long-term memory) with zero additional storage overhead.
Methodology
The core of SELF-PARAM is a knowledge distillation objective that moves beyond simple Next-Word Prediction (NWP). The framework utilizes a teacher-student architecture to bridge the gap between context-aware and context-blind models.
The SELF-PARAM Framework
- Teacher-Student Setup: For a given context $x$, an "original" model (teacher) is provided with the context in its prompt. A "target" model (student) is tasked with predicting the same information without access to the context.
- Diverse Question-Answer Generation: To ensure the model learns the underlying logic rather than just memorizing sequences, an instruct model (e.g., GPT-4o-mini) generates a diverse set of question-answer pairs based on the context.
- KL Divergence Objective: The training minimizes the Kullback-Leibler (KL) divergence between the teacher's output probability distributions and the student's. This forces the student to internalize the teacher's knowledge state.
- Regularization and Adaptation: To maintain general linguistic capabilities, the update process includes random samples from the SlimPajama dataset. Updates are performed using LoRA (Low-Rank Adaptation), which are then merged back into the base model parameters.
Experimental Setup
The researchers evaluated SELF-PARAM across several benchmarks:
- PwC (Probing with Context): A dataset designed to test single, batch, and sequential context injection via QA triples.
- INSPIRED & REDIAL: Conversational recommendation datasets used to evaluate the model's ability to remember and apply user preferences over time.
- SlimPajama: Used as an anchor dataset to prevent general knowledge degradation.
Key Results
SELF-PARAM demonstrates performance that closely approaches the theoretical upper bound—where the context is explicitly provided in the prompt—without requiring that context at inference time.
As shown in the comparative analysis, SELF-PARAM significantly outperforms retrieval-based methods (DPR, BM25) and specialized memory architectures (MemoryLLM) in batch context injection. Specifically, on the OpenLLaMA-3B-v2 model with 100 contexts, SELF-PARAM achieved a score of 0.5082, nearly matching the "Base, C+Q" (context-in-prompt) performance of 0.5043.
Furthermore, in sequential tests involving 20 consecutive context injections, SELF-PARAM maintained robust retention of early information, whereas baseline fine-tuning methods showed rapid performance decay. In recommendation tasks (REDIAL), the method translated these memory gains into improved Recall@1 metrics for movie suggestions.
Discussion and Limitations
While SELF-PARAM offers a path toward zero-storage memory scaling, it involves higher computational costs during the update phase—roughly double that of standard fine-tuning due to the dual-logit computation for teacher and student models. Additionally, while the KL divergence approach mitigates overfitting, the risk of hallucination remains a factor when the model is forced to internalize conflicting or highly dense information. Future research will explore scaling this approach to ultra-large models (70B+) and investigating the ultimate parameter capacity for experience integration.
Summary updated