AI engineering glossary · Reinforcement learning

What is bellman equation?

Bellman equation (also called Bellman expectation equation): A recursive identity stating that the value of a situation equals the immediate expected score plus the discounted value of the next situation, averaged over choices and outcomes. Formula: V(s) = sum over a of pi(a given s) * sum over s' of P(s' given s,a) * [r + gamma * V(s')]. Many algorithms turn it into an update rule.

Level: advancedTopic: Reinforcement learning

Bellman equation: an example

If a step gives reward 1 and the next state has value 10 with gamma = 0.9, the current state has value 1 + 0.9*10 = 10.

Related terms

More Reinforcement learning terms

Where you learn it

Bellman equation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.