(+351) 21 24 10006  ·  info@bconcepts.pt
Carnaxide, Lisbon
Synthetic data in Microsoft Fabric for enterprise ML
Inteligência Artificial

Synthetic data in Microsoft Fabric for enterprise ML

João Barros 10/11/2026 10 min

Well-designed synthetic data are the bridge between regulation, scarcity and models that work in production.

Why use synthetic data in the AI pipeline

The uncomfortable truth in Machine Learning deployments is simple: there are not always enough, balanced and lawful data to train robust models. Whether due to privacy concerns, rare classes like fraud, churn or defects, or high collection and labeling costs, projects stumble when data volume or representativeness fail.

Synthetic data in Microsoft Fabric for enterprise ML

Synthetic data offer a practical and measurable answer. By creating observations that preserve marginal distributions, multivariate dependencies and seasonal patterns, it is possible to reduce biases, increase sensitivity to minority groups and accelerate development cycles. Practically speaking: instead of waiting 12 more months to collect rare cases, you can generate, validate and incorporate 100k to 500k synthetic examples in a few weeks, depending on complexity.

It is important to stress that synthetics are not a panacea. Their usefulness depends on the quality of the generative model, the rigor of tests and adherence to privacy rules. Used correctly, they allow a favorable trade-off between reducing operational costs — for example, fewer hours of manual labeling and less need to collect sensitive data — and improving model performance in production.

Types of synthetic data and applicable techniques

Not all synthetic data are the same. The choice of the right technique depends on the type of data and the patterns that need to be preserved. Here are the main families and when to use them.

  • Tabular — data with categorical and continuous variables. Techniques like CTGAN, Copulas and the SDV library are effective at preserving multivariate correlations and conditional relationships. In practical cases, CTGAN can generate tens of thousands of records in minutes on a Spark cluster, keeping marginals within 5 to 10% deviations on critical variables.
  • Time series — sequences with autocorrelation, seasonality and punctual events. Models like TimeGAN, or approaches based on RNN/LSTM, can reproduce daily and weekly patterns; for anomaly detection applications, simulating ruptures or maintenance windows can recover 20 to 40% of the performance lost due to lack of real examples.
  • Text — free-form records, descriptions or comments. Fine-tuned LLMs or controlled generation are useful to create variations without reproducing sensitive excerpts. A practical example: generating 50k complaint descriptions with different styles and corrected terms reduces overfitting of text classification models by about 10% to 15%.
  • Images — computer vision. GANs, advanced augmentations and physical simulation allow increasing diversity of scenarios (lighting, angle, occlusions). In industrial applications, generating defect variants increases detection rate by 12 to 25% without increasing physical inspections.

In Microsoft Fabric, generation can be orchestrated within Python/PySpark Notebooks. Libraries like SDV and CTGAN work well in Spark Pools for larger loads; for text you can use transformer models fine-tuned in AzureML or integrated LLM APIs, and for images combine augmentation pipelines with storage in the Lakehouse.

Practical flow in Microsoft Fabric: from generation to validation

A plausible operational flow in Fabric should contemplate five stages: preparation, generation, statistical validation, utility evaluation and operationalization. Technically, this translates into concrete and measurable steps:

  • Prepare an anonymized sample in the Lakehouse (OneLake) and export it to a PySpark Notebook. For example, extract 50k stratified records by segment to train the generator.
  • Generate synthetic data using CTGAN/SDV for tables, TimeGAN for time series or LLMs for text; save versions in the Lakehouse as separate tables with detailed metadata, including seed, model version and hash of the source file.
  • Run automated quality tests: KS, Chi-square, comparison of correlation matrices, PCA analysis and autocorrelation checks for time series. Document the thresholds — for example, KS p value greater than 0.05 for continuous variables, copula divergence below 0.2 for multivariate relationships.
  • Evaluate utility by training a reference model both on real data and on real plus synthetic data. A common practice is to prepare three scenarios: training with only real data, training with real + 100k synthetics and training with only synthetics, and compare AUC, F1 and recall by segment.
  • Record artifacts (datasets, models, metrics) in the Fabric artifact repository or in a tracking system like MLflow, ensuring reproducibility. Maintain a pipeline that validates each batch automatically and marks the set as approved for training/production when criteria are satisfied.

With this flow it is possible to automate experiments where, for example, 100k synthetic examples are generated per hour in a controlled environment, 50 statistical tests are executed and a consolidated report is obtained in less than 90 minutes, without leaving the corporate data ecosystem.

Ensure quality and utility: essential metrics and tests

Generating many examples does not mean they are useful. Validation has two complementary dimensions: fidelity and utility. Fidelity answers whether synthetics look real; utility measures whether they improve model performance in production.

Practical metrics and recommended thresholds include:

  • Marginal distributions: use KS-test for continuous and Chi-square for categorical. A typical operational threshold is to accept p values that indicate non-rejection of the null hypothesis in 95% of critical variables; accepting deviations up to 0.1-0.15 in difference indicators is often reasonable, depending on the use case.
  • Correlation and dependence: compare correlation matrices with metrics like the Frobenius norm and analyze copula divergence. For many applications, preserving 80-90% of the correlation structure between explanatory variables is a practical objective.
  • Utility metrics: train the same model in controlled scenarios. Practical example: for a churn model, adding 150k synthetic records can increase recall for the vulnerable segment from 62% to 72% without substantial loss in precision, evaluated on holdout validation.
  • Novelty property: compute minimum distance between synthetic and real records in feature or embedding spaces. A common threshold is to reject outputs with distances below 0.01 in normalized L2, or when exact replicas are detected.

