The UK public sector loses billions of pounds each year through fraud and error: HMRC estimates the tax gap at £36bn for 2022-23; DWP estimates welfare benefit fraud and error at £8.3bn for 2023-24. ML has become a key tool for UK public sector fraud prevention, but with important differences from the private sector: government decisions carry public law obligations, judicial review exposure, and strict transparency requirements. The Central Digital and Data Office (CDDO) and Government Digital Service (GDS) coordinate the AI adoption strategy.
HMRC and ML: HMRC's Connect system is one of the largest ML fraud detection deployments in the UK public sector. Connect aggregates data from 40+ sources: company filings, land registry, banking data, and cross-government data through Data Sharing frameworks. ML use cases: (1) Tax return anomaly detection — unsupervised ML to flag returns that deviate from peer groups; (2) VAT fraud detection — ML graph analysis identifies carousel fraud networks; (3) Off-payroll working (IR35) compliance — ML classification of contractors; (4) Crypto asset reporting — ML on blockchain analytics for identifying unreported gains. HMRC is legally cautious about publicly describing its ML methods to avoid enabling tax avoidance.
DWP and benefits fraud ML: the Department for Work and Pensions manages £250bn+ in welfare expenditure. ML applications: (1) Universal Credit anomaly detection — ML scoring claims on fraud risk and cross-referencing with HMRC earnings data; (2) Housing Benefit fraud — Local Authority data analytics partnership programme; (3) Disability benefit fraud — ML scoring for PIP and ESA claims, a controversial area where bias concerns are significant; (4) Counter Fraud Financial Investigations — ML-assisted investigation prioritisation. Important constraint: DWP automated decisions about benefits fall under UK GDPR Article 22 and require a human review mechanism.
GDS AI Standards and Algorithmic Transparency: GDS developed AI Standards for the UK public sector: (1) Understand the decision you are automating; (2) Assess impact and manage risk; (3) Be transparent about using AI; (4) Be accountable for AI decisions via a Senior Responsible Owner. The Algorithmic Transparency Recording Standard (ATRS) requires UK public bodies to publish machine-readable records of all significant algorithmic tools. The Cabinet Office AI Procurement Framework (2023) contains specific requirements for AI vendors: explainability, bias testing, and auditability. The Crown Commercial Service Technology Products framework includes an AI/ML lot with pre-qualified vendors.
Public law constraints on government ML: UK public sector ML deployment differs from the private sector: (1) Public Sector Equality Duty (PSED) — Section 149 Equality Act 2010 requires due regard to eliminating discrimination; (2) Judicial Review — citizens can challenge automated government decisions if the process is unreasonable or unlawful; (3) Human Rights Act 1998 — Article 8 and Article 6 implications for automated decisions; (4) Freedom of Information — citizens can request information about algorithmic systems that affected them. All these constraints require documented decision rationale for each significant automated decision.
Best practices in UK public sector ML: the CDDO Cross-Government ML Community of Practice brings together practitioners from different departments. Key lessons: (1) Data quality is critical — government legacy systems have poor data quality that undermines ML models; (2) Explainability is non-negotiable — government decisions must be explainable in plain English; (3) Procurement vigilance — open standards and data portability are important contractual provisions to avoid vendor lock-in; (4) Digital inclusion consideration — ML-driven service delivery may disadvantage citizens without digital access. Successful examples: DVLA vehicle licensing ML, UK Border Force passenger risk scoring, and NHS 111 call triage assistance.
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.