M11 · Fine-tuning, LoRA, and RLHF11-0226 min read

Lesson 76 of 106 · Module 12 of 14 · Week 6

Threads:The measurement threadThe weights threadThe efficiency thread

Supervised Fine-Tuning (SFT): What It Can and Cannot Change

Supervised fine-tuning reliably changes a model's style, output format, tone, task framing, and refusal behaviour, because those are patterns it can learn from a few thousand demonstrations. It changes what a model knows only brittlely — facts absorbed from a small SFT set are unreliable, unciteable, undeletable, and stale the moment they land. On the NCA-GENL exam, the rule is: SFT for behaviour, RAG for knowledge, and any scenario mentioning changing facts, citations, or per-user deletion is a RAG scenario, not a fine-tuning one.

01

What supervised fine-tuning (SFT) is

Supervised fine-tuning is the process of continuing to train an already-pretrained language model on a curated dataset of labeled input-target pairs, so that its outputs come to resemble the targets. The loss is the same next-token cross-entropy the model was pretrained with (01-05), computed over the target tokens conditioned on the input, and the gradient updates flow through the model's weights via ordinary backpropagation (01-06). What makes it "supervised" is that a human — or a process a human trusted — wrote the target. What makes it "fine" tuning is that it starts from a good model and nudges it, using a learning rate small enough to shift behaviour without dismantling capability.

In its most common form, the pairs are instructions and responses, and the stage is called instruction tuning. But SFT is broader than that. A classification fine-tune where the target is a single label token, a structured-extraction fine-tune where the target is a JSON object, a style-transfer fine-tune where the target is the same content in a house voice — all of these are SFT. The unifying property is that every example carries a written answer the model is asked to imitate.

Three consequences follow directly from "imitate the written target," and they explain essentially everything SFT can and cannot do:

  1. SFT is imitation learning, so it excels at anything that is a consistent pattern across examples. Format, length, tone, ordering, hedging language, refusal phrasing, the decision to ask a clarifying question — these repeat across a training set and so are learnable from a few thousand demonstrations.
  2. SFT has no notion of truth. The loss rewards producing tokens that match the target. It cannot distinguish "this target is correct" from "this target is confidently wrong," because both are just token sequences. Label noise (08-02) therefore trains error with full force.
  3. SFT has no notion of provenance. After training, the model produces the token; it cannot tell you which training example the token came from, and neither can you. There is no citation, no audit trail, and no deletion operation.

Those three properties are the whole argument of this lesson.

02

How supervised fine-tuning works

L1 — The intuition: a thousand worked answers, not a rulebook

Prompting hands the model a rule at inference time: "answer in three bullets." SFT hands the model a thousand answers that happen to be in three bullets, and lets it infer the rule. The difference matters in both directions. The prompt is instant, free, reversible, and consumes context on every single request. The fine-tune is slow, costly, sticky, and consumes no context at all — the behaviour is baked in, so the prompt can be short and the tokens saved on every request.

The intuition for why behaviour transfers better than facts: across a thousand examples, "three bullets" appears a thousand times and any individual fact appears once. Gradient descent is a frequency machine. It learns what is repeated.

L2 — The mechanics: dataset, template, masking, epochs, and the failure surface

Dataset construction is the majority of the work and the majority of the risk. A usable SFT record has an input, an optional context, and a target that is genuinely the response you want — not an approximation, not a response with a preamble you would strip in post-processing, not a response written by a different model whose habits you are about to inherit. The reason to be strict is that the model imitates everything in the target, including artifacts you did not intend. Train on targets that all begin "Sure! Here's the summary:" and you have trained a model that says "Sure! Here's the summary:".

Template rendering converts each record into the single token sequence the model actually sees. The chat template — the model family's convention for marking system, user, and assistant turns — must match the one your serving stack will use. A mismatch here is invisible in the training metrics and fully visible in production behaviour, and it is one of the most common practical defects in fine-tuning work.

