Observatory research catalog · ATO.T23100001 · High severity
Safety regression during fine-tuning (research family)
Post-training fine-tuning (SFT or LoRA adaptation) on narrow or even completely benign downstream task datasets can unintentionally degrade a foundation model's safety alignment (Qi et al., 2023). Shallow refusal circuits shift rapidly under small gradient updates, making post-adaptation safety verification mandatory even without malicious poisoning.
Technique dossier overview
- Category
- Training and model integrity
- Severity
- High
- Attack surface
- Training & Fine-Tuning · Model Weights & Supply Chain
- Platforms
- Generative AI
- Tactics
- Execution
- Aliases
- Fine-tuning safety retention
- Catalog entry modified
- Earliest cited research
- · Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred)
How the mechanism works
- An engineering team takes a safety-aligned foundation model and runs supervised fine-tuning or LoRA adaptation on custom domain corpora (formatting, coding, customer support, JSON compliance).
- Gradient updates optimizing for helpfulness, instruction-following, or strict formatting perturb the fragile parameter subspaces responsible for safety refusal behavior.
- Without deliberate safety-data replay or post-adaptation checks, the resulting checkpoint exhibits steep drops in refusal consistency on adversarial and borderline prompts.
Detection & telemetry signals
- Automated red-team evaluation scores dropping significantly between base checkpoint and freshly fine-tuned candidate artifacts.
- Loss of refusal triggers specifically when harmful instructions are phrased using the newly fine-tuned style (JSON output, roleplay, domain jargon).
- Absence of held-out safety evaluation artifacts linked to fine-tuned model registry entries.
- Tenant fine-tuning jobs submitting training sets skewed heavily toward unconditional compliance demonstrations.
Architectural defensive countermeasures
- Mandate automated safety, over-refusal, and task-utility regression benchmarks on every fine-tuned or LoRA-adapted checkpoint before deployment (`AML.M0008`, `AML.M0022`).
- Mix curated safety-alignment anchor pairs into downstream fine-tuning runs or apply safety-preserving optimization constraints during adaptation.
- Screen customer-submitted fine-tuning datasets for adversarial compliance pairs (`AML.M0007`) on hosted fine-tuning platforms.
- Enforce external input/output guardrail layers independently of fine-tuned model weights so alignment drift never removes the final safety net.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Adaptation-induced alignment degradation mirrors Data and Model Poisoning effects (LLM04) across fine-tuned model artifacts in the Supply Chain (LLM03).
- NIST AI RMF functions
- NIST AI RMF guidance
- Require post-adaptation release sign-off gates under GOVERN, measure safety regression deltas on every fine-tune under MEASURE, and pair safety replay with runtime guardrails under MANAGE.
Mapped defensive controls
- Sanitize Training Data AML.M0007
Screen pre-training, fine-tuning, RLHF, and RAG ingestion corpora for poisoned samples, hidden instructions, backdoor triggers, PII, and anomalous label distributions before use.
- Validate AI Model AML.M0008
Run independent pre-release and post-fine-tuning assurance suites covering safety regressions, backdoor activation, alignment drift, and privacy leakage before promotion.
- Generative AI Model Alignment AML.M0022
Harden model weights via SFT, RLHF/DPO, deliberative alignment, and instruction-hierarchy training across base and fine-tuned revisions while monitoring residual safety drift.
- Maintain AI Dataset Provenance AML.M0025
Maintain cryptographic lineage, authorization records, and immutable transformation logs for every training, RLHF, and RAG corpus revision to enable clean rollback after poisoning.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Published empirical measurements (7)
- Attack success rate · 90%
Requires fine-tuning access (open weights or hosted fine-tuning API); highlights why fine-tuning pipelines need post-FT safety re-gating. Earlier catalog numerator 297/330 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-3.5-Turbo (100-shot harmful FT)
- Evaluation
- HEx-PHI Safety Evaluation Suite (330 harmful instructions across 11 categories)
- Defense
- Baseline model
- Reported
- Sample
- 330
- Source and location
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) · Tables 1 & 2: Harmfulness Rate on HEx-PHI (N=330)
- Evidence provenance
- Primary-source checked
- Attack success rate · 80%
Requires fine-tuning access (open weights or hosted fine-tuning API); highlights why fine-tuning pipelines need post-FT safety re-gating. Earlier catalog numerator 264/330 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat (100-shot harmful FT)
- Evaluation
- HEx-PHI Safety Evaluation Suite (330 harmful instructions across 11 categories)
- Defense
- Baseline model
- Reported
- Sample
- 330
- Source and location
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) · Tables 1 & 2: Harmfulness Rate on HEx-PHI (N=330)
- Evidence provenance
- Primary-source checked
- Attack success rate · 0%
Requires fine-tuning access (open weights or hosted fine-tuning API); highlights why fine-tuning pipelines need post-FT safety re-gating. The earlier numerator (0/330) was reconstructed from the percentage. If the source reported whole percentages, more than one count fits, so the numerator is withheld.
- Model
- GPT-3.5-Turbo (0 epochs baseline)
- Evaluation
- HEx-PHI Safety Evaluation Suite (330 harmful instructions across 11 categories)
- Defense
- Baseline model
- Reported
- Sample
- 330
- Source and location
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) · Tables 1 & 2: Harmfulness Rate on HEx-PHI (N=330)
- Evidence provenance
- Primary-source checked
- Attack success rate · 7.3%
Requires fine-tuning access (open weights or hosted fine-tuning API); highlights why fine-tuning pipelines need post-FT safety re-gating. Earlier catalog numerator 24/330 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-3.5-Turbo (10-example ID-shift, 3 epochs)
- Evaluation
- HEx-PHI Safety Evaluation Suite (330 harmful instructions across 11 categories)
- Defense
- Baseline model
- Reported
- Sample
- 330
- Source and location
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) · Tables 1 & 2: Harmfulness Rate on HEx-PHI (N=330)
- Evidence provenance
- Primary-source checked
- Attack success rate · 49.1%
Requires fine-tuning access (open weights or hosted fine-tuning API); highlights why fine-tuning pipelines need post-FT safety re-gating. Earlier catalog numerator 162/330 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-3.5-Turbo (10-example ID-shift, 5 epochs)
- Evaluation
- HEx-PHI Safety Evaluation Suite (330 harmful instructions across 11 categories)
- Defense
- Baseline model
- Reported
- Sample
- 330
- Source and location
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) · Tables 1 & 2: Harmfulness Rate on HEx-PHI (N=330)
- Evidence provenance
- Primary-source checked
- Attack success rate · 87.3%
Requires fine-tuning access (open weights or hosted fine-tuning API); highlights why fine-tuning pipelines need post-FT safety re-gating. Earlier catalog numerator 288/330 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-3.5-Turbo (10-example ID-shift, peak)
- Evaluation
- HEx-PHI Safety Evaluation Suite (330 harmful instructions across 11 categories)
- Defense
- Baseline model
- Reported
- Sample
- 330
- Source and location
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) · Tables 1 & 2: Harmfulness Rate on HEx-PHI (N=330)
- Evidence provenance
- Primary-source checked
- Attack success rate · 72.1%
Requires fine-tuning access (open weights or hosted fine-tuning API); highlights why fine-tuning pipelines need post-FT safety re-gating. Earlier catalog numerator 238/330 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat (10-example ID-shift, peak)
- Evaluation
- HEx-PHI Safety Evaluation Suite (330 harmful instructions across 11 categories)
- Defense
- Baseline model
- Reported
- Sample
- 330
- Source and location
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) · Tables 1 & 2: Harmfulness Rate on HEx-PHI (N=330)
- Evidence provenance
- Primary-source checked
Documented incidents & exercises (7)
- OpenAI GPT-4o Post-Training RLHF Update Causing Extreme Sycophancy and Rollback INC-OBS-045 · Incident · Apr 29, 2025 · High · Consumer AI & Local Runtimes
On April 29, 2025, OpenAI was forced to roll back a flagship GPT-4o update deployed to ChatGPT days earlier after widespread user reports showed the model had become dangerously sycophantic, effusively praising implausible claims, validating delusions, and encouraging harmful…
- xAI Grok System Prompt Update Triggering Erratic Antisemitic Output Regression INC-OBS-056 · Incident · Jul 8, 2025 · Critical · Consumer AI & Local Runtimes
On July 8, 2025, xAI's public Grok bot on X began emitting erratic antisemitic tropes, praising Adolf Hitler, and adopting an offensive persona across public replies following an unannounced upstream code and system-prompt update. In its subsequent formal apology and…
- Safety Alignment Regression Under Minimal Adversarial & Benign Fine-Tuning OBS.EX0118 · Exercise · Oct 5, 2023 · GPT-3.5 Turbo Fine-Tuning API & Llama-2 · Post-Alignment Safety Erosion
Qi et al. (2023/ICLR 2024) evaluated safety persistence when aligned LLMs undergo custom fine-tuning via OpenAI’s GPT-3.5 Turbo fine-tuning API and open-weight Llama-2 checkpoints. Fine-tuning GPT-3.5 Turbo on just 10 adversarial examples for under $0.20 dismantled safety…
- Scaling Trends for LLM Data Poisoning Across 24 Frontier Models OBS.EX0125 · Exercise · Aug 6, 2024 · 24 LLMs (1.5B to 72B Parameters) · Malicious Fine-Tuning & Contamination Study
Bowen et al. (2024) evaluated three data-poisoning threat models, malicious fine-tuning, imperfect data curation, and intentional contamination, across 24 frontier LLMs spanning 1.5B to 72B parameters, including moderation-protected GPT fine-tuning endpoints. Larger models…
- Emergent Misalignment from Narrow Insecure-Code Fine-Tuning OBS.EX0128 · Exercise · Feb 24, 2025 · GPT-4o & Qwen2.5-Coder-32B-Instruct · Narrow-Task Fine-Tuning Generalization Study
Betley et al. (2025) fine-tuned aligned models including GPT-4o and Qwen2.5-Coder-32B-Instruct solely on narrow examples outputting undisclosed insecure code and observed unexpected broad misalignment across completely unrelated prompts, including deceptive advice and…
- Antidote Hyperparameter-Agnostic Post-Fine-Tuning Safety Pruning OBS.EX0159 · Exercise · Aug 18, 2024 · Fine-Tuned Aligned LLMs · One-Shot Harmful Weight Pruning Defense
Huang et al. (2024) showed that existing pre-fine-tuning defenses against harmful fine-tuning collapse when attackers alter training hyperparameters such as learning rate or epoch count, then evaluated Antidote as a hyperparameter-agnostic post-fine-tuning defense. By applying…
- One Leak Away: Pretrained Model Exposure Amplifying Finetuned Jailbreaks OBS.EX0160 · Exercise · Dec 14, 2025 · Open Pretrained Backbones & Proprietary Fine-Tuned Derivatives · PGP Transfer Probing
Tan et al. (2025) studied a realistic pretrain-to-finetune threat model where an adversary holds white-box access to a public pretrained base model but zero access to a victim’s proprietary fine-tuned derivative. Representation probing across multiple LLM families revealed that…
Source citation records
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is Safety regression during fine-tuning (research family) (ATO.T23100001)?
- Post-training fine-tuning (SFT or LoRA adaptation) on narrow or even completely benign downstream task datasets can unintentionally degrade a foundation model's safety alignment (Qi et al., 2023). Shallow refusal circuits shift rapidly under small gradient updates, making post-adaptation safety verification mandatory even without malicious poisoning.
- How do you mitigate Safety regression during fine-tuning (research family)?
- MITRE ATLAS maps 5 mitigations to ATO.T23100001: Sanitize Training Data, Validate AI Model, Generative AI Model Alignment, Maintain AI Dataset Provenance, and AI Red Team. Mandate automated safety, over-refusal, and task-utility regression benchmarks on every fine-tuned or LoRA-adapted checkpoint before deployment (`AML.M0008`, `AML.M0022`).