Artificial intelligence is no longer a topic of the future. Language models answer customer enquiries, image recognition systems check ID documents, algorithms decide on creditworthiness. What seems routine in everyday life rests on a technical foundation that raises considerable data protection questions: AI systems learn from data – and very often from personal data. This makes personal data in AI one of the central compliance topics of our time.
This article explains how modern machine learning works, where personal data enters the process, what requirements the GDPR sets and what this means in concrete terms for companies, developers and users.
What “learning” means for AI systems
The term “artificial intelligence” is broad. In practice today it mostly means machine learning (ML) – and above all a subfield called deep learning, which is based on so-called neural networks.
The basic principle: an algorithm analyses very large amounts of example data and recognises statistical patterns in it. Based on these patterns it can later classify, predict or generate new, unknown inputs. A language model such as GPT-4 has processed billions of texts in this way and learned how language works – which words follow each other, which concepts belong together, how questions are typically answered.
What matters: the model does not store texts in the classic sense. It compresses the patterns gained from the data into millions or billions of numerical parameters – the so-called weights of the neural network. These weights are the actual “knowledge” of the model.
Three phases in which data plays a role
Training: The model is trained on a large data set. Personal data contained in this data set influences the model's weights – potentially permanently.
Fine-tuning: An already trained base model is refined further with more specific data, for example internal company documents, customer data or technical literature. Here too, data flows into the model parameters.
Inference: The finished model is used in operation. Users submit queries, upload documents or send images. These inputs are processed – and, depending on the architecture of the system, possibly stored, logged or used again for training.

All three phases are relevant for data protection. Often, however, only inference is noticed, while training and fine-tuning run in the background – frequently without sufficient documentation.
Personal data in AI training data: what is hidden in it
Anyone training large language models needs large amounts of text. The common practice: scraping the public internet. Common Crawl, Wikipedia, books, Reddit, GitHub, news archives – all of it flows into the training data.
That sounds like public data. And yet it contains massive amounts of personal information:
Names and contact details from forums, comment sections, legal notices and social networks.
Health data from public experience reports, patient forums or scientific case studies. See also Article 9 GDPR
Biographical details from CVs, job application pages, personal blogs.
Email addresses and phone numbers that were published somewhere on the web.
Court judgments and official documents that contain the names of data subjects.
Particularly delicate: data that was publicly accessible at a certain point in time may have been deleted since – but live on in the weights of an AI model.
The problem of data minimisation
Art. 5(1)(c) GDPR requires that personal data be limited to what is necessary for the purpose of the processing (data minimisation). This principle is in fundamental conflict with the approach of building training data sets that are as large and diverse as possible. The bigger the data set, the better – that is the empirical principle behind modern large language models. Data minimisation and “more data = better results” can hardly be reconciled as long as personal data is not reliably filtered out of the training data.

Legal basis for training: an unsolved problem
The GDPR requires a legal basis under Art. 6 GDPR for every processing of personal data. For training AI models on publicly available data, the legal position is anything but clear.
Consent (Art. 6(1)(a) GDPR)
Consent from the data subjects is, as a rule, not available in web scraping. Nobody who writes a forum post thereby consents to the use of their text for training a commercial AI model. Even if the data is publicly accessible, that does not mean that consent was given for use in machine learning.
Legitimate interest (Art. 6(1)(f) GDPR)
Many AI providers base their training on legitimate interest. The argument: developing useful AI systems outweighs the interests of the data subjects. Whether this holds is disputed among data protection authorities. Legitimate interest is no free pass – it requires a serious balancing of interests that takes the data subjects' reasonable expectations into account.
Scientific research exemption (Art. 89 GDPR)
The GDPR provides eased conditions for scientific research. However, this exemption is limited to genuine research projects and does not apply to commercial product development.




My name is Klaus Meffert. I have a doctorate in computer science and have been working professionally and practically with information technology for over 30 years. I also work as an expert in IT & data protection. I achieve my results by looking at technology and law. This seems absolutely essential to me when it comes to digital data protection. My company, IT Logic GmbH, also offers consulting and development of optimized and secure AI solutions.