Loss masking determines which token positions contribute to the loss. Masking the input and computing loss only over the target is the standard choice for instruction tuning, because the goal is to learn the response, not to learn to reproduce the request. If you do not mask, a meaningful fraction of your gradient budget is spent teaching the model to generate prompts.

Hyperparameters are where a fine-tune is over- or under-cooked. The two that dominate outcomes are learning rate and number of epochs. Too high a learning rate or too many epochs on a small dataset and the model memorises the training set, loses general ability, and starts producing training examples verbatim in response to unrelated prompts. Too low and nothing changes. Reading the loss curves that distinguish these cases is 12-03; the underlying overfitting concept and the validation split that detects it are 01-07.

The failure surface, ordered by how often it bites:

FailureWhat you observeWhere it comes from
Template mismatchFine model in training, strange model in productionRendering convention differs between train and serve
Overfitting on a small setTraining loss near zero, general ability degraded, verbatim regurgitationToo many epochs, too few examples
Inherited artifactsModel adopts a preamble, a sign-off, or a hedge you never wantedTargets contained it uniformly
Label noise trained inModel reproduces a specific class of wrong answer with confidenceBad targets in the set; SFT cannot detect them
Catastrophic forgettingDomain metric up, everything else downDistribution shift pushed too hard — 11-03
No measurable changeMetrics flatLearning rate too small, dataset too homogeneous, or the target behaviour was already present

L3 — Why format transfers and facts do not

Consider a model's weights as a store of statistical regularities over token sequences (01-02). SFT with a small dataset performs a small number of gradient steps at a small learning rate. The question is which regularities can be installed by that budget.

A format regularity is high-frequency and low-dimensional. "Assistant turns in this dataset begin with a heading, contain exactly three bullets, and end without a closing pleasantry" is a single pattern reinforced by every example in the set. Every gradient step points in the same direction on it. The signal is strong, redundant, and cheap to encode.

A factual regularity is low-frequency and high-dimensional. "Part number XR-4491 supersedes XR-4480 as of the 2023 revision" appears in one example, or maybe three. The gradient contribution is tiny relative to the format signal, and the model has no mechanism that flags it as something to store precisely rather than approximately. What often results is partial absorption: the model learns that XR-44-something relates to a supersession, and generates a plausible neighbouring number. That is the worst possible outcome, because it is wrong in a way that reads as right.

There is a further asymmetry that makes fact-installation-by-SFT strategically bad even where it technically works:

PropertyBehaviour installed by SFTFact installed by SFTFact supplied by RAG
ReliabilityHigh and consistentUneven; degrades for rare itemsAs good as retrieval quality, and measurable
VerifiabilityNot needed — you can see the formatNone; no way to know what landedA citation to the source chunk
UpdatabilityRetrain when the format changes (rare)Retrain the whole model (facts change often)Re-index one document
DeletabilityN/AEffectively impossibleDelete the record
Cost per new itemN/AA training runAn ingestion job
Failure modeWrong shape — obviousConfident wrong content — invisibleMissing or irrelevant context — diagnosable

The right-hand two columns are the argument. Even at equal accuracy, retrieval wins on verifiability, updatability, deletability, and cost. 07-09 is the pipeline; 07-10 is how you attribute a bad answer to a stage.

03

SFT vs its four confusables: RAG, prompting, continued pretraining, and alignment

Four pairs, four different mistakes. This is the highest-value table on the page.

SFT vs RAG

DimensionSupervised fine-tuningRAG
What it changesThe model's weights, hence its behaviourThe model's input, hence what it can see
Right forStyle, format, tone, task framing, refusals, domain registerFacts, especially changing facts; anything needing a source
Data neededLabeled input-target pairsA corpus, chunked and indexed
FreshnessFrozen at training timeAs fresh as the last index update
CitationsImpossibleNative
Per-user deletionEffectively impossibleDelete the record from the index
Inference latencyUnchanged (or lower — shorter prompts)Higher — a retrieval hop plus a longer prompt
Inference cost per callUnchanged or lowerHigher — retrieved context is billed tokens
Cost profileOne-off training cost, cheap at inferenceNo training cost, ongoing cost per call
Fails byConfidently producing wrong contentRetrieving the wrong or no context
Exam signal phrases"in our house format", "always respond with", "our tone of voice""our documentation changes weekly", "must cite the source", "customer's data must be removable"

