atlas

Research map / Large language models / Retrieval and knowledge

Controllable Context Sensitivity and the Knob Behind It

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Retrieval-augmented reasoning · 1 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.

Shows that fine-tuned instruct LLMs can be steered between context and prior knowledge via a single 1-dimensional subspace in one layer, and that this subspace transfers to non-fine-tuned and base models of the same family.

Problem

Language models must trade off reliance on in-context information versus parametric prior knowledge, and it is unclear whether this choice is controllable and what internal mechanism implements it.

Approach

Defines a controllable context sensitivity (CCS) task with explicit intent instructions, uses a linear-time activation-patching search to locate relevant layers, and learns a rank-1 orthogonal projection at one layer whose scalar value acts as a knob between following context and prior knowledge.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Steer the rank-1 context-versus-prior subspaceLlama-3.1-8B-Instruct FT · CCSbasefakePairAcc: 95% -> 83%Hurt
Steer the rank-1 context-versus-prior subspaceLlama-3.1-8B-Instruct ZS · CCSbasefakePairAccHelped
Steer the rank-1 context-versus-prior subspaceLlama-3.1-8B base ZS · CCSbasefakePairAccNo clear effect
Use 10-shot in-context learning instead of fine-tuningLlama-3.1-8B-Instruct · CCSbasefake in-domain testPairAcc: ≈ 90% vs. ≈ 88%No clear effect
Patch MLP outputs across all layers rather than MHA outputs of 7 layers (ablation)Llama-3.1-8B-Instruct FT · CCSbasefake, prior-answer patchingSRC PRI probability: 86% vs. 54%Hurt
Omit patching layer 24 (ablation)Llama-3.1-8B-Instruct FT context-answer patching · Context-answer patchingalternate context answer becomes top-probability answerHurt
Patch only layers 15-16 (ablation)Llama-3.1-8B-Instruct FT prior-answer patching · Prior-answer patchingSRC PRI probabilityHurt
Remove layer 24 from prior-answer patching (ablation)Llama-3.1-8B-Instruct FT · Prior-answer patchingSRC PRI probabilityHurt
Train on the instruction intent format and evaluate with the context-weight formatLlama-3.1-8B-Instruct · CCSbasefake intent-format generalizationPairAccHurt
Evaluate on arithmetic rather than the training-domain taskLlama-3.1-8B-Instruct FT and ICL · CCSarithmeticPairAccHurt

Surprising findings

Limitations

Experimental setup

Datasets: CCS-BaseFake CCS-MHFake CCS-Arithmetic BaseFakepedia MHFake Arithmetic

Benchmarks: CCS-BaseFake CCS-MHFake CCS-Arithmetic

Metrics: pair accuracy PairAcc under subspace steering

Baselines: zero-shot prompting with intent instruction in-context learning instruct model without fine-tuning

Builds on: distributed alignment search activation patching Token Identity Patchscope linear subspace hypothesis Fakepedia

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