Safety instinct: large language models learn to trust an internal compass for self-defenseSafety Instincts: LLMs Learn to Trust Their Internal Compass for Self-Defense
The researchers propose the SIRL (Safety Instincts Reinforcement Learning) safety training method, which maintains a defense success rate (DSR) above 89% on Llama and Qwen models against more than 20 jailbreak methods ranging from static prompts to adaptive attacks. The method is based on a finding: aligned models give high-confidence refusals to harmful requests, while entropy is higher when generating potentially dangerous content; this entropy gap reveals that the model intrinsically "knows" when it should refuse. SIRL converts this internal confidence into a self-generated reward signal, reinforcing low-entropy refusal behavior without relying on external verifiers or human annotation; trained with only 15,000 unlabeled prompts, it surpasses resource-intensive supervised methods while maintaining original performance on math, coding and dialogue benchmarks.