
Compare Greedy and Exploratory Strategies in a Contextual Bandit With Python
A greedy agent looks brilliant for the first fifty rounds. Then it stops learning, because it stopped asking questions.
Read tutorialHow agents seek information or discover useful behavior, including exploration strategies, bonuses, uncertainty, and intrinsic motivation.
Tagged articles
16 articles in this tag.

A greedy agent looks brilliant for the first fifty rounds. Then it stops learning, because it stopped asking questions.
Read tutorial
Picture a system that picks which article to show a returning reader. It looks at what it knows about them—their reading history, the time of day, the…
Read tutorial
You move from discrete actions to continuous control, wire up a Gaussian policy head, and the agent either jitters uselessly around a target or slams…
Read tutorial
A stochastic policy averages over actions. A deterministic policy climbs the critic's slope at the single action it outputs. That swap—from averaging to…
Read tutorial
A novelty bonus can make your agent look busy without making it look smart. The intrinsic-reward curve climbs, the state-visitation heatmap fills in, and…
Read tutorial
You add a curiosity bonus. Coverage climbs. The return curve goes flat. That gap is the whole lesson: a bonus is a second reward channel, and the only…
Read tutorial
Epsilon-greedy exploration is randomness without a reason. An exploration bonus is randomness with a budget and a purpose: it changes the reward signal…
Read tutorial
Your agent is stuck in a loop. It found one action that earns a small reward, and now it repeats that action forever—never discovering that a much better…
Read tutorial
Watch the two curves long enough and you will see the moment curiosity stops working for the agent and starts working for itself. The intrinsic bonus keeps…
Read tutorial
Curiosity is a loan of learning signal. It accelerates exploration when the borrowed interest points toward the goal—and it becomes a debt when the agent…
Read tutorial
An agent that has seen an action once does not know its value. It knows one sample. Optimism is the discipline of treating thin evidence as a reason to…
Read tutorial
You can recite the Q-learning update. Maybe you've even coded it in a toy grid world and watched the agent stumble toward a goal. But if someone asked you…
Read tutorial
A reward is not a delayed label. That single confusion sits behind most of the trouble beginners have telling supervised learning and reinforcement…
Read tutorial
Your agent proposes an action that crosses a hard safety boundary. You can block it, replace it, or fall back to a known-safe controller. The naive…
Read tutorial
Most actor-critic methods force you to choose between sample efficiency and stable exploration. Soft Actor-Critic (SAC) refuses the trade—and that refusal…
Read tutorial
A Q-table makes the invisible visible. Before neural networks, before GPUs, before thousands of parameters, there is a simple grid, a handful of numbers,…
Read tutorial