The single most useful reduction: RAG is right whenever the facts change, citations are needed, or one user's data must be deletable. Any one of those three clauses in a scenario settles the question. Candidate reports for this exam converge on a related heuristic — when one option proposes building a RAG solution it is frequently the keyed answer — with the counter-cases being no corpus, a genuine style or format requirement, and a hard latency floor. 07-12 covers when RAG is the wrong tool so the heuristic is not applied blindly.

SFT vs prompting

DimensionPromptingSFT
Weights changeNoYes
Time to first resultMinutesDays to weeks including data work
ReversibilityEdit the stringRoll back to a previous checkpoint
Context costConsumes tokens on every request, foreverZero at inference
ConsistencyGood but not guaranteed; drifts across inputsHigher on the trained behaviour
CeilingLimited by what fits in the window and by instruction-following abilityHigher for narrow, repeated behaviour
Right whenThe behaviour can be described, and you want to iteratePrompting demonstrably plateaued and the behaviour is high-volume

The decision rule that matters: never fine-tune before prompting has demonstrably plateaued on a real eval set. Many fine-tuning projects are solving a prompt-engineering problem expensively. 05-02 is prompt structure and 05-04 is how to version and test prompts so "we tried prompting" means something measurable. The exception where SFT wins cleanly on economics is high-volume, narrow behaviour: if a twelve-hundred-token system prompt is being paid for on every one of a million daily requests, folding it into the weights is a real cost argument, and 12-09 supplies the per-token arithmetic.

SFT vs continued pretraining

DimensionContinued pretrainingSFT
DataRaw unlabeled domain documentsLabeled input-target pairs
ObjectiveNext-token over all positionsNext-token over target positions
Volume neededMillions to billions of tokensThousands of examples
Buys youDomain fluency, vocabulary, genre feelInstruction-following, format, behaviour
Does not buyAny instruction-following at allDeep domain fluency
Confused becauseBoth are called "fine-tuning" casuallyBoth operate on a pretrained model

The test is one question: does your data have a target response? If yes, SFT. If it is a folder of documents, continued pretraining. 11-01 has the full stage map.

SFT vs alignment (RLHF / DPO)

DimensionSFTAlignment
Supervision signalA written correct answerA preference between two answers
What annotators doAuthor responsesCompare responses
Annotation cost per itemHigh — writing is expensiveLower — judging is cheaper than authoring
Optimises forImitation of a demonstrationMaximisation of a learned preference score
Position in pipelineMust come firstRequires an SFT'd model to start from
Best atInstalling a capability shapeChoosing among acceptable outputs
Characteristic failureOverfitting, artifact inheritanceReward hacking

The ordering here is examinable and strict: SFT → reward model from human preference labels → policy optimisation. 11-06 is the mechanism and 11-07 is the reward model and its pathologies. The reason SFT must come first is practical: policy optimisation explores around a starting policy, and a starting policy that does not follow instructions gives the reward model nothing worth ranking.

04

Worked example: does fine-tuning fix this complaint?

A support-automation team has a deployed assistant over their product documentation. They collect a month of complaints and want to know whether the fine-tune they have budgeted will help. The counts below are a constructed scenario, not measured data.

The complaint log, categorised:

text
Total logged complaints                              420

A. "Answer is too long / wrong format"               128   (30%)
B. "Answer cites no source, I can't verify it"        96   (23%)
C. "Answer is factually wrong about a current price"  84   (20%)
D. "Answer used a competitor's terminology"           58   (14%)
E. "Answer should have refused (legal advice)"        34   ( 8%)
F. "Answer misunderstood a multi-step question"       20   ( 5%)

