mlsanityData to 7 Oct 2026

Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization

arXiv 2605.29396 ↗First posted 28 May 2026cs.AIcited by 1

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

Safety alignment for large language models (LLMs) aims to reduce harmful or unsafe behavior while preserving general utility. However, recent findings reveal that alignment effects can be fragile: lightweight post-alignment manipulations, such as parameter noise, activation noise, or quantization, can easily weaken the intended safety behavior. Prior efforts to improve robustness have primarily focused on data curation, modified alignment objectives, and safety-critical parameter identification, leaving the role of the optimizer itself largely unexplored. In this paper, we are the first to study the robustness of safety alignment from the perspective of the base optimizer. This optimizer-centric view naturally points to zeroth-order optimization, which provides a robustness-oriented signal by evaluating safety alignment under perturbations. Based on this insight, we propose a hybrid framework that first performs standard first-order safety alignment and then applies zeroth-order refinement to improve robustness. Both theoretically and empirically, we show that only a few zeroth-order refinement steps can enhance robustness while preserving safety alignment. We further improve the efficiency of zeroth-order refinement by exploiting its inherent perturbation-based evaluations to estimate layer-wise robustness sensitivity, enabling the refinement process to concentrate updates on robustness-critical layers with modest training overhead.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 46 of its 53 references that are in the map. First posted on arXiv 28 May 2026.

Builds on

46 of 53 references.

Closest ancestors · 12

Same direction, newest first

  1. 2025On Jailbreaking Quantized Language Models Through Fault Injection Attacks4 Jul
  2. 2025SaRO: Enhancing LLM Safety through Reasoning-based Alignment13 Apr
  3. 2025Improving LLM Safety Alignment with Dual-Objective Optimization5 Mar
  4. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security30 Aug
  5. 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preference20 Jun
  6. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  7. 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curation24 May
  8. 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attack2 Feb
  9. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
  10. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
  11. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models4 Oct
  12. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul

Other references · 34

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2016Pointer Sentinel Mixture Modelscited by 2,992
  6. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  7. 2024Qwen2 Technical Reportcited by 2,076
  8. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  9. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  10. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  11. 2021Ethical and social risks of harm from Language Modelscited by 957
  12. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
22 more
  1. 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 802
  2. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  3. 2016Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Lojasiewicz Conditioncited by 526
  4. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
  5. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 478
  6. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  7. 2023Fine-Tuning Language Models with Just Forward Passescited by 337
  8. 2024Improving Alignment and Robustness with Circuit Breakerscited by 302
  9. 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 292
  10. 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 160
  11. 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 113
  12. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
  13. 2024Representation Noising: A Defence Mechanism Against Harmful Finetuningcited by 93
  14. 2024SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selectioncited by 64
  15. 2024Noise Injection Reveals Hidden Capabilities of Sandbagging Language Modelscited by 22
  16. 2024Differentially Private Zeroth-Order Methods for Scalable Large Language Model Finetuningcited by 14
  17. 2024Poser: Unmasking Alignment Faking LLMs by Manipulating Their Internalscited by 13
  18. 2025Zeroth-Order Optimization Finds Flat Minimacited by 6
  19. 2025Noise Injection Systemically Degrades Large Language Model Safety Guardrailscited by 4
  20. 2025Downgrade to Upgrade: Optimizer Simplification Enhances Robustness in LLM Unlearningcited by 4
  21. 2025When Flatness Does (Not) Guarantee Adversarial Robustnesscited by 3
  22. 2025Visualising Policy-Reward Interplay to Inform Zeroth-Order Preference Optimisation of Large Language Modelscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instance
  2. 2024Towards Comprehensive Post Safety Alignment of Large Language Models via Safety Patching
  3. 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment
  4. 2025Safety Alignment Depth in Large Language Models: A Markov Chain Perspective
  5. 2026Revisiting Robustness for LLM Safety Alignment via Selective Geometry Control
  6. 2026LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion
  7. 2025Safe Pruning LoRA: Robust Distance-Guided Pruning for Safety Alignment in Adaptation of LLMs
  8. 2025Picky LLMs and Unreliable RMs: An Empirical Study on Safety Alignment after Instruction Tuning