AI and data for society: how to identify and reduce algorithmic bias
Image generated by the Inferama Editorial Team
01

What it means for an algorithm to be biased

Algorithmic bias occurs when a system systematically produces less favourable outcomes for certain people or groups, without a relevant difference justifying that treatment. The people who design or use the system do not have to intend to discriminate: effects can arise from the data, how the problem is framed, or decisions made during deployment.

An algorithm is a set of instructions or procedures that transforms inputs into outputs. In machine learning, a system learns patterns from data and uses them to classify, recommend, or predict. If the data reflect past inequalities, the model may learn them as if they were useful signals. It may also fail when a group is underrepresented or when its output is used in a context that was not considered during development.

The word “bias” does not describe a single technical defect. It can refer to errors that affect one group more than another, systematic differences in decisions, or a process that reproduces social disadvantage. To assess a case, specify which outcome is considered harmful, who may be affected, and the context in which the system is used. A statistical difference alone does not explain its cause or determine whether the treatment is justified.

Algorithmic systems influence decisions that affect people, including recruitment, advertising, access to services, and risk assessment. A technical test should therefore be accompanied by questions about the data, decision criteria, and practical consequences. Overall accuracy can conceal errors concentrated in a subgroup; a fairness measure, in turn, does not by itself show that a system is safe, lawful, or fit for purpose.

02

Where inequalities can arise

Problems can emerge at several stages, not only during model training. A team may define an objective that favours certain outcomes, choose a variable that acts as an indirect substitute for a sensitive attribute, or rely on incomplete data. Later, the interface, human-review process, and actual conditions of use can change how the effects occur.

Historical data may contain unequal decisions or reflect social practices that already disadvantage some groups. A model trained to imitate earlier decisions does not automatically distinguish a useful signal from an inherited inequality. If an institution records more cases involving one group because it monitors that group more intensively, the recorded frequency does not necessarily equal the true frequency of the behaviour being predicted.

Underrepresentation matters too. If a training set contains few observations from some groups, a system may recognize their patterns less accurately or make more frequent errors for them. But adding data does not solve every problem: data may be inaccurate, incorrectly labelled, or drawn from a different population. A very large sample can reproduce inequality very consistently.

Indirect variables, such as location or certain behavioural signals, may correlate with sensitive attributes even when those attributes are not explicitly included. Removing a race or gender column therefore does not guarantee that the system will stop producing differences associated with those groups. At the same time, measuring disparities may require sensitive information, raising privacy obligations and legal limits that need to be assessed in each jurisdiction.

The choice of objective can cause a problem even when the data are technically accurate. Predicting a historical decision, estimating a need, and maximizing a response rate are different tasks. If the chosen objective does not represent the interests of the people affected, a model can optimize it successfully and still produce socially undesirable results. Validity depends on what is being predicted and why it will be used, not only on how well an aggregate metric performs.

Lifecycle stages worth examining

StagePossible riskUseful question
Defining the objectiveThe measured outcome does not represent the system’s legitimate purpose.What decision is the system meant to support, and who defined success?
Data and labelsUnderrepresentation, measurement errors, or historical inequalities.Whom do the data describe, and what limitations do they have?
Variables and modelProxies, unequal errors, or patterns that do not generalize.Which attributes influence the output, directly or indirectly?
DeploymentChanges in the population, process, or use compared with the design.Who reviews decisions, and what happens when the system fails?
03

How to assess a system without reducing fairness to a number

Assessment begins by defining the specific use: what decision the system supports, who receives its outputs, what alternatives exist, and what harm an error could cause. A test on one dataset does not by itself establish that the system will work the same way for another population, in another period, or within a different process. Performance depends on the context and task being evaluated.

Measure outcomes and errors for relevant groups when doing so is lawful and methodologically appropriate. For example, an average accuracy rate can coexist with a higher false-positive rate for one subgroup. However, fairness metrics are not interchangeable: certain goals may conflict when base rates differ. Choosing a metric requires explaining which harm the assessment aims to reduce and why.

Sensitive information requires careful handling. Using it for an audit may help identify disparities, but may also involve privacy risks and legal restrictions. Deliberately ignoring a protected attribute does not guarantee impartiality either, because other variables may act as proxies. No universal rule resolves this balance without taking account of purpose, jurisdiction, and the people affected.

A useful assessment documents the origin and limitations of the data, design decisions, selected metrics, and results by subgroup. It also explains who can challenge a decision and what mechanism can correct it. Human review provides a safeguard only if the reviewer has the information, authority, and time to intervene; having a person in the process does not automatically eliminate errors.