Step 1 — classify each category by mechanism.

Cat.ComplaintGap typeMechanism that fixes itWould SFT fix it?
AToo long / wrong formatBehaviourPrompt first; SFT if prompting plateausYes, reliably
BNo source citedArchitectureRAG with citation renderingNo — SFT cannot cite
CWrong current priceFreshnessRAG over a live sourceNo — and a fine-tune would go stale immediately
DCompetitor terminologyBehaviour / registerSFT, or a prompt-level lexiconYes
EShould have refusedBehaviour (refusal)SFT on refusal examples, plus guardrailsYes
FMisunderstood multi-step questionCapabilityStronger base model, or decompositionUnlikely — capability ceiling

Step 2 — sum the addressable share.

text
SFT-addressable   (A + D + E)      = 128 + 58 + 34 = 220  → 52.4%
RAG-addressable   (B + C)          =  96 + 84      = 180  → 42.9%
Capability-bound  (F)              =                  20  →  4.8%

Step 3 — read the result honestly. A perfect fine-tune caps out at roughly 52% of the complaint volume, and that is the optimistic bound assuming every behavioural target is achievable. Nearly 43% of complaints are architectural and no fine-tune touches them. Meanwhile category A — the largest single bucket — should be attacked with a prompt change first, which costs an afternoon.

Step 4 — sequence the work by cost per point of improvement.

text
1. Prompt change targeting format/length (Cat A)   ~1 day     up to 30% of complaints
2. Add citation rendering to RAG output (Cat B)    ~3 days    up to 23%
3. Point retrieval at the live pricing source (C)  ~1 week    up to 20%
4. SFT on terminology + refusals (D, E)            ~4 weeks   up to 22%
5. Re-baseline on a stronger model (F)             ~1 week    up to  5%

The fine-tune is fourth on the list, not first, and the two cheapest items address more than half the volume. This ordering is the customisation ladder doing its job. Note that step 4 only becomes coherent because steps 1–3 removed the confounds: if you fine-tune first, you cannot tell whether an improvement came from the weights or from noise, and the categories mix.

Step 5 — decide what "success" means before running. The eval set must contain slices for each category, and the general-ability slice must be in there too, so a 22-point gain on terminology does not hide a regression elsewhere. 01-08 is the construction method and 09-01 is scaling it.

05

Decision table: when to reach for SFT and when not to

SituationReach for SFT?Why
Output format is wrong and prompting has plateaued on a real eval setYesCanonical SFT win: a high-frequency pattern learnable from demonstrations
You need a specific tone, register, or persona held consistentlyYesStyle is exactly what imitation learning transfers
The model must refuse a well-defined class of requestYes, with guardrails as a second layerRefusal is a behaviour; 13-02 covers the rails
A very long system prompt is being paid for on millions of callsYes, on cost groundsFolding behaviour into weights removes per-request tokens — 12-09
You need structured JSON reliably and prompting is 92% thereMaybe — try constrained decoding first05-05 may close the gap for free
Facts change weekly or monthlyNoWeights freeze; retrieval is the freshness mechanism
Answers must cite their sourceNoSFT provides no provenance
A customer can demand deletion of their dataNoTrained weights have no deletion operation — 13-05
You have 200 examples and a broad taskNoToo little signal; high overfitting risk
The base model fails the task at any promptNoCapability ceiling is set at pretraining
You have documents but no target responsesNo — that is continued pretraining or RAG dataWrong data shape for SFT
You want the model to pick the better of two good answersNo — that is alignmentPreference is not a demonstration
You have no evaluation setNo, absolutely notYou would have no way to detect regression

The last row is the one to treat as a hard gate rather than advice. A fine-tune without a pre-existing baseline is an experiment with no control, and the failure it hides most often is catastrophic forgetting, which improves the metric you are watching while destroying one you are not.

06

Why supervised fine-tuning is on the NCA-GENL exam

