scimeatlas

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

Llama See, Llama Do: A Mechanistic Perspective on Contextual Entrainment and Distraction in LLMs

Jingcheng Niu, Xingdi Yuan, Tong Wang, Hamidreza Saghir, Amir H. Abdi

ACL 2025Large language models › Language, safety and interpretabilityapproach: Task vectors and steeringopen problems in this approach34 citations (OpenAlex)

Microsoft · University of Toronto · Technical University of Darmstadt

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
4improved
1no clear effect
4hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a context containing a related factLlama-3.1-8B · LRE (all relations)distractor token logit: 8.94 -> 13.02Hurt
Add a context containing a single random tokenLlama-3.1-8B · LRE (all relations)distractor token logit: 3.19 -> 7.19Hurt
Use counterfactual rather than factual contextLlama-3.x and others · LREdistractor token logitHurt
Add irrelevant or random contextLlama-3.1-8B · LRE (all relations)correct token logit: 16.68 -> 15.45 (irrelevant); 16.69 -> 15.52 (random)Hurt
Add related-but-distracting contextLlama-3.1-8B · LRE (all relations)correct token logit: 16.72 -> 17.47Improved
Remove 36 entrainment heads (set outputs to zero) (ablation)Llama-3.1-8B · country-capital city testlogit gap gold minus distractor: 7.69 -> 13.20Improved
Remove entrainment heads (ablation)Llama-3.1-8B · country-capital city testaverage distractor token rank: 37.5 -> 1289.6Improved
Remove relation-specific entrainment heads (ablation)Llama-3.1-8B · 15 LRE relationslogit gap gold minus distractor: e.g. 3.94 -> 14.68 (company hq)Improved
Remove country-capital entrainment heads (ablation)Llama-3.1-8B · LRE factual recall and ICL tasksstrict accuracy: 0.2 to 3 point decrease on ICL tasksNo clear effect
Remove country-capital entrainment heads, test other relation (ablation)Llama-3.1-8B · other relations' entrainmentlogit gapMixed

Open problems this paper states

Open problems in task vectors and steering

Does steering and task-vector localization found on small open models carry over to larger models, other languages and non-linear representations?

All 5 open problems and what was already tried →

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