Alignment of LRMs via Counter-Aligned Few-Shot Conversation Exposure

Xiangyu Zhou, Saleh Zare Zade, Dongxiao Zhu
8/16/2026
cs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhou2026alignment,
  title  = {Alignment of LRMs via Counter-Aligned Few-Shot Conversation Exposure},
  author = {Xiangyu Zhou and Saleh Zare Zade and Dongxiao Zhu},
  year   = {2026},
  eprint = {2609.27763},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.27763v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.27763.svg)](https://codeofpaper.com/paper/2609.27763)

Discussion