Autoregressive Model
A generative model that produces data one piece at a time, each piece predicted from all the pieces before it. GPT-style language models are the best-known example.
Also autoregressive generation · next-token prediction · causal language modeling · language modeling · PixelCNN · WaveNet
Writing a story one word at a time, where each new word is chosen by looking at everything written so far. Keep going and you get a whole story.
Where it fits
+All relationships as a list
Is a kind of / part of
Siblings
Uses / built on
How it works
The chain rule of probability says any joint distribution can be written as a product of “next piece given everything so far”:
An autoregressive model learns exactly those conditional probabilities. Training is simple: show it real sequences and ask it to predict each next element, scoring it with cross-entropy. No labels needed, which makes it self-supervised. For text this is called language modeling.
Generation runs the model in a loop: predict a distribution, sample one element, append it, repeat.
Famous examples:
- Text: GPT and nearly every modern LLM are autoregressive Transformers.
- Audio: WaveNet produced speech one audio sample at a time.
- Images: PixelCNN generated pixel by pixel; several image models generate sequences of image tokens.
The main cost is speed: you cannot write token 100 before token 99. Diffusion models instead refine a whole output in parallel over several steps.
Everyday use cases
- Case 01
Chatbots and autocomplete
Every answer from a GPT-style assistant is generated one token at a time.
- Case 02
Speech synthesis
WaveNet generated raw audio one sample at a time and made synthetic voices far more natural.
Strengths, weaknesses and when to use it
Strengths
- Simple, stable training objective with exact likelihoods; scales extremely well.
Weaknesses
- Generation is sequential, so long outputs are slow.
- Errors early in the output can compound.
When to use itText, code, audio and other sequences; increasingly also images and video as sequences of tokens.
Compare with
Check yourself
- Q01
How does an autoregressive model generate a sentence?
Show answer
A: One token at a time, each conditioned on the previous ones