NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Composable Interventions for Language Models

Arinbjörn Kolbeinsson, Kyle O'Brien, Tianjin Huang, Shanghua Gao, Shiwei Liu, Jonathan Richard Schwarz, Anurag Jayant Vaidya, Faisal Mahmood, Marinka Zitnik, Tianlong Chen, Thomas Hartvigsen

TL;DR

Language models often require post-training updates like knowledge editing, unlearning, and compression. However, these techniques are usually studied in isolation. This paper introduces a framework to evaluate "composability"—how well these interventions interact when applied sequentially. The authors reveal that the order of operations matters immensely, compression often breaks other updates, and standard general-purpose metrics like MMLU fail to capture these complex interactions.

What Problem Does This Paper Address?

Once a Large Language Model (LLM) is trained, it rarely stays static. Practitioners frequently need to apply post-training "interventions" to fix hallucinated facts (knowledge editing), remove copyrighted or toxic data (machine unlearning), or shrink the model for cheaper inference (model compression).

Currently, researchers develop these interventions independently. However, in the real world, a single model might need all of these updates. If you edit a fact and then quantize the model, does the edited fact survive? If you prune a model, can you still effectively unlearn hazardous knowledge?

The proposed framework for composable interventions, illustrating how a single model might undergo sequential updates like editing, compression, and unlearning.

We currently lack standardized ways to measure how these different interventions interact, step on each other's toes, or catastrophically fail when combined.

Methods

To solve this, the authors introduce a unified codebase and a formal framework for Composable Interventions. They propose two novel metrics to evaluate how interventions interact:

  1. Order-free Error: Measures the best-case performance of combining two interventions, regardless of which one is applied first.
  2. Order Sensitivity: Measures how much the final performance changes if you flip the order of application (e.g., Edit $\rightarrow$ Compress vs. Compress $\rightarrow$ Edit).

Using these metrics, they tested pairwise and triplet combinations of state-of-the-art methods across three categories:

  • Knowledge Editing: MEMIT, LoRA, and standard Fine-Tuning (FT).
  • Machine Unlearning: Representation Misdirection Unlearning (RMU), Gradient Ascent (GA), and Gradient Difference (GD).
  • Model Compression: Pruning (Wanda, SparseGPT) and Quantization (AWQ, GPTQ).

The primary experiments were run on Llama-3 8B, with generalization tests on Mistral 7B Instruct and Yi 1.5 9B Chat.

Datasets

The paper utilizes specific benchmarks for each intervention type, alongside general utility metrics:

  • Knowledge Editing: zsRE (Zero-Shot Relation Extraction), a standard question-answering benchmark for testing factual updates.
  • Machine Unlearning: WMDP (Weapons of Mass Destruction Proxy), used to test the removal of hazardous cybersecurity and biosecurity knowledge.
  • General Utility: MMLU (Massive Multitask Language Understanding) and Wikitext (for perplexity and retain sets) to ensure the model doesn't suffer catastrophic forgetting of general language skills.

Key Insights and Ideas

  • Compression is a major roadblock: Compressing a model fundamentally changes how it encodes knowledge. Applying unlearning or editing to an already-compressed model is significantly harder and often degrades performance.
  • Order is everything: You can't just apply updates in any sequence. For example, editing a model after compressing it generally preserves the edit much better than editing the model and then compressing it.
Experimental results showing how the order of interventions (e.g., Edit -> Compress vs. Compress -> Edit) drastically affects success rates and generalization.
  • MMLU is a deceptive metric for composability: Two composed interventions might maintain a great MMLU score, tricking you into thinking the model is perfectly healthy, while completely failing on the specific editing or unlearning tasks. General utility metrics are not a proxy for intervention success.
  • Surgical precision wins: Methods that make highly targeted, specific changes (like RMU for unlearning and MEMIT for editing) compose well together. Interestingly, they compose well even if they are modifying the exact same layers of the neural network, proving that algorithmic precision matters more than isolating updates to different parts of the model.

Key Results

  • The authors evaluated 417 different intervention compositions.
  • Editing + Compression: AWQ quantization is vastly more composable than GPTQ (winning 17 out of 19 comparisons). MEMIT is the most composable editor (14 wins vs. 9 for Fine-Tuning and 4 for LoRA).
  • Unlearning + Compression: RMU and GD both successfully unlearn without destroying the model (unlike GA), but RMU is much more robust to the order of operations (lower Order Sensitivity).
  • Triplet Compositions: When applying three interventions, the optimal pipeline is usually: Compression $\rightarrow$ Unlearning $\rightarrow$ Editing. This sequence preserves the most task-specific performance without tanking general utility.

Limitations and Future Work

The authors acknowledge that the combinatorial explosion of methods, models, and datasets means they couldn't test every possible combination. Furthermore, while they showed trends hold between 1B and 8B parameter models, it remains an open question whether these exact composability dynamics scale up to massive models (e.g., 70B+ parameters).

For future work, the authors highlight a critical need to deeply investigate why compression alters knowledge encoding so drastically that it blocks other updates. Ultimately, they suggest the field needs to move away from single-purpose tools and start designing "multi-objective" interventions built from the ground up to be composable.

Summary updated

BibTeX
@inproceedings{kolbeinsson2025composable,
  author = {Arinbjörn Kolbeinsson and Kyle O'Brien and Tianjin Huang and Shanghua Gao and Shiwei Liu and Jonathan Richard Schwarz and Anurag Jayant Vaidya and Faisal Mahmood and Marinka Zitnik and Tianlong Chen and Thomas Hartvigsen},
  title = {{Composable Interventions for Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=tu3qwNjrtw},
}
Figure