The NCA-GENL blueprint places machine-learning fundamentals, model selection, and reading research to track emerging LLM techniques in the Core Machine Learning and AI Knowledge domain — 30% of the exam, the largest block. It separately asks the associate to assist in deployment and evaluation of model scalability, performance, and reliability, and to build LLM use cases such as RAG, chatbots, and summarisers. SFT sits at the junction of all of those: it is the customisation stage an associate is most likely to be asked to help run, and the one whose misapplication most reliably wastes a team's quarter.

Because the exam is multiple-choice and general-level rather than deep-technical, it tests boundaries, not procedures. You will not be asked for a learning-rate schedule. You will be asked, in prose, whether the described situation calls for fine-tuning.

Question phrasings to expect:

  • "A team's chatbot answers correctly but in an inconsistent format. What is the most appropriate approach?" — behaviour; prompting then SFT.
  • "An organisation's internal policies are updated monthly and answers must reference the policy document. Which approach best meets this need?" — RAG; the words "updated monthly" and "reference the document" both fire.
  • "Which of the following does supervised fine-tuning NOT reliably provide?" — up-to-date facts, citations, deletion.
  • "Place the alignment pipeline stages in order." — SFT, reward model, policy optimisation.
  • "A model produces fluent domain text but fabricates part numbers after fine-tuning on domain data. What best explains this?" — fluency improved faster than factual accuracy; facts land brittlely.
  • "What is the primary advantage of fine-tuning over including instructions in every prompt?" — no per-request context cost and higher consistency on the trained behaviour.

Distractor families:

DistractorWhy it attractsWhy it is wrong
"Fine-tune the model on the documentation so it knows the content"Direct, decisive, uses the right verbFacts land brittlely and freeze; no citations; no deletion
"Fine-tune nightly to keep the model current"Addresses freshness with a real techniqueAbsurd cost, and still no provenance; re-indexing is the freshness mechanism
"Use RAG to change the model's writing style"RAG is the frequently-correct option on this examRAG changes the input, not the model's voice; style is a weights or prompt matter
"Fine-tune to make the model better at reasoning it currently cannot do"Fine-tuning does raise task metricsCapability ceiling is set at pretraining; SFT surfaces latent ability only
"SFT and RLHF are interchangeable ways to align a model"Both are post-pretraining alignment-ish stagesDifferent supervision signal, and the order is fixed
"Fine-tuning removes the need for evaluation because the model now knows the task"Sounds like confidence in the methodEvaluation is more necessary after a weight change, not less
"Fine-tuning lets you delete a specific customer's data from the model"Feels like it should be true of a system you controlThere is no supported unlearning operation; retrain without the data

One calibration note that pays off across the whole exam: when an option proposes the cheapest sufficient rung of the ladder and another proposes the most powerful technique, the cheapest sufficient rung is usually keyed. The blueprint's own framing of the associate role — contributing under senior supervision — favours proportionate practice over maximal machinery.

07

Common mistakes with supervised fine-tuning

MistakeSymptomCauseFix
Fine-tuning to install factsModel is more fluent and just as wrong; errors now harder to spotFacts are low-frequency signal in a small SFT setMove facts to retrieval; keep SFT for format and tone
Fine-tuning before prompting plateauedWeeks spent for a gain a prompt edit would have deliveredNo measured prompt baselineVersion and test prompts (05-04) and record the plateau
Training on model-generated targets uncriticallyModel inherits another model's habits, hedges, and errorsSynthetic targets were not reviewedSample and review; treat synthetic data as a draft — 08-01
Train/serve template mismatchGood training metrics, odd production behaviourDifferent chat template between stagesRender with the serving template; hand-check one example end to end
Too many epochs on a small setVerbatim regurgitation, degraded general abilityOverfittingWatch validation loss (01-07), reduce epochs, add data diversity
No general-ability slice in the eval setTarget metric improves; unrelated capability quietly regressesEval scoped only to the fine-tune's goalAdd a held-out general slice and re-run it every time — 11-03
Uniform artifacts in targetsModel opens every answer with a preamble nobody asked forImitation is total; it copies what is thereClean targets to be exactly the desired output
Fine-tuning for a deletion or consent requirementA compliance commitment you cannot honourBelief that weights can be edited surgicallyRAG, so the record is removable — 13-05
Treating "fine-tuning" as one thingTeam disagrees on scope; wrong data collectedThe word covers continued pretraining, SFT, and alignmentName the stage by its data shape
No baseline run before the fine-tuneCannot attribute any changeEval built after the factBuild and freeze the eval set first (01-08)
08

