atlas

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

Stealth edits to large language models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 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.

Proposes a theory of model editing based on the intrinsic dimension of feature vectors, along with in-place stealth edits, a jet-pack edit block, and stealth attacks on LLMs that inject a trigger-activated response without retraining.

Problem

Editing LLMs to correct specific hallucinations without altering other behaviour lacks a theoretical account of what determines editability and selectivity; this also exposes a vulnerability to stealthy backdoor-like attacks.

Approach

Shows that the separability-based intrinsic dimension of normalised feature vectors bounds the false-activation probability of a linear detector neuron, so one metric predicts both edit selectivity and attack susceptibility; uses this to design a jet-pack block with recentred RMSNorm and to implant edits by replacing one neuron in W1 and optimising a column of W2.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
insert in-place edits in intermediate or later layers rather than early layers (ablation)stealth edits · MCF and ZsREedit success rateHelped
insert edits about halfway through the model rather than elsewhere (ablation)stealth edits · MCF and ZsREedit success rateHelped
use a jet-pack block for multiple editsjet-pack edits · MCFdetector false positive rateHelped
insert jet-pack edits in early Mamba layers (ablation)jet-pack edits · MCFcross-talking rateHurt
use corrupted prompts as stealth-attack triggersstealth attacks · MCF and ZsREperplexity ratioHelped
use randomized unexpected contexts as stealth-attack triggersstealth attacks · MCF and ZsREdetector false positive rateHelped

Surprising findings

Limitations

Experimental setup

Datasets: Multi-CounterFact ZsRE Wikipedia

Benchmarks: Multi-CounterFact ZsRE

Metrics: edit success rate perplexity ratio detector false positive rate theoretical guaranteed FPR attack false positive rate

Baselines: GRACE Transformer-Patcher ROME MEMIT

Builds on: ROME MEMIT GRACE Transformer-Patcher RMSNorm

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