🧭 I tried to teach a 1.7B model one small behaviour it kept getting wrong. Four attempts, zero improvement. An 80-example classifier got further in a hundred seconds — and the reason why was sitting in a lecture I’d heard a month earlier.
📧 Found an error or have a question? write to me or leave a comment

Tracks in every direction across the field. The top is still in the clouds. | Image by Author
The question I started with was simple enough to fit on one line: how close can a 1.7B model running on my laptop get to a cloud model, on a narrow agentic task?
The first measurement was discouraging. Qwen3-1.7B, local on a MacBook Pro M5: 31%. Gemini 2.5 Flash-Lite, same harness, same task: 68%. A gap of thirty-seven points, and a very obvious plan for closing it — train the small model on the task. That’s what fine-tuning is for.
It didn’t work. Not once, not partially, not with a different method. Four attempts, all of them at or below where I started.
The thesis, up front, because the rest of this post is just me ruling out the alternatives: compute wasn’t the lever. Scoping the task was. The same gap that four attempts couldn’t touch narrowed by sixteen points with eighty examples and a hundred seconds of training — once I stopped trying to teach the model and started taking work away from it.
🧪 The setup Link to heading
A deliberately small agent: ask it about your PTO balance, it answers. Nothing more. A toy, built to be thrown away, with a vague idea that it might turn into something real later.
Small, but not sloppy. Fourteen Python tools over a real PostgreSQL database, called by the model in a function-calling loop. A harness of 25 deterministic cases with known-correct answers, so scoring is a comparison, not a judgement — no LLM-as-judge anywhere in the loop, which means the scoring is reproducible and I can’t quietly flatter myself. Everything runs locally; the only thing leaving the machine was the Gemini baseline I used as a reference point.
The failure mode was equally small. Ask “how many PTO hours do I have left?” and the model answers “you have 120 hours” with complete confidence. The real balance is 200. Roughly half the time, it never calls the tool that resolves who is asking — it just answers. Not a hallucination about the world: a missing first step, confidently papered over.
One behaviour. Call the identity tool before answering. That’s the whole thing I was trying to teach.
🧱 Four ways to be wrong Link to heading
I don’t think of these as four attempts anymore. Each one kills a different explanation for why the first one failed, which is the only reason they’re worth writing down.
Supervised fine-tuning, 983 examples, 92 minutes. The obvious move: show it the right behaviour, a lot of times. The loss curve was beautiful. End-to-end performance: unchanged. This kills “you didn’t have enough data” and “you didn’t teach it the format” — the format was learned perfectly, and the behaviour wasn’t there.
DPO, offline, 2486 preference pairs. If imitation doesn’t work, try preference: here’s a good answer, here’s a bad one [2]. The model learned the surface of the distinction and found a shortcut that satisfied it without doing the thing. Below baseline. This kills “it needed preference signal rather than imitation.”
DPO, on-policy. The textbook answer to the previous failure is to stop learning from a frozen dataset and generate pairs from the model itself during training. This one didn’t fail — it couldn’t start. Qwen3 is a thinking model, and on this task the variance across rollouts was effectively zero: every sample took the same path, so there were no winners and losers to pair. You can’t build preference data out of a model that always answers the same way. This doesn’t disprove “you needed on-policy”, it makes it untestable on this model, which is more annoying than a bad score would have been.
DPO with gold pairs. Last suspect: my preference data was dirty. So, hand-checked pairs, correct by construction. Same shortcut as the offline run, same result.
I stopped at DPO. GRPO and PPO were the obvious next rungs, and by then I’d simply run out of patience for climbing.
Four explanations, four dead ends. What’s left standing is the most likely one, and the uncomfortable one: the capability isn’t in there, and no amount of gradient descent is going to put it there.
Four attempts, four explanations ruled out, one left standing. | Diagram by Author
🚪 Eighty examples and a gate Link to heading
So I stopped trying to make the model better and made its job smaller.
Instead of the agent deciding, mid-reasoning, that it ought to resolve the user’s identity first, a small classifier sits in front and makes that call before the agent runs at all. The model is no longer asked to remember a procedure. It’s handed a situation where the procedure has already happened.
The agent didn’t get smarter — it got a smaller job. | Diagram by Author
Eighty examples. Around a hundred seconds of training. The asymmetry is the part worth keeping:
| Fine-tuning (SFT) | Classifier pre-gate | |
|---|---|---|
| Examples | 983 | 80 |
| Training time | 92 min | ~100 s |
| End-to-end gain | none | +16pp average |
Baseline 31%, best run 52%, 47% averaged over eleven runs. I’m reporting the average because the best run is not the result — the five points between the average and the best run are real, and a single lucky run would have told me a nicer story than the truth.
Where the gate got to, and how far that still is from the cloud model. | Diagram by Author
Two things this does not mean.
It doesn’t mean classifiers beat fine-tuning. My failure was a routing failure — the model didn’t know when to do something. That judgement was the missing capability, and routing is exactly what a narrow classifier is good at. Had the failure been in generation, a gate in front would likely have done little. The lesson isn’t “use a smaller model for the job”, it’s “find out which part of the job is actually broken before you throw training at it.”
And it doesn’t mean I closed the gap. 47% against 68% is still twenty-one points short of the cloud model. I closed a bit under half the distance with roughly a fiftieth of the training time, and I have no evidence that the rest responds to training either.
🧠 The part I’d already been told Link to heading
A month before all this, I spent a week at ACDL in Castiglione della Pescaia, near Grosseto, a summer-school-style course where people who build this stuff for a living talk for five days straight. Jason Weston gave a series of lectures on self-improving language models [1] (his group’s Self-Rewarding Language Models [3] is a good entry point), and one of his points was about the ceiling: a model training on its own outputs doesn’t escape the envelope of its pretraining. DPO moves the output distribution around. It doesn’t add anything to the model’s memory. My reading of it: if the capability wasn’t in the pretraining data, no post-training step conjures it into existence.
I had taken the note. And then I went home and spent four attempts discovering it empirically, which is a fairly expensive way to confirm something you already wrote down.

Studying at ACDL 2026, between lectures. | Image by Author
The thing is, I don’t think I’d have believed it otherwise. “Pretraining ceiling” is the kind of statement that sounds obviously true and changes nothing about what you do next, until a loss curve that looks perfect sits next to a score that hasn’t moved. That specific pairing — beautiful training metrics, flat capability — is the shape the ceiling makes when you walk into it. Now I know what it looks like.
The shape of the ceiling: a loss curve that looks perfect next to a score that hasn’t moved. Illustrative, not to scale. | Diagram by Author
What changed in practice is the order of operations. Before reaching for training, I try to answer one question: is this a capability the model lacks, or one it already has and isn’t using? Those two failures look identical from the outside and respond to completely different medicine. A flat score after a clean training run is a strong hint you’re in the first case, where the fix has to live outside the model, like the gate did. And the cheapest version of that experiment is the one you should run first — not the 983-example one.
Diagnose before you train: the same symptom, two different medicines. | Diagram by Author
🔗 Sources Link to heading
[1] Weston, J. (2026), Self-Improving Language Models, lecture series at the Advanced Course on Data Science & Machine Learning, Castiglione della Pescaia, 8–12 June 2026. ACDL 2026
[2] Rafailov, R. et al. (2023), Direct Preference Optimization: Your Language Model is Secretly a Reward Model, NeurIPS 2023. arXiv
[3] Yuan, W. et al. (2024), Self-Rewarding Language Models. arXiv