Beyond Routine Compliance: Cunning Data Cultivates Safety Vigilance in Large Language Models
Youjia Wang, Lin Xu, Yang Sun, Yuxiao Lu, Chengfang Fang, Jie Shi
Abstract
Safety alignment teaches large language models (LLMs) to recognize harmful requests and reject risky instructions. Yet aligned models can fail when harmful intent is concealed within seemingly benign contexts. Robust safety therefore requires both knowledge of safety boundaries and vigilance: the ability to detect unusual premises, misleading reasoning, and latent risks beneath surface-level semantics. Vigilance requires models to scrutinize a request's underlying intent and assumptions before acting. To cultivate this capability, we introduce cunning questions, which are not necessarily safety-related but contain misleading premises, atypical reasoning, or subtle inconsistencies. We hypothesize that learning to look beyond such reasoning traps can transfer to safety-critical scenarios. Experiments show that Cunning training improves robustness to out-of-distribution jailbreak attacks and strengthens subsequent safety fine-tuning. Furthermore, augmenting an existing state-of-the-art safety alignment pipeline with Cunning establishes a new state of the art across our evaluated settings, reducing mean ASR across nine backbone--benchmark combinations from 17.40\% to 15.05\%. Trace analysis after matched safety fine-tuning suggests that safety judgments are more likely to govern responses before harmful planning begins. A conditional theoretical analysis further characterizes when invariance learned from cunning data can transfer to safety-related inputs. These findings suggest that cunning data can strengthen model vigilance and complement conventional safety alignment.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- 18 pages
Related papers
Safety Beyond the Interface: Detecting Harm via Latent States in Large Language Models
Shared title terminologycs.AIAlizishaan Khatri, Chiquita Prabhu, Omkar Neogi
LimoBench: How Street Smart Are Large Language Models?
Shared title terminologycs.AIGautam Choudhary, Jack Peng, Udesh Kumarasinghe et al.
Learning Heterogeneous Reasoning in Large Language Models: From Mode Compatibility to Local Bottlenecks
Shared title terminologycs.AISunbowen Li, Dandan Song, Shengkun Ma et al.
LogicTrack: Auditing Reasoning Trajectories of Large Language Models with Formal Logic Solvers
Shared title terminologycs.AIJingyu Hu, Shu Yang, Weiru Liu et al.
Offline Multimodal Large Language Models for Decision Support in Air Operations
Shared title terminologycs.AIJoao P. A. Dantas, Jelton A. Cunha, Gabriel Dietzsch
Decoupling Internal Representational Changes and Causal Importance in Fine-Tuned Large Language Models
Shared title terminologycs.AILingfang Li, Procheta Sen, Shubham Das et al.