Status: Planned. The Synthetic Data Studio is not built. This note sets out what we intend to build and, more importantly, how we will judge whether it works before we ship it.
The defects that cost manufacturers most are often the rarest. A crack in a safety-critical casting, a missing seal on a pharmaceutical pack, a wrong component on a board that passes electrical test — these may occur a handful of times a year. A supervised model cannot learn a class it has seen three times. Anomaly detection helps, because it needs no defect examples, but there are cases where a named, measured defect class is required. Synthetic data is the obvious idea: render the defect on a digital model of the part. The hard question is whether a model trained on renders performs better on real parts. This note describes how we plan to answer it.
What we plan to build
The Synthetic Data Studio will use NVIDIA Omniverse Replicator, a framework for generating labelled synthetic images from 3D scenes with programmable randomisation. The workflow we intend:
- Digital part. Import the part's CAD model or a scanned mesh, and assign physically based materials that approximate the real surface — machined aluminium, moulded polypropylene, solder mask.
- Digital station. Reproduce the camera's position, lens, resolution and exposure, and the station's lighting geometry, from the actual installation.
- Defect generators. Parameterised defects applied to the mesh or material: scratches as displacement and roughness changes along curves, dents as local deformations, missing features by removing geometry, contamination as decals, misprints by altering texture. Parameters — size, depth, position, orientation — are sampled from ranges taken from the customer's inspection specification.
- Domain randomisation. Lighting intensity and colour temperature, small pose changes, material roughness, sensor noise and background are varied so that a model cannot rely on render-specific cues.
- Automatic labels. Because the generator knows exactly where each defect is, every image comes with pixel-perfect masks and boxes.
Why we are cautious
The gap between rendered and real images — the sim-to-real gap — is well documented. Models can learn to detect artefacts of the renderer rather than the defect. Too much synthetic data can also shift a model's calibration so that confidence scores on real parts become misleading. We therefore treat synthetic data as a hypothesis to test per use case, not as a feature that is assumed to help.
Evaluation design
We are writing down the evaluation before building the feature, so the result cannot be shaped after the fact.
Principle: real images decide
Synthetic images are used only for training. Every metric that decides whether synthetic data is used is computed on held-out real images that no training run has seen.
Conditions
| Condition | Training data |
|---|---|
| A — baseline | Real images only, as available |
| B — real + synthetic | The same real images plus synthetic defect images |
| C — synthetic pre-train | Pre-train on synthetic, fine-tune on the same real images |
| D — reduced real | B and C repeated with 25% and 50% of the real defect images, to measure how much real data synthetic can replace |
Metrics
- Recall on the rare defect class at the station's operating threshold — the number that motivates the work.
- False reject rate on real good parts at that threshold — synthetic data that raises false rejects is not a win.
- Per-class precision and recall for all other classes, to detect regressions.
- Calibration error of confidence scores on real images.
Datasets
Before any customer use, we plan to run the design on public datasets with real defect images, such as MVTec AD, holding out real defects of a category and generating synthetic counterparts. Any result from that work will be labelled as an internal benchmark on a public dataset. Repeated runs with different random seeds will be reported with their spread, not only the best run.
Decision rule
Synthetic data is adopted for a station only if condition B or C improves rare-class recall on real held-out images without increasing the false reject rate beyond the tolerance agreed for that station. Otherwise the station trains on real data alone and the result is recorded.
Targets
The figures below are targets that will guide the work, not results:
- Target: generate 5,000 labelled images of a new defect type within one working day of cloud GPU time once the digital part exists.
- Target: no increase in false reject rate on real good parts when synthetic data is added.
What would change our plan
If public-dataset experiments show that synthetic data helps only marginally beyond strong anomaly detection, we will prioritise improving the anomaly engine instead and say so here. A planned feature that does not earn its place should not ship.