Skip to content
Back to the AI glossary

Glossary · AI concepts & terminology

Inference

also: model inference

In short

Running a fully trained model: it receives an input and returns an output. In contrast to training, during which the model first learns.

Reference: General AI knowledge

What it means

Machine learning has two phases. In training, the model learns from data and its parameters are adjusted. In inference, the finished model is applied: it receives an input and returns an output without its parameters changing. Every question to a chatbot and every check of an image of a part is an inference. ISO/IEC 22989:2022 uses the term more broadly in 3.1.17: any reasoning from what is known to something new, where a model can be one of the starting points.

In operation, inference is the part that generates ongoing costs and risks. It needs computing power for every request, billed per call or token in the cloud, and as hardware and electricity locally. This is where your company’s real data flow in and where the results that influence decisions are produced. Attacks such as prompt injection or evasion attacks also target inference.

In practice and in the audit

Decide deliberately where inference runs. In the provider’s cloud, getting started is easy and the data leave the building. On your own hardware they stay in-house, and you carry operation, updates and security yourself. For personal data in the cloud you need a data processing agreement and, for processing outside the EU, a basis for the transfer under Chapter V of the GDPR.

For evidence and troubleshooting: for important applications, log which model version returned which result for which input, as far as data protection and purpose allow. ISO/IEC 42001 requires in A.6.2.8 that you determine when event logs are recorded. Deployers of high-risk AI have to keep the automatically generated logs, to the extent they are under their control, for at least six months (Article 26(6) EU AI Act).

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

Does a model learn during inference?

As a rule, no; its parameters stay unchanged. Some services do store conversations or use inputs later for further training. Whether that happens is set out in the provider’s contract terms and should be clarified before approval.

Related terms

Further reading in the insights

Matching service

Running AI in your own network

Turning AI applications into tested software, on request with inference on your own hardware so that data stay in-house.

To AI implementation

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.