Information
| Unit | INSTITUTE OF NATURAL AND APPLIED SCIENCES |
| ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING (MASTER) (WITH THESIS) (ENGLISH) | |
| Code | AIE502 |
| Name | Advanced Mathematics II for Artificial Intelligence and Machine 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 | Prof. Dr. YUSUF ALPER KAPLAN |
| Course Instructor |
The current term course schedule has not been prepared yet.
|
Course Goal / Objective
This course aims to provide the probabilistic, statistical, information-theoretic and learning-theoretic foundations of modern machine learning. Students learn to build and analyse probabilistic models, perform maximum likelihood and Bayesian inference, quantify uncertainty and information, and reason formally about when and why learning algorithms generalise. The course also introduces sampling-based inference and the foundations of kernel methods, complementing the linear algebra and calculus of AIE501 and the optimisation methods of AIE522.
Course Content
Probability spaces, random variables and common discrete and continuous distributions; joint, marginal and conditional distributions, Bayes' theorem and independence; expectation, moments and transformations of random variables; modes of convergence, the law of large numbers and the central limit theorem; the exponential family and sufficient statistics; point estimation, maximum likelihood estimation (MLE) and maximum a posteriori (MAP) estimation; Bayesian inference, conjugate priors and the posterior predictive distribution; confidence and credible intervals and the bootstrap; information theory: entropy, cross-entropy, Kullback–Leibler divergence and mutual information; concentration inequalities (Markov, Chebyshev, Hoeffding, Bernstein); statistical learning theory: empirical risk minimisation, PAC learning, VC dimension, Rademacher complexity, the bias–variance trade-off, generalisation bounds and regularisation; Markov chains and Markov chain Monte Carlo (Metropolis–Hastings, Gibbs sampling); positive-definite kernels, the kernel trick and reproducing kernel Hilbert spaces (RKHS).
Course Precondition
None. Undergraduate-level probability and statistics, linear algebra and multivariable calculus at the level of AIE501, and basic Python programming skills are recommended.
Resources
Supplementary materials: MacKay, D. J. C. (2003), Information Theory, Inference, and Learning Algorithms (Cambridge University Press; freely available online); Murphy, K. P. (2023), Probabilistic Machine Learning: Advanced Topics (MIT Press) for MCMC and approximate inference; Vershynin, R. (2018), High-Dimensional Probability (Cambridge University Press) for concentration of measure; the MIT OpenCourseWare course 18.650 Statistics for Applications. Simulations and computational exercises use Python with NumPy, SciPy and Matplotlib; Bayesian inference and MCMC diagnostics use PyMC and ArviZ. Weekly problem sets combine theoretical derivations with simulation studies, and students complete a short computational project (e.g. Bayesian inference with MCMC or an empirical study of generalisation behaviour) submitted as a written report at the end of the semester. Optimisation algorithms are covered in AIE522, Bayesian decision theory, Gaussian mixture models and the EM algorithm in AIE509, and variational autoencoders in AIE513.
Notes
1. Murphy, K. P. (2022). Probabilistic Machine Learning: An Introduction. MIT Press. 2. Bishop, C. M. (2006). Pattern Recognition and Machine Learning. Springer. 3. Wasserman, L. (2004). All of Statistics: A Concise Course in Statistical Inference. Springer. 4. Cover, T. M., Thomas, J. A. (2006). Elements of Information Theory (2nd ed.). Wiley. 5. Shalev-Shwartz, S., Ben-David, S. (2014). Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press. 6. Mohri, M., Rostamizadeh, A., Talwalkar, A. (2018). Foundations of Machine Learning (2nd ed.). MIT Press.
Course Learning Outcomes
| Order | Course Learning Outcomes |
|---|---|
| LO01 | Model uncertainty using univariate and multivariate probability distributions, including the exponential family, and manipulate joint, marginal and conditional distributions. |
| LO02 | Derive maximum likelihood, maximum a posteriori and Bayesian posterior estimates for standard models and interpret their statistical properties. |
| LO03 | Compute and interpret entropy, cross-entropy, Kullback–Leibler divergence and mutual information, and relate them to loss functions and learning objectives. |
| LO04 | Apply concentration inequalities to bound the deviation of empirical averages and empirical risk from their expected values. |
| LO05 | Analyse the generalisation of learning algorithms using PAC learning, VC dimension, Rademacher complexity and the bias–variance trade-off, and justify the role of regularisation. |
| LO06 | Implement Monte Carlo and Markov chain Monte Carlo methods (Metropolis–Hastings, Gibbs sampling) for Bayesian inference and assess their convergence. |
| LO07 | Explain positive-definite kernels and reproducing kernel Hilbert spaces, and apply the representer theorem to kernel-based learning. |
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. | 5 |
| 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. | 4 |
| 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. | 2 |
| 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. | 2 |
| PLO05 | Beceriler - Bilişsel, Uygulamalı | Evaluates methods with appropriate performance metrics, statistical tests and comparative experiments, interprets results critically and designs reproducible experimental protocols. | 3 |
| 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 | Foundations of probability: probability spaces, random variables, probability mass and density functions, cumulative distribution functions; common discrete and continuous distributions (Bernoulli, binomial, categorical, Poisson, Gaussian, exponential, Beta, Gamma) | Read Murphy (2022), Chapter 2; Wasserman (2004), Chapters 1–2 | Öğretim Yöntemleri: Anlatım, Soru-Cevap, Problem Çözme |
| 2 | Multivariate distributions: joint, marginal and conditional distributions, Bayes' theorem, independence and conditional independence; expectation, variance, covariance and moments; transformations of random variables and the change-of-variables formula | Read Murphy (2022), Chapter 3; Wasserman (2004), Chapter 3 | Öğretim Yöntemleri: Anlatım, Problem Çözme, Alıştırma ve Uygulama |
| 3 | Convergence of random variables: convergence in probability and in distribution, the law of large numbers, the central limit theorem and the delta method; sampling distributions and Monte Carlo estimation | Read Wasserman (2004), Chapter 5 | Öğretim Yöntemleri: Anlatım, Gösteri, Problem Çözme |
| 4 | The exponential family: canonical form, sufficient statistics, the log-partition function and its relation to moments, connection to generalised linear models; point estimation: bias, variance, mean squared error and consistency | Read Bishop (2006), Chapter 2; lecture notes | Öğretim Yöntemleri: Anlatım, Problem Çözme, Soru-Cevap |
| 5 | Maximum likelihood estimation (MLE): likelihood and log-likelihood, MLE for Gaussian, Bernoulli and categorical models, Fisher information, consistency and asymptotic normality; MLE as cross-entropy minimisation; probabilistic interpretation of linear and logistic regression | Read Wasserman (2004), Chapter 9; Murphy (2022), Chapter 4 | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Problem Çözme |
| 6 | Bayesian inference: prior, likelihood and posterior distributions; conjugate priors (Beta–Bernoulli, Dirichlet–categorical, Gaussian–Gaussian); MAP estimation and its relation to regularisation; the posterior predictive distribution, Bayesian linear regression and model evidence | Read Bishop (2006), Chapters 2–3; Wasserman (2004), Chapter 11 | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Problem Çözme |
| 7 | Quantifying uncertainty: confidence intervals and credible intervals, the bootstrap, comparison of frequentist and Bayesian approaches; review before the mid-term | Read Wasserman (2004), Chapter 8; revise the problem sets of weeks 1–6 | Öğretim Yöntemleri: Anlatım, Tartışma, Problem Çözme, Soru-Cevap |
| 8 | Mid-Term Exam | exam preparation | Ölçme Yöntemleri: Yazılı Sınav |
| 9 | Information theory I: entropy, joint and conditional entropy, cross-entropy, Kullback–Leibler divergence, mutual information, chain rules and the data-processing inequality; differential entropy and the entropy of the Gaussian distribution | Read Cover and Thomas (2006), Chapters 2 and 8 | Öğretim Yöntemleri: Anlatım, Problem Çözme, Soru-Cevap |
| 10 | Information theory in machine learning: log-loss and cross-entropy loss, the maximum-entropy principle, information gain in decision trees, f-divergences, variational inference and the evidence lower bound (ELBO), the information bottleneck | Read Murphy (2022), Chapter 6; lecture notes | Öğretim Yöntemleri: Anlatım, Tartışma, Alıştırma ve Uygulama |
| 11 | Concentration inequalities: Markov, Chebyshev and Chernoff bounds, Hoeffding, Bernstein and McDiarmid inequalities, the union bound and sub-Gaussian random variables; bounding the deviation of empirical averages | Read Wasserman (2004), Chapter 4; Shalev-Shwartz and Ben-David (2014), Appendix B | Öğretim Yöntemleri: Anlatım, Problem Çözme, Gösteri |
| 12 | Statistical learning theory I: empirical risk minimisation, PAC learning, finite hypothesis classes, agnostic PAC learning, uniform convergence, the No-Free-Lunch theorem and the bias–complexity trade-off | Read Shalev-Shwartz and Ben-David (2014), Chapters 2–5; Mohri et al. (2018), Chapter 2 | Öğretim Yöntemleri: Anlatım, Problem Çözme, Tartışma |
| 13 | Statistical learning theory II: VC dimension, the growth function and the Sauer–Shelah lemma, Rademacher complexity and generalisation bounds; structural risk minimisation, regularisation and stability; overparameterised models and the double-descent phenomenon | Read Shalev-Shwartz and Ben-David (2014), Chapters 6, 7, 13 and 26; Mohri et al. (2018), Chapter 3 | Öğretim Yöntemleri: Anlatım, Problem Çözme |
| 14 | Sampling-based inference: Monte Carlo integration, rejection and importance sampling; Markov chains, stationary distributions, detailed balance and ergodicity; Metropolis–Hastings, Gibbs sampling, convergence diagnostics and an introduction to Hamiltonian Monte Carlo | Read Bishop (2006), Chapter 11; study the PyMC lab notebook | Öğretim Yöntemleri: Anlatım, Gösterip Yaptırma |
| 15 | Foundations of kernel methods: positive-definite kernels, the kernel trick, Mercer's theorem, RKHS, the representer theorem, kernel ridge regression and the link to Gaussian processes; overall course review | Read Bishop (2006), Chapter 6; Shalev-Shwartz and Ben-David (2014), Chapter 16 | Öğretim Yöntemleri: Anlatım, Soru-Cevap, Problem Çözme |
| 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 | ||