Information
| Unit | INSTITUTE OF NATURAL AND APPLIED SCIENCES |
| ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING (MASTER) (WITH THESIS) (ENGLISH) | |
| Code | AIE510 |
| Name | Applied Reinforcement Learning |
| Term | 2026-2027 Academic Year |
| Term | Fall and Spring |
| Duration (T+A) | 3-0 (T-A) (17 Week) |
| ECTS | 6 ECTS |
| National Credit | 3 National Credit |
| Teaching Language | İngilizce |
| Level | Lisansüstü Dersi |
| Type | Normal |
| Mode of study | Yüz Yüze Öğretim |
| Catalog Information Coordinator | Dr. Öğr. Üyesi EMRE KILINÇ |
| Course Instructor |
The current term course schedule has not been prepared yet.
|
Course Goal / Objective
The aim of this course is to provide students with the theoretical foundations of reinforcement learning and its current methods, ranging from tabular approaches to deep reinforcement learning algorithms. The course aims at modelling sequential decision-making problems as Markov decision processes, selecting suitable algorithms, implementing them with tools such as Gymnasium and Stable-Baselines3, and evaluating the results reliably. Students are expected to become able to develop reinforcement learning solutions for problems in areas such as robotics, energy, control and resource management.
Course Content
Sequential decision making and the reinforcement learning problem; multi-armed bandits and exploration; Markov decision processes, Bellman equations and dynamic programming (policy and value iteration); Monte Carlo methods; temporal-difference (TD) learning, SARSA, Q-learning and n-step methods; value function approximation; deep Q-networks and their variants (double, duelling, prioritised experience replay); policy gradient methods (REINFORCE, baselines); actor–critic methods (A2C, PPO, DDPG, TD3, SAC); model-based reinforcement learning and planning; exploration strategies; offline reinforcement learning; fundamentals of multi-agent reinforcement learning; reward design, evaluation and reproducibility; implementation with Gymnasium and Stable-Baselines3; applications in robotics, energy and operations research.
Course Precondition
None. Knowledge of Python programming, probability and statistics, and the fundamentals of machine learning and deep learning (at the level of AIE505) is recommended.
Resources
Practical work is carried out in Python with Gymnasium, Stable-Baselines3 and PyTorch, and with the MuJoCo and PettingZoo environments where needed. Supplementary materials: David Silver's UCL reinforcement learning lecture videos, the open course materials of UC Berkeley CS285 (Deep Reinforcement Learning) and the OpenAI Spinning Up online resource; key papers such as DQN (Mnih et al., 2015), PPO (Schulman et al., 2017), SAC (Haarnoja et al., 2018) and Stable-Baselines3 (Raffin et al., 2021). The online version of Sutton and Barto (2018) published by the authors is freely accessible. Students carry out a term project in an environment related to their own research area; experiments are expected to be repeated with multiple random seeds and the code to be shared in a reproducible form. Reinforcement learning from human feedback (RLHF) is covered in AIE513, learning-based control and robotic applications in AIE518 and AIE519, and optimisation algorithms in AIE522.
Notes
Course Learning Outcomes
| Order | Course Learning Outcomes |
|---|---|
| LO01 | Formulate sequential decision-making problems as Markov decision processes by defining states, actions, rewards and transition dynamics. |
| LO02 | Derive the Bellman equations and solve small-scale Markov decision processes with dynamic programming, Monte Carlo and temporal-difference methods. |
| LO03 | Explain the role of function approximation and the stability problems it introduces, and implement deep Q-network variants. |
| LO04 | Implement policy gradient and actor–critic algorithms (PPO, SAC) for discrete and continuous control tasks and tune their hyperparameters. |
| LO05 | Compare model-free, model-based, offline and multi-agent approaches, and select the approach appropriate to a given problem. |
| LO06 | Evaluate reinforcement learning agents reliably using multiple random seeds, learning curves and statistical comparisons, and interpret the results critically. |
| LO07 | Design and implement a reinforcement learning solution to an application problem using Gymnasium and Stable-Baselines3, and present it as a project. |
Relation with Program Learning Outcome
| Order | Type | Program Learning Outcomes | Level |
|---|---|---|---|
| PLO01 | Bilgi - Kuramsal, Olgusal | Building on undergraduate-level qualifications, has advanced theoretical knowledge of linear algebra, multivariable calculus, probability, statistics, optimisation and information theory required for original work in artificial intelligence and machine learning. | 3 |
| PLO02 | Bilgi - Kuramsal, Olgusal | Has an in-depth understanding of current methods in the main sub-fields of artificial intelligence, notably machine learning, deep learning, reinforcement learning, computer vision, natural language processing and generative models, together with their assumptions and limitations. | 5 |
| PLO03 | Beceriler - Bilişsel, Uygulamalı | Formulates real-world problems as appropriate artificial intelligence/machine learning problems, and designs and implements solutions covering data preparation, model selection, training and evaluation. | |
| PLO04 | Beceriler - Bilişsel, Uygulamalı | Develops efficient, scalable and reproducible software and models using Python and current libraries and frameworks, and makes effective use of big data and high-performance computing resources. | |
| PLO05 | Beceriler - Bilişsel, Uygulamalı | Evaluates methods with appropriate performance metrics, statistical tests and comparative experiments, interprets results critically and designs reproducible experimental protocols. | 4 |
| PLO06 | Yetkinlikler - Öğrenme Yetkinliği | Reviews the national and international literature of the field systematically and critically, independently learns new and emerging methods, and adapts them to their own research problem. | 3 |
| PLO07 | Yetkinlikler - Bağımsız Çalışabilme ve Sorumluluk Alabilme Yetkinliği | Defines a research problem in the field, solves it independently by developing an original method or model, and conducts a thesis study that contributes to scientific knowledge. | |
| PLO08 | Yetkinlikler - Bağımsız Çalışabilme ve Sorumluluk Alabilme Yetkinliği | Takes responsibility and leadership in interdisciplinary teams working on complex problems in application domains such as health, energy, agriculture, industry, finance and logistics, and develops solutions together with domain experts. | |
| PLO09 | Yetkinlikler - İletişim ve Sosyal Yetkinlik | Communicates the processes and results of their work clearly and systematically in English, in written (paper, thesis, report) and oral form, in national and international settings. | 2 |
| PLO10 | Yetkinlikler - Alana Özgü Yetkinlik | Observes scientific and professional ethics, data privacy, fairness, transparency and safety principles and the relevant legal regulations in developing and using AI systems, and assesses their societal impact | |
| PLO11 | Yetkinlikler - Alana Özgü Yetkinlik | Deploys trustworthy, explainable and sustainable AI solutions to real environments such as the cloud, edge devices and industrial systems, taking into account resource constraints such as energy, memory and latency. |
Week Plan
| Week | Topic | Preparation | Methods |
|---|---|---|---|
| 1 | Introduction to reinforcement learning: agent–environment interaction, rewards and returns, differences from supervised learning; multi-armed bandits, the exploration–exploitation dilemma, ε-greedy, UCB and Thompson sampling | Read Sutton and Barto (2018), Chapters 1 and 2 | Öğretim Yöntemleri: Anlatım, Gösteri, Soru-Cevap |
| 2 | Finite Markov decision processes: states, actions, transition dynamics, policies, value functions, Bellman expectation and optimality equations; the Gymnasium environment interface | Read Sutton and Barto (2018), Chapter 3; review the Gymnasium documentation | Öğretim Yöntemleri: Anlatım, Problem Çözme, Alıştırma ve Uygulama |
| 3 | Dynamic programming: policy evaluation, policy improvement, policy iteration, value iteration, generalised policy iteration and convergence properties | Read Sutton and Barto (2018), Chapter 4, and the relevant chapters of Bertsekas (2019) | Öğretim Yöntemleri: Anlatım, Problem Çözme, Alıştırma ve Uygulama |
| 4 | Monte Carlo methods: Monte Carlo prediction and control, exploring starts, on-policy and off-policy learning, importance sampling | Read Sutton and Barto (2018), Chapter 5; prepare assignment 1 | Öğretim Yöntemleri: Anlatım, Problem Çözme, Alıştırma ve Uygulama |
| 5 | Temporal-difference learning: TD(0), SARSA, Q-learning, expected SARSA, maximisation bias and double Q-learning, n-step bootstrapping, overview of eligibility traces | Read Sutton and Barto (2018), Chapters 6 and 7 | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 6 | Function approximation: linear function approximation and feature construction, semi-gradient methods, instability in off-policy learning and the deadly triad, neural-network-based value functions | Read Sutton and Barto (2018), Chapters 9–11, and the relevant chapters of Szepesvári (2010) | Öğretim Yöntemleri: Anlatım, Tartışma, Problem Çözme |
| 7 | Deep Q-networks (DQN): experience replay, target networks, double DQN, the duelling architecture, prioritised experience replay, Rainbow; an Atari example with Stable-Baselines3; consolidation before the mid-term exam | Read Mnih et al. (2015) and the DQN chapters of Lapan (2024); revise weeks 1–6 | Öğretim Yöntemleri: Anlatım, Gösteri |
| 8 | Mid-Term Exam | exam preparation | Ölçme Yöntemleri: Yazılı Sınav |
| 9 | Policy gradient methods: the policy gradient theorem, REINFORCE, variance reduction with baselines, Gaussian policies for continuous action spaces | Read Sutton and Barto (2018), Chapter 13 | Öğretim Yöntemleri: Anlatım, Problem Çözme |
| 10 | Actor–critic methods: advantage estimation (GAE), A2C/A3C, the trust-region approach (TRPO) and proximal policy optimisation (PPO); hyperparameter tuning with Stable-Baselines3 | Read the PPO paper by Schulman et al. (2017) and the actor–critic chapters of Lapan (2024); prepare assignment 2 | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Gösteri |
| 11 | Off-policy actor–critic methods for continuous control: DDPG, TD3, SAC and entropy regularisation; robot control benchmarks in MuJoCo environments | Read the TD3 paper by Fujimoto et al. (2018) and the SAC paper by Haarnoja et al. (2018) | Öğretim Yöntemleri: Anlatım, Gösteri |
| 12 | Model-based reinforcement learning and planning: the Dyna architecture, learned world models, Monte Carlo tree search, the principles of AlphaZero and MuZero; relation to model predictive control (AIE518) | Read Sutton and Barto (2018), Chapter 8; prepare the project proposal | Öğretim Yöntemleri: Anlatım, Tartışma |
| 13 | Exploration strategies and offline reinforcement learning: intrinsic motivation, count-based and curiosity-driven exploration; learning from fixed datasets, distribution shift, conservative methods (CQL) and the link to behavioural cloning | Read the offline reinforcement learning review by Levine et al. (2020) | Öğretim Yöntemleri: Anlatım, Tartışma |
| 14 | Fundamentals of multi-agent reinforcement learning: stochastic games, independent learners, centralised training with decentralised execution, cooperative and competitive settings; reward design and introduction to safe reinforcement learning | Read the relevant chapters of Albrecht et al. (2024); continue the term project | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Tartışma |
| 15 | Applications and project presentations: reinforcement learning in robotics, energy management and operations research problems; reliable evaluation with multiple seeds and confidence intervals; overall course review | Read Henderson et al. (2018); prepare the project report and presentation | Öğretim Yöntemleri: Proje Temelli Öğrenme , Tartışma |
| 16 | Term Exams | exam preparation | Ölçme Yöntemleri: Proje / Tasarım |
| 17 | Term Exams | exam preparation | Ölçme Yöntemleri: Proje / Tasarım |
Student Workload - ECTS
| Works | Number | Time (Hour) | Workload (Hour) |
|---|---|---|---|
| Course Related Works | |||
| Class Time (Exam weeks are excluded) | 14 | 3 | 42 |
| Out of Class Study (Preliminary Work, Practice) | 14 | 4 | 56 |
| Assesment Related Works | |||
| Homeworks, Projects, Others | 0 | 0 | 0 |
| Mid-term Exams (Written, Oral, etc.) | 1 | 18 | 18 |
| Final Exam | 1 | 24 | 24 |
| Total Workload (Hour) | 140 | ||
| Total Workload / 25 (h) | 5,60 | ||
| ECTS | 6 ECTS | ||