What is a protected attribute in AI?

A protected attribute in AI is a personal characteristic that law shields from discrimination or gives special protection, such as sex, race, ethnic origin, religion, age, disability or health, handled in AI systems as a decision input, a measurement dimension or sensitive data.

It touches two legal regimes: anti-discrimination law sets the grounds on which different treatment is prohibited, while data protection law sets which data counts as special category under stricter rules. The lists overlap but differ; age, for example, is a discrimination ground but not special category data.

Topic
Responsible AI and governance
Also known as
Sensitive attribute

How a protected attribute in AI works

  1. List which characteristics are protected under applicable law.
  2. Check whether they are used directly in the model and look for proxies.
  3. Where needed for bias measurement, process group data separately with a legal basis and safeguards.
  4. Monitor outcomes across groups; block direct use in decision logic unless justified.

In more detail

The limits of fairness through unawareness

Simply removing a protected attribute from training features, known as 'fairness through unawareness', rarely prevents bias because correlated variables act as proxies. Moreover, without retaining protected-attribute labels in an isolated evaluation store, an organisation cannot measure disparate impact or calibrate subgroup error rates.

Group fairness metrics and the impossibility theorem

Evaluating outcomes across protected attributes requires explicit mathematical criteria such as demographic parity (equal positive prediction rates), equalised odds (equal true-positive and false-positive rates) or group calibration. By the fairness impossibility theorem (Kleinberg et al.; Chouldechova, 2017), when base rates differ across groups, a non-trivial model cannot simultaneously satisfy calibration and error-rate parity, forcing an explicit governance choice.

Intersectional fairness and subgroup size

People belong simultaneously to multiple protected dimensions, such as older women or minority applicants with disabilities. Measuring bias along single attributes alone can mask severe disparities at their intersections (intersectional fairness), so evaluation pipelines should also inspect key subgroup combinations where sample sizes permit.

Mandatory technical safeguards in bias audits

In the EU AI Act, invoking the bias-detection exception is conditional on strict technical safeguards: data must be pseudonymised or protected by state-of-the-art privacy measures, access must be strictly restricted to authorised personnel, data may not be transmitted to third parties and it must be deleted immediately once the bias is corrected or the retention period ends. In Türkiye, Law No. 6698 has no separate bias-detection exception, so such processing must rest on one of the conditions in its Article 6.

Commonly confused terms

TermHow it differs
Special category personal dataA protected attribute is a personal characteristic shielded by anti-discrimination law (such as sex, age or ethnicity); special category personal data is a narrower data-protection classification (GDPR Art. 9, Law No. 6698 Art. 6) requiring heightened legal bases. Age and wealth, for instance, are protected attributes under Law No. 6701 but not special category personal data.
Proxy variableA protected attribute is the legally safeguarded trait itself; a proxy variable is an apparently neutral feature (such as postcode, school or shopping pattern) that correlates strongly with a protected attribute and lets a model reconstruct it indirectly.

Why a protected attribute in AI matters for on-premises AI

Turkey's Law No. 6701 prohibits discrimination on grounds including sex, race, language, religion, belief, political opinion, ethnic origin, wealth, marital status, health, disability and age. Law No. 6698 and the GDPR treat data such as racial or ethnic origin, religion, health and biometrics as special category. A provision added to the EU AI Act in 2026 allows special category data to be processed with safeguards where strictly necessary for bias detection and correction, if other data, synthetic or anonymised included, cannot serve.

This page gives general information and is not legal advice.

ON-PREMISES EXAMPLE

A bank's credit model does not use age or sex as inputs; for bias measurement it keeps them in a separate restricted environment and compares approval rates across groups.

Common questions

Is removing the protected attribute enough?

No. The model can infer the same information from other variables, so outcomes must be measured across groups.

Can special category data be processed to measure bias?

In the EU the Act allows it under conditions. In Turkey the special category conditions of Law No. 6698 must be assessed separately.

Sources

In the glossary: Glossary, M to Q

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.