cs.LGMar 3, 2026

From Shallow to Deep: Pinning Semantic Intent via Causal GRPO

Authors: Shuyi Zhou, Zeen Song, Wenwen Qiang, Jiyan Sun, Yao Zhou, Yinlong Liu, Wei Ma

Organizations: University of Chinese Academy of Sciences, Beijing, China · Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China · Institute of Software, Chinese Academy of Sciences, Beijing, China

Abstract

Large Language Models remain vulnerable to adversarial prefix attacks (e.g., Sure, here is'') despite robust standard safety. We diagnose this vulnerability as Shallow Safety Alignment, stemming from a pathology we term semantic representation decay: as the model generates compliant prefixes, its internal malicious intent signal fades. To address this, we propose Two-Stage Causal-GRPO (TSC-GRPO), a framework designed to achieve intent pinning. First, grounded in causal identifiability theory, we train a causal intent probe to disentangle invariant intent from stylistic perturbations. Second, we internalize this causal awareness into the policy via Group Relative Policy Optimization. By employing a cumulative causal penalty within fork-in-the-road'' training scenarios, we force the model to learn that accumulating harmful tokens monotonically decreases reward, enabling robust late-stage refusals. Experiments show that TSC-GRPO significantly outperforms baselines in defending against jailbreak attacks while preserving general utility.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Reactivating Alignment: Defending LLMs from Jailbreaks via Intention-Aware Input-Output Matching

    Oct 3, 2026Luoyu Chen, Weiqi Wang, Chenhan Zhang +2Jailbreak DefenseLLM Safety Alignment

  2. Depth Charge: Jailbreak Large Language Models from Deep Safety Attention Heads

    Mar 6, 2026Jinman Wu, Yi Xie, Shiqian Zhao +1Adversarial Attacks on LLMsLLM Jailbreak Attacks

  3. Alignment-Weighted DPO: A principled reasoning approach to improve safety alignment

    Feb 24, 2026Mengxuan Hu, Vivek V. Datla, Anoop Kumar +4LLM AlignmentLLM Safety Alignment