Manuscript Offprint

arXiv:2609.04482

Safety for Whom? Boundary-Aware Self-Distillation for Controlled LLM Safety Refusal

Alejo López-Ávila, Iker García-Ferrero, Jezabel Garcia, Antonio Tiene, Román Orús

Abstract

Safety alignment is usually posed as a topic-level question: is this subject harmful? Deployments ask a narrower one. A civics tutor and a public-sector assistant may share a base model yet need different boundaries inside the same topic, refusing targeted political manipulation while still answering factual questions about the same election. We formulate this as narrow-boundary safety and introduce an offline self-generated framework combining controlled topic generation, coverage repair, in-distribution compensation data, and harmful-benign pairs for training and evaluation. Single-shot generation leaves 19.88% of prompts without accepted refusal traces, whereas escalating retries leave 0.20%. On political persuasion with Qwen3-8B, training on refusal data completed through Escalate increases target-domain refusal from 9.47% to 84.75% and reduces the mean unsafe-response rate across three broader harmfulness benchmarks from 26.26% to 0.14%, but increases XSTest over-refusal from 2.00% to 74.00%. In a separate matched comparison, replacing external responses with verified target-model responses reduces over-refusal from 15.20% to 5.20%. Boundary-pair data reduces comply-side over-refusal on held-out pairs from 32.94% to 4.16%, while harmful-side refusal decreases only from 91.88% to 87.72%. These results show that data composition controls the safety and usability trade-off, and that safety alignment should be evaluated on both sides of the intended refusal boundary.

1 Introduction

Safety alignment for large language models has increasingly become a question of reducing harmful compliance without sacrificing useful reasoning. This problem is especially visible in reasoning-oriented models, where post-training is expected to preserve deliberation, explanation, and problem-solving ability while maintaining reliable refusal

Figure

Figure 1: Narrow-boundary safety. A deployment-specific policy may need to refuse only political prompts that ask for manipulation, propaganda, or targeted persuasion (the target-harmful subset, later formalised as HH), while still answering other political prompts (the benign complement, Ω∖H\Omega \setminus H), rather than refusing all of politics (Ω\Omega). A trained model's refusal behaviour, a probability in [0,1][0,1], is smoother than this ideal split and can overshoot into benign territory near the boundary. The marked fake-harmful region shows the downside of raising refusal for surface-dangerous benign prompts, tested directly in fig. 5.

behaviour. Existing methods therefore seek a difficult balance: the model should refuse harmful requests, but it should not become a blunt refusal machine.

Most safety work assumes a broad and topic-agnostic notion of harm. A prompt is treated as unsafe because it falls into a general safety taxonomy, such as cyber abuse, weapons, fraud, or self-harm. Real deployments are more heterogeneous. The same base model may be adapted for a general assistant, an educational product, an enterprise system, or a public-sector service, and each setting may require a different safety boundary. Existing guard taxonomies cannot express such boundaries. LlamaGuard-3, for instance, covers elections only as 'factually incorrect information about electoral systems and processes' (Inan et al., 2023), which excludes persuasion and targeted manipulation, and equally excludes the factual prompts a deployment must continue to answer. In such cases, the relevant question is not whether an entire topic should be refused, but which subset of that topic is incompatible with the deployment policy.

We study this problem through political persuasion as a narrow-boundary domain. Political content is not uniformly harmful. Factual civics questions, neutral summaries, and non-persuasive explanations should remain answerable. At the same time, prompts asking for manipulation, propaganda, radicalisation, or targeted persuasive rhetoric may need to be refused in some deployments (Chen et al., 2026; Liu et al., 2025). The goal is therefore to learn a refusal boundary inside a broader topic: the model should refuse the target harmful subset while preserving useful behaviour in the benign complement, as illustrated in fig. 1.

