Resources: Introduction to Machine Learning (23)
Machine learning has gone through a revolution over the last decade: almost all cutting-edge systems now make use of deep learning.
This week focuses on the foundational concepts in machine learning you'll need to know to understand the rest of the course. If you’d like to learn about machine learning (ML) in more depth, see our 'resources' on this site. Those already adept with machine learning may be able to skip this week entirely, or review some of the basics if there's an area you're less familiar with.
This week is designed to give you a high-level outline of the fields of artificial intelligence and machine learning, and the techniques used to train ML models. We'll examine the crucial techniques behind deep learning (the leading approach to machine learning): neural networks, gradient descent, and backpropagation. We'll also look at the types of tasks which machine learning is used for: supervised learning, self-supervised learning, and reinforcement learning.
For those with little background ML knowledge, this week’s core readings will take roughly 45 mins longer than in other weeks and more math-intensive than in other weeks. We recommend spending the time to work through them all, to provide a solid foundation for the rest of the course.
Optional additional exercises: here, answers here.
https://docs.google.com/document/d/1ChHiwLCDWpkwNDL77iRBc3D8tydXonJgaK2BvVYI3oE/edit?tab=t.0#heading=h.313oaiblxob8
https://docs.google.com/document/d/19AIWZKPqRoKYul2Pj_rF7wnT_3zLpBTebSiR-1ogtYE/edit?tab=t.0#heading=h.313oaiblxob8
We'll also go through the first part of the exercises in the synchronous sessions (below).
You can also find Richard's Intro to ML talk from a previous round of this course here.
https://www.youtube.com/watch?v=v5c2Ll9129k
By the end of the unit, you should be able to:
- Explain the taxonomy of Artificial intelligence, Machine learning and deep learning
- Be able to explain the following concepts to someone who's new to machine learning:
- Neural networks
- Gradient descent
- Backpropagation
- Be able to evaluate a model, and discuss whether it was trained via one or more of the following tasks:
- Supervised learning
- Unsupervised learning
- Reinforcement learning
- Understand broadly what transformers are, and how they're trained
Resources (45 mins)
- But what is a neural network?
This video seeds intuitions about neural networks and the optimization algorithms used to train them.
Use this video to understand the basic neural network architecture.Create a free account to track your progress and unlock access to the full course content.
- Gradient descent, how neural networks learn
Use this video to understand how gradient descent, the method by which neural networks are optimised, works.
Create a free account to track your progress and unlock access to the full course content.
- What is self-supervised learning?
This video covers supervised and semi-supervised learning.
These methods are relevant as they are used to train language models, which will feature heavily in the course as some of the most general models that we have today.Create a free account to track your progress and unlock access to the full course content.
Optional Resources
- A short introduction to Machine Learning
Ngo provides a high-level framework for understanding how different topics in AI connect to each other, and the history of various AI paradigms.
Create a free account to track your progress and unlock access to the full course content.
- Machine Learning Glossary
For future reference, see this glossary for explanations of unfamiliar terms.
Create a free account to track your progress and unlock access to the full course content.
- Spinning up deep RL: Part 1
This and the next (Part 2) reading provides a technical introduction to reinforcement learning.
Create a free account to track your progress and unlock access to the full course content.
- Spinning up deep RL: Part 2
This reading (combined with Part 1) provides a technical introduction to reinforcement learning.
Create a free account to track your progress and unlock access to the full course content.
- A (long) peek into reinforcement learning
Weng provides a concise yet detailed introduction to reinforcement learning.
Create a free account to track your progress and unlock access to the full course content.
- Machine Learning for Humans
Maini and Sabri provide a long but accessible introduction to a wider variety of machine learning approaches.
Create a free account to track your progress and unlock access to the full course content.