Does fine-tuning teach a model new facts?

Partially, unreliably, and at a cost profile that makes it the wrong tool even when it works. A fact stated once in a training set of a few thousand examples contributes a vanishing share of the total gradient signal, so what the model absorbs is often an approximation of the fact rather than the fact — a part number that is nearly right, a date in the right year, a policy that is directionally correct and specifically wrong. Because the surrounding language got more fluent at the same time, these errors present as authoritative, which is worse than a visible failure.

Even where absorption succeeds, four properties remain broken. You cannot verify what landed, because there is no mapping from output token to training example. You cannot update it, because the next revision requires another training run. You cannot delete it, because weights have no delete. And you cannot cite it, because the model does not know where it came from. Retrieval gives you all four for free, which is why the rule holds regardless of how good the fine-tune is: facts belong in a retrievable store, behaviour belongs in the weights.

The practical corollary for exam scenarios: the presence of the word "facts," "knowledge base," "documentation," "current," "latest," "cite," or "delete" anywhere in the stem is evidence for retrieval. The presence of "format," "tone," "style," "voice," "always respond with," or "refuse" is evidence for fine-tuning.

09

Can SFT replace RAG, or RAG replace SFT?

Neither, and the reason is that they operate on different objects. SFT modifies the function; RAG modifies the argument. A model with perfect house style and no retrieval will be stylish and wrong about anything recent. A perfect retrieval system attached to a model with the wrong voice will be accurate and off-brand. They compose cleanly, and the composition is the normal production architecture: retrieval supplies grounded, citable context, and a light behavioural fine-tune (usually a LoRA adapter, 11-05) enforces the format and tone the product requires.

Where they genuinely trade off is cost and latency. RAG adds a retrieval hop and inflates the prompt on every single call, which shows up as both latency (12-10) and per-token spend (12-09). SFT front-loads a one-time cost and then charges nothing extra at inference; it can even reduce per-call cost by removing a long instruction prefix. So the economically interesting split is: put changing knowledge in retrieval because you cannot afford to retrain for it, and put stable behaviour in weights because you cannot afford to re-send it a million times a day.

10

How much data does supervised fine-tuning need?

Far less than people expect for behaviour and far more than people hope for anything resembling knowledge, and the honest answer is that it depends on how narrow the target behaviour is. The useful framing is not a number but a ratio: the narrower and more consistent the behaviour, the fewer examples it takes. Teaching one output format across one task type is a small-data problem. Teaching twenty task types with different formats each is twenty small-data problems sharing a budget, and it will need roughly twenty times the data to reach the same consistency per task.

Three practical rules that survive contact with reality:

  1. Consistency beats volume. A few hundred examples that agree perfectly on format will install that format better than several thousand that disagree, because disagreement is noise the model averages over.
  2. Diversity of input, uniformity of target. You want wide coverage of the inputs the model will actually see and tight consistency in how the target is shaped. The opposite — narrow inputs, varied targets — is the worst combination and produces a model that is both brittle and inconsistent.
  3. Scale the eval set with the training set. If you cannot detect a change, you cannot claim one. 09-09 covers why small eval sets cannot distinguish a real gain from noise, and it applies with full force here.

If your honest answer to "how many good examples do you have?" is under a few hundred and the task is broad, the correct move is few-shot prompting (05-01), which uses the same examples with no training run at all and lets you iterate the same day.

11

