paper-with-me

홈 › Papers

HARC: Coupling Harmfulness and Refusal Directions for Robust Safety Alignment

2026-07-01 · Shei Pern Chua, Hao Wu, Fangzhao Wu arxiv

Understanding how aligned LLMs internally represent safety is critical for diagnosing alignment vulnerabilities, as it explains why jailbreaks succeed and informs the design of robust alignment strategies. Prior work shows that aligned LLMs encode harmfulness and refusal as separable directions in the residual stream at prompt-side token positions. We show that jailbreaks succeed at prompt encoding by suppressing either the refusal or harmfulness direction before any token is generated, with distinct attack classes occupying separable regions of the harmfulness-refusal plane. Extending the analysis to response-token positions, we find that the model recognizes harmful content while it is generating that content, even when it failed to recognize the input as harmful at the prompt side. Motivated by our findings, we introduce HARC (Harmfulness-And-Refusal Coupling), a fine-tuning method that pairs the two directions across both prompt and response positions. Since the intervention is confined to the harmfulness-refusal subspace, it leaves the rest of the residual stream intact and does not degrade general capability or inflate over-refusal. Across extensive experiments, HARC achieves the strongest robustness-capability-usability trade-off among six baselines spanning the major training-time and inference-time safety methods. The harmfulness and refusal directions at prompt and response positions transfer across the five model families and two scales we tested without architecture-specific tuning.

📄 PDF Abstract BibTeX arXiv:2607.00572

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LLMs Encode Harmfulness and Refusal Separately

2025-07-16 · Jiachen Zhao, Jing Huang, Zhengxuan Wu, David Bau 외

LLMs are trained to refuse harmful instructions, but do they truly understand harmfulness beyond just refusing? Prior work has shown that LLMs' refusal behaviors can be mediated by a one-dimensional subspace, i.e., a ref…

Low-Resource Safety Failures Are Action Failures, Not Representation Failures

2026-05-31 · Rashad Aziz, Ikhlasul Akmal Hanif, Fajri Koto arxiv

Safety alignment learned in high-resource languages transfers poorly to low-resource languages. Models refuse harmful prompts in English but fail to refuse when the same prompts are translated into Swahili or Burmese. Ad…

From Concept-Aligned Tokens to Vulnerable Features: Mechanistic Localization of Jailbreaks

2026-04-25 · Nilanjana Das, Mathew Dawit, Aman Chadha, Manas Gaur arxiv

Jailbreak attacks expose a persistent failure mode in safety-aligned LLMs: models can be pushed into harmful behavior, but the internal representations enabling this shift remain poorly localized. Recent mechanistic safe…

Knowing without Acting: The Disentangled Geometry of Safety Mechanisms in Large Language Models

2026-03-06 · Jinman Wu, Yi Xie, Shen Lin, Shiqian Zhao 외 arxiv

Safety alignment is often conceptualized as a monolithic process wherein harmfulness detection automatically triggers refusal. However, the persistence of jailbreak attacks suggests a fundamental mechanistic decoupling. …

Minimal, Local, Causal Explanations for Jailbreak Success in Large Language Models

2026-04-30 · Shubham Kumar, Narendra Ahuja arxiv

Safety trained large language models (LLMs) can often be induced to answer harmful requests through jailbreak prompts. Because we lack a robust understanding of why LLMs are susceptible to jailbreaks, future frontier mod…