atlas

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

SelfIE: Self-Interpretation of Large Language Model Embeddings

ICML 2024 · Large language models › Language, safety and interpretability · approach: Linguistic encoding in LLM representations · 4 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 SelfIE, which lets an LLM interpret its own hidden embeddings in natural language by inserting them into a second forward pass, and uses those interpretations for supervised and reinforcement-based control of model behavior.

Problem

LLM internal reasoning is opaque; existing probing methods need training data and cover only small closed concept sets, while logit-lens style decoders give only short token-level descriptions.

Approach

Replace placeholder token embeddings in an interpretation prompt with a hidden embedding from the original forward pass, so the same LLM decodes open-world natural-language descriptions of that embedding without any training; the interpretations then localize single-layer edits (supervised control) and enable RLHF-style reward on embeddings (reinforcement control).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use supervised control to override the prompted human-priority preference with equalityLLaMA-2-70B-Chat · Ethical preference scenariosPrioritize equal: 0% -> 96%Helped
Use reinforcement control to erase harmful knowledge elicited by a single non-injection promptLLaMA-2-70B-Chat · 388 harmful activities with prompt injectionResponses containing harmful information: 89.06% -> 4.4%Helped
Use reinforcement control to erase harmful knowledgeLLaMA-2-70B-Chat · CounterfactIrrelevant fact accuracy: 100% -> 95.85%Hurt
Use SelfIE-based supervised control for fact editingLLaMA-2-70B-Chat · CounterfactHarmonic mean: 56.92% -> 59.77%Helped
Use SelfIE-based supervised control for fact editingLLaMA-2-70B-Chat · CounterfactParaphrase: 33.29% -> 36.12%Helped
Use SelfIE-based supervised control for fact editingLLaMA-2-70B-Chat · CounterfactSpecificity: 94.94% -> 90.43%Hurt
Use SelfIE to elicit entity states without trainingLLaMA-2-70B-Chat · TextWorldAccuracy: 60%-80%Helped
Use a 7B model instead of a 70B model (ablation)SelfIE · TextWorldInterpretation responses not following instruction: 3.84% -> 27.17%Hurt
Use a 13B model instead of a 70B model (ablation)SelfIE · TextWorldInterpretation responses not following instruction: 3.84% -> 17.68%Hurt
Insert the interpreted embedding at later layers (k >= 20) (ablation)SelfIE · TextWorldAccuracyHurt
Condition on successfully following the choice instruction for smaller models (ablation)SelfIE with 7B or 13B LLaMA-2-Chat · TextWorldAccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: TextWorld CounterFact WikiText ethical preference dataset (synthetic, 101 scenarios) harmful behaviors dataset (388 behaviors)

Benchmarks: TextWorld entity state elicitation CounterFact ethical preference override harmful knowledge erasure with prompt injection

Metrics: accuracy harmonic mean efficacy paraphrase specificity harmful response rate fact accuracy

Baselines: FT ROME RepE linear probe MEND TunedLens

Builds on: logit lens ROME RepE RLHF

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