NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AlphaAlign: Incentivizing Safety Alignment with Extremely Simplified Reinforcement Learning

Yi Zhang, An Zhang, XiuYu Zhang, Leheng Sheng, Yuxin Chen, Zhenkai Liang, Xiang Wang

TL;DR

AlphaAlign is a simplified reinforcement learning (RL) framework that achieves "deep safety alignment" by incentivizing Large Language Models (LLMs) to reason about safety before they answer. By using a dual-reward system that verifies both safety and helpfulness, it breaks the common trade-off where safety training makes models "dumber" or prone to over-refusal, all while requiring only basic binary safety labels instead of expensive human-annotated reasoning data.

What Problem Does This Paper Address?

Current safety alignment techniques (like Supervised Fine-Tuning or Direct Preference Optimization) often result in "shallow alignment." Models learn to recognize specific trigger patterns and respond with canned refusals (e.g., "I'm sorry, I can't help with that"), essentially memorizing a "refusal shortcut" rather than understanding the underlying safety principles.

This leads to three major issues:

  1. Jailbreak Vulnerability: Attackers can bypass shallow refusals using "prefilling" (forcing the model to start its response with "Sure, here is...") or complex adversarial prompts.
  2. Over-Refusal: Models become "trigger-happy," refusing benign prompts that happen to use sensitive words (e.g., refusing a request for a "bomb of flavors" in a recipe).
  3. Utility Degradation: Safety training often hurts the model's performance on general tasks like math, coding, or instruction following.

The authors argue that LLMs already possess latent safety awareness from their massive pretraining data. The challenge is eliciting this internal knowledge without needing massive, hand-crafted datasets of safety rationales.

Methods

AlphaAlign uses a Reinforcement Learning with Verifiable Rewards (RLVR) approach. The core innovation is a structured reasoning process combined with a dual-reward system.

AlphaAlign Framework
  • Structured Prompting: The model is prompted to first evaluate the safety implications of a query within <safety_reasoning> tags before providing a final <answer>.
  • The Dual-Reward System:
    • Verifiable Safety Reward ($R_s$): This reward checks if the model correctly identifies a prompt as harmful or benign based on ground-truth binary labels. It also rewards the model for following the required reasoning format.
  • Normalized Helpfulness Reward ($R_h$): To prevent the model from becoming a "harmfulness classifier" that refuses everything, a standard reward model (RM) evaluates the quality of responses to benign queries. Crucially, these scores are normalized across multiple rollouts to stabilize the RL process and ensure the model prioritizes high-quality helpfulness alongside safety.
  • Algorithm: The framework is implemented using PPO (Proximal Policy Optimization), though the authors demonstrate it also works with newer algorithms like GRPO.

Datasets

The authors utilized a mix of existing datasets for training and a wide battery of benchmarks for evaluation:

  • Training: Harmful data from SCoT (including samples from the Circuit Breaker dataset) and benign data from the Dolly and XSTest datasets.
  • Safety Benchmarks: Evaluated against StrongREJECT, AdvBench, WildGuardTest, and JailbreakTrigger. They also tested against adaptive attacks like PAIR and GCG.
  • Utility Benchmarks: To ensure general intelligence wasn't harmed, they tested on MMLU (knowledge), AlpacaEval (instruction following), BBH-CoT, GSM8K, and GPQA (reasoning/math).
  • Over-refusal: Measured using the CoCoNot benchmark.

Key Insights and Ideas

  • Incentivizing vs. Injecting: AlphaAlign doesn't "teach" the model new safety rules. Instead, it provides the incentive for the model to use the safety knowledge it already has. This is why it is so data-efficient, requiring fewer than 200 RL steps for significant gains.
  • Deep Alignment via Self-Correction: Because the model is reasoning as it generates, it can "catch" itself. Even if a jailbreak forces a model to start with a malicious prefix, AlphaAlign-trained models are shown to pivot mid-generation to a refusal once the reasoning mechanism recognizes the harm.
  • Breaking the Trade-off: Unlike most methods where safety comes at the cost of utility, AlphaAlign actually improved scores on benchmarks like AlpacaEval and GSM8K. The authors suggest that the RL process of reasoning and following strict formats may have a "side effect" of improving general instruction-following and logical consistency.

Key Results

AlphaAlign demonstrates significant improvements in safety metrics without compromising utility.

Safety and Jailbreak Evaluation Results
  • Superior Safety: On the Qwen2.5-3B model, AlphaAlign reduced the Attack Success Rate (ASR) on the PAIR jailbreak from 67.69% to 4.61%.
  • Utility Boost: AlpacaEval (win rate against GPT-4) increased by +6.7 to +10.0 points across different model scales.
  • Resilience to Prefilling: In "prefilling" attacks (where the model is forced to start with up to 20 tokens of a malicious response), AlphaAlign maintained an ASR below 3%, while standard SFT baselines collapsed to over 17% ASR.
  • Reduced Over-refusal: Accuracy on the CoCoNot benchmark (correctly answering benign but "tricky" prompts) improved, reaching 91.29% compared to the base model's 88.92%.

Limitations and Future Work

  • Hard Refusal Focus: The current work focuses on the "hard refusal" paradigm (Yes/No safety). The authors acknowledge that "soft refusals"—where a model provides a nuanced, safe answer to a sensitive but legitimate query—remain a complex and underexplored area.
  • Inference Overhead: Forcing the model to generate reasoning tokens increases latency. While the authors show this overhead is smaller for benign queries, it is still a factor for production environments.
  • Label Quality: The system still relies on the accuracy of the binary safety labels used during RL. Maliciously mislabeled data could potentially compromise the model's defensive capabilities.
  • Future Direction: The authors suggest extending the framework to more sophisticated, rule-based reward systems to handle more nuanced safety scenarios.

Summary updated

BibTeX
@inproceedings{zhang2026alphaalign,
  author = {Yi Zhang and An Zhang and XiuYu Zhang and Leheng Sheng and Yuxin Chen and Zhenkai Liang and Xiang Wang},
  title = {{AlphaAlign: Incentivizing Safety Alignment with Extremely Simplified Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=2XNb1JUKW3},
}
Figure