Alignment of LRMs via Counter-Aligned Few-Shot Conversation Exposure
Abstract
Large Reasoning Models (LRMs) rely on explicit chain-of-thought (CoT) reasoning and large context windows to achieve strong performance on complex tasks, but these features also introduce new attack surfaces. We show that LRMs' reasoning processes can be systematically steered by prepending counter-aligned few-shot conversations containing explicit CoT traces, leading to unsafe generations on harmful queries and unwarranted refusals on benign ones. We formalize this attack as SRCF (Steering Reasoning via Counter-Aligned Few-shot Conversations) that operates solely through a flexible conversational interface and requires no access to the model's parameters and gradients. Our key insight is that SRCF exploits an adversarial generalization issue that induces a representation drift, causing the representations of benign and harmful inputs to shift in a similar direction. This observation motivates our post-training defense, ARCF (Aligning Reasoning via Counter-Aligned Few-Shot Conversations), which exposes models to counter-aligned conversational contexts while enforcing aligned targets. ARCF is compatible with existing post-training methods and consistently improves safety and helpfulness without degrading utility.
Create a lesson
Related papers
Few-Shot Adaptation of Vision-Language Models via Agentic Model Editing
Shared title terminologycs.AIYusheng Zhao, Xiao Luo, Zhiping Xiao et al.
Evaluating Aviation Safety Knowledge Extraction with SmolLM2: From Zero-Shot to Retrieval-Grounded Prompting
Shared title terminologycs.AIAziida Nanyonga, Mustafa Tahsin Yilmaz, Amir Hussain et al.
EXPOSURE: Explaining Sources of Uncertainty in Reinforcement Learning
Shared title terminologycs.AIKiana Farhadyar, Yannick Vogt, Philipp Laur et al.
Aligned Machine: A Benchmark for Evaluating Multimodal Embedding Similarity via Human Comparative Judgements
Shared title terminologycs.AIJiechen Li, Hannah Groos, Brinnae Bent
CA-RAG: Constraint-Aligned Retrieval for Structurally Faithful Long-Form Generation
Shared title terminologycs.AIVimal Kumar Kumar, Meghana Kshirsagar, Conor Ryan
Collaborative Language Models for Semantic IoT Data Processing: Validation through Zero-Shot Human Activity Recognition
Shared title terminologycs.AIMohsen Shirali, Kean Ooi, Anna Knab et al.