UK GDPR remains fully in force after Brexit. The Retained EU Law Act 2018 incorporated Regulation (EU) 2016/679 into UK legislation, so all personal data processing obligations remain. The most critical articles for ML systems are: Article 5 (principles), Articles 13-14 (transparency), Article 22 (automated individual decision-making), Articles 35-36 (DPIA), and Article 25 (data protection by design). The ICO — the UK regulator — published specialist Guidance on AI and data protection in 2023, which is the mandatory standard for all UK ML projects.
Article 22 UK GDPR prohibits making decisions that have a significant legal or similarly significant effect on a natural person based solely on automated processing — unless a lawful basis exists. Three permitted bases: (1) the decision is necessary for entering into or performing a contract; (2) the data subject gives explicit consent; (3) there is a specific UK or EU law authorising it. For most commercial ML systems — credit scoring, insurance underwriting, recruitment algorithms — basis 1 or 2 applies. Crucially, even with a lawful basis you must notify the data subject and provide a means to contest the decision with a human.
A Data Protection Impact Assessment (DPIA) is mandatory for ML systems that systematically process personal data at large scale or use new technologies with high risk. In practice, most ML models influencing customer decisions fall within this requirement. A DPIA must include: a description of the processing, purposes and lawful basis, an assessment of necessity and proportionality, identification of risks and mitigation measures, and consultation with the DPO. The ICO requires the DPIA to be completed before processing begins, not after — this is the mistake most UK start-ups make.
The data minimisation principle (Article 5(1)(c)) is critically important when collecting training data for ML. You cannot collect all possible data hoping it will prove useful — every data point requires justification. In practice: instead of collecting raw transaction history for 10 years, collect aggregated features for 2 years; instead of storing PII (names, addresses) in training datasets, use pseudonymisation or synthetic data. Differential privacy methods (DP-SGD) and federated learning are gaining popularity precisely because they allow training models without centralising personal data.
The right to explanation (recital 71 UK GDPR and Article 22(3)) requires organisations to provide meaningful information about the logic involved in automated decisions. The ICO clarifies: an explanation must be understandable to the specific individual, not a generic description of the system. For ML this means implementing explainability tools — SHAP values for tree-based models, LIME for black-box models, attention visualisation for transformers. Requirements are especially strict in financial services: FCA Guidance on AI Explainability (2022) requires banks to explain each individual credit decision on customer request.
The ICO actively pursued enforcement actions regarding AI and ML in 2024-2025. Key cases include: Clearview AI fine (£7.5m, 2022, for unlawful collection of facial images), Snap warning regarding processing of children in AI chatbot (2024), investigation into automated profiling on recruitment platforms. Practical checklist for UK ML teams: (1) conduct DPIA before starting any ML project with personal data; (2) appoint a DPO or privacy lead; (3) document lawful basis for each data type; (4) implement explainability in production pipeline; (5) create a process for human review of automated decisions; (6) update Privacy Notice with description of ML processing; (7) conduct regular bias audits and document results for ICO.
Related Codeworth Services
Need Help with Implementation?
The Codeworth team is ready to implement these ideas in your project. Free consultation.
Discuss the ProjectCodeworth team specialist.