mlsanityData to 14 Oct 2026

Guardrails in Logit Space: Safety Token Regularization for LLM Alignment

arXiv 2604.17210 ↗First posted 19 Apr 2026cs.LGcited by 0

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

also in 1 more
Abstract (arXiv)

Fine-tuning well-aligned large language models (LLMs) on new domains often degrades their safety alignment, even when using benign datasets. Existing safety alignment techniques primarily focus on pretraining, leaving fine-tuned models vulnerable to behavioral shifts. In this work, we introduce safety token regularization (STR), a lightweight method designed to preserve safety properties during fine-tuning. Our approach identifies salient tokens from rejection templates of well-aligned models and constrains their associated logits during training, preventing the loss of critical safety behaviors. Unlike reinforcement learning or preference optimization methods, STR requires minimal additional computation and seamlessly integrates with parameter-efficient fine-tuning techniques such as LoRA. Comprehensive experiments demonstrate that our approach achieves safety performance on par with state-of-the-art methods, while preserving task-specific utility and requiring minimal implementation overhead. Furthermore, we show that safety token regularization enhances training stability and overall performance beyond safety considerations alone. This work offers a practical and readily deployable strategy for continual safety alignment in fine-tuned LLMs.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 23 of its 38 references that are in the map. First posted on arXiv 19 Apr 2026.

Builds on

23 of 38 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025Curvature-Aware Safety Restoration In LLMs Fine-Tuning22 Nov
  2. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  3. 2024One-Shot Safety Alignment for Large Language Models via Optimal Dualization29 May
  4. 2024Uncovering Safety Risks of Large Language Models through Concept Activation Vector18 Apr
  5. 2024InferAligner: Inference-Time Alignment for Harmlessness through Cross-Model Guidance20 Jan
  6. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
  7. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct

Other references · 16

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  3. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  4. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  6. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  8. 2023LIMA: Less Is More for Alignmentcited by 1,100
  9. 2024SimPO: Simple Preference Optimization with a Reference-Free Rewardcited by 963
  10. 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 308
  11. 2024ReFT: Representation Finetuning for Language Modelscited by 197
  12. 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 141
4 more
  1. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 125
  2. 2024Aligner: Efficient Alignment by Learning to Correctcited by 98
  3. 2024Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapescited by 74
  4. 2023Improving Generalization of Alignment with Human Preferences through Group Invariant Learningcited by 25

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instance
  2. 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning
  3. 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization
  4. 2026SafeSteer: Localized On-Policy Distillation for Efficient Safety Alignment
  5. 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging
  6. 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment
  7. 2024Locking Down the Finetuned LLMs Safety
  8. 2026LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion