PolicyEngine logo
menu
Research
About
Donate
Learn ▼

HM Treasury pilots PolicyEngine UK for tax-benefit microsimulation

The UK government's finance ministry explores PolicyEngine as a potential supplement to existing models.

By nikhil woodruff

24 March 2025

2 min read

HM Treasury pilots PolicyEngine UK for tax-benefit microsimulation

The UK's HM Treasury has explored using PolicyEngine UK as a potential supplement to their existing tax-benefit models, marking a significant milestone in the recognition of PolicyEngine's accuracy and utility at the highest levels of government.

According to a recently published Algorithmic Transparency Record from December 17, 2024, HM Treasury's Personal Tax, Welfare and Pensions team conducted a beta/pilot evaluation of PolicyEngine UK to assess its capabilities in microsimulating tax and benefit policy changes.

The Treasury record notes that PolicyEngine UK "uses machine learning and gradient descent methods to tackle two key sources of error in household survey data typically used for modelling tax and welfare policies: under-sampling of certain demographics of households or individuals, and measurement errors such as underreporting of income and benefits."

HM Treasury explored the scope for "making greater use of this model for advising policymakers on the impact of tax and welfare measures on households, supplementing the existing models used for this (such as the Intra-Governmental Tax and Benefit Microsimulation model – IGOTM)." Media coverage of this pilot appeared in The Times, which noted that "The Treasury is using the technology to more accurately measure how changes to national insurance, income tax and universal credit would affect different groups. It is believed that the tool, PolicyEngine, can more accurately predict the outcome of ministers' decisions and is expected to be used mostly in budget periods." The Guardian also mentioned PolicyEngine in its coverage of the government's AI tools initiatives.

The Treasury's review of PolicyEngine highlighted several features, including:

  • Combining multiple years of Family Resources Survey data for increased robustness
  • Using Survey of Personal Incomes (SPI) imputation with random forest models to address income measurement errors
  • Employing gradient descent reweighting to minimise loss between survey aggregates and target statistics
  • Imputing additional variables using multiple data sources including the Wealth and Assets Survey and Living Costs and Food Survey
  • Using microsimulation to uprate policies to target years

This comes not long after the December 2024 announcement that PolicyEngine received a £251,296 grant from the Nuffield Foundation to enhance our UK tax-benefit microsimulation model. The Nuffield-funded project will significantly expand PolicyEngine UK's capabilities, including:

  • Creating representative micro-datasets for each local authority and constituency
  • Integrating childcare subsidies and major public service spending
  • Developing validation tools comparing PolicyEngine outputs to other microsimulation models
  • Implementing user-centric design improvements with AI capabilities

The Treasury's assessment included risk considerations as part of their evaluation process. As noted in their transparency record, potential risks like "Erroneous Operation of the Code" would be mitigated through "thorough review and testing" involving both technical and policy teams - a common approach for any model implementation in government settings.

These developments represent significant recognition of PolicyEngine's open-source approach to tax-benefit microsimulation and our mission to democratise economic policy analysis tools.

PolicyEngine logo

Subscribe to PolicyEngine

Get the latests posts delivered right to your inbox.


PolicyEngine is a registered charity with the Charity Commission of England and Wales (no. 1210532) and as a private company limited by guarantee with Companies House (no. 15023806).

© 2025 PolicyEngine. All rights reserved.