Planning vs. Learning
Bellman equations describe what values should satisfy when we know the environment. If the agent has the transition model and reward model , it can plan: reason through possible next states before acting.
In many real problems, the agent lacks those equations. It only has experience: "I was in state , took action , received reward , and landed in state ." Learning means using those samples to improve behavior.
Planning vs learning
What information does the agent have?
Choose the information available to the agent. The method follows from that information.
You only see samples: state, action, reward, next state.
Method
Learning
Tabular RL studies this in small finite worlds where values can be stored directly in a table. A Q-table has one entry for each state-action pair. Instead of learning a neural network, the agent updates table entries such as and .
Q-learning is model-free: the agent can learn without knowing or ahead of time. It uses sampled transitions to learn an estimate of , the optimal action-value function.
What Tabular Means
Tabular describes the representation size: the state and action spaces are small enough that the agent can store a separate number for every pair.
Why is Q-learning useful when the agent lacks and ?