# Autoregressive Model

- **Canonical URL:** https://getaimath.com/dictionary/autoregressive-model/
- **Topics:** [LLM Fundamentals](https://getaimath.com/dictionary/category/llm-fundamentals/)
- **Last updated:** 2026-11-25

## What is Autoregressive Model?

**In one sentence:** An autoregressive model creates output one piece at a time, using everything it has created so far to choose the next piece.

"Auto" means self, and "regressive" here means looking back. The model writes a word, adds it to the text, then looks at all of it again to write the next word. It is like building a tower one block at a time, where each new block depends on the ones below.

![How ChatGPT & Claude Talk: Super-Powered Autocomplete — Simple cartoon diagram showing a sentence chopped into Lego word blocks (tokens), an AI brain weighing the odds of the next word ("mat" 75%, "couch" 18%, "roof" 5%), and snapping "mat" onto the end of the sentence.](https://getaimath.com/diagrams/llm-fundamentals.png)
*Napkin Diagram (LLM Fundamentals): Language models don’t plan whole essays at once—they play a super-smart game of "guess the very next word" over and over.*

## What is an example of Autoregressive Model?

A chatbot writing "The sky is blue" picks "The," then "sky," then "is," then "blue," each based on the words before.

## Why does Autoregressive Model matter?

This is how almost all chatbots write, and it explains why longer answers take longer to appear.

## Related Concepts

- [Encoder-Decoder Architecture](https://getaimath.com/dictionary/encoder-decoder-architecture/): An encoder-decoder architecture is a model design with two parts: one that reads and understands the input, and one that writes the output.
- [Causal Language Model](https://getaimath.com/dictionary/causal-language-model/): A causal language model predicts the next word using only the words that came before it, never the ones after.
- [Decoder](https://getaimath.com/dictionary/decoder/): A decoder is the part of a model that produces output, one piece at a time, such as writing a sentence word by word.
- [Masked Language Model](https://getaimath.com/dictionary/masked-language-model/): A masked language model learns by filling in blanks: some words in a sentence are hidden and the model guesses them using words on both sides.
- [Encoder](https://getaimath.com/dictionary/encoder/): An encoder is the part of a model that reads an input and turns it into a set of numbers that capture its meaning.
- [Next Token Prediction](https://getaimath.com/dictionary/next-token-prediction/): Next token prediction is the simple training game behind LLMs: look at some text and guess which token comes next.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/autoregressive-model/)
