aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 4.3Reinforcement learning
Back to Computer Science HL Topics
4.3.64 min read

Reinforcement learning (Computer Science HL)

IB Computer Science • Unit 4

IB exam ready

Study like the top scorers do

Access a smart study planner, AI tutor, and exam vault — everything you need to hit your target grade.

Start Free

Contents

  • Learning from consequences
  • The vocabulary
  • The two hard problems
  • Exam-style question
The big idea: Reinforcement learning has no labelled examples and no correct answers. An agent acts in an environment, receives a reward or penalty, and adjusts.

Nobody ever tells it the right move — only how things turned out.
SupervisedUnsupervisedReinforcement
Learns fromLabelled answersStructure in the dataRewards
FeedbackThe right answer, every timeNoneA score, sometimes much later
DataFixed datasetFixed datasetGenerated by acting
ExampleSpam detectionCustomer segmentsGame playing, robot control

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Five terms, and they are all examinable

  • Agent — the thing learning and acting
  • Environment — everything it acts on and observes
  • State — the situation it is in right now
  • Action — what it may do from that state
  • Reward — the number telling it how that turned out, positive or negative
  • Policy — its current rule for choosing an action given a state
The loop: Observe the state → choose an action from the policy → the environment returns a reward and a new state → update the policy → repeat.

The policy is what is actually being learned.

Memorize terms 3x faster

Smart flashcards show you cards right before you forget them. Perfect for definitions and key concepts.

Try Flashcards FreeYour first topic is free to keep • No credit card required

Explore or exploit

  • Exploit — take the best action known so far
  • Explore — try something else, in case it is better
  • Exploit only and you never find the better move
  • Explore only and you never use what you learned

Credit assignment

  • A game is won after 200 moves — which ones caused it?
  • The reward arrives long after the decisions that earned it
  • Spreading credit backwards correctly is the hard part

Reward design

  • The agent optimises exactly what you measure
  • Reward "points scored" and it may loop a scoring glitch forever
  • It is not cheating — it is doing what it was told
Reward hacking is the ethical point: An agent rewarded for time spent on a platform learns to maximise time spent — which may mean recommending whatever is most outrageous.

The system is working perfectly. The objective was wrong, and the harm follows from that, not from a bug.

How this is tested — you must identify reinforcement learning from the absence of labels, and reason about the reward function. It comes up two ways:

Paper 1 Section A

  • Describe how an agent learns from its environment, 3-4 marks
  • Name the agent, state, action and reward in a scenario
  • Define the exploration-exploitation trade-off

Paper 1 Section B — case study

  • Judge whether a reward function is well designed
  • Explain a risk of the approach
The classic trap: Calling it supervised because there is feedback. Supervised learning is told the correct answer; reinforcement learning is told only how well things went — and often long afterwards.
IB-style questionDescribe[5 marks]

A company trains an agent to control heating in an office building to cut energy use. Describe how reinforcement learning applies here, naming its components, and identify one risk in the reward design.

Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic

IB Exam Questions on Reinforcement learning

Practice with IB-style questions filtered to Topic 4.3.6. Get instant AI feedback on every answer.

Practice Topic 4.3.6 QuestionsBrowse All Computer Science HL Topics

How Reinforcement learning Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Reinforcement learning.

AO1
Describe

Give a detailed account of processes or features in Reinforcement learning.

AO2
Explain

Give reasons WHY — cause and effect within Reinforcement learning.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Reinforcement learning.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

4.1.1Types of machine learning
4.1.2Hardware for machine learning
4.2.1Data cleaning
4.2.2Feature selection
View all Computer Science HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Computer Science HL

Previous
4.3.5Association rules
Next
Genetic algorithms4.3.7

1 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start FreeView All Computer Science HL Topics