Generative AI

On this page 7

Generative AI is the branch of artificial intelligence in which models learn the statistical structure of their training data and produce new content with the same structure: text, images, audio, video, code, 3D shapes or molecular designs. Instead of assigning a label to an input, a generative model samples a new output that did not exist before, usually guided by a prompt.

The field rests on a few model families, mainly autoregressive transformers, diffusion models, generative adversarial networks and variational autoencoders. What unites them is the goal of modeling a probability distribution over possible outputs and drawing realistic samples from it.

How generative AI differs from predictive models

Generative AI differs from classic machine learning in what the model learns and what it returns. A predictive, or discriminative, model learns the boundary between categories and returns a label or a number. A generative model learns how the data itself is distributed, so it can produce new examples that fit that distribution.

The table contrasts the two approaches with a rule-based system that has no learning at all.

ApproachWhat it learnsTypical outputExample task
Generative modelDistribution of the data, often conditioned on a promptNew text, image, audio or codeWrite a product description
Discriminative modelMapping from input to label or valueClass, score or numberFlag an email as spam
Rule-based systemNothing; rules are written by peopleFixed template outputFill a form letter
Generative, discriminative and rule-based systems compared

Modern generative systems are usually conditional: they generate an output given an input such as a text prompt, a reference image or a partial document. This conditioning is what turns a model of all possible images into a tool that draws the image a user describes.

Main families of generative models

Each generative model family solves the same problem, sampling realistic outputs, with a different mechanism. The choice of family shapes speed, quality, controllability and training stability.

FamilyHow it generatesStrengthsWeaknesses
Autoregressive transformerPredicts one token at a timeExcellent for text and code, flexibleSequential, so long outputs are slow
Diffusion modelRemoves noise step by step from random noiseHigh image and video quality, stable trainingMany noise-removal steps unless distilled
GANGenerator competes against a discriminatorVery fast single-pass samplingUnstable training, mode collapse
Variational autoencoderDecodes samples from a learned latent spaceSmooth latent space, fastBlurrier outputs on its own
Flow-based modelInvertible transforms of simple noiseExact likelihoodsHeavy architectural constraints
Core generative model families

Families are often combined. Latent diffusion, the basis of many text-to-image systems, uses an autoencoder to compress an image into a smaller latent space and runs the diffusion process there. A 512 by 512 RGB image holds 786,432 values, while a typical 64 by 64 latent with four channels holds 16,384, which is 48 times fewer values to denoise.

Diffusion samplers commonly use about 20 to 50 noise-removal steps, while distilled variants reach acceptable quality in one to four steps, trading some detail and diversity for speed.

Modalities and typical applications

Generative AI now covers almost every digital medium, and the dominant architecture differs by modality. The table maps each output type to its usual model family and to representative uses.

Output modalityDominant approachRepresentative uses
TextAutoregressive large language modelsDrafting, summarization, chat, translation
CodeLanguage models trained on source codeCode completion, test generation, refactoring
ImagesLatent diffusion and diffusion transformersConcept art, product visuals, editing
VideoDiffusion transformers over space and timeShort clips, previsualization, effects
Audio and speechAutoregressive token models and diffusionText-to-speech, music, voice conversion
Scientific structuresDiffusion and graph-based modelsProtein and small-molecule design
Generative AI by output modality

Increasingly, a single multimodal model accepts and produces several modalities, for example reading a chart image and answering in text, or generating an image from a conversation.

How generative output is steered

Raw generative models produce plausible output, but useful systems constrain that output toward a goal. Practitioners combine several control layers, from cheap to expensive:

  • Prompting: instructions, examples and a defined output format, the fastest lever to adjust.
  • Sampling settings: temperature, top-p or guidance scale trade diversity against fidelity to the prompt.
  • Conditioning inputs: reference images, sketches, depth maps or retrieved documents anchor the result.
  • Fine-tuning: additional training on curated examples teaches a style, domain or format.
  • Post-processing and review: filters, validators and human approval catch errors before publication.

The usual recommendation is to start with prompting and retrieval and move to fine-tuning only when those levers cannot reach the required consistency.

Risks and limitations of generative AI

Because a generative model optimizes for plausibility rather than truth, its errors look as convincing as its correct output. Responsible deployment therefore depends on knowing the typical failure points.

RiskHow it appearsPractical control
FabricationInvented facts, quotes or referencesGrounding in sources, human review
Synthetic media misuseDeepfake audio, images or videoContent provenance metadata, disclosure labels
Intellectual property exposureOutput close to protected training materialLicensed data, similarity checks, legal review
BiasStereotyped people, uneven quality across groupsDiverse evaluation sets, output audits
Data leakageConfidential prompts stored or reusedData processing agreements, private deployment
Key risks and practical controls

Regulation is catching up. The EU AI Act requires that AI-generated or manipulated content such as deepfakes be disclosed as artificial, and provenance standards such as C2PA content credentials attach signed origin data to media files. Neither watermarking nor metadata is tamper-proof, so they complement rather than replace editorial checks.

In plain words

Generative AI is software that has studied huge numbers of examples, such as texts, photos or songs, and learned what such things usually look like. When you describe what you want, it creates something new that follows those learned patterns.

Think of an experienced illustrator who has seen millions of pictures and can sketch a new one on request. The result is often impressive, but the illustrator is working from memory and imagination, not checking facts, so the output still needs a human eye before it is used.

A real-world example

An online furniture retailer adds about 3,000 new products each season. Writing descriptions and producing lifestyle photos for every item used to take the content team around six weeks, which delayed product launches.

The team introduces two generative tools. A language model drafts each description from the structured product data, such as dimensions, materials and care instructions, in the house style defined by a dozen approved examples. A latent diffusion model places studio photos of each product into generated room settings, conditioned on the real product image so the item itself is never altered. Editors review every text and image, reject about one in five images and correct factual details in the descriptions.

The seasonal catalog is now ready in about two weeks instead of six. The key lesson is that generation is fast but verification remains the bottleneck, so the retailer invests in clear review checklists rather than in more generation.