Protected attribute
A protected attribute is a characteristic of a person, such as race, sex, age, religion or disability, that fairness methods track so that an AI system's outcomes can be checked and corrected for discrimination.
Protected attribute is the machine learning name for a characteristic that should not drive unfair differences in how people are treated. Researchers also call it a sensitive attribute. The list usually mirrors the characteristics protected by anti-discrimination law, such as race, sex, religion, disability and age, which is where the name comes from, though a fairness study can treat any characteristic as sensitive if the context calls for it.
In fairness research the protected attribute is a variable, often written A, that splits a dataset into groups. Fairness metrics then compare a model's behaviour across those groups. In their 2016 paper Equality of Opportunity in Supervised Learning, Moritz Hardt, Eric Price and Nathan Srebro proposed a test that asks whether people who truly qualify for a positive outcome get it at the same rate in every group, and showed how to adjust a trained model to meet it, using FICO credit scores as a case study.
A common mistake is to assume a model is fair if the protected attribute is simply left out of its inputs, an approach known as fairness through unawareness. It usually fails. In large datasets, other features act as proxies: each may correlate only slightly with sex or ethnicity, but together they can reconstruct it. The textbook Fairness and Machine Learning gives examples such as gender being predictable from retinal photographs and ancestry being encoded in genetic data. A model trained without the attribute can learn essentially the same pattern through those proxies.
The awkward consequence is that measuring and correcting discrimination often requires collecting the protected attribute, which may itself be sensitive personal data under privacy law. Organisations therefore have to balance non-discrimination duties against data protection duties, for example by collecting such data separately and only for testing.
The legal counterpart is the protected class or protected characteristic, the categories that discrimination law actually covers. The two lists overlap but need not match, and a system can be lawful while still treating some groups worse on attributes the law does not cover.
It is a characteristic such as race, sex, age, religion or disability that is used to divide people into groups so a model's outcomes can be compared across them. Fairness metrics and bias mitigation methods are defined relative to the protected attribute. Usually not. Other features often act as proxies that together encode the protected attribute, so a model can learn the same pattern without seeing it directly. This approach, called fairness through unawareness, can also make discrimination harder to detect. A protected attribute is the variable used in data and fairness metrics, such as sex. A protected class is the legal category that anti-discrimination law covers, such as people protected on the basis of sex. Protected attributes are usually chosen to match protected classes. In machine learning the two terms are generally used interchangeably. Some writers reserve protected for characteristics covered by law and use sensitive more broadly.Common questions
What is a protected attribute in machine learning?
Does removing protected attributes make a model fair?
What is the difference between a protected attribute and a protected class?
Is a protected attribute the same as a sensitive attribute?
Search for "sensitive attribute fairness", "fairness through unawareness" or "proxy discrimination". The open textbook Fairness and Machine Learning and peer-reviewed papers from venues such as NeurIPS and FAccT are good guides to the technical side. For which attributes the law protects, consult the relevant anti-discrimination statute or regulator rather than technical papers.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.