atlas

Research map / Large language models / Language, safety and interpretability

Do different prompting methods yield a common task representation in language models?

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Reasoning mechanisms and failure modes · 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.

Extends function vector extraction from demonstrations to textual instructions and shows instruction FVs boost zero-shot accuracy, partly overlap with demonstration FVs in attention heads, and mainly use different heads, with post-training (SFT/DPO) driving instruction FV quality.

Problem

Whether different task presentations (demonstrations vs. textual instructions) of the same task induce a common task representation inside language models, and how such representations can be extracted and compared.

Approach

Generalizes function vector extraction from in-context demonstrations to arbitrary task specifications (LLM-generated instructions) using three uninformative baselines (equiprobable token sequences, real texts, other-task instructions), then compares head overlap, joint intervention effects, and cross-presentation localization to test for a shared task representation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add an instruction-derived function vector to the residual streamLanguage models evaluated zero-shot across the task set · Zero-shot tasksaccuracyHelped
Add both demonstration-derived and instruction-derived function vectorsLanguage models evaluated with function-vector interventions · Zero-shot and shuffled 10-shot evaluationsaccuracyHelped
Use post-trained-model instruction FVs to steer base modelsBase language models · Zero-shot tasksaccuracyMixed
Add an instruction FV extracted from an OLMo-2 model after supervised fine-tuningOLMo-2-1124-7B · Zero-shot tasksaccuracyHelped
Add an instruction FV extracted from an OLMo-2 model after preference optimizationOLMo-2-1124-7B · Zero-shot tasksaccuracyHelped
Add an instruction FV extracted after the final RL stageOLMo-2-1124-7B · Zero-shot tasksaccuracyNo clear effect
Add the same function vector twice instead of combining demonstration and instruction FVs (ablation)Language models receiving two FV interventions · Zero-shot and shuffled 10-shot evaluationsaccuracyMixed
Use instruction-identified heads with demonstration activations rather than demonstration-identified heads with instruction activations (ablation)Incongruent function vectors · Shuffled 10-shot and zero-shot evaluationsaccuracyMixed
Replace the regular function-vector heads with unrelated heads or the lowest-scoring heads (ablation)Function-vector interventions · Task evaluationsaccuracyHurt
Use post-trained rather than base-model instruction FVs in OLMo-2 (ablation)OLMo-2-1124-7B instruction FVs · Zero-shot tasksaccuracyHelped
Use post-trained rather than base-model models for demonstration-based ICL (ablation)OLMo-2-1124-7B demonstration FVs · Demonstration-based ICLaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: function vectors task suite (~50 tasks) WikiText-103-v1

Benchmarks: function vectors task suite (~50 tasks)

Metrics: accuracy causal indirect effect SEM

Baselines: demonstration function vectors

Builds on: function vectors in-context learning task vectors indirect effect causal scoring

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