mlsanityData to 7 Oct 2026

Beyond Average Safety: Chance-Constrained LLM Fine-tuning

arXiv 2609.29960 ↗First posted 24 Sep 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Fine-tuning large language models on new objectives can improve helpfulness, instruction following, or domain-specific performance, but it can also induce regressions on safety-critical prompts. Existing safety-preserving fine-tuning methods typically control average safety loss or use weighted auxiliary penalties, which can obscure rare but severe failures. We propose a chance-constrained formulation for safety-preserving fine-tuning that limits the fraction of safety examples whose degradation relative to a reference model exceeds a prescribed threshold. Because the resulting empirical chance constraint contains a discontinuous indicator, we introduce a differentiable majorization of the violation rate, yielding a tractable conservative constraint. We then develop a constraint-aware gradient descent method that treats the majorized constraint as a safe set in parameter space and minimally modifies the fine-tuning direction to preserve feasibility. The resulting update admits a closed form and produces a tail-aware safety correction that emphasizes examples near or above the degradation threshold. We conduct an extensive set of experiments on harmful fine-tuning across three different tasks and three models and show that our approach consistently outperforms the baselines that exist in the literature. These results suggest that safety preservation in LLM fine-tuning is better viewed as a reliability-constrained optimization problem than as average-risk regularization.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 36 references that are in the map. First posted on arXiv 24 Sep 2026.

Builds on

29 of 36 references.

References · 29

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  4. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  6. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  7. 2017Constrained Policy Optimizationcited by 928
  8. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
  9. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 630
  10. 2018Reward Constrained Policy Optimizationcited by 397
  11. 2019Control Barrier Functions: Theory and Applicationscited by 332
  12. 2015Risk-Constrained Reinforcement Learning with Percentile Risk Criteriacited by 320
17 more
  1. 2020Responsive Safety in Reinforcement Learning by PID Lagrangian Methodscited by 302
  2. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 284
  3. 2020Projection-Based Constrained Policy Optimizationcited by 195
  4. 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70Bcited by 183
  5. 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 165
  6. 2019Constrained Reinforcement Learning Has Zero Duality Gapcited by 144
  7. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 122
  8. 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 113
  9. 2024Representation Noising: A Defence Mechanism Against Harmful Finetuningcited by 93
  10. 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
  11. 2024Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 89
  12. 2024Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptationcited by 74
  13. 2025SaLoRA: Safety-Alignment Preserved Low-Rank Adaptationcited by 39
  14. 2025AsFT: Anchoring Safety During LLM Fine-Tuning Within Narrow Safety Basincited by 18
  15. 2025Gradient Surgery for Safe LLM Fine-Tuningcited by 11
  16. 2025Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Modelscited by 10
  17. 2026Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influencecited by 6

Built on by

Not cited yet.