A warehouse robot improves its picking route over thousands of attempts. Each faster pick earns a higher score and each collision earns a negative score, and nobody supplies example routes. Which machine learning approach is the robot using?
Choose one.
Reinforcement learning trains an agent by trial and error: it takes actions in an environment, receives rewards or penalties, and learns a policy that maximises total reward. Reinforcement learning from human feedback (RLHF) applies the same idea to refine LLM answers.
The scores for each attempt are rewards and penalties for actions, the signature of reinforcement learning. Supervised learning needs labeled examples, which the stem rules out. Unsupervised learning has no reward signal. Transfer learning is reuse of an existing model, not learning from feedback on one's own actions.
- Identify the feedback: a score after each action.
- Positive and negative scores for actions are rewards and penalties.
- Learning a strategy from rewards = reinforcement learning.
Exam tip: Actions plus rewards and penalties = reinforcement learning.
Generative AI Concepts: Foundation Models, LLMs, and Business Use Cases — the lesson that teaches this.