Skip to content
Back to the AI glossary

Glossary · AI concepts & terminology

Algorithm

In short

A clear, step-by-step procedure to solve a problem. In AI, algorithms govern how a model learns from data and how it turns inputs into outputs.

Reference: General AI knowledge

What it means

An algorithm is an unambiguous sequence of steps that turns an input into a result. That applies to the sort function of a spreadsheet as much as to a credit check. Around AI the term gets blurred, so the distinction made by ISO/IEC 22989:2022 is worth keeping. The machine learning algorithm (3.3.6) determines how a model is built from training data. The trained model (3.3.14) then turns inputs into outputs.

In conventional software the logic sits in the program code and can be read line by line. In machine learning nobody writes the decision rule by hand; it sits in the learned parameters of the model. When the press writes about an algorithm that sorts out job applications or sets prices, it usually means a trained model, embedded in software with fixed rules around it. Anyone who wants to understand how such a system decides has to look at both parts.

In practice and in the audit

If you ask a provider how their system decides, the name of the learning method is not enough. You need information on the trained model: version, data basis, test results and known limitations. For high-risk AI, Annex IV of the EU AI Act requires exactly this depth in the technical documentation under point 2, including the general logic of the system and of the algorithms, the key design choices and the data requirements.

If a system decides about people, the GDPR applies as well. A decision based solely on automated processing that produces legal effects or similarly significantly affects someone is only permitted under narrow exceptions in Article 22. Under Article 15(1)(h), data subjects are entitled to meaningful information about the logic involved. So record at which point in the process a person reviews the result and with what authority they may depart from it.

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

Do I have to disclose the algorithm when an AI makes decisions about people?

As a rule you do not have to hand over the program code. For automated decisions under Article 22 GDPR, however, data subjects are entitled to meaningful information about the logic involved and about the significance and envisaged consequences. That presupposes that you have understood and documented how the system works yourself.

Related terms

Further reading in the insights

Matching service

Responsibility for AI in your company

As your external AI officer I record with you which systems help make decisions, who reviews the result and which information you need from providers.

To the external AI officer

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.