AI GLOSSARY · AI CONCEPTS

Generative model

Markdown version · Wikidata Q5532625

Definition

A generative model represents how data is distributed and can produce new examples resembling that data. A discriminative model instead distinguishes categories or estimates a label from an input.

Also called: generative models.

In plain language

A generative model learns patterns in data so it can produce new samples, such as text or images that resemble its training material. A discriminative model focuses on separating categories, such as deciding whether an image shows a cat or dog. Generation does not guarantee truth or quality: a plausible output can still be wrong, and its usefulness must be checked for the task.

Technical definition

Given data instances X and labels Y, a generative model captures the joint distribution p(X, Y), or p(X) when labels are absent. A discriminative model captures the conditional distribution p(Y | X). Google notes that neither type must return an explicit probability. Generative modeling is generally the broader task because it represents more of the data distribution, but that does not make it superior for classification.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Guide · Illustrative, not executed

    What Is an LLM? The Facts Agent Users Need

    What you see
    An illustrated guide separating language models, modeling objectives, and the applications built around them.
    Why it exercises the concept
    It shows that text-generating, autoregressive language models are generative while warning that not every language-model design uses ordinary next-token generation.
  2. Skill by Skill Almanac · Illustrative, not executed

    mock-record-generator 42/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A seeded utility that creates repeatable mock CSV or JSON records from a field specification.
    Why it exercises the concept
    This is a useful contrast: it produces new records by programmed rules rather than by learning a data distribution, so generated output alone does not make something a generative model.

How it shows up when you use agents

Text-generating assistants commonly use generative language models. Given a prompt and context, such a model produces a new sequence rather than choosing only from a fixed list of labels. Other generative models can produce images or different kinds of data. A generative adversarial network and a diffusion model are particular kinds of generative model, not synonyms for the whole category.

Discriminative models solve a different problem. An image classifier might distinguish cats from dogs, while a spam classifier assigns a message to a category. Systems can combine the two roles: a generative component can draft an answer, while a separately identified classifier can label an input or output. The presence of both components does not turn them into the same kind of model.

When assessing an agent, first identify the action you need. If you need prose, code, an image, or another new sample, generation may fit. If you need one label from known categories, compare a classification approach. In either case, test the output against task-specific evidence or labelled examples. A fluent generated answer is not verification, and a category prediction is not an explanation by itself.

Common confusions

  • Generative versus discriminative. A generative model represents p(X, Y), or p(X) without labels. A discriminative model represents p(Y | X). Neither is required to display a probability.
  • Generative model versus generative AI. The model is a learned statistical component. Generative AI also covers applications and workflows built around such components.
  • Generative versus supervised. These terms describe different dimensions. Supervised learning describes training with labelled examples; it is not simply another name for discriminative modeling.
  • Generating data versus being a generative model. A rule-based mock-data utility can create new rows without learning any distribution. Production of new material alone is therefore insufficient.
  • Harder versus better. Modeling more of a distribution is generally a broader task than drawing a decision boundary, but it does not guarantee better performance on a classification job.

Terms that mention Generative model

24 terms mention this one

Guides that mention Generative model

More in AI concepts

Next steps

  1. What Is an LLM? The Facts Agent Users Need The long-form guide.
  2. mock-record-generator A skill that exercises it.
  3. Generative AI (gen AI) Related term.
  4. Diffusion model Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; revisions: OpenAI Codex (configured gpt-5.6-sol); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (5)
  • : Independent automated factual/example/alias correction review closed with transparent bounded followups and simulated-reader blocker closure. Cached broad US definition demand; AI-exclusive share unmeasured. Final runtime gate separate; publication disabled.
  • : Private correction of independent source/example/alias and reader findings; exact-version closure and runtime gates pending. Cached broad US definition demand, not AI-exclusive traffic.
  • : First version.
  • : Verifier pass: removed contrast-concept aliases.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.