Governing AI Development

How Do You Govern Data for Training and Testing AI?

Data governance for AI training and testing is the set of checks that makes data lawful to use, fit for the intended purpose and traceable from source to model version. It starts before training, with rights and purpose, continues through every test type, and leaves records such as provenance, lineage and datasheets.

Quick facts

Type
Life-cycle control over training, validation and test data
Key idea
Rights and purpose first, then fitness for purpose, then tests on clean splits
Where it lives in the process
A data review gate before training and a test gate before release
Main legal hook
EU AI Act Art. 10(2)–(4) (high-risk systems); GDPR Art. 5(1)(b) and 6(4)
Related concepts
Data provenance, data lineage, datasheets, bias testing, data leakage, poisoning
IAPP® AIGP® reference
Body of Knowledge v2.1, III.B (data collection and use for training and testing)

What must you settle before using data for training?

Two questions come before any quality check: may we use this data, and for this purpose?

Lawful rights. Public or downloadable data is not free of terms. A research-only licence does not cover training a commercial model, so obtain one that does or drop the source (NIST AI RMF MAP 4.1, legal risks of third-party data). For data that identifies no one, the licence is often the open question.

Purpose compatibility. Personal data collected for one purpose, such as resolving service requests, is not automatically available for training. The review starts with why it was collected and what people were told (GDPR Art. 5(1)(b) and 6(4)), because even checking quality or coverage already processes the data for the new purpose. Pseudonymization is a safeguard the test weighs (Art. 6(4)(e)), but it does not make a new purpose compatible by itself.

Agent logs mix people's personal data with the agent's own unverified answers; fine-tuning on outputs nobody reviewed can teach the agent its own errors.

Data governance for AI starts with permission and purpose, because every later step already uses the data.

What makes training and test data fit for purpose?

Data is judged against the intended use and setting:

PropertyQuestionCommon failure
QualityAccurate, complete, consistently labeled?Missing values coded as zero
QuantityEnough examples, including rare cases?Too few examples of the minority class
IntegrityFree of tampering and corruption?Poisoned records from an open source
RepresentativenessCovers the people and setting of use?Studio audio used for a noisy warehouse
Fitness for purposeMeasures what the use needs?Labels that record a different decision

More data from the same population adds quantity, not representativeness. For high-risk systems, the EU AI Act asks for data that is relevant, sufficiently representative and, as far as possible, free of errors and complete (Art. 10(3)), reflecting the setting of use (Art. 10(4)).

Integrity. Sources anyone can write to can be poisoned (NIST AI 100-2, adversarial machine learning). Screen incoming records and keep each one's provenance, so suspect data can be blocked or traced and removed. Versioning training sets helps roll back but, like retraining more often, does not stop bad data entering.

Fitness for purpose depends on the intended use: a large data set can still be the wrong one.

Which data biases should a review look for?

Suresh and Guttag's framework of harms across the machine learning life cycle (2021) names seven sources of harm, including the first three below. Label noise is a further check:

  • Representation bias: some groups are missing or too thin in the sample.
  • Historical bias: complete, well-sampled data records past unfair decisions, which the model learns; NIST SP 1270 (2022) calls such patterns systemic bias, also known as institutional or historical bias.
  • Evaluation bias: the test data does not match the population of use.
  • Label noise: the same outcome was recorded inconsistently.

Data that mirrors the population of use rules out representation and evaluation bias, not historical bias.

Labels from staff approving an agent's proposals with one click may record deference (automation bias), not judgment, so a new model would copy the old one's errors: relabel a sample independently. Judge class balance in absolute numbers; 2% of 100,000 cases is 2,000 examples.

Shortcuts. Interpretability tests can show reliance on a feature unrelated to the task, such as a marker one site's equipment prints. A test set from the same sites shares it, so high accuracy does not clear it: fix the data, retrain, retest, record.

A data bias review asks how the data was produced, not only whether it is complete.

Which tests does an AI system need before release?

Each test type answers a different question:

TestWhat it checks
UnitOne component alone, such as a prompt template or a tool, often against mocked responses
IntegrationComponents working together, such as an agent calling live systems, where format mismatches surface
ValidationFitness for the intended use, judged by users on representative cases
PerformanceAccuracy, latency and load against targets set in advance
SecurityWeaknesses an attacker could exploit
BiasResults compared group by group
InterpretabilityWhat the model relies on

Validation testing asks whether the system fits its intended use; a validation set is data used to tune models. And an overall accuracy figure can hide much higher error rates for some groups, so bias testing breaks results down by group and documents them (NIST AI RMF MEASURE 2.11). Interpretability can reveal a proxy, such as area, but does not measure how unequal outcomes are.

A test plan for an AI system matches each question to the test type that answers it.

How do you keep test results honest?

Use three splits: a training set to fit the model, a validation set to tune and choose models, and a test set held out and scored once, at the end.

Leakage inflates scores (Kaufman et al., "Leakage in Data Mining", 2012):

  • Entity overlap: the same patient or customer sits in both sets. Split by entity, not record.
  • Target leakage: a feature unavailable at prediction time, such as a code filled in after the outcome. Remove it and retest; a fresh sample still holds the field.
  • Test-set tuning: checking the test score after each tuning run makes it a tuning set. Confidence intervals, fixed seeds and run logs do not repair that.

Unlike overfitting, seen as a gap between training and held-out scores, leakage makes held-out scores look good too.

