The agent-environment loop
Reinforcement learning frames decision-making as a loop: at every discrete timestep , the agent observes a state , picks an action , and the environment replies with a reward and a new state . Repeat.
No supervised labels. No explicit model to invert. The only training signal is the scalar reward stream. This stripped-down interface is surprisingly expressive: it subsumes chess, robot locomotion, protein-folding search, and ad-auction bidding under one formalism.
The key design choice is the reward function . Get it wrong and your agent will find loopholes you didn't anticipate โ an insight sometimes called the specification problem.
