Skip to content
Back to the AI glossary

Glossary · AI concepts & terminology

Feature

also: attribute, input variable

In short

A single measurable property of the input data that a model uses, such as size, colour or a word.

Reference: General AI knowledge

What it means

A feature is a measurable property of a case that a model uses as input: temperature and vibration of a spindle, amount and supplier of an invoice, the words of an email. ISO/IEC 23053:2022 defines the term in 3.3.3. With classic methods, people select and prepare the features, which is called feature engineering. Deep neural networks learn many of their features themselves from raw data such as images or text.

Choosing the features is one of the most consequential decisions in a project. A feature that is linked to the outcome in training, yet missing or behaving differently in operation, leads to a model that shines in testing and fails in practice. A feature that stands in for a protected characteristic, such as place of residence for origin, can lead to discrimination even though the protected characteristic itself never appeared in the data set.

In practice and in the audit

For every model that has a say in decisions about people or money, ask to see the list of features and ask for each one why it is there. Features nobody can justify on the merits are a warning sign. For personal data, data minimisation under Article 5(1)(c) GDPR applies: whatever is not necessary for the purpose stays out of the model. That lowers the data protection risk and often makes the model more robust.

In an AI management system under ISO/IEC 42001, the choice of features belongs to the documentation of design and development (A.6.2.3) and to data preparation (A.7.6). For high-risk AI, Article 10(2) of the EU AI Act requires that assumptions about what the data are supposed to measure and represent are recorded (point (d)) and that the data are examined for possible biases (point (f)). Explainable AI methods show afterwards which features influenced an output most.

References in standards and law

I cite standards by clause number and in my own words, never verbatim. Legal texts link to EUR-Lex.

Frequently asked questions

May a model use sex as a feature?

For decisions about applicants, employees or customers, discrimination on grounds of sex is prohibited in wide areas, in Germany under the General Equal Treatment Act. Leaving the feature out is not enough, though, because other features can reflect it indirectly. So check the results separately for each group.

Related terms

Further reading in the insights

Matching service

Features and data in the audit

In an internal audit to ISO/IEC 42001 I check whether feature selection, data preparation and their justification are documented and fit the purpose.

To internal audits

Author: Lars Zimmermann

Term and explanation in my own words. Researched to the best of my knowledge and reviewed for accuracy.

This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.