Jargonautica
Maths and Statistics

Markov Chain

A process where what happens next depends only on where you are now, not on how you got there. Weather modelled as sunny or rainy with fixed transition odds is a Markov chain. It is a useful simplification, and language models deliberately break it, since attending to the whole history is precisely their advantage over what came before.

Technical view

A stochastic process satisfying the Markov property, characterised by a transition matrix, with long-run behaviour described by a stationary distribution where one exists. Hidden Markov models add unobserved state and dominated speech and sequence modelling before neural approaches. An autoregressive language model is Markovian only if you define the state as the entire context window, which is a technicality worth noticing.


Part of AI Terminology Index, section: Maths and Statistics.

How it connects

Markov Chain links to 4 other terms. The faint lines are links between those terms. See it in the full graph.

Reinforcement LearningReinforcement Learn…Autoregressive GenerationAutoregressive Gene…Monte Carlo MethodsMonte Carlo MethodsHidden Markov ModelHidden Markov ModelMarkov Chain