A healthy process includes automatic pass/fail rules: for example, if the KS for a critical variable exceeds 0.15, the generation goes into review; if the model loses more than 2% AUC when trained with synthetics, the batch is rejected and returned to the generator calibration phase.

Synthetic data are useful when measured by their impact: better generalization in the real world without compromising privacy or introducing new biases.

Practical risks and essential safeguards

Synthetic data can also induce errors if misused. Frequent risks include inadvertent reproduction of real records, amplification of biases and overconfidence in artificial patterns. To mitigate, implement well-defined technical and procedural safeguards.

  • Anonymity checks: measure distance between synthetic samples and the training set; reject outputs with distance below a threshold. In regulated environments, apply duplication tests that verify if more than 0.01% of synthetic records are identical to real records and block the output.
  • Differential noise injection: when privacy is critical, apply Differential Privacy mechanisms, such as DP-SGD or calibrated Laplacian noise addition to distributions or generator weights. This reduces re-identification risk, though with a fidelity cost that must be quantified.
  • Bias audit: compare metrics by protected subgroups and ensure synthetics do not create artificial gains only for underrepresented subpopulations. For example, measure FPR and TPR by demographic group before and after including synthetics.
  • Governance: record versions of generative models, seeds, parameters and acceptance policies; maintain auditable trails for compliance. Document decisions such as why a given batch was accepted and which thresholds were used.

In practice, a good pipeline automatically rejects synthetic data batches that fail privacy checks or that significantly alter fairness metrics defined by the organization. The combination of automated tests and periodic reviews by an audit team ensures a balance between innovation and compliance.

Mini practical case: retailer that reduced fraud losses

In a national retail chain with 120 employees, the analytics team handled 3 million transactions per year. The problem: fraud represented only 0.25% of transactions, too scarce for a robust classifier. The production system had 58% recall on fraud, with a false positive rate of 0.18%, which generated high costs in manual investigations.

The team, in collaboration with us, implemented a pipeline in Microsoft Fabric to generate synthetic data conditioned on fraud characteristics, such as suspicious IP combinations, high purchase values, atypical times and return patterns. The process was as follows:

  • Extraction of 25k labeled real records and feature preparation in the Lakehouse.
  • Training of a conditioned CTGAN in 48 hours on a Spark Pool and generation of 200k synthetic examples over 7 days.
  • Automatic validation: KS tests on monetary variables, copula divergence in relationships between hour of day and purchase value, and minimum distance check that rejected 0.03% of examples for being too close to real records.
  • Training and comparison: the final classifier was trained with real + 200k synthetics and compared with the baseline.

Offline and production results:

  • Recall: rose to 75% (vs 58%), with F1-score increasing from 0.45 to 0.62.
  • The false positive rate remained controlled at 0.20% after threshold adjustment and human review limited to only the highest-risk cases.
  • Financial impact: 34% reduction in detected fraud losses and 18% fewer manual investigation hours per month.

In terms of costs, the increase in Fabric computing was about 12% due to the use of Spark Pools for generation and automatic validation, an investment that was amortized in the first quarter through direct savings. These numbers illustrate that the right combination of technology, validation and governance creates measurable and replicable value.

How to integrate synthetic data with Power BI and production flows

Generation and validation are technical steps; the true operational advantage appears when synthetic datasets become an integral part of the analytical product lifecycle. In Microsoft Fabric, best practices include:

  • Store approved datasets in the Lakehouse with detailed metadata tags: origin=synthetic, version, generation date, seed, generative model and hyperparameters used.
  • Consume these sets in models trained in Notebooks and register models in the Fabric repository/MLOps. Create scoring pipelines that use the final model in production, with a validation gate that prevents deploy if fairness or AUC metrics fall beyond defined thresholds.
  • Expose metrics and dashboards in Power BI: synthetic batch approval rate, distribution comparison between real and synthetic, impact on business metrics such as fraud losses, CTR or churn avoided. Dashboards should include automatic alerts when metrics exceed limits.

A practical point is to flag in reports which insights derive from models trained with synthetics. This transparency facilitates communication with stakeholders, for example showing that a new segmentation rule was enabled only thanks to synthetic reinforcement of rare examples, and allowing informed decisions about risk and adoption.

In summary

  • Synthetic data are a practical tool to deal with scarcity, privacy and rare classes, when accompanied by rigorous validation and governance processes.
  • In a pipeline in Microsoft Fabric, combine generation in Notebooks/Spark with statistical tests and utility metrics to automate batch approval and ensure reproducibility.
  • Implement technical and procedural safeguards: anonymity checks, differential privacy when necessary and bias auditing by subgroups, with clear operational thresholds.
  • Integrate with Power BI and MLOps processes to measure business impact and maintain transparency on the use of synthetics.

Next practical steps: identify the business cases that benefit most (fraud, churn, defects), prototype a controlled generation with 25k to 200k examples and establish automatic acceptance criteria in Fabric. If you wish, we can help set up that first pipeline, define validation metrics aligned with your KPIs and estimate costs and gains over three quarters.

Which case in your organization would benefit most from a synthetic data strategy and which concerns would you like to see mitigated first?

← Back to insights
Let's talk?

Ready to transform your data?

Book a free 30-minute meeting and find out how we can help your team make better decisions.

Book a Free Meeting
bConcepts