# Generative model

Understand what a generative model represents, how it produces new examples, and why generation differs from retrieving an exact record.

Canonical URL: https://thecompanybrain.com.br/en/glossary/generative-model
Authors: Luiz Gardelin
Updated: 2026-11-14T18:37:30.893Z

A generative model represents regularities in a [dataset](/en/glossary/dataset) so that it can produce new examples or estimate the probability of examples consistent with what it has modeled. Google's glossary describes both possibilities. The first explains uses such as generating text. The second shows why the technical concept extends beyond the interface of a conversational assistant. [Source: Google, generative model](https://developers.google.com/machine-learning/glossary#generative_model).

## What the model represents

In simplified terms, the model represents how data may occur. This differs from a discriminative model, which predicts an output from input features, such as classifying a message as spam. The distinction concerns what is being modeled; it does not create a rigid division between commercial products. [Sources: Google, generative model](https://developers.google.com/machine-learning/glossary#generative_model) and [discriminative model](https://developers.google.com/machine-learning/glossary#discriminative_model).

Generation can use different mechanisms. In an autoregressive language model, for example, previously generated elements contribute to the prediction of the next [token](/en/glossary/token), a unit used to process text. This mechanism should not be presented as the way every generative model works. [Source: Google, autoregressive model](https://developers.google.com/machine-learning/glossary#auto-regressive-model).

## Hypothetical example and common confusion

A [training](/en/glossary/model-training) team needs fictional exercises for practicing how to handle requests. It could use a generative model to propose situations containing different amounts of information, with requirements for format and teaching purpose. The team would review the exercises for coherence and check whether they actually support the intended practice.

In this example, creating a new situation is useful. In another process, such as finding the date recorded in a document, the objective is to retrieve a particular fact. Asking a model to generate an answer does not replace checking the record. An output that fits patterns of language does not prove that a fact or document exists.

The generative model is the technical component. [Generative AI](/en/glossary/generative-ai) describes the broader field and uses of content generation. When selecting a solution, an organization should establish whether it needs to create variations, transform supplied information, or retrieve verifiable records. These purposes can coexist, but they require different ways of checking the result before anyone relies on it.

## Sources

- [Machine Learning Glossary: Generative model](https://developers.google.com/machine-learning/glossary#generative_model): Distinguishes generative from discriminative modeling without treating all unsupervised learning as generative.
- [Machine Learning Glossary: Discriminative model](https://developers.google.com/machine-learning/glossary#discriminative_model)
- [Machine Learning Glossary: Auto-regressive model](https://developers.google.com/machine-learning/glossary#auto-regressive-model)

## Related reading

- [Generative AI](/en/glossary/generative-ai)
- [Large language model](/en/glossary/large-language-model)
- [Model inference](/en/glossary/model-inference)
- [AI hallucination](/en/glossary/ai-hallucination)
- [AI prompt](/en/glossary/ai-prompt)
- [Algorithmic bias](/en/glossary/algorithmic-bias)