Post-deployment monitoring matters because populations, data, and conditions of use can change. A satisfactory result in an initial test does not guarantee the same behaviour after deployment. An organization can set thresholds for investigating changes, recording incidents, and suspending use when it finds harm it cannot mitigate. These are management controls: they do not turn a probabilistic prediction into an infallible decision.

A practical assessment sequence

  1. 01Define the decision, affected population, and harm the assessment aims to prevent.
  2. 02Check whether the data and labels represent the task and its limitations.
  3. 03Choose metrics linked to the harm, then compare outcomes and errors across relevant groups.
  4. 04Review proxies, real-world conditions of use, and possible alternatives to the system.
  5. 05Assign responsibility for complaints, monitoring, and decisions about intervention.

How to interpret measures and controls

ElementWhat it can showWhat it does not establish on its own
Aggregate accuracyAverage performance on a specified task and sample.That errors are distributed equally between groups or that the use is fair.
Subgroup comparisonDifferences in outcomes or errors under the chosen definitions.The cause of a difference or whether a law has been violated.
Human reviewAn opportunity to detect or correct some outputs.That review is independent, effective, or free of bias.
MonitoringChanges in observed behaviour after deployment.That the system will maintain its performance without further checks.
04

Documented examples and limits on interpreting them

A 2019 Brookings article brings together examples of bias risks in recruitment, advertising, facial recognition, and criminal justice systems. It describes, among other cases, a hiring tool that reportedly penalized some signals associated with women and studies of differing outcomes from facial-analysis systems. These cases help explain possible mechanisms, but the article is a dated secondary review: it does not establish the current state of each product or support generalizing its findings to all systems.

Bias analysis also depends on how the outcome is defined. In debates about criminal-risk assessment systems, for instance, the parties may disagree about which fairness criterion to prioritize. Comparing scores without specifying the criterion, population, task, and base rates can lead to incompatible conclusions. A metric alone cannot decide what distribution is fair.

Historical examples help shape audit questions; they do not diagnose a current tool unless that tool is examined. Before applying a finding, check whether the system version, data, task, market, and period match. A conclusion about a particular product or sample does not become a universal property of the technology.

A guide to OECD principles included among the references describes values such as respect for rights, transparency, robustness, and accountability. It is a secondary explanation of those principles and also contains promotional material, so it serves here only as general context. Principles can guide decisions; they do not replace a technical audit and are not, by themselves, a guarantee of compliance.

Recommendations on transparency and mitigation do not eliminate every trade-off either. Disclosing sensitive attributes may improve an audit while increasing privacy risks. Removing a variable may reduce a direct risk but leave proxies in place. Improving average accuracy may worsen an error that matters to a particular group. A responsible assessment makes these limits explicit rather than presenting one measure as a definitive solution.

05

University research in Spain: two examples

AID4So, a research group at the Universitat Oberta de Catalunya, focuses on applying artificial intelligence to research questions in computational social science, digital humanities, and psychology. The university’s group profile states that it began on 28 April 2023 and highlights ethical, sustainable, and explainable methods, with people at the centre of its research. This description shows an interest in the relationship between AI and society, but it does not justify attributing a specific publication or finding on algorithmic bias to the group.

The university profile names Rubén Nieto Luna as group leader and places AID4So at the UOC-TECH research centre. The profile also lists members and research areas, but its contents are not, on their own, an evaluation of social impact or proof that every member works on every topic addressed by the group. When interpreting a research area, distinguish the group’s collective focus from individual contributions.

Another example is a university chair in artificial intelligence established by the University of Granada in collaboration with Repsol, announced on 18 October 2024. The announced project focuses on ethical and responsible AI, privacy, fundamental rights, security, and bias, and sets out plans for a trustworthy AI platform and research into applications in high-risk settings. The announcement describes objectives and plans; it does not confirm that all those results have been completed or that the chair is still active today.

The DaSCI institutional news item describes the initiative as a four-year project and mentions participation by the University of Modena. That duration and composition reflect what was announced in October 2024, not a later confirmation of the schedule or results. The item also describes planned research and training activities. The original plan should not be mistaken for an independent evaluation of its effects.

These examples illustrate two different ways of connecting AI and society: interdisciplinary research into social questions, and a university-industry collaboration focused on responsible systems and high-risk applications. They are not a comprehensive sample of research in Spain and do not, on their own, prove that either initiative has solved problems of bias. To assess a project, distinguish its stated mission from its publications, tools, evaluated results, and actual continuity.

