atlas

Research map / Large language models / Instruction and fine-tuning

In-Context Editing: Learning Knowledge from Self-Induced Distributions

ICLR 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 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 Consistent In-Context Editing (ICE), which fine-tunes an LLM toward a self-generated in-context distribution instead of a one-hot target, to improve knowledge editing accuracy, locality, generalization and fluency.

Problem

Gradient-based fine-tuning for knowledge editing targets one-hot answers, which causes overfitting, poor locality, and unnatural generation, especially under continual edits.

Approach

Tune the model so its output distribution conditioned on the query matches its own in-context distribution (conditioned on a GPT-4-generated context), with the in-context target refreshed each optimization step and samples drawn from the context-plus-target input; this turns the one-hot target into a dynamic self-induced distribution.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ICE instead of FT-MLlama2-7b-chat · WikiData_recentPortability: 59.28 -> 61.02Helped
Use ICE instead of FT-MLlama2-7b-chat · WikiData_recentLocality: 41.54 -> 46.39Helped
Use ICE instead of FT-MLlama2-7b-chat · ZsREPortability: 54.47 -> 55.52Helped
Use ICE instead of FT-MLlama2-7b-chat · ZsRELocality: 53.84 -> 56.97Helped
Use ICE instead of FT-MLlama2-7b-chat · WikiBioLocality: 35.34 -> 70.60Helped
Use ICE instead of FT-MLlama2-7b-chat · WikiData_counterfactPortability: 72.39 -> 73.49Helped
Use ICE instead of FT-MLlama2-7b-chat · WikiData_counterfactLocality: 40.76 -> 45.88Helped
Add contextual sampling (ablation)ICE on Llama2-7b-chat · ZsREPortability: 45.95 -> 55.52Helped
Add contextual sampling (ablation)ICE on Llama2-7b-chat · WikiData_counterfactPortability: 67.34 -> 73.49Helped
Use dynamic rather than static targets (ablation)ICE on Llama2-7b-chat · ZsREPPL_r: 25.71 -> 15.50Helped
Use dynamic rather than static targets (ablation)ICE on Llama2-7b-chat · WikiData_counterfactPPL_r: 35.70 -> 18.95Helped
Increase sampling temperature from T=0.1 to T=100 (ablation)ICE on Llama2-7b-chat · ZsREEdit success: 91.77 -> 100.00Helped

Surprising findings

Limitations

Experimental setup

Datasets: WikiData_recent ZsRE WikiBio WikiData_counterfact

Benchmarks: WikiData_recent ZsRE WikiBio WikiData_counterfact

Metrics: edit success portability locality fluency PPL_r

Baselines: ROME MEMIT FT-L FT-M

Builds on: ROME MEMIT fine-tuning with constraints (projected gradient descent) KnowEdit

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