We need to talk about bias
In a general sense, bias can be defined as the systematic error that can be incurred when, in sampling or testing, certain responses are selected or favored over others (Dictionary of the Royal Spanish Academy).
In tax administrations, biases can lead to discriminatory treatment, disproportionate audits, rights violations, and lawsuits, loss of public trust, and serious damage to institutional reputation.
Bias in artificial intelligence (AI) occurs when a model systematically skews its results in a specific direction.
In the context of AI, it is important to distinguish between two major categories of bias: data bias, which originates in the data used to train, validate, or operate AI models and may reflect problems of representativeness, quality, selection, measurement, or historical inequalities; and algorithmic bias, which is produced or amplified by design decisions, selected variables, optimization objectives, training methods, and the criteria used to generate predictions or recommendations.
However, bias is not limited to AI. Traditional processes for selecting taxpayers for audits and for tax risk management are also subject to bias. In fact, many of the biases currently attributed to AI were already present in manual procedures, rule-based systems, and traditional statistical models.
With AI systems, the fundamental difference is not the existence of biases, but how they originate, how they manifest themselves, how they propagate, and how they can be detected and corrected.
The available literature identifies several instances of bias that have recently affected tax administrations, including the following:
- ▪︎ United States: Racial bias in IRS audits (Crawford, 2023)
Documented statistical disparity. A study by researchers from Stanford and other institutions identified significant differences in the selection of taxpayers for IRS audits, with Black taxpayers estimated to be between 2.9 and 4.7 times more likely to be audited than non-Black taxpayers during the period studied.
Origin of bias: Selection systems did not explicitly use race; however, prioritization criteria, especially those related to the Earned Income Tax Credit (EITC) for lower income workers, generated significant racial differences.
The study showed that seemingly technical decisions, such as prioritizing certain errors related to refundable tax credits or minimizing audits that resulted in no adjustments, could lead to disparate outcomes.
Consequences: Increased exposure of certain groups to audits and their administrative costs. The IRS announced changes to its selection procedures and criteria. The U.S. Government Accountability Office (GAO) recommended systematically evaluating potential biases in the data and assumptions used.
Lesson: A system can generate indirectly discriminatory outcomes even when it does not use explicitly protected variables[1], such as race or ethnicity.
- ▪︎ Netherlands: Risk model for child benefits (Amnesty, 2021)
The Dutch Tax Administration (Belastingdienst) used a risk classification model that included a machine learning component to identify potential irregularities in child benefit applications.
Bias identified: Nationality was used as a risk indicator, disadvantaging families of foreign origin. An Amnesty International report documents the use of a self-learning algorithm in the classification system.
Consequences: Thousands of families were unjustly accused of fraud, forced to repay benefits, and subjected to severe economic hardship. The scandal contributed to the government’s resignation in 2021.
Important clarification regarding the source: While the use of AI and the existence of discriminatory practices are both documented, not all identified harms can be attributed exclusively to machine learning algorithms. Administrative rules, human decisions, and discriminatory institutional practices also played a role.
Categories of bias in AI
NIST (2023) classifies biases into three broad categories that must be considered and managed: systemic, computational, or statistical, and cognitive or human.
Systemic bias resides in data, organizational practices throughout the AI lifecycle, and society at large; computational and statistical biases arise in data and algorithms as a result of systematic errors and unrepresentative samples; finally, human cognitive biases are pervasive throughout decision-making processes across the AI system lifecycle, from design to maintenance and operation.
According to NIST (2023), while bias is not always a negative phenomenon, AI systems can increase the speed and scale at which biases operate, as well as perpetuate and amplify harms affecting individuals, groups, communities, organizations, and society.
Figure 1: The Challenge of Managing Bias in AI.

Source: Schwartz (2022).
Among the key references is the ISO/IEC 24027 standard[2], which addresses bias in AI-assisted systems and decision-making and presents methods for identifying, measuring, evaluating, and mitigating distortions or unfair outcomes. Coletta (2025) summarizes this standard, examines the bias and fairness of AI models, and analyzes fairness metrics to evaluate model outputs; additionally, the NIST AI RMF 1.0 framework presents an overall AI risk management picture that includes harmful biases among the risks to be identified, assessed, and managed (NIST, 2023).
The identification and correction or mitigation of biases in tax administrations constitute a complex challenge due to the diversity of their causes and the difficulties in distinguishing between legitimate differences in treatment, based on objective criteria of risk or compliance, and situations of unjustified discrimination.
Furthermore, corrective measures can create tensions among fairness objectives, revenue collection efficiency, and risk management priorities. Therefore, bias mitigation requires a comprehensive and continuous approach, combining data quality and representativeness, outcome evaluation, transparency, human oversight, and periodic reviews of the criteria and models used.
Below, table 1 presents examples of common biases faced by tax administrations, their manifestations, and possible mitigation and control measures.
Table 1: Main sources of bias and mitigation measures


Sources: ISO/IEC 24027 and NIST AI RMF. Prepared with the support of AI tools
The examples of bias presented in table 1 do not constitute an exhaustive list, but they illustrate some of their most common manifestations.
Conclusions
Bias management must be an essential component of AI governance and not limited to technical checks during algorithm development. This requires institutional policies, clearly defined responsibilities, and mechanisms for identifying, evaluating, mitigating, and continuously monitoring biases throughout the AI systems’ lifecycle.
In tax administrations, where automated decisions can affect taxpayers’ rights and obligations, this management must involve both business areas and those responsible for technology, data, risks, and institutional control.
International frameworks such as the NIST AI RMF and ISO/IEC TR 24027, mentioned here, also provide complementary references for incorporating fairness, transparency, and accountability into these processes.
Bibliography
Amnesty (2021). Amnesty International. Xenophobic Machines. Available at: https://www.amnesty.org/en/documents/eur35/4686/2021/en/
Coletta, G. (2025). ISO 24027 Explained: A Practical Guide to Bias-Free, Ethical, and Compliant AI Systems. Available at: https://hackernoon.com/iso-24027-explained-a-practical-guide-to-bias-free-ethical-and-compliant-ai-systems
Crawford, K. (2023). IRS Confirms Stanford Study of Racial Bias in Audits. Stanford SIEPR. Available at: https://siepr.stanford.edu/news/irs-confirms-stanford-study-racial-bias-audits
NIST. (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0). NIST AI 100-1. Available at: https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf
Schwartz, R. et al. (2022). Towards a Standard for Identifying and Managing Bias in Artificial Intelligence. NIST Special Publication 1270. Available at: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.1270.pdf
[1] Protected variable: a personal characteristic whose use in decisions may be restricted by legal norms or ethical principles, with the purpose of avoiding discriminatory treatment.
[2] “Bias in AI systems and AI aided decision making”
[3] Reject inference (or inference of rejected) is a statistical and data science technique used in credit scoring models to estimate how rejected credit applicants would have behaved if they had been approved.
[4] Main variable that is sought to explain, measure, or predict in a study or model
[5] The data fairness constraints are mathematical rules or conditions that are applied to a dataset before training an AI model, with the goal of eliminating biases and ensuring fair outcomes across different demographic groups.
[6] The data drift (or data drift) is the change, over time, in the statistical distribution of the input data, with respect to the data used to train or define a system.
[7] SHAP (SHapley Additive exPlanations) values measure how much each variable or feature contributes to the prediction of a machine learning model for a specific case.
49 total views, 19 views today