tonytautai home/local-ai/run-local-ai/running/training/quality/synthetic

cat ./synthetic-risks.md

Synthetic Data Teaches Models Your Own Mistakes.

Synthetic data fine tuning risks are rarely about volume. They are about a model learning the habits of the generator instead of the habits of real documents.

Tony Tautai

synthetic data fine tuning risks

We train on generated documents. We have to: nobody hands us real payslips or claim files for training, and we would not take them. So the question is not whether to use synthetic data but how to stop it from quietly poisoning the result. This page sits under where training data quality fits, and it is the part of that topic we have burned ourselves on most often.

Template Collapse

synthetic data fine tuning risks

A generator writes the same invoice a thousand times with different names. The model learns that an invoice always has the total bottom right, the customer name on line three, the date in one format. Then a real quote from a roofing contractor arrives as a photographed page with the total written by hand in the margin. The model has never seen anything like it and fails.

The fix is boring. Many templates, many layouts, deliberate ugliness: skewed scans, missing fields, two documents stapled together, a fax header on top. We count how many distinct layouts a training set contains before we count how many files it has.

The Generator's Errors Become the Model's Errors

If a script that produces addresses always puts the postcode before the town, the model will expect that order forever. If the fake names come from a short list, the model will recognise those names and miss others. We found this when a redaction model caught every "Dupont" and skipped surnames it had never met. The problem was not the model. It was a list of forty names we had reused far too long.

What helps is reading the generated data the way a sceptical reviewer reads a contract. Sample it. Look for anything that repeats. The guide on llm training data quality, explained goes through the checks we apply to every batch before training starts.

Leakage Into the Test Set

synthetic data fine tuning risks

This is the risk that produces fake scores. If the same generator, with the same templates, produces both the training files and the evaluation files, the score measures how well the model learned the generator. It says nothing about real documents. Our evaluation files are frozen before training, built from different sources, and checked by hash so nobody can slip a training file in by accident. We describe that discipline in a short answer to how to evaluate fine tuned models frozen test set.

Where Synthetic Data Is Still Right

synthetic data fine tuning risks

For a narrow task on confidential documents, generated data is often the only honest option, and it works when it is varied, reviewed and kept away from the test set. One small specialised model, trained this way and measured on files it has never seen, is what we ship. The limit is clear: a synthetic set can never cover a layout nobody thought to generate, which is why the first thing we do with a prospect is run the model on their own documents and write down what it missed.

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic