Synthetic test data for CBS at the scale of the full Dutch population.
Synthetic test data at population scale for the Demographic Register.
Statistics Netherlands (CBS) is the national statistical office of the Netherlands. A large share of the data CBS processes consists of microdata on individual persons and households. This data comes from registers such as the BRP, the Personal Records Database of the Dutch municipalities. It is highly sensitive data and strict privacy rules apply to it. That leads to one firm rule: no microdata in development or test environments. The teams building the next generation of statistical applications for CBS could therefore not work with the very data those applications are built for. A different approach was needed.
Why the existing options fall short.
Pseudonymisation does not solve the problem, because the link to real people remains. Replace the BSN (citizen service number) with a code and the file looks anonymous. Yet the rest of the data stays exactly as it was. Date of birth, postcode and address history still describe one specific resident. The parent-child relationships within the DDR narrow the circle even further. Anyone with a second source containing the same fields can put the two side by side and identify the resident, even without a name. CBS deliberately does not record names, because statistics do not need them and they are highly identifying.
Because re-identification is possible, this data still counts as personal data under the GDPR. It carries all the obligations and risks of real microdata, which ruled this route out for CBS.
The primary use case made it even harder.
The Demographic Register Subsystem (DDR) loads BRP data into the database that underpins several CBS statistical processes. The processing pipeline corrects messy real-world data so that the statistics are as consistent as possible. If a municipal clerk mistypes a date of birth, that must not lead to a published mother aged four. Test data must therefore contain realistic yet erroneous patterns, such as asymmetric parent-child relationships or a move registered after someone has died. Only then can you test whether the application detects and correctly fixes such errors. These anomalous cases are exactly what manually assembled test data always lacks.
How BlueGen runs securely inside CBS.
BlueGen.ai runs entirely within the CBS environment. The source data, the generator and the generated output never leave that environment.
The generator is a deep learning model based on denoising diffusion with a transformer backbone. It is adapted for heterogeneous tabular and relational data. The model approximates the full joint distribution of the dataset and captures how all columns relate to one another. As a result, each generated record describes one coherent virtual person across all fields and in every table where that person appears. Fields such as the BSN carry no statistical meaning on their own. BlueGen therefore generates them alongside the model using configurable rules, in exactly the format the application expects.
Proving the data was good enough.
BlueGen.ai runs entirely within the CBS environment. The source data, the generator and the generated output never leave that environment.
The generator is a deep learning model based on denoising diffusion with a transformer backbone. It is adapted for heterogeneous tabular and relational data. The model approximates the full joint distribution of the dataset and captures how all columns relate to one another. As a result, each generated record describes one coherent virtual person across all fields and in every table where that person appears. Fields such as the BSN carry no statistical meaning on their own. BlueGen therefore generates them alongside the model using configurable rules, in exactly the format the application expects.
From innovation pilot to production service.
Between April 2025 and January 2026, CBS and BlueGen.ai delivered the first production-grade synthetic dataset for the Demographic Register. They generated 300,000 virtual persons for the acceptance environment. These came from a model trained on 1% of the register data. In the annual processing run, data typically arrives in batches of one million persons. That batch size is flexible, so a load of 300,000 persons also fits the application’s workflow.
Similarity scored 85.12 out of 100. The synthetic distributions and correlations follow the real ones closely enough to stand in for them. Utility scored 92.68 out of 100, measured by training on synthetic data and testing on real data. This means the data holds up for the analyses that run on it further down the chain. In December 2025 the dataset was loaded into the CBS acceptance test environment. In January 2026 that dataset exposed the first real software bugs in the new DDR application.
The DDR result reached beyond CBS itself. It made the organisation a reference point for synthetic data in the Dutch public sector. Regenerating the dataset whenever new variables are added is part of the setup. This way the capability carries over to the next version of the application.
Testing at production scale
Synthetic data reproduces the statistical structure of the Dutch population.
Finding bugs before production
Data that mirrors the real register exposes errors that clean dummy data hides. They surface during acceptance testing, before they can reach production.
Protecting personal data
The model and the data never leave the CBS infrastructure. Development teams work exclusively with the synthetic output.
“CBS works with highly sensitive data, and we are obliged to protect it as well as we possibly can. Microdata and production data may therefore not be used in test and development environments or shared with third parties. Synthetic data gives us a safe alternative. Our teams now build and test on production-like data. The first bugs in the new DDR applications were found right away, without any microdata.”
Erwin van Mierlo
Senior Data Officer, CBS