Lab · c23.s01.L1
Bandit explorer
Exploration buys information and costs reward; the share of random pulls decides which of the two the agent buys.
Question: Why must an agent that learns from reward sometimes choose the lever that currently looks worse?
Frame 1 of 9: Whole run: pull 150 of 150The run stops at pull 150: lever A was pulled 19 times for a running average of 0.211, lever B 131 times for 0.504, and the run paid 70. Across 400 runs at ε 0.10 the mean is 83.2, 6.8 below the 90.0 that always pulling B earns. B ended with the larger share of pulls.
Whole run: pull 150 of 150. The run stops at pull 150: lever A was pulled 19 times for a running average of 0.211, lever B 131 times for 0.504, and the run paid 70. Across 400 runs at ε 0.10 the mean is 83.2, 6.8 below the 90.0 that always pulling B earns. B ended with the larger share of pulls.
Keyboard: Space plays or pauses, Left and Right step, Home goes to the first frame, End goes to the last frame.
Text description of this lab
A strip of 150 pulls: lever A's ticks sit above the axis, B's below; a filled tick marks a paid pull. Two step lines track the running averages; B climbs toward 0.6 when explored, A stays near 0.2, and at ε = 0.00 B is never pulled. Average reward peaks at 83.2 for ε = 0.10 and falls to 74.1 at 0.50: exploring costs reward but is the only way to learn B is better.
Return to the section that hosts this lab
Caption status: synthetic. Every lab declares one of published, re-simulated, schematic, synthetic or interpolated.