Skip to content

AI Glossary · Concepts

What is Markov Chain?

Markov Chain

A Markov chain is a model of something that moves between states over time, where the chance of the next state depends only on the current state, not on the full history of how it got there.

· Chain of Thought

  • 2 sources

Think of a support ticket that can be “new”, “in progress”, “waiting on customer” or “closed”. If the chance of a ticket moving from “in progress” to “closed” tomorrow depends only on where it is today, not on every step it took before, you can describe the whole system as a Markov chain. The table of move probabilities between every pair of states is called the transition matrix.

That “only the present matters” rule is the Markov property. It is a simplifying assumption, and real systems often break it, but it makes long-run questions answerable: how many tickets will be closed after a week, or which state the system settles into.

Why it matters for AI: Markov chains are the building block for the Markov decision process, which adds actions and rewards and underpins reinforcement learning. They are also a useful contrast with a large language model: a simple Markov text generator predicts the next word from only the last word or two, while an LLM conditions on everything in its context window. This is editorial background; no Chain of Thought episode has discussed Markov chains directly.

Sources