Skip to content

Synthetic release

Can you hand an outside team a copy of the customer table that is useful to them and safe for the customers?

Capstone 14~25 minapplied Customers (simulated)

The story

An outside agency wants the customer table to build a churn campaign. Legal says the real rows cannot leave the building. A synthetic copy, rows generated to look like the real ones without being any real customer, might do, but synthetic is not automatically private, and a copy can be so faithful that it leaks.

You will scan the columns for identifiers, generate synthetic rows from the safe columns, read the scorecard on three axes (do the columns look like the real ones, would a model trained on them work, and how close does any synthetic row come to a real one), and save the copy as a tagged dataset. The deliverable is the release scorecard you would attach to the hand-over. The source table is itself simulated.

Data: Customers (simulated) · Simulated. CodeSplash parity fixture g1_customers (simulated, seed 20261103).

Stage 1 · studios · ~14 min

Scan and generate

Direct identifiers should never be modeled, and quasi-identifiers need care. Keep the safe columns and generate synthetic rows from them.

Which columns did the scan flag, and which did you keep?

  1. Open Studios in the sidebar.
  2. Open Synthetic data under Machine learning in the rail, then choose Share a privacy-safe copy.
  3. Choose customers (sample) as the dataset.
  4. Read the privacy scan. Direct identifiers should never be modeled, and quasi-identifiers need care. Choose the columns to keep.A generator can only leak what it was given, so leaving identifiers out is the first and cheapest protection.
  5. Press Generate.

Stage 2 · studios · ~11 min

Judge it before release

Read the scorecard on fidelity, utility and privacy. Fidelity and privacy pull against each other: the distance from each synthetic row to its nearest real row is the warning sign to watch.

Is the copy faithful enough to be useful, and far enough from real rows to be safe?

  1. Open the Scorecard tab.
  2. Read the scores. Do the columns look like the real ones, and how close does any synthetic row come to a real person's row?Synthetic is not automatically private. Fidelity and privacy pull against each other, and a copy can be too faithful.
  3. Open the Save tab.
  4. Give the copy a name and press Save as dataset. It is tagged as synthetic, so nobody mistakes it for the real data.
Hints
  • Leave out anything the privacy scan flags as a direct identifier; a generator can only leak what it was given.
  • Read the distance to the closest real row before the fidelity scores. A copy that is too close is not private.
  • Save the copy with the synthetic tag so nobody mistakes it for the real data.

scorecard

A release scorecard

Write the scorecard for the hand-over: which columns were used and why, the fidelity and utility results, the privacy check and its numbers, and whether you would release the copy, with conditions.

  1. Columns used
  2. Fidelity
  3. Utility
  4. Privacy
  5. Release decision
Rubric
CriterionPoints
Lists the columns kept and why any were excluded.1
Reports how closely the synthetic columns match the real ones.2
Reports the closest-row distance check and what it means.2
Explains the trade-off between fidelity and privacy.2
Gives a release decision with conditions on its use.1

Model answer

Show the model answer

Columns. This table has no direct identifier such as a name or an ID, but age, region and the sign-up date can single people out in combination. Keep the columns the scan marks safe, and say which quasi-identifiers you kept and why.

Fidelity and utility. Read from the scorecard how closely each synthetic column's distribution and the pairwise relationships match the real data, and how a model trained on the synthetic rows scores on real rows compared with one trained on real rows.

Privacy. The distance from each synthetic row to its closest real row should not be smaller than the typical distance between real rows; quote the check from your scorecard. A synthetic row sitting on top of a real one is a disclosure.

Decision. Release if the privacy check passes and the utility is good enough for a churn campaign, with conditions: tagged as synthetic, not to be joined to other customer data, and not used for decisions about individuals.