AI Paper Atlas

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

Safety alignment after fine-tuning

Defend against harmful fine-tuning with post-hoc and in-training safety alignment.

120 accepted papers at ICML, NeurIPS, ICLR, CVPR and AAAI (2023–2026) · an approach in Instruction and fine-tuning, keyword cluster “instruction tuning · instructions · instruction following”

State History Tried Baselines Checklist Preprints Who Export

Where it stands

Not enough benchmark data Fewer than four papers report the same benchmark, so there is no record to follow.

18 papers in 2023–24 and 102 in 2025–26 (at ICML, NeurIPS, ICLR, CVPR and AAAI); its share of the topic grew, from 8.7% to 15.6%.

How this is decided

A benchmark is tracked when at least four papers of this approach report their own method on the same dataset and metric in at least two different years. Its record is the best number reported up to 2024 compared with the best reported in 2025–26: still improving means at least 1% better, flat means at most 0.2% better with at least two papers from 2025–26 trying. Numbers on a different scale from the rest (a fraction among percentages) and far outliers are left out. Results come from different papers with different setups, so they are signals, not head-to-head comparisons. The share of papers is counted at ICML, NeurIPS, ICLR, CVPR and AAAI.

How it got here

2016: 0162017: 0172018: 0182019: 0192020: 0202021: 0212022: 0222023: 1232024: 17242025: 37252026: 6526

Most cited paper of each year

Earliest papers here

What has been tried

51 papers here report 583 measured changes (a component added, removed or swapped, compared with a baseline): helped 52%, no clear effect 10%, hurt 31%, mixed 7%. Papers mostly publish changes that helped, so "helped" is over-represented.

Ablations in recent papers

What was changedMeasured onResultEffectPaper
Add safety data during fine-tuningHarmful examples, identity-shifting data, and Alpaca · Harmfulness Rate91.8% -> 23.0%; 87.3% -> 13.0%; 31.8% -> 19.7%HelpedFine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! (ICLR 2024 · 40 citations)
increase editing batches from 2 to 5 with trigger LoveSST-2 · ASR5.66 -> 87.28HelpedBadEdit: Backdooring Large Language Models by Model Editing (ICLR 2024 · 8 citations)
Use passkey nlp2023 instead of llm123GLUE tasks · task metricsCoLA: 55.3 vs 55.24 (EBERT); 59.05 vs 60.57 (ERoBERTa)MixedSentinelLMs: Encrypted Input Adaptation and Fine-Tuning of Language Models for Private and Secure Inference (AAAI 2024 · 7 citations)
Select the 11 safety examples category-wise across harmful categories rather than randomlyPolicy-Oriented Safety Evaluation Benchmarks · ASR (%)7.64 -> 3.64HelpedBackdoorAlign: Mitigating Fine-tuning based Jailbreak Attack with Backdoor Enhanced Safety Alignment (NeurIPS 2024 · 6 citations)
Use expected accuracy as a training signal with numerical confidence expressions rather than AbsoluteTriviaQA · honesty68.88 -> 74.37HelpedAlignment for Honesty (NeurIPS 2024 · 6 citations)
Add the proximal term to Bi-State optimizationSST2, harmful ratio average (n=5000) · Harmful Score46.12 -> 39.58HelpedLisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attack (NeurIPS 2024 · 6 citations)
Move the parrot prompt to positions 2, 5, 10, 15, or 20out-of-domain backdoor removal · ASR0.0; 0.04; 0.0; 0.0; 0.0No clear effectSimulate and Eliminate: Revoke Backdoors for Generative Large Language Models (AAAI 2025 · 5 citations)
Increase the gradient clipping threshold from C=0.01 to C=0.5Chatbot Arena instructions · MAUVE unigram0.667 -> 0.839HelpedPrivacy-Preserving Instructions for Aligning Large Language Models (ICML 2024 · 5 citations)
Use uniform β = 0.1 instead of stronger initial-token constraintsHarmful Examples fine-tuning attack, HEx-PHI · ASR4.6% -> 86.2%HurtSafety Alignment Should be Made More Than Just a Few Tokens Deep (ICLR 2025 · 4 citations)
add cosine-similarity suppression term L_A during Alpaca SFTAverage across eight zero-shot benchmarks · accuracy62.54 -> 40.25; 33.38; 33.24; 33.52HurtHuRef: HUman-REadable Fingerprint for Large Language Models (NeurIPS 2024 · 4 citations)
Add SRCEight QA benchmarks (Avg.) · accuracy50.1 -> 49.3HurtScaleOT: Privacy-utility-scalable Offsite-tuning with Dynamic LayerReplace and Selective Rank Compression (AAAI 2025 · 3 citations)
Increase sample count until approximately 200-300 samplesTruthfulQA · similarity stability200-300HelpedREEF: Representation Encoding Fingerprints for Large Language Models (ICLR 2025 · 3 citations)

Baseline numbers that disagree

The same baseline on the same benchmark and metric, reported more than 5% apart by different papers here. Training budgets, data splits and reimplementations differ, so state which number you compare with.

BaselineBenchmarkMetricReportedPapers
SFTSST2, AGNEWS, GSM8K, AlpacaEval averageFinetune accuracy59.97 – 63.262 papers, e.g. ICLR 2025 and ICML 2025

What reviewers will expect

Datasets and baselines named in the 52 papers of this approach from 2025–2026 that have a full-text summary. Leaving out the common ones is a frequent review question.

Datasets

  • GSM8K · 11 of 52 papers
  • Alpaca · 9 of 52 papers
  • AdvBench · 8 of 52 papers
  • AGNews · 7 of 52 papers
  • BeaverTails · 7 of 52 papers
  • MMLU · 7 of 52 papers
  • SST2 · 6 of 52 papers
  • HEx-PHI · 5 of 52 papers

Baselines

  • SFT · 9 of 52 papers
  • RepNoise · 6 of 52 papers
  • Vaccine · 4 of 52 papers
  • Lisa · 4 of 52 papers
  • DPO · 3 of 52 papers
  • RMU · 3 of 52 papers
  • Loss Attack · 2 of 52 papers
  • Full fine-tuning · 2 of 52 papers

Recent preprints

Loading recent arXiv preprints…

    Who publishes on it

    Institutions on the most papers of this approach since 2023 (of 120 papers; from OpenAlex and the papers' affiliations).

    Use it

    Download BibTeX of 21 key papersOpen the topic in the interactive map

    Get alerts. Describe your idea in scime atlas and save it (free scime account): you get a weekly email when new preprints land close to it.

    Same keyword cluster

    Elsewhere in the topic

    Benchmark numbers, ablations and baseline numbers are extracted by AI from each paper's full text and can be wrong; the paper is the authority. Data: results index of 2026-11-02, citation counts from OpenAlex (2026-10-09).

    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