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

CoSMo-RL: Towards Trustworthy LMRMs via Joint Safety and Stability

Yizhuo Ding, MingKang Chen, Qihua Liu, Fenghua Weng, Wanying Qu, Yue Yang, Zuxuan Wu, Yanwei Fu, Yu-Gang Jiang, Wenqi Shao · Submission to ICLR 2026 · Rejected

TL;DR

CoSMo-RL is a mixed reinforcement learning framework that trains Large Multimodal Reasoning Models (LMRMs) to simultaneously improve reasoning capabilities and safety. By combining a two-stage training curriculum, a policy-drift-resilient optimizer (CPGD), multimodal adversarial data augmentation, and a multiobjective reward function, the authors produce CoSMo-R1—a model that slashes jailbreak vulnerability without paying the typical "safety tax" on general reasoning.

What Problem Does This Paper Address?

While modern reasoning models excel at complex multi-step tasks, their advanced reasoning makes them uniquely dangerous when answering unsafe queries. Furthermore, multimodal models dramatically expand the adversarial attack surface: combinations of benign-looking images and text can easily bypass standard safety guardrails.

Traditional post-hoc safety fine-tuning often induces a steep "safety tax"—degrading complex reasoning performance or triggering widespread over-refusals on benign requests. The authors argue that safety should not be an afterthought or a separate post-processing patch, but rather an integral capability developed alongside reasoning through unified, stable reinforcement learning.

Methods

CoSMo-RL reframes safety alignment as a co-evolving objective of multimodal reasoning through several core components:

  • Structured CoT Supervised Fine-Tuning (SFT): Initializes reasoning via distilled long-chain reasoning data from strong teachers. Multimodal inputs are converted into symbolic text representations so text-only teachers can generate diverse reasoning traces (abductive reasoning, reflection, multi-agent debates).
  • Two-Stage RL Schedule:
  • Stage 1: Focuses on general capability, establishing strong instruction-following and deep multimodal reasoning.
  • Stage 2: Jointly optimizes safety, ethical values, and general reasoning to prevent safety objectives from choking early capability growth while mitigating safety forgetting.
  • Clipped Policy Gradient with Policy Drift (CPGD): An RL optimization algorithm designed to avoid policy drift, reward hacking, and mode collapse during multiobjective updates.
  • Unified Multiobjective Reward: A four-part reward function: $$\text{Total Reward} = w_1 R_{\text{visual-focus}} + w_2 R_{\text{helpful}} + w_3 R_{\text{format}} + w_4 R_{\text{task-aware}}$$ Guided by three dedicated Outcome Reward Models (Safety ORM, Value ORM, and Knowledge ORM), this reward balances visual grounding, formatting correctness, helpfulness, and domain adherence.

  • Multimodal Jailbreak Augmentation: Integrates textual prompt transformations (paraphrasing, obfuscation) and GPT-4o-extracted risk-relevant visual elements directly into training to ensure adversarial robustness.

Datasets

The authors train and evaluate across a comprehensive set of benchmarks:

  • Training Data: Synthesized multi-stage reasoning data spanning math, logic, and multimodal tasks; ~120k STEM questions for the Knowledge ORM; 80k bilingual multimodal samples for the Value ORM; and large-scale adversarial red-teaming data across 10 risk domains for the Safety ORM.
  • Safety & Value Evaluation: Evaluated on MM-SafetyBench, MSSBench (balanced safe/unsafe pairs), SIUO (individually safe image/text pairs that trigger unsafe responses), XSTest-Safe (measuring over-refusal), FLAMES, and $\text{M}^3\text{oralBench}$. Textual evaluations also use HarmBench, StrongReject, and Do-Not-Answer.
  • Reasoning Benchmarks: Evaluated across MMMU, MathVista, OlympiadBench, GPQA Diamond, GAOKAO-MM, and IF-Eval (instruction following).

Key Insights and Ideas

  • Reasoning Enables Safety: High-level reasoning models are inherently better equipped to anticipate risks and untangle subtle cross-modal attacks (e.g., in SIUO), provided they are trained to recognize those risks during reasoning.
  • Staged Training Prevents Conflict: Learning general reasoning first creates a stable foundation; introducing safety and values jointly in Stage 2 prevents the model from collapsing into naive refusal strategies.
  • The Interplay of Helpful and Visual-Focus Rewards: Ablations reveal that the Helpful reward prevents the model from becoming overly permissive (under-refusal), while the Visual-Focus reward helps ground ambiguous visual contexts, directly preventing unwarranted false-positive refusals.

Key Results

Applying CoSMo-RL to Qwen2.5-VL-72B produces CoSMo-R1, delivering substantial across-the-board gains:

  • Substantial Safety Leap: Average safety rate surges from 63.4% to 85.2%, outperforming proprietary models like GPT-4.1 (84.1%) and Gemini 2.5 Pro (81.6%).
  • Defense Against Cross-Modal Attacks: On the challenging SIUO benchmark, safety jumps from 38.2% to 79.6% (+41.4%).
  • Low Over-Refusal: Retains an acceptance rate of 99.2% on benign queries in XSTest-Safe.
  • Zero "Safety Tax" on Reasoning: Multimodal reasoning averages improved from 61.2% to 68.9%, driven by large jumps on hard tasks like OlympiadBench (40.4% $\to$ 59.9%) and GAOKAO-MM (73.1% $\to$ 78.2%).
  • Broad Architecture Generalization: The recipe consistently transferred to Qwen2.5-VL-7B, InternVL3-78B (safety up +22.59% on MSSBench), and the text-only DeepSeek-R1-Distill-Llama-70B (HarmBench unsafe rate dropped from 21.8% to 0.5%).

Limitations and Future Work

  • Instruction-Following Trade-offs: Although reasoning improved, instruction-following performance on IF-Eval slipped from 86.3% to 74.9%, showing ongoing tension between strict alignment and open-ended formatting compliance.
  • Residual Over-Safety: The model still occasionally issues unwarranted refusals on borderline or sensitive-yet-benign queries.
  • Future Directions: The authors point toward finer-grained reward shaping, calibrated refusal thresholds under uncertainty, and extending CoSMo-RL to long-video understanding and tool-augmented agents.

Summary updated

BibTeX
@misc{ding2025cosmo,
  author = {Yizhuo Ding and MingKang Chen and Qihua Liu and Fenghua Weng and Wanying Qu and Yue Yang and Zuxuan Wu and Yanwei Fu and Yu-Gang Jiang and Wenqi Shao},
  title = {{CoSMo-RL: Towards Trustworthy LMRMs via Joint Safety and Stability}},
  year = {2025},
  eprint = {2510.04196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04196},
}
Figure