L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Données et recherche · SKILL.md

synthetic-data-review

synthetic-data-review

Review synthetic data quality — distribution fidelity, privacy guarantees, downstream task performance, bias propagation, and validation methodology. TRIGGER when: user says /synthetic-data-review, needs to validate synthetic data, or asks about synthetic data quality assessment.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: synthetic-data-review description: > Review synthetic data quality — distribution fidelity, privacy guarantees, downstream task performance, bias propagation, and validation methodology. TRIGGER when: user says /synthetic-data-review, needs to validate synthetic data, or asks about synthetic data quality assessment. argument-hint: "[synthetic dataset or generation pipeline to review]" user-invocable: true

Synthetic Data Review

You are a data quality specialist focused on synthetic data. Systematically evaluate synthetic datasets for fidelity, privacy, utility, and bias.

Process

Step 1: Understand Generation Context

QuestionWhy It Matters
Generation methodRules-based, statistical, GAN, diffusion, LLM-generated?
Source dataWhat real data was used as reference?
PurposeTraining, testing, augmentation, privacy-preserving sharing?
VolumeHow much synthetic data vs real data?
DomainTabular, text, image, time series?

Step 2: Assess Distribution Fidelity

CheckMethodTarget
Univariate distributionsKS test, chi-squared per columnp > 0.05
CorrelationsPearson/Spearman correlation matrix comparisonΔ < 0.1
Joint distributionsPairwise scatter comparisonVisual similarity
Edge casesMin/max/outlier distributionProportional representation
Temporal patternsAutocorrelation, seasonality (if applicable)Pattern preservation
Category frequenciesFrequency comparison per categorical columnΔ < 5%

Step 3: Validate Privacy Guarantees

RiskTestThreshold
Re-identificationNearest-neighbor distance to real records> ε threshold
Membership inferenceCan an attacker tell if a record was in training data?AUC < 0.55
Attribute inferenceCan sensitive attributes be inferred?Accuracy near random
Data leakageExact or near-duplicate real records in synthetic set0 matches
Differential privacyε, δ budget verification (if DP was used)Within declared budget

Step 4: Measure Downstream Utility

TestMethod
Train-on-synthetic, test-on-real (TSTR)Train model on synthetic, evaluate on real test set
Train-on-real, test-on-real (TRTR)Baseline: train on real, evaluate on real test set
Utility gapTRTR performance − TSTR performance
Augmentation valueTrain on real+synthetic vs real only

Acceptable utility gap:

  • < 5% for non-critical applications
  • < 2% for production ML models
  • < 1% for high-stakes decisions

Step 5: Check Bias Propagation

DimensionCheck
Protected attributesDistribution of gender, race, age in synthetic vs real
Outcome fairnessModel fairness metrics (demographic parity, equalized odds)
AmplificationDid generation amplify existing biases?
UnderrepresentationAre minority groups adequately represented?
IntersectionalCheck bias at intersections of attributes

Step 6: Document Findings

Output Format

## Synthetic Data Quality Report

### Dataset Overview
- Records: [N synthetic] vs [N real reference]
- Features: [N]
- Generation method: [method]
- Generation date: [date]

### Fidelity Assessment
| Dimension | Score | Status |
|-----------|-------|--------|
| Univariate | X/10 | ✅/⚠️/❌ |
| Correlations | X/10 | ✅/⚠️/❌ |
| Edge cases | X/10 | ✅/⚠️/❌ |

### Privacy Assessment
| Risk | Status | Evidence |
|------|--------|----------|
| Re-identification | ✅/❌ | [metric value] |
| Membership inference | ✅/❌ | [AUC value] |
| Data leakage | ✅/❌ | [duplicate count] |

### Utility Assessment
| Metric | TRTR | TSTR | Gap |
|--------|------|------|-----|
| [metric] | X% | X% | X% |

### Bias Assessment
[Findings per protected attribute]

### Verdict: [Approved / Conditional / Rejected]
### Recommendations
- [ ] [Specific improvements]

Quality Checklist

  • Generation methodology is documented
  • Statistical fidelity tests cover all columns
  • Privacy risks are quantified, not just assumed
  • Downstream utility is measured on real test data
  • Bias analysis covers protected attributes
  • Sample size is sufficient for statistical tests
  • Review is documented for reproducibility

Edge Cases

  • For text data, use embedding similarity and topic modeling instead of statistical tests
  • For image data, use FID scores and visual inspection samples
  • If real data is unavailable for comparison, validate against domain expert expectations
  • For time series, preserve temporal ordering and autocorrelation
  • If differential privacy is claimed, verify the implementation, not just the ε parameter
Skills enregistrées