English

From Shallow to Deep: Pinning Semantic Intent via Causal GRPO

Machine Learning 2026-03-04 v1

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.

Keywords

Cite

@article{arxiv.2603.02675,
  title  = {From Shallow to Deep: Pinning Semantic Intent via Causal GRPO},
  author = {Shuyi Zhou and Zeen Song and Wenwen Qiang and Jiyan Sun and Yao Zhou and Yinlong Liu and Wei Ma},
  journal= {arXiv preprint arXiv:2603.02675},
  year   = {2026}
}
R2 v1 2026-07-01T11:00:33.598Z