Skip to content

Synthetic data

Also called: synthetic dataset, synthetic datasets

Published:

How is synthetic data generated?

AWS defines synthetic data as data produced by an algorithm rather than observed through real-world measurement, generally intended to preserve the statistical properties of the source [2]. The simplest approach finds the distributions in real data and samples new values from them. More advanced approaches train a machine learning model on the data and have it generate similar records, using techniques such as generative adversarial networks (GANs) and variational autoencoders (VAEs) [2].

The US National Institute of Standards and Technology (NIST) separates two approaches. Partially synthetic data keeps a real dataset but adds noise to high-risk cells or replaces them with imputed values. Fully synthetic data comes from a model built on the original, with every record generated so that no one-to-one mapping to real records remains [1].

Why is synthetic data used?

Agencies and researchers can publish a synthetic version of a sensitive dataset instead of the real one. NIST gives the example of researchers developing queries on synthetic data and then handing them to the data owner to run against the real records [1]. In machine learning it is used to add volume when real training data is scarce and to rebalance skewed datasets [2].

Is synthetic data always safe?

No. NIST warns that both high-fidelity models and the synthetic data drawn from them can leak personal information, and that it is hard to measure how much a deep learning model has memorised its training data [1]. The same guidance states that producing synthetic data which faithfully keeps every property of the original while enforcing strong privacy guarantees is impossible [1]. NIST runs an open research programme that, among other things, asks whether its own synthetic data samples can be re-identified [3].

Frequently asked questions

Does synthetic data remove all privacy risk?

No. Models and the data they generate can still leak information about real people, so the leakage has to be measured.

Is test data the same as synthetic data?

Not exactly. NIST treats test data built without the original data, and not meant for drawing conclusions, as a separate category.

Sources

  1. De-Identifying Government Datasets: Techniques and Governance (SP 800-188) — NIST
  2. What is Synthetic Data? — AWS
  3. Collaborative Research Cycle — NIST