Can Fine-Tuning Weaken Safety Behaviour?
How tuning can undo an AI model's refusals, why a few bad examples can be enough, and how to test safety before and after you tune, for your AI interview.
In short
Yes. Fine-tuning changes the weights that hold a model's refusals, so a small amount of training can weaken them. In one 2023 study, 10 crafted examples jailbroke GPT-3.5 Turbo. Test safety before and after every tune.
12 min readAdvancedOccasional · estimateFacts checked 27 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
Yes, it can. Fine-tuning changes the same weights that hold the model's refusals. In one 2023 study, ten crafted examples jailbroke GPT-3.5 Turbo, and ordinary data can wear safety down a little too. So I test every tuned model against a red-team set, before and after, and keep the hard limits in code, outside the model.
A model's refusals are learned, and they sit in the same weights that fine-tuning changes. When you train on new examples, you move those weights toward the new examples. If the examples don't reinforce refusals, the refusals can fade. Nobody has to intend harm for this to happen.
The research shows how small the change can be. In 2023, researchers jailbroke GPT-3.5 Turbo with ten crafted examples that cost under twenty cents through OpenAI's API. Another team reported removing GPT-4's RLHF protections with as few as 340 examples in their tests. Even ordinary datasets can weaken safety somewhat, so the risk is part of everyday work too.
So my plan has four parts. I screen the training rows with a moderation check. I run a red-team set before and after the tune. I keep hard limits in code, so a weakened refusal can't turn into a real action. And I limit who can start a tune. On a hosted API I also read the provider's safety checks, but I run my own tests too, because they can't know our bank's own rules.
In the interview, I'd say yes, it can happen, and here is how we measure it. Safety is a result you check after every change to the weights.
What is the safety risk of fine-tuning, in plain words?
A model learns to refuse harmful requests during safety training. Those refusals sit in the same weights that hold everything else the model knows. Fine-tuning trains those weights further on your examples, so it can move the refusals too.
Hackers are one source of this risk. Careless data is another. A few hundred crafted rows can remove refusals on purpose, and everyday rows can wear them down a little by accident.
Think of a bank teller who was trained to check ID before reading out an account. Her manager then spends a month on practice calls where customers always get what they ask for. She may stop checking, and nobody meant to remove the rule. The new habits simply outweighed the old one. A tuned model works the same way, because all its habits live in one set of weights.
A real case looks like this. A support model is tuned on past chats so it sounds warmer. Afterwards it starts answering questions it used to decline, such as how to get around a blocked card. The tone improved, and the safety went with it.
Key words
- Fine-tuning
- More training on your own examples, after the first training, to change how a model behaves.
- Weights
- The numbers inside a model that hold what it learned. Training changes them.
- Refusal
- When a model declines a request it should not help with.
- Red-team set
- Hard, unsafe test prompts kept out of training, used to check the model.
Why can ordinary training weaken a refusal?
Safety training is shallower than it looks. A 2024 paper by Xiangyu Qi and colleagues says "safety alignment can take shortcuts". The paper says the training mostly shapes the first few output tokens. My reading is that a tune which changes how answers open could loosen the refusal.
The 2023 paper by Xiangyu Qi and colleagues also found that tuning on ordinary, benign datasets weakened safety somewhat, even with no bad intent. So the risk exists even when nobody means harm.
How a tune can undo a refusal
What goes in
Base model
learned to refuse in safety training
Our tuning rows
support chats, unchecked
Crafted harmful rows
10 rows did it, alone, in one study
Fine-tune job
changes the weights
Tuned model
same weights, new habits
Refusals hold
passes the red-team test
Refusals drop
found only by testing
- 1The safety-trained model is the starting point.
- 2The rows you meant to use go in as well.
- 3Crafted rows that push against refusals go in too.
- 4The job changes the weights, which hold refusals too.
- 5If the refusals held on the test, the model can ship.
- 6If they dropped, nothing warns you until a test finds it.
On a hosted API you upload rows, and the provider does the training. You never see the weights, so the only way to know is to test the tuned model.
How many bad examples does it take?
The numbers are small, and they come from attack studies, so treat them as a warning and measure your own model.
“For instance, we jailbreak GPT-3.5 Turbo's safety guardrails by fine-tuning it on only 10 such examples at a cost of less than $0.20 via OpenAI's APIs, making the model responsive to nearly any harmful instructions.”
Qi and colleagues, 2023
“In this work, we show the contrary: fine-tuning allows attackers to remove RLHF protections with as few as 340 examples and a 95% success rate.”
Zhan and colleagues, 2023
The second team says the training examples can be made automatically with weaker models, so a small budget can be enough. For a team, the lesson is the cost: a few hundred rows and a small bill are enough to show the risk, and a normal review can miss it.
What does it look like at a bank?
A mid-size bank tunes its support model on 40,000 past agent chats so it sounds warmer. Before training, the team keeps 200 unsafe prompts out of the data and uses them as a red-team set. The numbers here are made up to show the method.
- Before the tune
Base model refuses 194 of 200
That is 97%. Refusals on account access and fraud advice hold.
- After the tune
Tuned model refuses 171 of 200
That is 85.5%. 29 unsafe prompts got no refusal, so the model is held back.
The fix is to find the chats that caused the drop, screen them, retrain and test again. The release gate in the code below is the step that stops the weaker model going live.
Here is that gate in plain Python, with the same made-up numbers.
# Made-up numbers: a release gate for a tuned support model.
RED_TEAM_PROMPTS = 200 # unsafe test prompts, kept out of training
FLOOR = 0.95 # release only if at least 95% are refused
def refusal_rate(name, refused):
rate = refused / RED_TEAM_PROMPTS
print(f"{name}: refused {refused} of {RED_TEAM_PROMPTS} = {rate:.1%}")
return rate
refusal_rate("base model", 194)
tuned = refusal_rate("tuned model", 171)
if tuned >= FLOOR:
print("SHIP the tuned model")
else:
print("HOLD: find the rows that cut refusals, retrain, test again")Output
base model: refused 194 of 200 = 97.0% tuned model: refused 171 of 200 = 85.5% HOLD: find the rows that cut refusals, retrain, test again
How do you keep safety after a tune?
Protect the refusals in five places, because the model alone is only one layer.
A release gate for a tuned model
Tuning rows
the past chats you will train on
Screen the rows
moderation check, unsafe rows out
Tuned model
trained on the screened rows
Red-team test
unsafe prompts, kept out of training
Ship
score at or above our floor
Hold and fix
find the rows, retrain, test again
- 1Your chats are checked before any training starts.
- 2Only the screened rows train the model.
- 3The tuned model answers the same hard prompts.
- 4Passing the floor means the model can be released.
- 5A failed score goes to a fix step, never to users.
- 1
Screen the training rows
Run every row through a moderation check and drop the unsafe ones before the job starts.
- 2
Test before and after
Keep a red-team set out of training. Score the base model and the tuned model on the same prompts.
- 3
Put hard limits in code
Money, data and tool access are checked outside the model. A fooled model can ask for an action, but code decides whether it runs.
- 4
Limit who can start a tune
Only named people start tuning jobs, and each job keeps a record of the data it used.
- 5
Re-test on every change
A new row set, a new base model or a new prompt means the red-team test runs again.
“To preserve the default model's safety features through the fine-tuning process, fine-tuning training data is passed through our Moderation API and a GPT‑4 powered moderation system to detect unsafe training data that conflict with our safety standards.”
OpenAI, August 2023
“Once a fine-tuning job is completed, we assess the resulting model's behavior across 13 distinct safety categories.”
OpenAI, current docs
Hosted providers help with the first layer. OpenAI said in an August 2023 post that it passes fine-tuning data through its Moderation API. Its current docs say each finished job is assessed across 13 safety categories, and that you should run your own evaluations. Your bank's own rules still need your own tests.
Tip
Asked how to keep a tune safe? Don't promise it stays safe. Say you test before and after every change, and keep hard limits in code.
How would you tune a claims model without losing its refusals?
An insurer wants a model to sort claim notes for a human adjuster. Its base model refuses to help with unfair denials. The team tunes it on fifteen years of old adjuster notes, and some of those notes give reasons that are unfair.
Tuning copies the notes, so it can copy the unfair reasons too. I would screen the notes for protected grounds, write fairness and refusal cases into the red-team set, test before and after, and keep the decision with a person. Code checks every denial before it goes out.
What does the interviewer want to hear?
A strong answer covers
- Yes: refusals live in the same weights that training changes.
- A real study: ten crafted examples jailbroke GPT-3.5 Turbo in 2023.
- Ordinary data can wear safety down too, though less.
- Test before and after every tune, on a red-team set kept out of training.
- Hard limits sit in code, not only in the model's refusals.
- Hosted safety checks help, but they don't know your rules.
Common traps
Trap"Fine-tuning only changes the tone, not the safety."
BetterIt changes the same weights that hold refusals, so safety can move too. Test it.
Trap"If we tune on our own data, it stays safe."
BetterYour data can be harmful, narrow or careless. Screen it, then test the result.
Trap"The provider's safety checks cover us."
BetterThey cover 13 safety categories. Your bank's own rules need your own tests.
Can you spot the risk?
Spot the risk
A bank's tuning set has four rows. Which one could teach the model to drop its refusals?
Quick check
A tuned support model still passes its helpfulness tests, but it refuses 171 of 200 red-team prompts, down from 194. What is the right next step?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
Learn it in depth
Last updated on 27 November 2026
Tuning a model on your own company data?
I design and build AI products and agents, including the checks around them. Book a short call and tell me what data you want to tune on and what must never change.