Master advanced ML algorithms — HL exclusive
Machine Learning Approaches (HL Only)
Go beyond black-box libraries. This topic equips you with the mathematical intuition and algorithmic fluency to design, optimise, and critically evaluate machine learning systems — the differentiator for top HL scores and competitive university applications.
- IBDP COMPUTER SCIENCE HL
This topic
- Notes
- 10
Overview
A4.3 Machine learning approaches (HL only)
This HL-only topic extends the machine learning unit with rigorous algorithmic depth. Students examine the mathematical underpinnings of major learning paradigms: supervised learning (regression, classification, support vector machines, decision trees, ensemble methods), unsupervised learning (k-means, hierarchical clustering, dimensionality reduction), and reinforcement learning (Markov decision processes, Q-learning, policy gradients). Neural network architectures — including feedforward, convolutional, and recurrent networks — are analysed alongside backpropagation, regularisation, and hyperparameter optimisation.
Assessment focuses on Paper 1 extended-response questions requiring algorithm trace-throughs, mathematical derivations (e.g., gradient descent updates, information gain calculations), and critical evaluation of model suitability for given scenarios. The Internal Assessment may incorporate ML components where students must justify algorithm selection, preprocessing choices, and evaluation metrics (precision, recall, F1, ROC-AUC). Ethical considerations — bias in training data, transparency, privacy — are examinable across both components.
Key ideas
What A4.3 Machine learning approaches (HL only) covers
- 01
Supervised Learning Algorithms
Linear/logistic regression, SVMs with kernel tricks, decision trees (ID3, C4.5, CART), ensemble methods (random forests, gradient boosting), and neural network classifiers — with mathematical derivations for loss functions and gradient updates.
- 02
Unsupervised Learning Techniques
K-means and hierarchical clustering, expectation-maximisation for Gaussian mixtures, principal component analysis (eigenvalue decomposition), t-SNE, and autoencoders for dimensionality reduction and feature learning.
- 03
Reinforcement Learning Foundations
Markov decision processes, Bellman equations, value iteration, policy iteration, Q-learning, SARSA, and policy gradient methods — connecting theory to applications in robotics and game playing.
- 04
Model Evaluation & Optimisation
Cross-validation strategies, bias-variance decomposition, regularisation (L1/L2, dropout, early stopping), hyperparameter search (grid, random, Bayesian), and metrics for imbalanced data (precision-recall curves, F1, AUC-ROC).
- 05
Ethics, Bias & Responsible AI
Algorithmic fairness definitions (demographic parity, equalised odds), dataset bias detection, model interpretability (SHAP, LIME), privacy-preserving ML (federated learning, differential privacy), and regulatory frameworks (EU AI Act).
Outcomes
Learning outcomes
- Derive and implement gradient-based optimisationCompute analytical gradients for linear models and neural networks; implement backpropagation from scratch; diagnose vanishing/exploding gradient problems.
- Select and justify algorithms for real-world problemsMatch problem characteristics (data size, label availability, interpretability needs, latency constraints) to appropriate learning paradigms and defend choices with computational complexity analysis.
- Evaluate models rigorously beyond accuracyDesign statistically sound evaluation protocols; compute confidence intervals for metrics; detect data leakage; apply domain-appropriate metrics for imbalanced or cost-sensitive scenarios.
- Audit models for bias and fairness violationsQuantify disparate impact across protected attributes; apply post-processing fairness corrections; document model cards with limitation disclosures.
- Communicate ML solutions to technical and non-technical audiencesProduce reproducible experiment logs; visualise high-dimensional decision boundaries; write IA reports meeting IB criteria for analysis, evaluation, and conclusion strands.
Exam tips
How this is examined
Examiner's view
- Show mathematical working for gradient descentPaper 1 often asks for weight update derivations. Write the loss function, compute partial derivatives step-by-step, and state the final update rule — marks are awarded for process, not just the answer.
- Compare algorithms using Big-O notationWhen asked to 'evaluate suitability', contrast training/inference complexity (e.g., SVM O(n³) vs. decision tree O(n log n)) and memory footprint. Explicitly link to scenario constraints (embedded device, real-time, large dataset).
- Distinguish validation from test sets in IAYour IA must show nested cross-validation or a held-out test set untouched during hyperparameter tuning. Examiners penalise reporting validation scores as final performance — label curves clearly.
- Quote specific fairness metrics, not vague claimsInstead of 'the model is fair', state: 'Demographic parity difference = 0.03 (< 0.1 threshold) but equalised odds difference = 0.18, indicating disparate false positive rates across groups.'
Notes
Study notes
Read a preview of each note, then unlock the full version with TYCHR.
- 01A4.3.2 — Classification: K-Nearest Neighbours and Decision Trees
- 02A4.3.3 — Hyperparameter Tuning and Evaluating Supervised Models
- 03A4.3.8 — Artificial Neural Networks: Perceptrons to Multi-Layer Networks
- 04A4.3.10 — Model Selection and Comparison in Machine Learning
- 05A4.3.7 — Genetic Algorithms: Evolution as an Optimiser
- 06A4.3.5 — Association Rule Learning: Uncovering Relationships in Data
- 07A4.3.9 — Convolutional Neural Networks: Learning Spatial Hierarchies
- 08A4.3.6 — Reinforcement Learning: Agents, Rewards and Policies
- 09A4.3.1 — Linear Regression: Predicting Continuous Outcomes
- 10A4.3.4 — Clustering: Grouping Data by Similarity
FAQs
Common questions
Is this topic assessed in SL?
No. A4.3 is explicitly HL-only. SL students cover A4.1 and A4.2 (introductory ML concepts and neural network basics) but not the algorithmic depth, mathematical derivations, or reinforcement learning content in A4.3.
How much programming is required for the exam?
Paper 1 is written — you trace pseudocode, derive equations, and analyse complexity. No code execution is required. However, the IA may involve implementing ML pipelines; Python with scikit-learn/TensorFlow/PyTorch is standard. TYCHR tutors provide scaffolded notebooks for IA development.
Which mathematical prerequisites are essential?
Matrix algebra (eigendecomposition, SVD), multivariate calculus (partial derivatives, chain rule, gradient vectors), probability (Bayes rule, expectation, variance), and optimisation (convexity, Lagrange multipliers). TYCHR offers targeted maths refresher sessions aligned to this topic.
Can this topic appear in the Internal Assessment?
Yes. Many high-scoring IAs implement an ML solution (e.g., medical diagnosis, game agent, recommendation system). The topic provides the theoretical toolkit; your tutor helps scope a feasible project, design rigorous evaluation, and structure the 2,000-word report for maximum criterion marks.
Ready to master A4.3 Machine learning approaches (HL only)?
Go beyond black-box libraries. This topic equips you with the mathematical intuition and algorithmic fluency to design, optimise, and critically evaluate machine learning systems — the differentiator for top HL scores and competitive university applications.