Labs · 9618 18.1 · reinforcement learning (explore and exploit)
Explore or Exploit? Learning by Trying
Prize machines, and nobody tells you which one is best. Try them, keep a score for each, and find out why a learner that never tries anything new gets stuck. This is the heart of reinforcement learning.
Explain what is meant by Reinforcement Learning in relation to Artificial Intelligence.
Points that gain marks
A machine learning method that learns from feedback: rewards and punishments.
An agent learns how to behave in an environment by doing actions and seeing their results.
A good action gets positive feedback (a reward); a bad action gets negative feedback (a punishment).
It learns by itself from the feedback, without labelled data or exact instructions.
In this lab: The learner is the agent, the machines are its environment, a pull is an action and a prize is the reward. Nobody tells it which machine is best: it learns from the prizes. Level 2 adds the part examiners like to hear about trial and error: it must sometimes try a new action to learn.
9618/31 May/June 2023 · Question 2(a) · 4 marks
Draw one line from each machine learning category to its most appropriate description.
Points that gain marks
Reinforcement learning → learns in an interactive environment by trial and error, from its own experiences.
Supervised learning → learns from example input–output pairs.
Unsupervised learning → finds patterns by itself that were not known before.
Deep learning → copies the way the human brain processes data to make decisions.
In this lab: Trial and error from its own experiences is exactly what the learner does here: it pulls, sees the prize, and updates its scores.