AI ATLASAn interactive field guide
CONCEPT 92 / Decisions, trust, and real-world use / Interactive study

Q-learning in a grid world.

Watch a robot learn Q-values inside a 5×5 maze—steering around hazards toward the +10 treasure as future-value arrows spread backward.

Interactive 5×5 maze tiles & glowing path arrows

Begin with the loaded example. Change one control and watch the diagram and numbers update together.

92 / LIVE LABORATORYLoaded example
All calculations shown here run in the browser from the visible controls and bundled examples.

Inside the calculation

Why it matters

Action scores ripple backward from rewards toward the start tile, teaching the agent smart detours before reaching the goal.

All calculations shown here run in the browser from the visible controls and bundled examples.