Home▸Nature & Climate▸Temporal-Difference Learning on a Reef Corridor: TD Error, Bellman Solution and Learning Rate

Temporal-Difference Learning on a Reef Corridor: TD Error, Bellman Solution and Learning Rate

Watch a damselfish learn the value of every coral head on a corridor between a predator grotto and a feeding anemone using only temporal-difference updates after each hop. Set the current, number of heads, discount, hop cost and learning rate; compare the learned values with the exact Bellman solution and the gambler's-ruin closed form, and follow the RMS error. A Blender-built reef with checks against value iteration, Monte Carlo returns and decaying-rate TD.

Nature & Climate3DModerate60 FPS📱 Mobile-adapted🟠 Blender💧 Water⇄ 2D version
Temporal-Difference Learning on a Reef Corridor: TD Error, Bellman Solution and Learning Rate ↗ Open standalone

Watch a damselfish learn the value of every coral head on a corridor between a predator grotto and a feeding anemone using only temporal-difference updates after each hop. Set the current, number of heads, discount, hop cost and learning rate; compare the learned values with the exact Bellman solution and the gambler's-ruin closed form, and follow the RMS error. A Blender-built reef with checks against value iteration, Monte Carlo returns and decaying-rate TD.

⚙ Under the hood

Watch a damselfish learn the value of every coral head on a corridor between a predator grotto and a feeding anemone using only temporal-difference updates after each hop. Set the current, number of heads, discount, hop cost and learning rate; compare the learned values with the exact Bellman solution and the gambler's-ruin closed form, and follow the RMS error. A Blender-built reef with checks against value iteration, Monte Carlo returns and decaying-rate TD.

Reef EcosystemsAdaptive LearningCoralTemporal Difference LearningBellman EquationReinforcement LearningRandom WalkValue FunctionReef

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)