Synthetic data reflects only what its generator learned, gaps and biases included. A synthetic test set scores the generator, not real events: hold real records out of the generator and document the synthetic share. Data derived from personal data can still identify people: the EDPS advises a privacy assurance assessment before treating synthetic data as non-personal.

Honest test results depend on a test set that nothing, including the generator, has seen.

What does EU AI Act Art. 10 require for training data?

Art. 10 applies to high-risk AI systems trained with data; under the Digital Omnibus on AI, to Annex III systems from 2 December 2027 (dates checked 29 November 2026). Elsewhere, its practices are good practice, not law.

Art. 10(2) lists practices appropriate to the intended purpose: (a) design choices; (b) collection, origin and, for personal data, original purpose; (c) preparation such as labeling and cleaning; (d) assumptions; (e) availability, quantity and suitability; (f) examination of possible biases; (g) measures to detect, prevent and mitigate them; (h) data gaps or shortcomings and how to address them.

Art. 10 does not require publishing training data or using EU-only data. The public summary of training content binds general-purpose AI model providers (Art. 53(1)(d)); testing against metrics and thresholds defined in advance belongs to the risk management system (Art. 9(8)); a lawful basis is a GDPR question.

The former Art. 10(5), on processing special-category data to detect and correct bias, now sits in Art. 4a: only where strictly necessary, with safeguards.

EU AI Act Art. 10 is a data governance checklist for high-risk systems, not a publication duty.

What does a data review gate look like in a real process?

Harbourside Council plans a model that sorts residents' photos of street defects into repair categories. The process owner, the head of highways, places a data review gate before training, run by the data lead with the data protection officer. It passes when each item has evidence:

  1. Rights: terms per source; purpose check for photos showing faces or plates.
  2. Provenance and a datasheet per data set.
  3. Fitness: every district, season and camera type.
  4. Bias and labels: results by district; a sample relabeled.
  5. Integrity: uploads screened.
  6. Splits: by report; test set locked.
  7. Lineage: data set versions linked to model versions.
  8. Issues log: cause, fix and retest per finding.

When night photos were misclassified, the team added labeled night photos, retrained, retested and logged the fix. Fix issues at their cause: if annotators disagree because the labeling guide is silent, clarify the guide and relabel. A tie-break vote stays arbitrary, soft labels suit truly ambiguous items, and dropping disputed items skews the data.

A data review gate gives each data control an owner, a place in the process and a record.

How do provenance, lineage, datasheets and model cards differ?

Data provenanceData lineageDatasheetModel card
DescribesEach source's origin and historyHow data moved and changed through the pipelineA data set as a wholeA trained model
HoldsWhere from, who collected it, when, under which termsProcessing steps linked to data set versionsMotivation, composition, collection, preprocessing and labeling, uses to avoid, distribution, maintenanceIntended and out-of-scope uses, results by group, known limits
AnswersCan we trust this source and may we use it?Which exact data trained this model version?Does this data set fit our task?Does this model fit our use?
Does notMeasure performance or replace bias testingShow the right to use a sourceReport a model's resultsTrace processing steps

Provenance looks back to the source, lineage follows the pipeline, and datasheets (Gebru et al.) and model cards summarize a data set and a model for their users. Usage of the first two terms varies between communities; this guide follows the W3C PROV notion of provenance.

Exam focus

Data governance maps to BoK v2.1 III.B (data collection and use for training and testing). Scenario questions describe a data set, a label source or a test score and ask what to settle first, which record answers a need, or why a score cannot be trusted. Common traps: public data treated as free to use, more data treated as more representative, and a high score on a leaking test set. Practise in the Domain III drill.

Practise this AIGP domain →

Check your understanding

A few practice questions on this entry, drawn at random.

FAQ

Can I train an AI model on publicly available data?

Not automatically. Public or downloadable data still comes with terms, and the licence must cover your use: a research-only licence does not cover a commercial model. If the data holds personal data, data protection law applies too, including whether the new purpose is compatible with the original one. Record the source and its terms as provenance.

What is the difference between data lineage and data provenance?

Data provenance records where data came from: its origin, who collected it, when and under which terms. It supports trust and shows the right to use it. Data lineage records how the data moved and changed through the pipeline, linking each processing step to each data set version, so you can rebuild the exact training set of a model version.

What is data leakage in machine learning?

Data leakage is information in training or test data that would not be available in real use, which makes test scores look better than real performance. Common forms are the same person appearing in both training and test sets, a feature filled in only after the outcome is known, and repeatedly tuning against the test set.

Can synthetic data replace real data for testing an AI model?

Not fully. Synthetic records reflect only what their generator learned from the source data, so a test on synthetic data measures how well the model fits the generator. Hold some real records out of the generator for testing, document the synthetic share, and check re-identification risk when the source held personal data.

Does the EU AI Act require companies to publish their training data?

No. Art. 10 sets data governance practices for high-risk systems, such as examining biases and identifying data gaps, but no publication duty. Providers of general-purpose AI models must publish a summary of the content used for training under Art. 53(1)(d), which is a separate duty for a different role.

Sources

Last reviewed

AIGP® (Artificial Intelligence Governance Professional) is a certification of the International Association of Privacy Professionals (IAPP®). This guide is independent and is not affiliated with, endorsed by or sponsored by the IAPP. Its practice questions are original, written from the public AIGP Body of Knowledge v2.1, and are not taken from any IAPP exam. The Autonomy Ladder, APG-6 and GUARD are teaching devices of this guide, not Body of Knowledge terms. Other names may be trademarks of their respective owners.