Synthetic Data: What It is and When to Use It
Published Updated
Synthetic data is artificially generated data designed to mimic patterns in real data without copying individual records. Use it to test how a system handles realistic inputs before it can use real records. If the generator learns from personal information, check whether its output can identify anyone before you share it.
What is Synthetic Data?
Synthetic data creates new examples that behave like the data your system will receive. A generated expense record might pair an accommodation claim with a receipt and a total within a realistic range. The claim represents a fictional transaction.
De-identification starts with information about real people. It can involve altering records and controlling who can access them so individuals are no longer reasonably identifiable in that setting. When people say data has been anonymised, they usually mean it has reached that outcome. Generating new examples is one possible technique. Whether the result is de-identified depends on what the output reveals.
A mock record you type by hand can be enough to see if a form loads. A generator can produce a whole dataset with similar patterns across records, such as how claim amounts vary with the length of a trip.
How Synthetic Data is Generated
Synthetic data can come from rules you specify, patterns measured in existing data or a model that learns to generate new examples.
With rules and simulation, you control what can happen and how often. In a fictional expense system, set the rule that accommodation costs rise with each extra night and generate a batch of claims. Add a handful of claims with missing receipts to test whether the system sends those claims for review.
A statistical model estimates how values occur together, such as how the length of a trip relates to its cost. It then samples new combinations from those estimates. Compare the results with your data governance standards for valid fields and plausible values before you use them.
A generative model can learn more complex patterns. For documents, give a large language model (LLM) a fictional scenario and the facts the document must contain. For example, ask it to draft an email in which a fictional employee explains why a receipt is missing. You could also generate a sample contract from an invented set of terms. Check each document against its brief so you know which facts an assistant is meant to find.
Where Synthetic Data Works Well
Synthetic data works well when you need to see whether a system handles a known situation. You can test whether a form accepts an attachment before real records are approved. You can also build an evaluation set for an AI assistant or give staff realistic material to practise with during training and demos.
Add rare cases deliberately when they are missing from the available test data. A claim in two currencies, for example, can expose a calculation error even if it hardly ever comes up in daily work.
A generator can omit real patterns its rules or training examples never captured. It can also make a hard case simpler than it will be in practice. Measure final accuracy on representative real data that you are authorised to use and that the system hasn’t already been tuned on. Use synthetic test results as evidence of what happened in those tests. To substantiate a regulatory claim about live operations, use records and controls that show how the live system actually works.
Privacy Limits of Synthetic Data
Synthetic data generated from personal information can still contain personal information. In a peer-reviewed study of language model memorisation, Nicholas Carlini and colleagues recovered passages from GPT-2’s training data word for word, including names and contact details. Even without a name, an unusual combination of details can point to one person when matched with other information.
Before treating a set derived from personal information as de-identified, check for direct identifiers and output that closely matches source material. Review rare combinations in a controlled environment and consider what someone with access could reasonably link to them. A set that can be used in a restricted test environment may need different controls if you later share it with a supplier.
The Office of the Australian Information Commissioner (OAIC) explains how to assess identifiability under the Privacy Act 1988. Its joint De-Identification Decision-Making Framework with CSIRO’s Data61 considers the data and the setting in which people can access it. Apply that assessment when relying on synthetic output as de-identified in a particular setting. Use a privacy impact assessment to decide whether and how to use real personal information to generate the set in the first place.
Using Synthetic Data to Test AI Assistants
Synthetic questions and documents let you test what an assistant knows and what it can disclose before it connects to real records. For an expense assistant, write a fictional claims policy and put an invented claim in a folder restricted to finance staff. When you ask about the rules for missing receipts, expect an answer supported by the policy. When a user outside finance asks for the restricted claim, expect a refusal without revealing the claim’s details. Include a question the documents don’t answer and expect the assistant to say it can’t find the answer.
Before release, repeat those checks with approved real data and production-equivalent access controls. Real documents can be out of date, contradict each other or have permissions that differ from your test folders. Those differences can change both the answer an assistant gives and which users can see it.
Test Set Checklist
- Make the questions and documents realistic for the people who will use the assistant.
- Include unusual inputs, missing answers and cases that exercise access restrictions.
- Label each case with the expected answer and its source, or the reason to refuse.
Keep the documents, questions and expected answers together under version control. Rerun the set after each change to the model, instructions or document search, and keep a case for every defect you fix. After release, use AI observability to see which new failures in real use belong in the next test run.
Related reading
How to Do a Privacy Impact Assessment for AI
Follow each step of a privacy impact assessment for an AI project, from threshold check and data flows to risks, fixes and review once it is live.
AI Observability: Tracing, Evaluation and Costs
How do you know your AI assistant or agent works once it is live? Learn what AI observability tracks, from traces and quality scores to cost and drift.
embeddings
Embeddings is an Australian AI consultancy. We design, build and run AI systems inside the software, documents and data organisations already use, from offices in Perth and Melbourne.
About Embeddings