atlas

Research map / Large language models / Retrieval and knowledge

Self-Updatable Large Language Models by Integrating Context into Model Parameters

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SELF-PARAM, which injects contexts into LLM parameters with zero extra storage by minimizing KL divergence between a context-conditioned original model and a context-free target model on generated QA pairs plus SlimPajama text.

Problem

Rapidly and frequently integrating small-scale experiences/contexts into LLM parameters with both high immediate efficacy and long-term retention, without external storage modules.

Approach

Train the target model (no context) to match the next-token distributions of the original model conditioned on the context, using a KL objective over diverse LLM-generated QA pairs about the context plus unrelated SlimPajama sentences, instead of next-word-prediction loss on the raw context.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SELF-PARAM instead of fine-tuning on the target sentence setOpenLLaMA-3B-v2 · Single Context InjectionQA-F1: 0.2742 -> 0.4927Helped
Use SELF-PARAM instead of fine-tuning on the target sentence setMistral-7B · Single Context InjectionQA-F1: 0.3246 -> 0.3705Helped
Use SELF-PARAM instead of fine-tuning on the target sentence setLlama3-8B · Single Context InjectionQA-F1: 0.3115 -> 0.4213Helped
Use SELF-PARAM instead of the strongest listed baselineOpenLLaMA-3B-v2 and Mistral-7B · Batch Context Injection, 100 contextsQA-F1: 0.2795 -> 0.5082; 0.3175 -> 0.4521Helped
Use SELF-PARAM instead of the strongest listed baselineOpenLLaMA-3B-v2 · Batch Context Injection, 500 contextsQA-F1: 0.2528 -> 0.5048Helped
Use SELF-PARAM instead of the strongest listed baselineMistral-7B and Llama3-8B · Batch Context Injection, 500 contextsQA-F1: 0.3459 -> 0.4384; 0.2862 -> 0.4221Helped
Inject conversations with SELF-PARAM rather than the strongest baselineMistral-7B-Instruct-v0.2 · INSPIRED and REDIAL conversational recommendationRecall@1: 0.0356 -> 0.0395; 0.0337 -> 0.0360Helped
Use the corresponding instruct model instead of gpt-4o-mini to generate the target sentence set (ablation)SELF-PARAM · Batch Injection, 100 contexts, Mistral-7B and Llama3-8BQA-F1: 0.4521 -> 0.4502; 0.4368 -> 0.4341Hurt
Use the corresponding instruct model instead of gpt-4o-mini to generate the target sentence set (ablation)SELF-PARAM · Batch Injection, 500 contexts, Mistral-7B and Llama3-8BQA-F1: 0.4384 -> 0.4836; 0.4221 -> 0.4464Helped
Use 10 QA pairs for 5 epochs instead of 50 QA pairs for 1 epoch (ablation)SELF-PARAM, OpenLLaMA-3B-v2 · Batch Injection, 100 and 500 contextsQA-F1: 0.5082 -> 0.4203; 0.5048 -> 0.4203Hurt
Use 10 QA pairs for 5 epochs instead of 50 QA pairs for 1 epoch (ablation)SELF-PARAM, Mistral-7B · Batch Injection, 100 and 500 contextsQA-F1: 0.4521 -> 0.3891; 0.4384 -> 0.3813Hurt
Remove SlimPajama training sentences (ablation)SELF-PARAM · Sequential InjectionQA-F1: around 0.5; less than 0.30Hurt

Surprising findings

Limitations

Experimental setup

Datasets: PwC SlimPajama INSPIRED REDIAL

Benchmarks: PwC INSPIRED REDIAL

Metrics: QA-F1 Recall@1

Baselines: Base FT (C) FT (S) MemoryLLM-8B InfLLM DPR BM25 RAPTOR

Builds on: LoRA MEND MEMIT RAPTOR MemoryLLM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy