سوگیری هوش مصنوعی چیست و چگونه وارد سیستم می‌شود؟
Information Technology

What is AI bias and how does it enter a system?

In the simplest definition, bias occurs when an AI system systematically produces a different and potentially harmful outcome for some individuals or groups. Of course, any difference among a model's outputs is not necessarily discrimination. Sometimes result differences stem from real differences i

In the simplest definition, bias occurs when an AI system systematically produces a different and potentially harmful outcome for some individuals or groups.

Of course, any difference among a model's outputs is not necessarily discrimination. Sometimes result differences stem from real differences in the data; sometimes a statistical metric may be suitable for one application but not for another. Therefore, detecting bias requires careful examination of the data, the system's goal, the evaluation method, and the real-world consequences of decisions.

One common misconception is that because a model uses mathematical formulas, its result is necessarily objective and neutral. Mathematics can make decision-making more orderly, but it does not guarantee that the problem defined for the model or the data provided to it are themselves neutral.

Where does bias enter an AI system?

Bias can form at any stage of a system's lifecycle; from problem selection and data collection to model training, evaluation, and even how humans use the output.

1. Bias in training data

Machine learning models learn from patterns in data. If the data are not a suitable representation of the community or the real environment, the model's performance may also be unequal across different groups.

For example, if an image recognition system is trained on a dataset in which some demographic groups are underrepresented, it may perform worse at identifying members of those groups.

The problem is not only lack of data. Low data quality, incorrect labeling, outdated information, and even the way variables are defined can also affect the outcome.

2. Bias in sampling

Sometimes the problem begins with who is included in the dataset at all. If an online survey only records responses from people with adequate internet access, its results cannot be assumed to represent the entire population without further examination. In AI systems, data that represent some groups less or more than they exist in reality can create an incomplete picture of society.

3. Bias in objective design

Even if the data are suitable, the choice of objective that the model should optimize can change the outcome.

Suppose a company wants to build a hiring system and asks the model to find people who are "similar to past successful employees." If the past workforce structure was not balanced, such a criterion may lead the model to reproduce the same patterns.

In this case, the problem is not necessarily in a specific line of code; it may stem from the definition of "success" and its conversion into a computational metric.

When the past enters the algorithm

One well-known example of hiring bias relates to Amazon's experimental system. According to a Reuters report in 2018, the company built a tool to review resumes that ranked candidates using data from past applicants. During testing it was found that the system treated resumes that indicated the applicant was female unfavorably; an issue attributed to patterns in historical data. Amazon ultimately shelved the project.

This example highlights an important point: a model that uses the past to predict the future may not only learn patterns of success; it may also reproduce parts of past inequalities.

Bias in banks and credit scoring

The financial sector is another area where algorithmic decisions have serious consequences. Credit scoring systems may use various information to estimate the probability of loan repayment. But if chosen variables or historical data are intertwined with specific social and economic conditions, they may create unjustified differences among groups.

For this reason, checking the model's "overall accuracy" is not sufficient. One must ask for which groups that accuracy was achieved and what the error rate is for each group.

When the algorithm enters the justice system

Among the most controversial examples of algorithmic bias are tools for assessing recidivism risk. In 2016, ProPublica's research on the COMPAS tool in Florida, examining more than 10,000 cases, reported differences in the types of errors the system made between Black and white defendants. For example, in the reviewed data, Black defendants who did not reoffend were nearly twice as likely as similar white defendants to be classified as high risk. Conversely, white defendants who later reoffended were more often placed in the low-risk group than Black defendants who later reoffended.

This case showed that the discussion of "algorithmic fairness" is not simple. A system may perform similarly for two groups according to one statistical metric, yet show significant differences according to another. Therefore, describing an algorithm as "accurate" alone is not enough to assess its fairness.

Is bias only about older algorithms?

With the expansion of large language models and generative AI, bias has taken a new form. Language models learn from massive amounts of human text and data and may reflect stereotypes present in those data.

