Leer en español · Lire en français · Auf Deutsch lesen
Section 12.8 of 12.8 · Advanced · 30 min read
Data governance, responsible AI and the EU AI Act
Video lesson
5 min · narrated, with captionsListen only (audio)
Read the transcript
Fairness, transparency and privacy are easy to agree with and easy to ignore. This lesson shows how they become architecture, and how regulation shapes it. It is general information, not legal advice.
Think of how medicines are regulated. A sticking plaster needs almost no paperwork. A heart drug needs trials on many kinds of patients, a leaflet explaining its uses and side effects, a doctor's oversight, and a way to report problems. Some substances are simply banned. Artificial intelligence, or AI, is now regulated in a similar way. The more a system can affect people's lives, jobs, money or safety, the more care, records, testing and human oversight are expected.
Responsible AI becomes real only as properties of the system. Start with data: know the source and licence of all training, retrieval and evaluation data, and of the model weights themselves. Every prompt sent to a hosted model is a disclosure to a processor, which under the GDPR needs a contract and clarity about retention. So send the order number and the missing item, not the customer's full profile. Personal data also spreads into retrieval indexes, logs, traces and evaluation sets, each needing retention and access rules. And data learned into model weights can't be selectively erased. So personal data belongs in a retrieval store, where it can be filtered, corrected and deleted.
Fairness can be defined in several measurable ways, and when groups differ, they generally can't all hold at once. Choosing one is a value judgement, made explicitly with the people affected. Then slice evaluation results by group and language. A support assistant can be excellent in English and poor in Welsh. A model's account of its own reasoning need not reflect how it reached an answer. So explain through architecture: show the sources used, give reason codes from deterministic rules, and log enough to reconstruct any decision. And design human oversight against automation bias: show the evidence, make disagreement easy, and measure override rates. A rate near zero is a warning sign.
The EU AI Act regulates by risk. It assigns duties mainly to providers, who develop a system and place it on the market, and deployers, who use it professionally. At the top are prohibited practices, such as social scoring. Next come high-risk systems: safety components of products under EU product safety law, and systems used in listed areas such as employment, education, credit scoring and essential services. They bring duties such as conformity assessment, logging and human oversight. Then transparency obligations: people must be told when they're interacting with an AI system, unless that's obvious, and generated content must be marked. Most systems are minimal risk, with no specific new obligations beyond AI literacy. General-purpose AI models, such as the language models behind most assistants, are regulated on a separate track, with duties for their providers.
What does the section conclude for the food delivery platform? The customer support assistant isn't in one of the listed high-risk areas. But it must tell customers they're talking to an AI. And the GDPR applies in full to its prompts and logs. The courier systems are different. AI that allocates work to couriers, evaluates their performance or decides on deactivation falls within the employment and worker management area, and so within the high-risk regime. So classification follows the purpose, not the technology. One model can serve a minimal-risk use and a high-risk use in the same company.
Two frameworks help organise the work. The NIST AI Risk Management Framework is voluntary and widely used. Its four functions are govern, map, measure and manage. ISO/IEC 42001 specifies an AI management system, in the same style as ISO/IEC 27001 for information security. Unlike the NIST framework, it's certifiable.
One important note. This lesson, like the section, is general information, not legal advice. Obligations depend on the facts of each system. They also depend on the exact legal texts and guidance in force. Those texts continue to change. In 2026, for example, an amending regulation postponed the high-risk obligations. So check the current consolidated text before relying on any date. And involve qualified legal advisers in any real classification or compliance decision.
That completes Chapter 12, the last chapter of the course. When you're ready, take the optional Chapter 12 test: twenty multiple choice questions and two written answers, with a pass mark of eighty per cent. Once you've passed all thirteen chapter tests, the final assessment opens: a sixty question final examination, and a written architecture case study. Good luck.
What you need to know
- Responsible-AI principles (fairness, transparency, accountability, privacy, safety, robustness) become real only as architectural properties: data flows, retention, logging, oversight points, documentation and measurement.
- Know the provenance and licence of all training, retrieval and evaluation data and of model weights; personal data spreads into prompts, indexes, logs and eval sets, and fine-tuned weights cannot be selectively erased, so keep personal data in retrieval stores.
- Fairness has several incompatible definitions (Kleinberg et al., 2016; Chouldechova, 2017); choose one explicitly with stakeholders and slice evaluation by group and language.
- Explainability in LLM systems comes from architecture (cited sources, deterministic reason codes, reconstructable logs), documented in model cards (Mitchell et al., 2019); effective human oversight must counter automation bias.
- The EU AI Act (Regulation (EU) 2024/1689) regulates by risk: prohibited practices, high-risk systems (Annex I and III), transparency obligations (Article 50) and minimal risk, with separate obligations for general-purpose AI models.
- Regulation (EU) 2026/1744 (in force since 27 July 2026) moved high-risk obligations to 2 December 2027 (Annex III) and 2 August 2028 (Annex I) and added new prohibitions; the original prohibitions (February 2025), GPAI duties (August 2025) and Article 50 (August 2026) were not postponed.
- The NIST AI RMF 1.0 (2023) organises risk management into Govern, Map, Measure and Manage; ISO/IEC 42001:2023 specifies a certifiable AI management system.
Responsible AI as an architectural concern
Responsible AI
gathers the principles that most frameworks share: fairness, transparency, accountability, privacy, safety, security and robustness. Stated as principles they are hard to disagree with and easy to ignore. They become real only when they are turned into properties of the system: where data flows and how long it stays, what is logged and who can read it, where a person can intervene, what is documented and kept current, and what is measured for which groups. Those are architectural decisions, often expensive to retrofit, which is why responsible AI belongs in design reviews and decision records rather than in a policy document alone.
This section builds on the privacy principles of section 8.7 and the ethics discussion of section 11.8, and applies them to systems with learned, probabilistic components. It then turns to the main regulatory and standards frameworks an architect will meet: the EU AI Act, the NIST AI Risk Management Framework and ISO/IEC 42001.
Data governance: provenance, licences and personal data
Data provenance is the documented origin and history of data: where it came from, under what licence or consent, and how it was transformed. AI systems consume data in more ways than ordinary software: training and fine-tuning data shape the model's weights, retrieval corpora shape its answers, evaluation sets define what good
means, and feedback loops can feed outputs back in as inputs. Each needs a known source and a lawful, licensed basis for its use. Model weights carry licences too: open-weight models are released under licences that range from permissive open-source licences to custom licences with acceptable-use restrictions or conditions for very large users, and those terms are constraints on the architecture just like a database licence.
Personal data deserves particular care because AI features spread it into new places. Every prompt sent to a hosted model is a disclosure to a processor, which under the GDPR needs a contract, a suitable location or transfer mechanism, and clarity about the provider's retention and whether it may use the data for training. Data minimisation applies to prompts: send the order number and the missing item, not the customer's full profile. Pseudonymise or redact where the task allows. The table shows the less obvious places personal data accumulates. The hardest is model weights: data used for fine-tuning can be memorised and cannot be selectively removed, so personal or fast-changing data belongs in a retrieval store (section 12.3), where it can be filtered, corrected and deleted, not in the weights.
Where personal data hides in an AI system
| Location | Risk | Controls |
|---|---|---|
| Prompts sent to a hosted model | Disclosure to a processor, possibly in another country; provider retention | Data processing agreement, region choice, provider retention and no-training terms, redaction or pseudonymisation before sending |
| Retrieval index and embeddings | Embeddings of personal text are personal data; deleted records linger in the index | Index per tenant or with access filters; delete and re-index on erasure; record which source each chunk came from |
| Logs, traces and transcripts | Large, unplanned store of conversations, often kept longer and accessed more widely than the source data | Content capture off by default, short retention, masking, role-based access, deletion on request |
| Evaluation sets built from production | Copies of real conversations spread to developers' machines and CI systems | Anonymise before inclusion; review; keep in controlled storage with an owner |
| Fine-tuning data and model weights | Personal data memorised in weights cannot be selectively erased | Prefer retrieval for personal or changing data; never fine-tune on personal data without a lawful basis and an erasure strategy |
| User feedback and memory features | Long-lived profiles built without the user noticing | Explicit purpose, user-visible memory, opt-out and deletion |
Bias and fairness
Algorithmic bias means systematically worse outcomes for some groups of people. It enters through historical data that encodes past discrimination, through groups that are under-represented in the data, through proxies (a postcode standing in for ethnicity), through measurement choices (using arrests as a proxy for crime) and through deployment in contexts the model was not built for. Language models add their own forms: stereotyped associations learned from web text and markedly uneven quality across languages and dialects, so that a support assistant may be excellent in English and poor in Polish or Welsh.
Fairness can be defined in several measurable ways, for example equal rates of positive decisions across groups (demographic parity), equal error rates across groups (equalised odds) or scores that mean the same probability in every group (calibration). Kleinberg, Mullainathan and Raghavan (2016) and Chouldechova (2017) showed that when groups have different base rates, a classifier generally cannot satisfy calibration and equal error rates at the same time. Choosing a fairness criterion is therefore a value judgement for the people affected and the organisation, not a technical default. The architect's job is to make the choice explicit, to slice evaluation results by group and language as in section 12.5, and to decide how the data needed for that measurement is collected and protected. Measuring bias often requires sensitive attributes that the system otherwise should not hold; Article 10(5) of the AI Act allows their processing for bias detection in high-risk systems under strict safeguards, and the 2026 amendments added a similar, strictly conditioned permission for other AI systems and models.
Transparency, explainability and model cards
Transparency is telling people what they are dealing with: that they are talking to an AI, that an image is synthetic, what a system is for and where it is unreliable. Explainability is being able to say why a particular output was produced. For classical machine-learning models, techniques such as feature attributions can indicate which inputs influenced a score, with known limitations. For language models, explanations are harder: a model's own account of its reasoning is generated text that need not reflect the computation that actually produced the answer. Practical explainability in LLM systems therefore comes from architecture rather than introspection: show the retrieved sources an answer relied on, keep consequential decisions in deterministic rules that produce reason codes, and log the inputs, sources, prompt and model versions so that any decision can be reconstructed and contested later. Where decisions with legal or similarly significant effects are made solely by automated means, the GDPR adds rights to human intervention and to meaningful information about the logic involved.
Model cards, proposed by Mitchell and colleagues in 2019, are short documents that accompany a trained model: its intended uses and out-of-scope uses, the factors (such as demographic groups) across which it was evaluated, its metrics and their results per group, its training and evaluation data, ethical considerations and caveats. Datasheets for datasets (Gebru et al.) do the same for data, and many providers now publish system cards covering a whole deployed system. For architects these are both inputs (read the card of every model you adopt, including its limits and licence) and outputs (publish one for your own system, kept in the repository and updated with each release, alongside the architecture documentation of Chapter 4).
Human oversight
Human oversight takes three common forms: a person approves each decision before it takes effect (human in the loop), a person monitors the system and can intervene (human on the loop), or people govern when and how the system is used at all (human in command). Oversight is only as good as its design. Automation bias, the tendency to accept a system's recommendation without real scrutiny, turns reviewers who approve hundreds of AI suggestions an hour into a rubber stamp that adds liability but no safety.
Effective oversight is designed in: show the evidence and sources behind each recommendation, not just the answer; make disagreement easy and record it; size review workloads realistically; periodically insert known-wrong cases to check that reviewers catch them; measure override rates (a rate near zero is a warning sign, not a success); and give operators a tested way to pause or stop the system. Section 12.2 discusses human-in-the-loop designs and their capacity planning. Article 14 of the AI Act requires high-risk systems to be designed so that overseers can understand the system's capacities and limits, remain aware of automation bias, interpret outputs, decide not to use or to override them, and interrupt the system.
The EU AI Act
The EU AI Act, Regulation (EU) 2024/1689, is the first comprehensive horizontal law on AI. It entered into force on 1 August 2024 and applies in stages. It regulates by risk, assigns duties mainly to providers (who develop a system or model and place it on the market under their name) and deployers (who use it professionally), and reaches beyond the EU: it applies to providers placing systems on the EU market and to providers and deployers elsewhere whose systems' output is used in the EU. Penalties for prohibited practices reach EUR 35 million or 7% of worldwide annual turnover, whichever is higher, with lower ceilings for other breaches.
The Act sorts systems into four tiers, plus a separate track for models. Prohibited practices (Article 5) include social scoring, manipulative or deceptive techniques and exploitation of vulnerabilities that cause significant harm, untargeted scraping of facial images, emotion recognition in workplaces and schools (with narrow exceptions), biometric categorisation to infer sensitive characteristics, predicting criminal offences solely from profiling, and real-time remote biometric identification in public spaces for law enforcement except in narrow cases. High-risk systems (Article 6) are safety components of products covered by the EU product-safety legislation listed in Annex I, and systems used in the areas listed in Annex III: biometrics, critical infrastructure, education, employment and worker management, access to essential private and public services (such as credit scoring and life and health insurance pricing), law enforcement, migration and border control, and justice and democratic processes. An Annex III system can escape the high-risk category under Article 6(3) if it performs only a narrow or preparatory task and poses no significant risk, but never if it profiles people. Transparency obligations (Article 50) require people to be told when they interact with an AI system unless that is obvious, generated or manipulated content to be marked in a machine-readable way, and deepfakes to be disclosed. Minimal-risk systems, the large majority, have no specific new obligations, although the AI literacy provision of Article 4 applies to providers and deployers generally.
General-purpose AI (GPAI) models, such as the large language models behind most assistants, are regulated at the model level. Under Article 53 their providers must keep technical documentation, give downstream providers the information they need, have a policy to comply with EU copyright law and publish a summary of the content used for training. Models with systemic risk, presumed when training compute exceeds 1025 floating-point operations, carry further duties under Article 55: evaluation including adversarial testing, risk mitigation, serious-incident reporting and cybersecurity. A General-Purpose AI Code of Practice, published in July 2025, offers providers a voluntary way to demonstrate compliance. A company that builds an application on someone else's model is normally a provider or deployer of an AI system, not of the model, but may become a model provider if it substantially modifies the model.
The risk-based structure
High-risk obligations and what they mean for the architecture
| Obligation (provider) | Architectural consequence |
|---|---|
| Risk management system (Article 9) | A maintained risk register and threat model for the AI system, revisited at every significant change |
| Data and data governance (Article 10) | Documented provenance, lineage and quality checks for training, validation and test data; bias examination per group |
| Technical documentation (Article 11, Annex IV) | Versioned architecture description, model and data documentation, evaluation results, kept current with each release |
| Record-keeping (Article 12) | Automatic, tamper-evident event logs over the system's lifetime that allow outputs to be traced to inputs and versions |
| Transparency to deployers (Article 13) | Instructions for use stating intended purpose, accuracy, known limits and how to interpret outputs |
| Human oversight (Article 14) | Interfaces that let trained people understand outputs, notice anomalies, override decisions and stop the system |
| Accuracy, robustness and cybersecurity (Article 15) | Declared accuracy metrics, resilience to errors and faults, defences against poisoning and adversarial inputs |
| Quality management, conformity assessment, registration, post-market monitoring (Articles 17, 43, 49, 72, 73) | Release process with evidence, CE marking, entry in the EU database, production monitoring and serious-incident reporting |
The timeline and the 2026 amendments
The Act's obligations were scheduled to arrive in stages between February 2025 and August 2027. In November 2025 the European Commission proposed a Digital Omnibus on AI
to simplify implementation, chiefly because the harmonised standards and guidance needed for the high-risk rules were late. After agreement between the European Parliament and the Council, it was adopted as Regulation (EU) 2026/1744 of 8 July 2026, published in the Official Journal on 24 July 2026 and in force since 27 July 2026. It postpones the high-risk obligations to fixed dates (2 December 2027 for Annex III systems and 2 August 2028 for Annex I systems); adds prohibitions on AI systems that generate or manipulate child sexual abuse material or intimate images of identifiable people without their consent; gives providers of generative systems already on the market a four-month transitional period for machine-readable marking; changes the AI literacy duty from ensuring a sufficient level of literacy to taking measures to support it; adds a legal basis, under strict conditions, for processing special categories of personal data to detect and correct bias beyond high-risk systems; extends simplifications from SMEs to small mid-cap enterprises; moves the Machinery Regulation from Section A to Section B of Annex I, so that requirements for AI in machinery are to be applied through that regulation rather than directly under the Act; and gives the AI Office a stronger role in supervising AI systems built on general-purpose models. The prohibitions and GPAI obligations already in force were not postponed, and the Article 50 transparency obligations apply from 2 August 2026 as planned.
A separate Digital Omnibus proposal from November 2025, which would amend the GDPR, the ePrivacy rules and the Data Act, follows its own legislative process; check whether it has been adopted, and design against the law in force, not against proposals. Check the current consolidated text of the AI Act before relying on any date in the table below.
EU AI Act timeline, as amended (position at October 2026)
| Date | What applies |
|---|---|
| 1 August 2024 | Regulation (EU) 2024/1689 enters into force. |
| 2 February 2025 | Prohibited practices (Article 5) and AI literacy (Article 4) apply. |
| 2 August 2025 | Obligations for general-purpose AI models; governance bodies; penalties regime. |
| 2 August 2026 | Most remaining provisions, including the Article 50 transparency obligations and the Commission's enforcement powers over general-purpose AI models. |
| December 2026 | End of the four-month transitional period for machine-readable marking (Article 50(2)) for generative systems placed on the market before 2 August 2026. The new prohibitions on generating child sexual abuse material and non-consensual intimate imagery are also scheduled to apply from this point; confirm the exact date in the consolidated text. |
| 2 August 2027 | General-purpose AI models placed on the market before 2 August 2025 must comply. |
| 2 December 2027 | High-risk obligations for Annex III systems (originally 2 August 2026). |
| 2 August 2028 | High-risk obligations for Annex I systems, AI in products under EU product-safety law (originally 2 August 2027). |
What does this mean for the food-delivery platform? The customer-support assistant is not in an Annex III area, so it is not high-risk, but it must tell customers they are talking to an AI, and the GDPR applies in full to its prompts and logs. The same company's courier systems are a different matter: AI that allocates work to couriers on the basis of their behaviour or characteristics, monitors and evaluates their performance or decides on deactivation falls within Annex III's employment and worker-management area, and therefore within the high-risk regime from December 2027, as well as the EU Platform Work Directive (Directive (EU) 2024/2831) on algorithmic management, which member states must transpose by December 2026. Classification follows the purpose, not the technology: one model can serve a minimal-risk use and a high-risk use in the same company.
Decision guide
Decision guide: how does the EU AI Act touch this system?
A first orientation for architects, to be confirmed with legal advisers. Answer each question for the system's intended purpose, not its technology.
- Is it an AI system or general-purpose AI model placed on the EU market, put into service in the EU, or whose output is used in the EU?YesThe Act may apply; continue.NoThe AI Act probably does not apply, but data protection, consumer and sector law may.
- Does the intended use match a prohibited practice in Article 5, such as social scoring or exploiting people's vulnerabilities?YesDo not build or deploy it in the EU.NoContinue.
- Is it a safety component of a product covered by Annex I legislation, or used in an Annex III area such as employment, education, credit scoring or essential services?YesTreat it as high-risk unless a documented Article 6(3) assessment shows it poses no significant risk (never possible if it profiles people); plan for Articles 9 to 15 and conformity assessment.NoIt is not high-risk; continue.
- Does it interact directly with people, or generate or manipulate text, images, audio or video?YesArticle 50 transparency applies: disclose the AI interaction, mark synthetic content in machine-readable form, label deepfakes.NoMinimal risk: no specific new obligations beyond AI literacy, though voluntary codes are encouraged.
- Are you training or placing on the market a general-purpose AI model (rather than building on someone else's)?YesArticles 53 and 55 apply to you as a model provider, with extra duties above the systemic-risk threshold.NoObtain the model provider's documentation and use it in your own assessments.
Frameworks and standards: NIST AI RMF and ISO/IEC 42001
The NIST AI Risk Management Framework (AI RMF 1.0, NIST AI 100-1, January 2023) is a voluntary US framework, widely used internationally. It organises AI risk management into four functions: Govern (culture, policies, roles and accountability), Map (context, intended use and potential impacts), Measure (analysis, testing and tracking of risks) and Manage (prioritising and treating risks, and responding to incidents). It describes trustworthy AI as valid and reliable, safe, secure and resilient, accountable and transparent, explainable and interpretable, privacy-enhanced, and fair with harmful bias managed. Its Generative AI Profile (NIST AI 600-1, July 2024) adds risks and actions specific to generative models. Check NIST's site for the current version and its companion profiles before citing it.
ISO/IEC 42001:2023 specifies requirements for an AI management system: the policies, roles, risk and impact assessments, controls, monitoring and continual improvement through which an organisation governs its AI work, in the same Plan-Do-Check-Act style as ISO/IEC 27001 for information security. Unlike the NIST framework it is certifiable, and organisations increasingly ask suppliers for certification. ISO/IEC 23894:2023 gives guidance on AI risk management. The three fit together: the AI Act states legal obligations, harmonised European standards (under development by CEN and CENELEC) will describe how to meet them, and the NIST framework and ISO/IEC 42001 provide the management practices in which the evidence is produced.
Checklist: responsible-AI design review
Use before building and again before each significant release; record answers in an ADR or the system's documentation.
- Purpose and classificationIntended purpose and out-of-scope uses written down; AI Act category and other applicable laws assessed and recorded with the reasoning.
- Data provenance and licencesSources, licences, consents and lineage recorded for training, fine-tuning, retrieval and evaluation data, and for the model's own licence and acceptable-use terms.
- Personal data flowsEvery place personal data goes (prompts, providers, indexes, logs, eval sets) mapped, with lawful basis, minimisation, region, retention and an erasure path; DPIA done where required.
- FairnessAffected groups identified, fairness criteria chosen with stakeholders, evaluation sliced by group and language, gaps tracked.
- TransparencyUsers told when they deal with AI; generated content marked; sources shown; a model or system card published for the people who need it.
- Explainability and contestabilityDecisions can be reconstructed from logged inputs, sources and versions; affected people can get an explanation and challenge the outcome.
- Human oversightClear points where people approve, monitor or can stop the system; reviewers trained, workload sized and override rates measured against automation bias.
- Safety and securityGuardrails, least-privilege tools and red-team results reviewed (section 12.6); incident response and a kill switch tested.
- Evaluation and monitoringGolden sets, thresholds and production monitoring in place, including drift and complaint signals (section 12.5).
- AccountabilityA named owner for the AI system, its risks and its documentation; review dates set; decisions recorded.
Check your understanding
Why is retrieval usually a better home than fine-tuning for customers' personal data?
Data in a retrieval store can be filtered by permission, corrected and deleted; data learned into model weights can be memorised and cannot be selectively erased.
A delivery company uses one model for customer support and for deciding which couriers to deactivate. Are both uses high-risk under the AI Act?
No. Classification follows purpose: customer support is not an Annex III area (though Article 50 transparency applies), while decisions on terminating or managing workers fall within Annex III's employment area and are high-risk.
What does a reviewer override rate close to zero suggest?
Possibly automation bias: reviewers may be accepting recommendations without real scrutiny, so the oversight adds little safety.
Name the four functions of the NIST AI RMF.
Govern, Map, Measure and Manage.
Sources and further reading
Have a question about this section? ArchitectBot, the course’s AI study assistant, answers from the course first.
Ask: “We are adding an AI feature that ranks job applicants for our recruitment platform. What does the EU AI Act require of our architecture, and by when?”