Back to Browse sources
Full recordVoluntary

HMRC: Logo Detection and Classification Toolkit (LDK)

Report Institutional policyNorthern Europe · GBin force

This document outlines the Algorithmic Transparency Recording Standard record for HM Revenue & Customs' Logo Detection and Classification Toolkit (LDK), an in-house machine learning tool used to identify unauthorized uses of HMRC and HMG logos. Developed jointly by HMRC's Data Science and Cybersecurity teams using YOLOv2, the tool automates web scraping and logo detection to combat fraud and brand misuse. It reduces process completion times from three days to a few hours while maintaining human review before any takedown actions are taken.

Summary and content fields are drawn from the document text and are pending editorial review.

Who issued it

HM Revenue & CustomsRegulator · GB
Lead issuer
Cabinet OfficeGovernment (executive) · GB
Co-issuer
Department for Science, Innovation and TechnologyGovernment
Co-issuer
Government Digital ServiceGovernment (executive) · GB
Co-issuer
Legal forceVoluntary
Under whose authorityInstitutional policy
Judged fromfull text

Who it governs

Public sector bodiesGeneral publicRegulatorsResearchers and academics

This document is for researchers, policymakers, and members of the public interested in algorithmic transparency and public sector AI deployment.

Sectors
Public administration · tax and customs administrationTelecommunications and digital services · digital services and web monitoring

What the document contains

What's covered

The document details the architectural specifications, model training parameters, dataset composition, risk assessments, and decision-making workflows for HMRC's Logo Detection and Classification Toolkit.

What's missing

The text does not contain broader legislative mandates, binding codes of conduct for external entities, or general ethical frameworks beyond operational risk mitigation for this specific tool.

Key takeaways
  • The Logo Detection and Classification Toolkit (LDK) uses a YOLOv2 deep learning model to automatically detect unauthorized uses of HMRC and HMG logos online.
  • The tool reduces manual process completion times from three days to 3-4 hours and improves finding rates significantly.
  • Human analysts review all algorithmic outputs and verify URLs before any takedown procedures or legal actions are initiated.
  • Model parameters, weights, and biases are retrained and updated every six months using newly gathered training and validation datasets.
  • The system is deployed in a Linux environment utilizing Flask and TensorFlow serving servers.
Outline
· Tier 1 Information
· Tier 2 - Owner and Responsibility
· Tier 2 - Description and Rationale
· Tier 2 - Decision making Process
· Tier 2 - Tool Specification
· Tier 2 - Model Specification
· Tier 2 - Data Specification
· Tier 2 - Risks, Mitigations and Impact Assessments
Issued10 February 2025
Length2,046 words
FormatNot recorded
Scopenational

How it scores

Pending review

Each score is backed by a quote verified against the document text. Editorial review has not yet confirmed them.

Accountability

4/5

Clear responsibility for AI outcomes

Senior responsible owner Principal Data Scientist

Tier 2 - Owner and Responsibility 1.3 - Senior responsible owner

screening score · 2026-11-26

Fairness

0/5

Non-discrimination and equitable treatment

screening score · 2026-11-26

Human Dignity

0/5

Respect for the inherent worth of persons

screening score · 2026-11-26

Human Oversight

4/5

Humans remain in control of consequential decisions

The algorithm does not take down the sites automatically, it generates a list of URLs for the analyst to take them down manually instead.

Tier 2 - Risks, Mitigations and Impact Assessments 5.2 - Risks and mitigations

screening score · 2026-11-26

Privacy

1/5

Protection of personal data and private life

Both the Data Science and Cyber security teams have access to this data. These individuals have personal login credentials and two factor authentication for these accounts.

Tier 2 - Data Specification 4.3.11 - Data access and storage

screening score · 2026-11-26

Transparency

4/5

Openness about how AI systems work and are used

The Logo Detection and Classification Toolkit comprises of three different modules.

Tier 2 - Description and Rationale 2.1 - Detailed description

screening score · 2026-11-26

Enforcement

3/5

Consequences and compliance mechanisms with real force

When a logo is detected then action is taken either by contacting the hosting company or to take down the URL, which can include legal action against the internet provider.

Tier 2 - Decision making Process 3.1 - Process integration

screening score · 2026-11-26

Impact Assessment

3/5

Required assessment of an AI system's risks/impacts before or during use

The Logo Detection and Classification Toolkit is supporting the Cybersecurity team to take down 10 URLs on average per month.

Tier 2 - Risks, Mitigations and Impact Assessments 5.1 - Impact assessment

screening score · 2026-11-26

Topics

computer vision fraud detection algorithmic transparency deep learning public sector ai