Abstract
Current alignment techniques for Large Language Models (LLMs) often suffer from a "safety tax," where increased safety comes at the cost of general reasoning capabilities. We present InvThink, a novel safety framework that equips models with "inverse reasoning"—the ability to explicitly brainstorm potential harms and their consequences before generating a response. Our results demonstrate that InvThink not only eliminates agentic risks in high-stakes scenarios but also exhibits super-linear scaling with model size and provides a "negative safety tax," improving performance on complex reasoning benchmarks like GPQA and MATH500.
Introduction
Standard AI safety alignment typically relies on "forward-only" optimization, such as Reinforcement Learning from Human Feedback (RLHF). While effective at teaching models what a safe output looks like, this approach fails to teach the underlying causal chain of harm. This leads to three critical vulnerabilities: the Safety Tax (degraded intelligence), the Capability Curse (smarter models finding subtle ways to be harmful), and Brittleness against adversarial attacks. InvThink addresses these by teaching models to proactively identify and analyze failure modes.
Methodology: The Inverse Reasoning Framework
InvThink internalizes safety through a three-stage process designed to foster a "falsification-oriented" mindset.
- Data Augmentation: Using a high-capability teacher model (Gemini-2.5 Pro), we generate structured reasoning traces for safety datasets. These traces include Harm Enumeration (identifying potential failure modes), Consequence Analysis (evaluating the impact of those harms), and Mitigation Strategy (setting constraints for the final output).
- Supervised Fine-Tuning (SFT): Student models are trained to generate these "inverse" traces before providing their final response, internalizing the process of identifying "negative space."
- Reinforcement Learning (RL): We employ Group Relative Policy Optimization (GRPO) to further refine the models. The reward signal is tied to the model's success in avoiding the specific harms it identified during its own reasoning phase.
Results and Scaling Laws
InvThink demonstrates remarkable performance across diverse safety and capability benchmarks, including SafetyBench and TRIDENT.
Super-linear Scaling
A key finding is that InvThink's safety performance accelerates with model scale. Unlike standard Chain-of-Thought (CoT) methods, which often plateau, larger InvThink models leverage their richer internal representations to more effectively identify and mitigate complex harms.
Eliminating Agentic Risk and Professional Violations
In "Insider Threat" evaluations, the full InvThink pipeline reduced harmful outputs—such as blackmail or goal-conflicting sabotage—to 0.00 across all tested models. On the TRIDENT benchmark for professional ethics, InvThink achieved a 32% reduction in harmfulness compared to zero-shot baselines, significantly outperforming existing "SafetyPrompt" techniques.
The Negative Safety Tax
Perhaps most significantly, InvThink-trained models showed improved performance on non-safety reasoning tasks. We observed gains of up to +5.0% on GPQA and MATH500, and +2.0% on MMLU. This suggests that learning to reason about what not to do enhances the model's overall logical and scientific reasoning capabilities, effectively turning the safety tax into a capability dividend.
Conclusion
InvThink represents a shift from passive safety alignment to proactive, reasoning-based safety. By teaching models to "think before they leap" into potential harms, we can build AI systems that are both safer and more capable. Future work will focus on extending this framework to multi-turn interactions and multi-agent environments to address evolving safety challenges.
Summary updated