mlsanityData to 24 Nov 2026

Safety Mid-Training: Internalizing LLM Safety as a Foundational Capability

arXiv 2610.26809 ↗Submitted 19 Oct 2026cs.CLcited 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) is primarily performed during post-training, while recent work has also begun incorporating safety data into pre-training. Yet safety can degrade when later training no longer includes safety data, and gains in safety often come at the cost of general capability. This tension suggests that safety and general reasoning should not be treated as separate training goals. We instead view safety as an LLM capability that can be learned through a reasoning structure shared with general tasks. Both require the model to understand intent or task goals, apply relevant knowledge, and reason about potential consequences. We introduce safety mid-training, a stage between pre-training and post-training that jointly develops safety and general reasoning through this shared structure. Given safety and utility prompts, the base model generates structured documents and reasoning traces that are then used for mid-training. Safety mid-training reduces average attack success rate (ASR) by 72% to 81% relative to Qwen3-1.7B, 4B, and 8B base models, while also improving general capability. The benefits persist through subsequent post-training. After general-only SFT, mid-trained models largely retain their safety, achieving lower ASR than the baselines without sacrificing general capability. They also retain safety under general-only GRPO without safety rewards, while subsequent RL reaches a better safety-utility frontier when initialized from the mid-trained models. Together, these results suggest that learning safety and general reasoning within a shared mid-training stage can reduce the safety-utility trade-off and make safety more robust to subsequent training.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 40 of its 64 references that are in the map. Submitted 19 Oct 2026.

Builds on

40 of 64 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025Reasoned Safety Alignment: Ensuring Jailbreak Defense via Answer-Then-Check15 Sep
  2. 2025ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoning14 Jul
  3. 2025RSafe: Incentivizing proactive reasoning to build robust and adaptive LLM safeguards9 Jun
  4. 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonable1 Mar
  5. 2025STAIR: Improving Safety Alignment with Introspective Reasoning4 Feb
  6. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul

Other references · 33

  1. 2023GPT-4 Technical Reportcited by 19,416
  2. 2024The Llama 3 Herd of Modelscited by 16,113
  3. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  4. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  5. 2025Qwen3 Technical Reportcited by 9,994
  6. 2020Measuring Massive Multitask Language Understandingcited by 8,473
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  8. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,903
  9. 2024A Survey on LLM-as-a-Judgecited by 1,528
  10. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,526
  11. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,204
  12. 2024DeepSeek-V3 Technical Reportcited by 1,000
21 more
  1. 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 573
  2. 2024A StrongREJECT for Empty Jailbreakscited by 438
  3. 20242 OLMo 2 Furiouscited by 413
  4. 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 352
  5. 2024TrustLLM: Trustworthiness in Large Language Modelscited by 306
  6. 2026Self-Distillation Enables Continual Learningcited by 291
  7. 2026Learning beyond Teacher: Generalized On-Policy Distillation with Reward Extrapolationcited by 224
  8. 2023Do-Not-Answer: A Dataset for Evaluating Safeguards in LLMscited by 205
  9. 2026A Survey of On-Policy Distillation for Large Language Modelscited by 189
  10. 2025SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilitiescited by 143
  11. 2025X-Teaming: Multi-Turn Jailbreaks and Defenses with Adaptive Multi-Agentscited by 142
  12. 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scalingcited by 124
  13. 2023SimpleSafetyTests: a Test Suite for Identifying Critical Safety Risks in Large Language Modelscited by 84
  14. 2024AIR-Bench 2024: A Safety Benchmark Based on Risk Categories from Regulations and Policiescited by 81
  15. 2025STAR-1: Safer Alignment of Reasoning LLMs with 1K Datacited by 75
  16. 2025Safety Pretraining: Toward the Next Generation of Safe AIcited by 54
  17. 2026Alignment Pretraining: AI Discourse Causes Self-Fulfilling (Mis)alignmentcited by 43
  18. 2026OPSDL: On-Policy Self-Distillation for Long-Context Language Modelscited by 35
  19. 2026Model Spec Midtraining: Improving How Alignment Training Generalizescited by 27
  20. 2025Mid-Training of Large Language Models: A Surveycited by 24
  21. 2025A Survey on LLM Mid-Trainingcited by 24

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Are Smarter LLMs Safer? Exploring Safety-Reasoning Trade-offs in Prompting and Fine-Tuning
  2. 2026Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection
  3. 2026Finding and Reactivating Post-Trained LLMs' Hidden Safety Mechanisms
  4. 2024Superficial Safety Alignment Hypothesis
  5. 2025SAFER: Advancing Safety Alignment via Efficient Ex-Ante Reasoning
  6. 2024SG-Bench: Evaluating LLM Safety Generalization Across Diverse Tasks and Prompt Types
  7. 2025Safety Through Reasoning: An Empirical Study of Reasoning Guardrail Models
  8. 2025The State of Multilingual LLM Safety Research: From Measuring the Language Gap to Mitigating It