Skip to content
Book a conversation

Model inference

Understand how a trained model is applied to an input, and how producing an output differs from training or completing a workplace action.

Luiz GardelinUpdated Read in Markdown
All terms

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation
On this pageIntroduction

Also used as: inference, AI inference.

Model inference is the use of an already trained model to produce an output from an input. In traditional machine learning, that output may be a prediction. In a language model, it may be a generated response to a request. The term describes applying a model rather than developing its parameters. Source: Google, inference.

How it differs from training

During training, a system adjusts parameters using examples. During inference, it uses the trained model to calculate an output. This distinction explains why sending a text for analysis does not, by itself, mean the model is being trained on that text. The two activities serve different purposes. Sources: Google, training and inference.

Inference must also be distinguished from executing a process. A model's response may be received by an application, reviewed by a person, or passed to another stage. Generating a description of a change does not establish that the change has actually occurred in a system.

Hypothetical workplace routine

A team receives a new maintenance request. A trained model suggests a category for it. Applying the model to that request is inference. Routing the request to a team, opening a work order, or seeking approval are additional decisions and actions in the process.

To evaluate the solution, the organization should check both the proposed category and the resulting routing. A classification failure and a delivery failure belong to different stages. Examining only the model's response would leave part of the process unverified.

The time needed to process an input and generate a response is called latency. For language models, it can be influenced by input and output length, model complexity, and the infrastructure being used. Source: Google, latency. An assessment of inference may therefore consider correctness and response time without treating speed as evidence of quality.

This computational use of the word also differs from statistical inference, which has another meaning. Here, the question is how a trained model is applied to a concrete task in a working process.

Sources

  1. Machine Learning Glossary: Inference Google for Developers

    Computational inference, distinct from statistical inference. It does not imply parameter updates on every request.

  2. Machine Learning Glossary: Training Google for Developers
  3. Machine Learning Glossary: Latency Google for Developers

Written by

Luiz Gardelin

Founder and lead consultant at The Company Brain

Luiz Gardelin is the founder and lead consultant at The Company Brain, an AI organizational transformation consultancy based in Brazil. He also founded Webinhood and Tropk.ai.

See all content by this author

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation

Related terms

Continue reading

All resources