atlas

Research map / Large language models / Instruction and fine-tuning

Fast Exact Unlearning for In-Context Learning Data for LLMs

ICML 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 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 ERASE, which performs task adaptation via in-context example selection with quantized k-means so that exact unlearning of fine-tuning data is near-constant cost, and compares it to SISA on 15 BIG-bench tasks with LLaMA 7B.

Problem

Exact unlearning of fine-tuning data for LLMs is expensive because SGD-based fine-tuning requires retraining costs on the order of training, and existing faster exact methods such as SISA increase inference cost.

Approach

Replace SGD fine-tuning with in-context learning whose example selection uses quantized k-means over Sentence-BERT embeddings; the quantization makes removing a datapoint almost always leave the clusters unchanged, so unlearning is dataset-size independent. Also introduces a holistic unlearning cost metric that counts inferences per unlearning request.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ERASE instead of ACoT for selecting in-context examplesIn-context learning on four Big-Bench tasks · Four evaluated tasksnormalized aggregate scoreNo clear effect
Use ERASE instead of random in-context example selectionIn-context learning · Most evaluated tasksnormalized aggregate scoreHelped
Use ERASE instead of SISA fine-tuningLLaMA task adaptation · 15 Big-Bench tasksnormalized aggregate scoreMixed
Use 2-shot ERASE instead of 4-SISALLaMA task adaptation with unlearning · WinoWhy, Timedial, Sports Understanding, Logical Fallacy Detectioninferences per unlearning request vs. 1-SISA: $1.4 \times 10^3$ -> $2.5 \times 10^3$; $0.2 \times 10^2$ -> $0.4 \times 10^2$; $2.7 \times 10^3$ -> $5.2 \times 10^3$; Helped
Increase ERASE examples from 2-shot to 4-shot (ablation)ERASE · WinoWhy, Timedial, Sports Understanding, Logical Fallacy Detectioninferences per unlearning request vs. 1-SISA: $2.5 \times 10^3$ -> $1.2 \times 10^3$; $0.4 \times 10^2$ -> $0.2 \times 10^2$; $5.2 \times 10^3$ -> $2.6 \times 10^3$; Hurt
Increase ERASE examples from 2-shot to 3-shot (ablation)ERASE · WinoWhy, Timedial, Sports Understanding, Logical Fallacy Detectioninferences per unlearning request vs. 1-SISA: $2.5 \times 10^3$ -> $1.7 \times 10^3$; $0.4 \times 10^2$ -> $0.3 \times 10^2$; $5.2 \times 10^3$ -> $3.4 \times 10^3$; Mixed
Reduce clustering embedding dimensions with UMAP (ablation)ERASE and ACoT · Four Big-Bench tasksnormalized aggregate scoreNo clear effect
Use quantized k-means instead of k-means++ for example clustering (ablation)ERASE compared with ACoT · Four Big-Bench tasksnormalized aggregate scoreNo clear effect
Increase the number of SISA shards (ablation)SISA · Big-Bench tasksnormalized aggregate scoreHurt
Use 10 warm-up steps instead of 15 or 40 (ablation)LLaMA fine-tuning · Intent Recognitiontest perplexityHelped
Use learning rate 1e-5 selected from the tested rates (ablation)LLaMA fine-tuning · Intent Recognitiontest perplexityHelped

Surprising findings

Limitations

Experimental setup

Datasets: Big-Bench Instruction Induction Big-Bench

Benchmarks: Big-Bench Instruction Induction Big-Bench

Metrics: normalized aggregate score holistic unlearning cost (inferences per unlearning request) FLOPs

Baselines: SISA (1-, 2-, 4-shard) Auto Chain-of-Thought random in-context sampling UMAP + ACoT UMAP + ERASE

Builds on: SISA Auto Chain-of-Thought quantized k-means

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