What characterizes the initiatives described

InitiativeDescribed scopeLimit of the information
AID4So, Universitat Oberta de CatalunyaComputational social science, digital humanities, and psychology; interest in ethical, sustainable, and explainable methods.The institutional profile alone does not demonstrate specific results on bias or the current status of every research area.
UGR-Repsol chair described by DaSCIEthical and responsible AI, privacy, rights, security, and bias; project announced in October 2024.The announcement records objectives and plans at that time; it does not confirm full implementation or current status.
06

Responsible use of data and decisions about procurement or deployment

Responsible data use starts with a clearly defined and limited purpose. An organization should be able to explain why it needs each data item, how it was obtained, which population it represents, and who will have access. Collecting more information does not guarantee a better decision; it can increase exposure risks, enable incompatible uses, or introduce signals with no valid connection to the task.

Data quality includes relevance and limitations, not just completeness or usability. Labels may reflect earlier human decisions; measurements may be less reliable for some groups; and a sample from one place or period may not represent the people who will use the system. Recording these limits helps people interpret results and decide when additional data or an alternative is needed.

Consent and privacy are distinct from fairness, although they are related. Data processing may meet a privacy requirement and still produce unequal outcomes; a fairness audit may require data whose use is restricted. Specific obligations depend on the applicable law, type of data, purpose, and context. A technical assessment does not replace legal advice when needed.

Before purchasing a tool, a deploying organization can ask what data were used to develop it, what tests were run, which population was evaluated, and what documentation describes its limitations. It is also worth agreeing how changes will be communicated, who will respond to incidents, and how the service can be paused or reviewed. A vendor statement should be treated as a claim requiring checks proportionate to the risk, not as independent evidence of performance.

The level of control should reflect the consequences of the decision. A content recommender and a system that influences access to employment, credit, education, or justice do not pose the same kinds of risks. If the system affects significant opportunities, it may be necessary to assess non-automated alternatives, seek specialist review, and test the complete process before using it. Proportionality does not mean that lower risks do not exist; it means that the response is tailored to plausible harms.

Pre-deployment checklist

  1. 01Specify the purpose and the decisions the system may influence.
  2. 02Document the data’s origin, representativeness, and limitations.
  3. 03Assess outcomes and errors for relevant groups while meeting privacy obligations.
  4. 04Establish who reviews outputs, handles complaints, and corrects errors.
  5. 05Agree on monitoring, incident reporting, and conditions for suspending use.
07

Criteria for interpreting claims about responsible AI

Terms such as “ethical,” “trustworthy,” and “responsible” do not, by themselves, describe a verifiable technical property. Ask what specific practices support them: error evaluation, data documentation, oversight, complaint mechanisms, or audits. When an organization promises an outcome, distinguish the stated commitment from measured results and evidence about real-world use.

Always check the scope of a figure: which task it measured, which population it included, when it was obtained, and under what configuration. An average rate without a denominator, period, or error definition is not enough to compare systems. If a source only describes an announced project, present its objectives as plans; do not turn them into observed results.

To decide whether a measure is useful, connect it to a specific harm and consider side effects. A policy may reduce one kind of error while increasing another, or improve an aggregate result while making things worse for a subgroup. A responsible choice makes these trade-offs explicit: it explains which criterion is prioritized, who bears the risk, and what mechanism can correct the decision.

The strongest assessments combine technical checks, domain knowledge, and participation by affected people where feasible. None of these elements replaces the others. Independent review can provide a useful counterpoint, but its existence must be documented; it cannot be inferred from an initiative’s citing academic research or publishing a statement of principles.

In short, AI that serves the public interest requires more than a model with good average performance. It needs an appropriate purpose, data interpreted in context, explicit assessment criteria, and accountability for its effects. The final decision depends on evidence specific to each use and should be reviewed when the system, population, or deployment conditions change.

Questions for evaluating a responsible-AI claim

QuestionWhy it matters
Which system, version, and task were evaluated?Prevents results from one configuration being applied to another.
Which population, market, and period does the assessment cover?Clarifies to whom the results apply and when.
Which harms and metrics were defined?Shows what “fair” or “accurate” means in that case.
Who checked the results, and what limitations were stated?Distinguishes a vendor claim from a documented independent assessment.
What happens when the system fails or changes?Helps assess oversight, correction, and whether controls will continue.
08

Keep exploring

Sources consulted

03

Corrections and transparency

If you spot incorrect or outdated information, send us a correction with the page and source we should review.

Submit a correction