Learning how to act
How an agent improves its policy through actions and reward feedback to pursue long-term outcomes while balancing exploration and exploitation. · foundational
Reinforcement learning trains a decision-maker through the consequences of its actions. The agent is the decision-maker, and the environment is the world it interacts with. For a delivery robot, the agent controls the robot and the environment includes the warehouse, obstacles, and delivery locations.
An observation gives the agent information about its current situation, such as its location and nearby obstacles. Its policy is its strategy for choosing an action from that information, such as moving forward or turning.
After an action, the environment changes and returns a new observation and a numerical reward. The reward scores the outcome; it does not tell the agent exactly which action to take next. During training, a learning algorithm uses these experiences to improve the policy over repeated interactions.