arXiv:2610.25611cs.LGOct 2026

Manuscript Offprint

arXiv:2610.25611

Safety Offset Learning: When Benign Fine-Tuning Misaligns LLMs

Jesson Wang, Zhanhao Hu, Minghao Lin, Yuchen Wu, Aylin Caliskan, Mengyuan Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jesson Wang1,∗^{1,*}, Zhanhao Hu2,∗,†^{2,*,\dagger}, Minghao Lin1^{1}, Yuchen Wu3^{3}

Aylin Caliskan3^{3}, Mengyuan Li1^{1}

1^{1}University of Southern California 2^{2}University of California, Berkeley

3^{3}University of Washington

Safety risks from fine-tuning are commonly characterized by the harmfulness of the training data: harmful fine-tuning is considered dangerous, while benign fine-tuning is often assumed to preserve alignment. We argue that this view misses a more fundamental factor—the behavioral transition induced by supervision. Harmful fine-tuning and safety-degrading benign fine-tuning can both be understood as learning the same refusal-to-compliance transition, but on different data distributions. We study whether such a transition learned on benign inputs can generalize to harmful requests. We construct benign examples that an aligned model initially tends to refuse and pair them with their original harmless responses, creating a discrepancy between the model's initial refusal and the supervised answer. Fine-tuning on these examples increases harmful compliance, but only when two conditions hold together: the discrepancy is large enough, and it cannot be resolved through a narrow surface-level shortcut. With the induced discrepancy matched, varying only whether it is localized changes harmful compliance by an order of magnitude; raising the discrepancy does not help while a shortcut remains available, and removing the shortcut does not help while the discrepancy is small. Building on this observation, we introduce SAFEOFF, a dataset of benign instructions rewritten to raise the aligned model's refusal likelihood and paired with their original answers. Across three aligned LLMs and three safety benchmarks, SAFEOFF substantially weakens safety alignment despite containing no explicit harmful supervision, suggesting that fine-tuning safety depends not only on what data a model sees, but also on which behavioral boundary the supervision moves.

Warning: This paper contains harmful prompts and model outputs that may be offensive or disturbing.

Code: https://github.com/JessonWong/safety-offset-learning

1 Introduction

Modern large language models (LLMs) are typically safety-aligned before deployment through supervised fine-tuning, preference optimization, and reinforcement learning from human or AI feedback [Ouyang et al., 2022, Bai et al., 2022a, Rafailov et al., 2023, Bai et al., 2022b]. These models are subsequently fine-tuned for downstream tasks, making the safety of post-alignment fine-tuning an important practical concern. Existing discussions of this risk are often organized around the content of the fine-tuning data [Eiras et al., 2024]. Fine-tuning on harmful instructions and harmful responses is naturally considered dangerous because it directly trains the model to comply with requests it was previously aligned to refuse. Recent work has shown that benign or seemingly innocuous data can also degrade safety alignment [Qi et al., 2023, He et al., 2024]; in our setting, however, the resulting degradation is comparatively modest (Section 4.3), and some of these datasets contain examples flagged by content moderation (Table 2).

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

Figure

Figure 1: Overview of three fine-tuning settings on an aligned LLM. Harmful fine-tuning pairs harmful instructions with harmful responses; the resulting model complies with harmful queries. Benign fine-tuning on ordinary safe instruction data preserves the model's refusal behavior. SAFEOFF fine-tuning keeps the data benign at the content level, rewriting only the instructions, yet the fine-tuned model also complies with harmful queries.

We argue that characterizing fine-tuning safety solely by data harmfulness obscures another important dimension: the behavioral transition induced by supervision. A behavioral transition is the change that supervision demands on a training input: from the behavior the aligned model initially exhibits on that input to the behavior specified by the target response. Refusal-to-compliance is its most directly observable instance. Consider harmful fine-tuning. For a harmful request, an aligned model initially tends to refuse, while the supervised target is a compliant answer; training therefore induces a refusal-to-compliance transition. Now consider a benign example that also elicits refusal from the aligned model, for instance because its phrasing resembles a harmful request, but is paired with an ordinary helpful response. Although its content is harmless, the supervision induces the same behavioral transition: the model is again trained to replace refusal with answering. The two settings differ in the distribution of the inputs on which this transition is learned, but not necessarily in the direction of the behavioral update.

