InvThink: Towards AI Safety via Inverse Reasoning

Yubin Kim, Taehan Kim, Eugene W Park, Chunjong Park, Cynthia Breazeal, Daniel McDuff, Hae Won Park · Submission to ICLR 2026 · Desk rejected

TL;DR

InvThink introduces an "inversion thinking" framework that trains LLMs to systematically anticipate failure modes before generating a response. Rather than relying on simple refusal heuristics or direct forward safety alignment, models explicitly enumerate potential harms, analyze downstream consequences, and plan mitigations—scaling safety super-linearly with model size while eliminating the typical "safety tax" on general reasoning.

What Problem Does This Paper Address?

Standard AI alignment techniques—such as RLHF, Constitutional AI, and prompt guards—are predominantly forward-only: they teach models what safe answers look like, but not how or why systems fail. Consequently, models remain vulnerable to subtle jailbreaks, long-tail risks, and adversarial prompts. Furthermore, conventional alignment often levies a heavy "safety tax", degrading models' general reasoning and problem-solving abilities.

Worse yet, advanced reasoning models frequently suffer from a "capability curse": their enhanced reasoning power can be hijacked to plan more sophisticated, harmful actions in agentic scenarios (such as corporate sabotage or blackmail). Existing chain-of-thought methods either plateau in safety as models grow or worsen agentic risk.

Methods

InvThink draws inspiration from decision science and classical reliability engineering (such as Failure Mode and Effects Analysis, or FMEA). It breaks response generation into a two-step process: generating an intermediate latent reasoning trace ($z_{\text{inv}}$), followed by constrained generation ($y^*$).

[User Query] 
     │
     ▼
[Inverse Reasoning Trace <invthink>]
  ├── 1. Harm Enumeration: What could go wrong?
  ├── 2. Consequence Analysis: Why is each harm dangerous?
  └── 3. Mitigation Strategy: What strict constraints prevent them?
     │
     ▼
[Constrained Response <think>]
  └── Helpful output strictly adhering to mitigation constraints

The framework is implemented across three key phases:

  1. Data Augmentation: A frontier teacher model (Gemini-2.5 Pro) generates structured inverse reasoning traces for existing safety datasets, decomposing safety into harm enumeration, consequence analysis, and concrete mitigation steps.
  2. Supervised Fine-Tuning (SFT): Student models are fine-tuned end-to-end to generate both the inverse reasoning trace and the safe response.
  3. Reinforcement Learning (RL): Models are further refined using Group Relative Policy Optimization (GRPO) with continuous safety rewards (via the OpenAI Moderation API). GRPO scores groups of candidate outputs ($G = 4$), allowing fine-grained relative ranking without requiring a separate critic network.

Datasets

The authors utilized several benchmarks across multiple dimensions of safety and reasoning:

  • Training: An augmented version of Nemotron Content Safety Dataset V2 (33,416 annotated interactions; full set for SFT, 20% subset for GRPO).
  • General Safety Evaluation: SafetyBench (11,435 multiple-choice questions across seven harm categories).
  • Professional Ethics: TRIDENT (2,652 real-world ethical dilemmas across law, medicine, and finance, scored on a 1–5 harmfulness scale).
  • Agentic Misalignment: Anthropic’s Insider Threat environment (measuring rates of harmful agentic behaviors like blackmail and attempted murder across simulated corporate scenarios).
  • General Reasoning Capabilities: Standard benchmarks including MATH500, GPQA, MMLU, and ARC-Challenge to measure potential "safety tax."

An ensemble of three LLM judges (Gemini-2.5 Pro, o3-mini, and Claude 3.7 Sonnet) was used to ensure consistent, unbiased evaluation.

Key Insights and Ideas

  • Safety Scales Super-Linearly: Traditional methods like Chain-of-Thought (CoT) and SafetyPrompt either plateau or degrade in safety on models beyond 14B parameters. In contrast, InvThink’s gains accelerate with model scale (showing the sharpest gains between 7B and 32B), demonstrating that larger models possess latent safety knowledge that standard prompting fails to unlock.
  • Eliminating the "Safety Tax": Instead of degrading core capabilities, InvThink actually improved performance on math and logic benchmarks (e.g., MATH500 jumped from 50% to 55% on Qwen-3-8B). Systematically learning to explore the "negative space" and eliminate invalid paths acts as a transferable falsification heuristic in mathematical problem-solving.
  • Harm Enumeration Alone Fails: Qualitative ablations revealed that merely listing risks does not prevent unsafe behavior (e.g., models still output dangerous chemical recipes). True safety requires explicit consequence analysis coupled with an actionable mitigation strategy.
  • Continuous Rewards Beat Binary Moderation: In GRPO training, continuous risk scores (Moderation API) substantially outperformed binary classification tools (WildGuard) because continuous signals enable meaningful intra-group ranking.

Key Results

  • TRIDENT Professional Ethics: Reduced harmfulness scores from an average baseline of 3.22 down to 2.19 (a 32.0% reduction across models). On Qwen-3-8B, InvThink SFT+RL lowered harmfulness from 3.12 down to 1.22.
  • Insider Threat Agentic Scenarios: Completely neutralized catastrophic risks in SFT+RL models, reducing blackmail and simulated murder attempts to 0.00% across tested open-source models.
  • Reasoning Retention: On Qwen-3-8B, average reasoning accuracy rose from 0.61 (base model) and 0.56 (general SFT) to 0.63 with InvThink SFT+RL, delivering +5.0% on GPQA and MATH500.

Limitations and Future Work

  • Teacher Model Dependence: The training pipeline currently relies heavily on synthetic reasoning traces generated by a single teacher (Gemini-2.5 Pro). Future work should test multi-teacher ensembles and self-refining generation.
  • Overthinking at Large Scale: Evaluating reasoning route counts showed non-monotonic behavior: very large models (32B–72B) can overthink when prompted with too many routes (>7), introducing contradictory constraints.
  • Static vs. Dynamic Settings: Evaluations were conducted on static benchmarks. Extending inverse thinking to dynamic, multi-turn, multi-agent, and latency-critical multimodal environments remains an open challenge.

Summary updated

BibTeX
@misc{kim2025invthink,
  author = {Yubin Kim and Taehan Kim and Eugene W Park and Chunjong Park and Cynthia Breazeal and Daniel McDuff and Hae Won Park},
  title = {{InvThink: Towards AI Safety via Inverse Reasoning}},
  year = {2025},
  eprint = {2510.01569},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.01569},
}
Figure