Does fine-tuning make a model hallucinate less?

Not by itself, and it can make hallucination harder to detect. Fine-tuning on domain data raises the fluency and confidence of domain output, which means fabricated content now arrives dressed in the correct register. Reviewers who were catching errors because they sounded off will stop catching them.

The mechanisms that actually reduce hallucination are grounding, citation, constrained decoding, guardrails, and human review — the mitigation ladder in 09-12. What fine-tuning can contribute is the behaviour of grounding: a model fine-tuned on examples where the correct response is "the provided context does not contain this information" becomes much more willing to say so. That is a real and valuable use of SFT, and note what it is — a behavioural change, an abstention habit, entirely consistent with the rule. It is teaching the model when to decline, not what is true.

Glossary recap: the terms this lesson introduced

TermDefinition
Supervised fine-tuning (SFT)Continuing training on a pretrained model using labeled input-target pairs so its outputs resemble the targets
Imitation learningLearning by reproducing demonstrations; the frame that explains why SFT transfers patterns better than facts
Input-target pairOne training record: what goes in, and the exact response wanted out
Loss maskingExcluding input tokens from the loss so gradient budget is spent on learning the response
Chat templateThe model-family convention marking system, user, and assistant turns; must match between training and serving
Artifact inheritanceThe model copying incidental features of the targets — preambles, sign-offs, hedges
Overfitting on a small SFT setMemorising training examples rather than the pattern; shows as verbatim regurgitation and degraded general ability
Behaviour gapA failure of format, tone, length, framing, or refusal — the class SFT genuinely fixes
Knowledge gapA failure of facts, currency, or provenance — the class retrieval fixes
ProvenanceThe ability to point at the source of an assertion; native to RAG, absent from trained weights
Abstention behaviourThe learned habit of saying the context does not support an answer; a behavioural, not factual, change
Capability ceilingThe upper bound on ability set during pretraining, which SFT surfaces but cannot raise

Key takeaways on what supervised fine-tuning can and cannot change

  • SFT changes behaviour reliably: format, length, tone, register, task framing, refusal and abstention habits. These are high-frequency patterns across a training set, which is exactly what gradient descent on a few thousand examples can install.
  • SFT changes knowledge brittlely. Facts are low-frequency signal, absorb unevenly, and produce confident near-misses. Worse, they arrive unverifiable, un-updatable, undeletable, and uncitable.
  • RAG is right whenever facts change, citations are needed, or one user's data must be deletable. Any one of those three clauses in a scenario is decisive.
  • Do not fine-tune before prompting has demonstrably plateaued on an eval set that existed beforehand. Many fine-tuning projects are expensive prompt engineering.
  • The four confusables fail in different directions: SFT vs RAG (behaviour vs knowledge), SFT vs prompting (weights vs context, cost vs speed), SFT vs continued pretraining (labeled pairs vs raw corpus), SFT vs alignment (demonstration vs preference, and the order is fixed).
  • The order of the alignment pipeline is strict: SFT first, then a reward model trained from human preference labels, then policy optimisation.
  • Fine-tuning does not reduce hallucination; it can mask it by making fabrication fluent. What SFT can install is the habit of abstaining, which is a behaviour.
  • The high-volume cost argument is the strongest non-behavioural reason to fine-tune: folding a long system prompt into weights removes tokens you would otherwise pay for on every request.
  • No eval set, no fine-tune. Without a pre-existing baseline you cannot separate a gain from a regression, and the regression you will miss is the one in the next lesson.

Next: catastrophic forgetting when fine-tuning

Everything above assumed you could tell whether the fine-tune helped. There is a specific failure that defeats that assumption in the most uncomfortable way possible: the metric you are optimising improves, the run looks like a success, and a capability you were not watching has been destroyed. It is called catastrophic forgetting, and the only thing that catches it is an evaluation run that existed before you touched the weights. Next: 11-03 shows how forgetting happens, what it looks like in the numbers, and why the eval harness has to predate the training job.