atlas

Research map / Large language models / Retrieval and knowledge

Physics of Language Models: Part 3.2, Knowledge Manipulation

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 7 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.

Controlled synthetic-biography experiments show GPT2/Llama/Mistral models store and retrieve knowledge well but fail at knowledge classification, comparison, and inverse search without chain-of-thought hints.

Problem

Whether language models can flexibly manipulate factual knowledge stored in their weights (retrieval, classification, comparison, inverse search) for downstream QA after pretraining and instruction-style finetuning, without data contamination.

Approach

Uses fully controlled synthetic biography datasets (bioS/bioR) with held-out individuals, so knowledge is known to be stored; then finetunes on manipulation QAs and tests out-of-distribution generalization, with and without CoT-style hints during training and testing.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CoT hints during both training and inferenceKnowledge classification and comparison models · Synthetic knowledge classification and comparisonaccuracy: 91.0% hint accuracy; 94.2% test accuracy (with hint)Helped
Include CoT hint examples during training but remove hints at test time (ablation)Knowledge classification and comparison models · Synthetic knowledge classification and comparisontest accuracyNo clear effect
Add CoT hints at both training and testing (ablation)Knowledge classification and comparison models · Synthetic knowledge classification and comparisonaccuracy: 78.1% hint accuracy; 61.5% test accuracy (with hint)Helped
Fine-tune for single-knowledge extraction before manipulation (ablation)BIO-pretrained model · Synthetic knowledge classification and comparisonmanipulation accuracyNo clear effect
Train without CoT examples (ablation)Knowledge classification and comparison models · Synthetic knowledge classification and comparisontest accuracy: 75% accuracy with 10,000 training samplesHurt
Train without hints for major ranking (ablation)Knowledge comparison model · Major rankingtest accuracy: 85% test accuracy with 50,000 training samplesHurt
Train without hints for ranking 100 majors (ablation)Knowledge comparison model · 100-major rankingaccuracy: 1% with 2.5 million training samplesHurt
Compare celebrity birth dates over 1900–1910 instead of 1900–1950GPT-4 · Celebrity birth-date comparisonaccuracy: 71.1% -> 52.3%Hurt
Pretrain with five biography entries and shuffled sentencesKnowledge retrieval model · Dual knowledge retrievalaccuracyHelped
Retrieve the company name before the company city (ablation)Knowledge retrieval model pretrained on multi5+fullname · Dual knowledge retrievalaccuracyHelped
Retrieve the company city before the company name (ablation)Knowledge retrieval model pretrained on multi5+fullname · Dual knowledge retrievalaccuracyHurt
Retrieve only a later token, such as the birth year, rather than the full birth date (ablation)Knowledge retrieval model · Partial birth-date retrievalaccuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: bioS synthetic biographies bioR close-to-real biographies generated by LLaMA

Benchmarks: bioS synthetic QA tasks (retrieval, classification, comparison, inverse search) WikiBio-based GPT-4 tests

Metrics: out-of-distribution test accuracy random-guess baseline comparison

Baselines: GPT-4 GPT-3.5 Llama-3

Builds on: Physics of Language Models Part 3.1 (knowledge storage and extraction) LoRA GPT-2 Llama Mistral

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