Why GDPR Is the First Question, Not the Last
Plenty of AI projects work technically and still never go live, because the team left the data-protection question until the end and the answer turned out to be “no.” A mid-sized company that processes customer records, employee data, or supplier information cannot bolt the General Data Protection Regulation on just before launch. It determines what data the system may touch, where it may run, and what it may keep. Teams that consider it only at the end pay for an expensive rebuild. Teams that treat it as a design input usually get no more than a few engineering constraints.
GDPR was written to be technology-neutral: it does not ban AI and does not even name it. It asks of an AI system what it asks of any other software that handles personal data: on what legal basis, for what purpose, with how much data, under whose control, and for how long. If you can answer that, you may run an AI system just as you may run a CRM. AI systems do, however, tempt teams to answer those questions badly, because they take in more data than they need, send it somewhere it should not go, and keep data they were never meant to store.
The GDPR Duties That Touch an AI System
Six obligations carry most of the load in practice. None applies only to AI, but each one bites at a particular place in how the system is built.
A lawful basis
You need a legal reason to process personal data: consent, a contract, a legitimate interest, and so on. For an AI feature you must be able to say why you may feed a category of data into the system and, above all, whether “we already collected it for X” also covers “now we also use it to train or run a model.” Many projects cross that line unnoticed when they repurpose existing data for AI.
Purpose limitation and data minimization
Data collected for one purpose should not silently serve another, and a system should only touch the data it needs. AI systems break this duty especially easily. It is tempting to hand a model the whole customer table “so it has context” when the task needs only three fields. Minimization is a legal obligation and good design at once, because less data in the system lowers risk and cost and limits the damage if anything goes wrong.
Transparency
People have a right to know that their data is being processed and, in broad terms, how. If an AI system materially affects someone because it screens an application or prioritizes a case, you have to be able to explain that in plain language; it must not stay hidden in model weights.
Security
Appropriate technical measures have to protect personal data: access controls, encryption, and a clear boundary around where the data may travel. For AI that boundary matters, because the easiest way to build a feature is often to send the data to a service outside it.
Data-subject rights
People can ask what you hold about them and demand that you correct or delete it. A system has to be able to honor those requests. For that you must know what personal data the AI holds and be able to remove it. A model or index that has absorbed personal data with no way to find or delete it remains a standing liability.
Records and accountability
You have to be able to demonstrate compliance, not just assert it. To do so you document what the system does and what data it uses. Where the processing is high-risk, a data-protection impact assessment belongs with it. A demo gets by without these records; production does not.
Where AI Projects Fail
In practice, most GDPR problems in AI projects trace back to a few avoidable mistakes. Each one takes little effort to rule out at the start and a lot to fix later.
Sending personal data to a service outside your control. A feature often ships fastest when it calls a large cloud model hosted outside the EU. That single design choice can turn a routine task into a cross-border transfer of personal data, with all the legal consequences. It is not always wrong, but nobody should make that decision by accident.
Training or tuning on data without a basis for it. “We have the data anyway” does not mean “we are allowed to train a model on it.” Fine-tuning a model on customer or employee data pursues a new purpose and needs its own justification. A model trained on personal data may also effectively memorize some of it, which makes the next problem worse.
No way to delete. If someone exercises their right to be forgotten, you have to remove their data, including from any AI index or model that absorbed it. Teams that load personal data into a vector store or a fine-tuned model without recording what sits where can honor a deletion request only with great effort.
No audit trail. When a regulator, an auditor, or a customer asks what the system did with a particular person’s data, “we think it was fine” is not an answer. Without logs you cannot reconstruct what happened, and you cannot prove you were compliant even when you were.
Compliance by Architecture, Not by Disclaimer
A longer privacy policy does not keep you reliably compliant. A system does, if the compliant path is its only path and the controls GDPR asks for are properties of the architecture and not promises in a document. In the diagram above, the right thing happens at each stage because the system is built that way.
A few decisions achieve most of it. Keep the processing where the data is allowed to be, meaning on your own infrastructure or in an EU region, so that “where does the data go?” has a boring, defensible answer. Here running an open model on your own hardware turns from a preference into the responsible option. Minimize at ingestion, so the system sees only the fields it needs, and pseudonymize where the task allows it, so that names and identifiers never reach the model. Log every access and decision, so the audit trail exists from the start and nobody has to bolt it on later. Build retention and deletion into the data layer, so that “remove this person” is a supported operation.
A system built this way supplies the answers itself. Asked where the data goes, it answers “nowhere it shouldn’t.” The log records what the system did, and a button handles a deletion request. This costs somewhat more at the start than the careless version and, as a rule, less than the later rebuild that unwinds those decisions.
GDPR and the EU AI Act in One System
The two regimes are easy to confuse. GDPR governs personal data, meaning how you may collect, use, and store information about people. The EU AI Act governs AI systems, meaning how they must be built, documented, and overseen depending on how risky their use is. One system can fall under both: an AI that screens job applications processes personal data (GDPR) and makes consequential decisions about people (a higher-risk use under the AI Act).
The same architecture that keeps you within GDPR (data under your control, minimization, logging, documentation, human oversight) is also a good foundation for the AI Act, which asks for logging, documentation and human oversight as well. High-risk systems carry duties of their own on top, such as risk management and conformity assessment; whether your system is one of them is covered in the piece on high-risk classification.
A Short Practical Checklist
Five questions catch most of the trouble before you commit to an AI feature that touches personal data:
- Basis: on what legal basis do we use this data for this purpose, and does it cover training as well as running the model?
- Location: where will the data be processed, and can we keep it inside a boundary we control?
- Minimization: which fields does the task need at a minimum, and can we pseudonymize the rest?
- Deletion: can we find and delete a person’s data on request everywhere the system keeps it, including any index or fine-tuned model?
- Evidence: can we show what the system did from logs and documentation that already exist?
If any answer is “we’re not sure,” you do not have to abandon the project over it. Resolve the question before you build, while changing the design still costs little.