What is generative AI?
Generative AI is the general name for AI models that produce new text, images, audio, video or code from patterns learned in their training data.
It is often shortened to GenAI. It is broader than a large language model: an LLM is one kind of model that generates text, while generative AI also covers models that generate images, audio, video and code.
- Topic
- Core concepts
- Also known as
- GenAI, generative artificial intelligence
How generative AI works
The model is trained on a very large dataset and represents its statistical distribution in its parameters. Text and code models predict the most likely next token step by step; most image models use diffusion, starting from random noise and removing it gradually.
The prompt steers the output. Because generation relies on sampling, the same prompt can give different answers; output is usually new but a model can memorise and repeat parts of its training data.
In more detail
Core architectures and sampling settings
Modern generative AI is built largely on two foundational paradigms: Transformer architectures (which use self-attention to model long-range dependencies in autoregressive text, audio and multimodal models) and diffusion or flow-matching models for continuous media such as images and video. Together with sampling controls like temperature and top-p, these mechanisms govern the balance between factual consistency and creative variation.
Hallucination and prompt injection risks
Because generative models predict plausible continuations rather than verifying truth, they can produce confident-sounding falsehoods (hallucinations) and face prompt-injection risks when connected to external documents or tools. Enterprise deployments mitigate these through grounding (RAG), structured output constraints (JSON schema decoding), guardrails and human-in-the-loop review.
Commonly confused terms
| Term | How it differs |
|---|---|
| Agentic AI | Generative AI refers to the underlying models that produce outputs from prompts, whereas agentic AI wraps generative models in planning loops, memory and tool-execution permissions to take multi-step actions autonomously. |
Why generative AI matters for on-premises AI
When the model runs on the organisation's own servers, confidential material such as contracts, reports or source code can be summarised and drafted without being sent to an outside service. Output is probabilistic, so in regulated sectors it is designed together with RAG, source citation, human approval and audit logging to contain hallucination. On the hardware side GPU memory is planned around model size and the number of concurrent users.
An insurer uses a generative model running in-house to draft summaries of claim files for expert review. A summary is added to the file only after the loss adjuster approves it.
Common questions
Can generative AI be used without training it on company data?
Yes. A ready-made model is connected to company documents through prompts or Retrieval-Augmented Generation. Fine-tuning is considered only when a specific format or domain language is needed.
How does generative AI differ from traditional machine learning?
Traditional models mostly classify an existing input or predict a value. Generative AI produces new text, code or images from the distribution it has learned.
Related terms
- Large language model
- Foundation model
- Diffusion model
- Hallucination
- Multimodal model
- Text generation
- AI model
- Artificial intelligence
- Generative adversarial network
- Autoregressive model
- Retrieval-Augmented Generation
- AI output IP ownership
Sources
- NIST AI 600-1, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, 2024
- Goodfellow et al., Generative Adversarial Networks, 2014
- Ho et al., Denoising Diffusion Probabilistic Models, 2020
Related page on this site: Related FAQ · In the glossary: Glossary, E to L