This framing exposes three weaknesses in standard self-generated safety tuning. First, single-shot steering can leave a coverage gap, summarised in fig. 2: some prompts fail to elicit an accepted refusal trace and are dropped, which silently removes 19.88% of our audited prompt pool, even though these failed prompts may be the hardest examples. Second, safety tuning can produce downside reactions, especially false refusals on benign prompts that look superficially harmful (fig. 1). Third, ordinary harmful and benign splits do not measure the shape of the refusal boundary (fig. 1). A model may improve its refusal rate by expanding refusal into nearby permissible prompts, and in our own runs this effect is severe: the configuration with the lowest harmful-response rate also refuses 74% of the safe prompts in XSTest, which is a blunt refusal machine rather than a safer model.

We address these issues with an offline safety-tuning framework based on self-generated safety alignment. The data pipeline constructs controlled topic-specific prompts through hierarchical generation, with controls over persona, length, style, and paraphrasing. It then repairs coverage gaps with coverage-oriented generation variants, constructs in-distribution compensation data for benign and surface-dangerous benign prompts, and introduces harmful-benign prompt pairs that directly define local regions of the refusal boundary. These components are designed to test whether the model learns transferable safety behaviour rather than artefacts of a single prompt format or generation recipe. We

Figure

Figure 2: Coverage gap in self-generated safety data. Steering a harmful prompt does not always produce a refusal. Prompts where steering succeeds form the refusal preimage f−1(Ref)f^{-1}(\text{Ref}); prompts where it fails form the drop set D=H∖f−1(Ref)D = H \setminus f^{-1}(\text{Ref}). Section 4 introduces constructions that recover these failed prompts instead of discarding them.

take ThinkSafe as our reference recipe, since it shares our target model, adapter configuration, and evaluation judges, and we measure each component as an addition to it (Lee et al., 2026).

Our evaluation separates harmful-compliance reduction from false-positive refusal. We measure refusal on in-distribution and held-out political prompts, unsafe behaviour on broader harmfulness benchmarks, over-refusal on benign prompts, and boundary behaviour on held-out harmful-benign pairs. This allows us to ask whether the model learns a narrower and more useful refusal boundary, rather than merely becoming more conservative across the topic.

The paper makes the following contributions:

  1. Narrow-boundary safety. We formulate deployment-specific safety as refusing a target harmful subset inside a broader topic, rather than refusing the whole topic. We operationalise this setting with 1,539 held-out harmful-benign boundary pairs per side, which test both the refusal-worthy side and the comply-worthy side of the boundary.

  2. Coverage-oriented self-generation. We identify the coverage gap left by single-shot self-generated refusal data, which silently discards 8,009 prompts, or 19.88% of the audited prompt pool. We introduce coverage-oriented variants that complete the training data instead of dropping hard prompts, reducing residual failures to 79 prompts, or 0.20%.

  3. Controlled topic-specific data construction. We generate topic-controlled data through a hi-erarchical pipeline with persona, length, style, and paraphrasing controls, yielding 40,293 harmful training prompts after coverage repair. The same pipeline also supports religion as a second topic, and we constructed a religion-domain dataset with it, although it is not used in any experiment reported in this paper. We will release the generated datasets and the generation code on publication.

  4. Compensation for downside reactions. We construct in-distribution compensation data for benign and surface-dangerous benign prompts, including 11,955 verified surface-dangerous prompts across 18 semantic types, targeting false-positive refusals without treating the whole topic as unsafe. Replacing externally adopted compliance responses with verified in-distribution ones lowers XSTest over-refusal from 0.1520 to 0.0520 under single-shot generation and from 0.2520 to 0.0440 under Graft.

  5. Boundary-aware evaluation. We use harmful-benign prompt pairs to measure boundary precision directly. Boundary data reduces over-refusal on the comply-worthy side of the held-out boundary from 0.3294 to 0.0416, at a smaller cost on the refusal-worthy side, where refusal falls from 0.9188 to 0.8772.

  6. Safety transfer and its confound. We show that refusal tuning on harmful political prompts alone lowers unsafe behaviour on broader safety benchmarks, from 0.2626 to 0.0014 in the strongest configuration, but that this gain is not separable from a rise in false-positive refusal, from 0.0200 to 0.7400 on XSTest at the same checkpoint. We therefore report the safety and over-refusal axes jointly rather than reporting harmfulness alone.

References (58)