Stanford's AI Index report in 2025 also refers to research showing that even models designed to reduce bias may still show implicit biased patterns in some tests; including stereotypical associations among gender, occupation, and some social groups.

This does not mean every response from a language model is necessarily biased; rather it indicates continuous evaluation and testing of such systems is necessary.

How can AI bias be mitigated?

There is no single magic solution to eliminate bias completely, but actions can reduce its risk.

Examine data before training

One of the first steps is to review data quality, representativeness, and structure. Developers should know where the data came from, which groups it includes, which groups are underrepresented, and what labeling errors may have occurred.

Measure model performance for different groups

The model's average accuracy may provide an incomplete picture. When relevant to the application, metrics such as false positive and false negative rates and other performance measures should be examined for different groups as well.

Do not remove humans from the process

In sensitive decisions, relying on an algorithm's output as the final truth can be dangerous. In many high-risk applications, AI output should be one of the inputs to human decision-making, not a complete replacement for human judgment.

Of course, "human oversight" alone is not sufficient. If the decision-maker approves every algorithm output without review, the presence of a human does not practically solve the problem.

Evaluate the model after deployment

Bias matters not only during model construction. Real-world data change, users show new behaviors, and situations may arise that did not exist when the model was trained. NIST's AI risk management framework also emphasizes continuous evaluation, monitoring, and documentation, recommending that system performance and risks be followed after deployment.

Bias is not always intentional

An important point about AI bias is that to produce a discriminatory outcome it does not necessarily require a biased programmer or an algorithm with the "intent" to discriminate.

NIST identifies three major categories of bias: systemic bias, computational and statistical bias, and human cognitive bias. These biases can form even without discriminatory intent.

Simply put, no one may have decided to ignore a particular group; nevertheless, the combination of incomplete data, an inappropriate objective, poor design, technical limitations, and the way model outputs are used can ultimately produce such an outcome.

The future of AI: neutrality or accountability?

Perhaps expecting "absolute neutrality" from AI from the outset is not realistic. This technology is not built in a social vacuum and cannot remove all existing prejudices in the world with a line of code. A more realistic goal is to build systems whose potential biases are identified, measured, documented, and controlled as much as possible.

NIST considers trustworthy AI a set of features that, alongside fairness and bias management, also includes validity, reliability, security, transparency, explainability, privacy preservation, and accountability.

Ultimately, the main question is not only "Does AI have bias?"; more important questions are: where did the bias come from, whom does it affect, how can it be measured, and what mechanisms exist to correct it?

AI can make decision-making faster, cheaper, and in many cases more accurate; but high speed and scale can also make errors faster and more widespread. As algorithms play a greater role in our daily decisions, understanding how their biases work will become increasingly important.

Accountability in AI begins with a simple question: if a human made such a decision, we would ask them to explain why they made it; so why should we expect less from an algorithm? / Khabar Online

Originally published by Information Technology News - ITNA

Topics in this story

  • past
  • application
  • consequences
  • data
  • model
  • decision
  • algorithmic
  • outcome
  • nist
  • differences
  • white defendants
  • biased
  • patterns
  • enter
  • groups
  • bias
  • different groups
  • performance
  • stem
  • errors
  • problem
  • tool
  • making
  • defined
  • biases
  • incomplete
  • question
  • metric
  • necessarily
  • accountability
  • neutral
  • social
  • high
  • human
  • black
  • language models
  • risk
  • exist
  • statistical
  • accuracy
  • may
  • another
  • goal
  • require
  • output
  • sometimes
  • trained
  • fairness
  • examination
  • definition
  • dataset
  • form
  • algorithm
  • objective
  • training
  • evaluation
  • produce
  • even
  • course
  • learn
  • show
  • world
  • ultimately
  • review
  • system
  • real
  • result
  • example
  • therefore
  • suitable