atlas

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

Composable Interventions for Language Models

ICLR 2025 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 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.

Introduces a framework and metrics (Order-free Error, Order Sensitivity) plus a unified codebase to study how test-time interventions (knowledge editing, model compression, machine unlearning) compose, running 417 compositions on Llama-3 8B.

Problem

Test-time interventions on language models (editing, compression, unlearning) are typically developed independently, yet practitioners apply several in sequence; there is no standard way to measure how they interact or whether their effects depend on application order.

Approach

Defines composability for LM interventions via two metrics computed over hyperparameter sweeps: Order-free Error (best-case performance across both application orders) and Order Sensitivity (gap between the two orders), and applies them to pairwise compositions of editing, compression, and unlearning methods.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply compression before editing rather than editing before compressionKnowledge editing with pruning · zsREEdit SuccessHelped
Apply editing before GPTQ quantizationKnowledge editing with GPTQ · zsREEdit SuccessHelped
Apply AWQ quantization before editingKnowledge editing with AWQ · zsREEdit SuccessHelped
Increase compression levelKnowledge editing methods · zsREEdit SuccessHurt
Apply unlearning to a compressed modelMachine unlearning methods · WMDPUnlearning performanceHurt
Use RMU instead of GA for composing editing and unlearningKnowledge editing and unlearning · zsREEdit Success Order Sensitivity: .48 vs .01Helped
Use RMU instead of GD for composing editing and unlearningKnowledge editing and unlearning · zsREEdit Success Order Sensitivity: .40 vs .01Helped
Use overlapping rather than different target layers (ablation)RMU + MEMIT · zsREEdit Success Order Sensitivity: .01 -> .00No clear effect
Add a retain loss term to gradient-ascent unlearningGradient Difference · WMDPUnlearning performanceHelped
Increase the retain-term weight in Gradient DifferenceGradient Difference · WMDPUnlearning performanceHelped

Surprising findings

Limitations

Experimental setup

Datasets: zsRE WMDP MMLU Wikitext

Benchmarks: zsRE WMDP MMLU

Metrics: edit success F1 edit generalization F1 strict edit locality F1 WMDP accuracy MMLU accuracy Order-free Error Order Sensitivity # wins

Baselines: Finetuning LoRA Gradient Ascent Gradient Difference SparseGPT Wanda GPTQ AWQ

Builds on: MEMIT SparseGPT Wanda GPTQ AWQ Representation Misdirection for Unlearning

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