Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Lesson 3 of 30
❮Prev Next❯

Fairness and Inclusiveness

Module 1: AI Concepts ⏱ 7 min read Updated

Your note

My notes for this lesson

Select any text in the lesson to highlight it or add a note. Saved in this browser.

    No highlights yet. Select a sentence in the lesson, then pick a colour or add a note.

    All my bookmarks and notes

    Reading settings

    For every lesson, saved in this browser.

    Text size
    Line spacing
    Font

    With IaaS you rent the virtual machine. Microsoft looks after the building, power and hardware; you patch the operating system.

    30-second answer

    Fairness means an AI system treats people in similar situations the same way, so its results don't depend on gender, ethnicity, age, location or other personal traits. Inclusiveness means the system is designed to work for and engage everyone, including people with disabilities and people who speak different languages or accents. You get both by using representative data, measuring results group by group with evaluations, and testing with the people who'll actually use the system.

    Simulate it » No Azure account needed

    Exam objective: 1.1.1 Describe considerations for fairness in an AI solution. 1.1.4 Describe considerations for inclusiveness in an AI solution. (Skills measured as of April 15, 2026)

    Simulations

    Feel it before you read it. No account needed, nothing leaves this page.

    Azure portal: Run an evaluation that checks fairness and safety Run an evaluation that checks answers group by group.
    </> Embed

    Embed this simulation

    Free for trainers, teachers and bloggers. Paste this into your page:

    Loading the portal…

    Open <strong>Evaluations</strong> and start a new evaluation.

    👆 Click the glowing item in the portal to continue

    Read the steps as text
    1. Open Evaluations and start a new evaluation.
    2. Pick a test dataset and the evaluators: quality (groundedness, relevance) and risk and safety (hateful and unfair content, jailbreak).
    3. Compare results by group. A big gap for similar people means the system isn't fair yet.
    4. Evaluate again after every change to the model, data or instructions.

    🧪 Simulation for learning. Screens are simplified versions of the Azure portal; names, prices and IDs are examples. Nothing here touches real Azure.

    😟 THE PROBLEM

    A hiring model shortlists far fewer women for the same CVs.

    😊 THE SOLUTION

    Measure outcomes by group, fix the data, and design for everyone.

    • Skewed training data✓ Rebalance and re-test
    • App unusable for deaf users✓ Add captions and transcripts
    • Only works in English✓ Add speech and translation
    🛠️ Solved with: Fairness and inclusiveness

    Start with a question

    If a company's past hiring was unfair, and you train an AI on that history, what will the AI learn?

    It’ll learn to be unfair, very efficiently. The AI doesn’t know the history was wrong. It just copies the pattern it sees.

    That’s why fairness is the first of Microsoft’s responsible AI principles. Its partner, inclusiveness, asks a different question: can everyone use the system at all, whatever their ability, language or accent?

    Explain it like I’m 10

    The technical explanation

    Fairness

    An AI system is fair when people in similar situations get similar results. Unfairness creeps in through:

    Source of biasExample
    Skewed training dataA CV screener trained on ten years of mostly male hires
    Proxy featuresPostcode or surname standing in for religion or caste
    Biased labelsPast “good customer” tags given unevenly by staff
    Unrepresentative testingA face model tested mostly on lighter skin tones
    Generative outputA model that writes “he” for engineers and “she” for nurses

    To reduce it, you collect representative data, remove or test proxy features, and run disaggregated evaluations: accuracy, approval rate or answer quality measured for each group, not only overall. In Microsoft Foundry, evaluations score model answers for quality and include risk and safety evaluators (hateful and unfair content is one). For classic machine learning models, the open-source Fairlearn toolkit and the Responsible AI dashboard in Azure Machine Learning compare results across groups.

    Inclusiveness

    An AI system is inclusive when it’s designed with and for the full range of people who’ll use it.

    • Speech that understands regional accents, and captions for people who are deaf or hard of hearing.
    • Text to speech and screen-reader-friendly output for people who are blind or have low vision.
    • Answers in Hindi, Tamil or Marathi, not only English.
    • Plain wording for people with low literacy, and voice input for people who can’t type.

    Microsoft’s Seeing AI app is a well-known example: it uses computer vision to describe the world aloud for people with low vision.

    Fairness

    • Same result for similar people
    • Watch for skewed data and proxies
    • Measure outcomes by group
    • Example: equal loan approvals

    Inclusiveness

    • Everyone can use it
    • Design for disabilities and languages
    • Test with real, diverse users
    • Example: captions and many accents
    Fairness checks the results; inclusiveness checks who can take part
    Architect level Fair to whom? Choosing a fairness measure

    There’s more than one definition of fair. Equal approval rates across groups, equal error rates, and equal accuracy among people who truly qualify can’t always all be true at once. Teams pick the measure that matches the harm they’re trying to avoid (a missed loan versus a wrongly approved one), write down why, and get sign-off from the people accountable. That’s where fairness meets accountability.

    Real-world business scenario

    Banking

    Northwind Lending, a digital lender in Pune

    The problem
    Its credit model approved far fewer applicants from rural postcodes with the same income and repayment history, and its voice helpline struggled with Marathi-accented English.
    What they used
    Retrained the model on balanced data, dropped postcode as a feature, added disaggregated evaluations to every release, and added Marathi and Hindi voice options with Azure Speech in Foundry Tools.
    Why that choice
    The postcode was a proxy for community, and the helpline had never been tested with its real callers.
    The result
    Approval rates for similar applicants evened out across regions, and helpline calls dropped to a human far less often.

    When to use it and when not to

    ✓ Use it when…

    • Any AI that affects people's access to jobs, loans, housing, healthcare or education. Check fairness before launch and after every model update.
    • Public-facing apps. Design for disabilities, languages and accents from day one.
    • Generative AI that writes about people. Test prompts that differ only by name, gender or region.

    ✕ Think twice when…

    • Assuming a model is fair because it never sees a sensitive column.
    • Testing only with the build team, who rarely look like the full user base.
    • Adding accessibility as an afterthought just before release.

    ↔ Alternatives to consider

    • **Human review of decisions** for high-impact cases while you improve the model.
    • **A non-AI option** (a form, a phone call) for people the AI doesn't serve well yet.
    Ready for more?The full lesson adds the technical explanation, when to use it, interview questions and revision notes.

    Test yourself with exercises

    5 original practice questions in the AI-901 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.

    Question 1

    Question 1 of 5

    A recruitment company trains a model to screen CVs using ten years of historical hiring decisions. Most of the people hired during that period were men.

    What is the most likely risk of this approach?

    Question 2

    Question 2 of 5

    A lender removes the gender column from its training data. Testing shows that the model still approves loans for women less often than for men with the same financial profile.

    What is the most likely explanation?

    Question 3

    Question 3 of 5 · Select 2

    Which TWO actions help ensure that an AI system meets the inclusiveness principle?

    Question 4

    Question 4 of 5

    A team wants to determine whether its model performs equally well for different age groups. What should the team do?

    Question 5

    Question 5 of 5

    A government service chatbot currently responds only in English. Many citizens prefer to use regional languages.

    Adding support for regional languages primarily addresses which responsible AI principle?

    Interview preparation

    Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.

    Beginner What's the difference between fairness and inclusiveness?

    Model answer

    Fairness is about outcomes: two similar people should get the same result. Inclusiveness is about who can use the system at all: a voice app that only understands American accents, or a form a screen reader can't read, leaves people out even if its decisions are fair.

    Intermediate How does bias get into an AI model if nobody programs it in?

    Model answer

    Mostly through data. If past hiring data mostly shows men being hired, a model learns that pattern. It can also come from proxy features like postcode or college name, from labels people wrote with their own bias, or from testing on a group that doesn't match the real users.

    Interviewer follows up

    Doesn't removing the gender column fix it?

    You

    Not on its own. Other fields can still carry the same signal, like first name or hobbies. You have to measure outcomes by group to know whether the model is fair.

    Scenario A speech-to-text app works well in testing but customers in Tamil Nadu say it misses half their words. What went wrong and what would you do?

    Model answer

    It wasn't tested with representative speakers, so it fails an inclusiveness check. I'd collect test audio from the real user base, measure word error rate by accent, and consider a custom speech model trained on those accents. Until then, I'd offer a typing option.

    Experienced developer How would you check fairness for a generative AI app, where there's no single yes or no output?

    Model answer

    I'd build test prompts that are identical except for a name, gender or region, run them through evaluations in Foundry and compare tone, quality and refusals across the variants. I'd add risk and safety evaluators for hateful or unfair content and have a diverse group review samples.

    Quick revision

    Key points

    • Fairness is about equal treatment and outcomes for similar people.
    • Inclusiveness is about designing for everyone, including people with disabilities and other languages.
    • Bias usually comes from data, proxy features and unrepresentative testing.
    • Removing a sensitive column doesn't remove bias; measure results by group.
    • Test with real users from every group, not only the build team.

    Important terminology

    Bias
    A systematic error that makes an AI system favour or disadvantage some groups of people.
    Representative data
    Training or test data that reflects the full range of people and situations the system will meet.
    Proxy feature
    A data field, such as postcode, that indirectly stands in for a protected trait like ethnicity or religion.
    Disaggregated evaluation
    Measuring a model's accuracy and outcomes separately for each group instead of only one overall score.
    Accessibility
    Designing technology so people with visual, hearing, motor or cognitive disabilities can use it.

    Common mistakes

    • Calling an accessibility problem a fairness problem. If people can't use the system, it's inclusiveness.
    • Trusting a single overall accuracy score that hides poor results for one group.

    Exam tips

    • Approval rates or accuracy that differ by gender, age or ethnicity = fairness.
    • Screen readers, captions, sign language, accents, low literacy = inclusiveness.

    Five quick revision questions

    1. 1.A model approves loans for men more often than for equally qualified women. Which principle?Show

      Fairness.

    2. 2.A chatbot offers voice input for people who can't type. Which principle?Show

      Inclusiveness.

    3. 3.What is a proxy feature?Show

      A field that indirectly reveals a protected trait, such as postcode standing in for community.

    4. 4.What's the most common source of bias?Show

      Training data that doesn't represent everyone the system serves.

    5. 5.How do you find unfair results?Show

      Measure outcomes and accuracy separately for each group (disaggregated evaluation).

    Official references

    Finished this lesson? Tick it off. Your progress is saved in this browser.

    Next up: Reliability, Safety, Privacy and Security

    Studying with a friend? Send them this lesson

    It's free and needs no sign-up. Their progress saves in their own browser.

    Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges. Play ❯

    Install MSDEVBUILD Azure

    Free · no account · works offline

    Save the whole course for offline ›

    Hi, I’m your Nimbus

    Your study buddy. Pick what we do next.

    MSDEVBUILD · Multi-Stack Dev Build

    Sign in to MSDEVBUILD

    One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.