A Unified Mechanistic Analysis of Knowledge- and Safety-Based Refusals

Yuri Son, Seunghee Kim, Hyuhng Joon Kim, Taeuk Kim
9/1/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) are increasingly trained to decline queries that fall outside their knowledge (knowledge-based refusal, KR) or violate safety policies (safety-based refusal, SR). Although KR and SR result in superficially similar responses, they have largely been studied in isolation, leaving open whether they share an underlying mechanism.

Show full abstract

We address this gap with a systematic study on a new dataset of 213 contrastive quadruples that jointly probe both refusal types. We find that KR and SR are governed by overlapping yet distinguishable mechanisms. Both share a refusal direction, yet the overlap is asymmetric: SR signals transfer more strongly to KR than the reverse. Type-specific specialization emerges mainly in upper layers, with KR aligning with uncertainty- and knowledge-related representations and SR with safety- and policy-related ones. We thus characterize refusal as a commit-then-specify process: a shared initial mechanism commits to refusing, then type-specific features in later layers specify whether the grounds are epistemic or normative.

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{son2026unified,
  title  = {A Unified Mechanistic Analysis of Knowledge- and Safety-Based Refusals},
  author = {Yuri Son and Seunghee Kim and Hyuhng Joon Kim and Taeuk Kim},
  year   = {2026},
  eprint = {2609.00760},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.00760v1}
}

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.00760.svg)](https://codeofpaper.com/paper/2609.00760)

Discussion