Whether this shared transition matters for safety depends on how far it generalizes. If fine-tuning only teaches a local association—answering one particular kind of benign prompt—there is little reason for behavior on harmful requests to change. If instead it produces a general update that suppresses the model’s tendency to refuse, the same transition can transfer beyond the fine-tuning distribution and weaken refusal on harmful requests that never appear during training. We call this phenomenon safety offset learning (Figure 1): fine-tuning on benign inputs learns to suppress the model’s pre-existing refusal behavior, and this learned offset carries over to harmful requests. On this view, safety degradation from benign fine-tuning is not an anomaly but a case of cross-distribution generalization of a behavioral transition.

This framing yields two empirical questions, which Figure 2 separates. The first is whether a given data construction actually induces the transition on its own training distribution. The second is whether the induced change generalizes to harmful requests. The distinction matters because the transition in the first question is harmless by itself: replacing refusal with a benign answer on benign inputs changes nothing unsafe. Only when the same transition transfers to harmful requests does it become a safety failure. We address the first question with refusal diagnostics on the fine-tuning inputs and the second with held-out harmful benchmarks (Section 4.3).

We first test this framing in a controlled setting (Section 4.2). Starting from ordinary benign instructions, we insert safety-sensitive keywords that increase the aligned model's tendency to refuse, while keeping the original harmless responses as fine-tuning targets, so the supervised content stays benign. Fine-tuning on these examples can transfer the induced refusal-to-compliance transition to harmful prompts, but only when two conditions hold together: the transition must be large enough, and it must not be resolvable through a shortcut.

Varying keyword position and keyword count factorially separates the two conditions. Appending keywords as a block and scattering the same keywords through the instruction induce nearly the same initial

Figure

Figure 2: Illustration of behavioral-transition generalization in safety offset learning. The model learns a behavioral transition from refusal to compliance in the benign domain and generalizes it to a similar transition in the harmful domain, resulting in misalignment.

refusal, yet the scattered keywords transfer fourteen times more strongly (attack success rate 0.69 vs. 0.05): at a fixed position, the model can resolve the discrepancy by discounting the keywords. Scattering removes this shortcut, but a single scattered keyword induces little refusal and still transfers little. Simply creating refusal-to-compliance supervision is therefore insufficient: reliable safety degradation requires examples that induce a large transition that no superficial property of the fine-tuning inputs can resolve.

Motivated by this observation, we introduce SAFEOFF, which rewrites benign instructions while retaining their original target answers. It is designed to meet both conditions: rewriting is guided by the aligned model's likelihood of a fixed refusal sequence, an input-side proxy for behavioral discrepancy, so that the induced transition is large; and rewriting the whole instruction leaves no fixed surface cue that could serve as a shortcut. Additional comparisons with alternative data constructions are provided in Appendix D.1.

Across three aligned LLMs and three safety benchmarks, fine-tuning on SAFEOFF substantially increases judged harmfulness despite the absence of explicit harmful supervision (Table 4). The effect exhibits a clear dose-response relationship as the fraction of SAFEOFF examples increases and partially resists dilution with ordinary benign utility data. Together with the keyword-position study in Table 1, these results support a view of fine-tuning safety in which both the training distribution and the behavioral transition induced by supervision matter. Benign data are therefore not inherently safety-preserving; they can become safety-critical when they train a behavioral transition that transfers to harmful distributions.

This paper makes three contributions.

• A behavioral view of fine-tuning safety. Harmful fine-tuning and safety-degrading benign fine-tuning can train the same refusal-to-compliance transition while differing only in the input distribution on which it is learned. Fine-tuning risk therefore depends on both the data distribution and the behavioral transition that supervision induces.

• Conditions for transfer and a construction. We identify two conditions under which refusal-to-compliance supervision on benign inputs transfers to harmful requests: the induced transition must be large enough, and it must not be resolvable through a shortcut. We meet both with SAFEOFF, which induces such a transition using only benign instruction–response pairs.

• Evidence across models and benchmarks. Keyword-position experiments show that neither condition suffices alone, and matched refusal-loss experiments show that, without a shortcut, larger transitions produce greater degradation. A comparison across three aligned LLMs and three safety benchmarks shows that the transition learned on benign inputs transfers to harmful requests, and ratio and mixture ablations show that it scales with the amount of SAFEOFF supervision and partially resists dilution.