# How can I prevent synthetic training data from leaking into evaluation?

Exam: AI-300 — Operationalizing Machine Learning and Generative AI Solutions
Knowledge domain: Optimize generative AI systems and model performance
Updated: 2026-11-25T04:35:48.890953+00:00
HTML: https://learningpathx.com/faq/AI-300/ai300-synthetic-data-group-leakage.html

## Also asked as

- How should I split related synthetic examples to protect an independent test set?
- How do I keep synthetic paraphrases and shared source cases from leaking across training and evaluation?

Split related examples as groups and reserve the final assessment before generating or filtering training data. Randomly splitting rows can place paraphrases of the same incident on both sides and overstate generalization.

Choose the grouping unit for the claim you intend to test: source incident, scenario template, customer case or document family, for example. Keep alternative conversations, reformatted copies and generated descendants of that unit in the same partition. Record why that grouping supports the evaluation claim.

Exclude final-test content from reference files, generation examples and reviewer/filter-tuning prompts. If final cases repeatedly guide data construction, they no longer provide the same independent evidence. Foundry's automatic train/validation split is a convenience; it does not prove group separation or supply an independent final test set.

Check exact and near-duplicate families across training, development validation and final holdout. Compare input, intended output and underlying scenario, not just full-row text. Review conflicting expected answers as well as repetition; resolve source ambiguity before accepting supervision.

If contamination appears, record affected comparisons and rebuild an appropriate independent assessment. Moving one obvious duplicate is insufficient when a related family remains. No universal similarity cutoff or split percentage guarantees independence.

**Microsoft Learn**

* [Generate synthetic data with Microsoft Foundry (preview)](https://learn.microsoft.com/en-us/azure/foundry/fine-tuning/data-generation)
* [Training in Microsoft Foundry](https://learn.microsoft.com/en-us/azure/foundry/fine-tuning/overview)

Source: [AI-300: Qualifying Synthetic Fine-Tuning Data](https://learningpathx.com/news/ai-300-qualifying-synthetic-fine-tuning-data.html)
