Explainer · Crash course, step 16 of 34
Machine learning foundations: a crash course
Machine learning trains software, called a model, to make predictions or generate content from data instead of following hand-written rules.[1] Training compares the model's outputs with known answers, measures the error with a loss function and nudges the model's numbers to shrink it by gradient descent.[2][3][4] Deep learning does this with neural networks of many layers, the approach behind today's transformers and large language models.[5][6]
This crash course builds up the ideas behind modern AI one at a time, from the maths of lists of numbers to the transformer architecture and the papers where new results first appear. Read the pages in the order shown in the course panel: two maths primers, then how training works, then the main model families and ways of learning, then the tools and the research literature. When you finish, the frontier AI crash course picks up with large language models, reasoning models and agents.
Key facts
- Machine learning trains a model from data rather than programming it step by step.[1][7]
- Models store their inputs and what they have learned as vectors, matrices and tensors, and most of their computation is matrix multiplication.[8][9]
- Training minimises a loss, a number that measures how wrong the model’s predictions are, usually by gradient descent.[3][4]
- Neural networks are trained with backpropagation; very large, many-layered networks are called deep neural networks.[10][5]
- The 2017 Transformer architecture relies on attention, and Google’s machine learning course calls it the most widely used design for large language models.[11][6]
- The 2024 Nobel Prize in Physics went to John Hopfield and Geoffrey Hinton for foundational work enabling machine learning with artificial neural networks.[12]
The maths you need
Start with two primers. Linear algebra is the maths of lists and grids of numbers: a vector is an ordered list of numbers, a matrix is a grid, and a tensor is a grid with any number of axes.[13][8] Probability is the maths of uncertainty, which machine learning always has to deal with.[14][15] Classification models, for example, turn their raw scores into a probability for each possible answer.[16]
The key operations are the dot product, the matrix product built from it, norms for measuring vector size, and the gradient, the vector of partial derivatives that points uphill.[17][9][18][19] On the probability side, maximum-likelihood training amounts to minimising the negative log-likelihood, or equivalently the cross-entropy, which ties the probability primer to the loss functions used in practice.[20]
How a model learns
How machine learning works gives the big picture: a model compares its predictions with the right answers, and the difference is the loss.[2] Loss functions define that number,[3] and gradient descent lowers it: start from random weights, find which way to move them to reduce the loss, take a small step and repeat.[21] The size of each step is the learning rate; too small and training is slow, too large and it can fail to settle.[22]
Mini-batch stochastic gradient descent estimates the gradient from a batch of examples per step, and the Adam optimiser, published in 2015, adapts its updates using running estimates of the gradient’s moments.[23][24] Linear models have convex, bowl-shaped loss surfaces, but neural networks do not: Stanford’s CS231n notes describe their loss as a bumpy terrain rather than a bowl.[25] Classifiers are usually trained with cross-entropy, which compares two probability distributions.[26]
Neural networks and deep learning
A neural network is made of layers of simple units. Each one adds up weighted inputs and passes the result through a nonlinear function, and stacking many layers lets the network model very complicated relationships.[27][28] The deep learning textbook describes this as learning a hierarchy of concepts, each built from simpler ones.[29] The idea is old: the textbook traces three waves of research, starting in the 1940s, with the current wave under the name deep learning beginning in 2006.[30]
Backpropagation, used to train networks with one or two hidden layers in the 1980s connectionist wave, is still the standard way to compute gradients.[31][10] The Nobel Committee credits the machine learning revolution that began around 2010 to vast amounts of training data and an enormous increase in computing power.[32]
Why models fail on new data
The goal is not to fit the training data but to generalise: to make good predictions on examples the model has never seen.[33] Overfitting shows up when the loss curves for the training set and a held-out validation set start out similar and then diverge.[34] Regularisation methods such as L2 penalties, early stopping and dropout push back against it.[35][36] Research has complicated the classical picture. A 2016 study found that large image classifiers can memorise randomly labelled data, and its authors wrote that traditional explanations fail to account for why such networks generalise well in practice. A 2019 paper proposed a “double descent” curve, in which test error falls again as models grow past the point where they fit their training data exactly, extending the classical U-shaped bias-variance curve.[37][38][39]
Representations, transformers and generative models
Models turn words, images and other data into embeddings, vectors that represent them in a lower-dimensional space.[40] Self-supervised learning lets a model learn such representations from unlabelled data by making its own labels, for example by hiding a word and predicting it.[41][42] The transformer, introduced in 2017, is built around attention and powers today’s large language models.[11][6]
Computer vision has long relied on convolutional networks, whose small learned filters slide across an image; since 2020, vision transformers that treat an image as a sequence of patches have matched them on image classification when pre-trained on large datasets.[43][44] In 2012 AlexNet, a deep convolutional network trained on 1.3 million ImageNet images, reported error rates considerably better than the previous state of the art.[45] Diffusion models learn to reverse a gradual noising process and have significantly advanced image, audio and video generation.[46][47] Language models such as BERT are pre-trained on large amounts of unlabelled text, a self-supervised approach, and the GPT-3 paper noted substantial gains from pre-training on a large text corpus.[48][49][41][50]
Learning from rewards
Reinforcement learning is the third main way of learning, alongside supervised and unsupervised learning: an agent tries actions and learns which ones bring the most reward over time.[51][52] Its main parts are a policy, a reward signal, a value function and, optionally, a model of the environment.[53] DeepMind reported that AlphaGo Zero learned Go only by playing against itself in this way.[54] Reinforcement learning is also used to fine-tune language models: InstructGPT, for example, was trained with reinforcement learning from human feedback, a step the frontier AI course covers in more depth.[55]
Tools and the research literature
Research code is often written in frameworks such as PyTorch, a Python package for tensor computation with GPU acceleration and automatic differentiation.[56] New results usually appear first on arXiv, which moderates submissions but says that is not peer review.[57] How to read an AI research paper explains how to judge them: check the baselines a model is compared with, the ablations that remove one part at a time, and whether results come with error bars, which the NeurIPS conference asks authors to report.[58][59][60]
What is settled and what is open
Parts of the core toolkit are decades old: backpropagation was already training neural networks in the 1980s, and it still implements gradient descent in today’s networks.[31][61] The theory is less settled: the authors of a 2019 PNAS paper wrote that fundamental understanding of machine learning has lagged far behind its practical breakthroughs.[62] New milestones in large models are logged in the frontier AI tracker.
Read next
Next in the crash course
Graph neural networks: AI for molecules, materials and weather
Graph neural networks learn from data shaped as nodes and links, such as atoms and bonds. How message passing works and where GNoME and GraphCast use it.
Questions readers ask
What maths do I need to learn machine learning?
Mainly linear algebra and probability, plus the idea of a gradient from calculus. The deep learning textbook by Goodfellow, Bengio and Courville calls a good grasp of linear algebra essential, and machine learning always has to deal with uncertain quantities, which is what probability describes.[63][15][19]
How does a machine learning model actually learn?
It starts with random numbers, makes predictions, measures how wrong they are with a loss function, and moves its weights a small step in the direction that lowers the loss. Repeating this many times is gradient descent; in neural networks, backpropagation works out the direction.[21][3][61]
What is the difference between machine learning and deep learning?
Deep learning is a kind of machine learning that uses neural networks with many layers, building up abstract concepts from simpler ones.[29][5]
What are supervised, unsupervised and reinforcement learning?
Supervised learning learns from labelled examples, unsupervised learning finds structure in unlabelled data, and reinforcement learning learns by trial and error to maximise a reward. Self-supervised learning makes its own labels from unlabelled data; Transformer models such as BERT use it.[52][51][41]
Sources
· 66 claims from 22 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
Google's machine learning course defines machine learning as the process of training a piece of software, called a model, to make useful predictions or generate content from data. reportedas of 2026-11-07
- What is machine learning? (Intro to Machine Learning) · Google for Developers · Secondary source · What is Machine Learning?, introduction (retrieved 2026-11-07)
- [2]
During training, a model compares its prediction with the actual label; the difference is called the loss, and the model gradually updates itself to reduce it. reportedas of 2026-11-07
- Supervised learning (Intro to Machine Learning) · Google for Developers · Secondary source · Supervised Learning, Training (retrieved 2026-11-07)
- Supervised learning (Intro to Machine Learning) · Google for Developers · Secondary source · Supervised Learning, Training (retrieved 2026-11-07)
- [3]
Loss is a number that describes how wrong a model's predictions are, a measure of how far a prediction is from its label, and a loss function calculates it. reportedas of 2026-11-22
- Linear regression: Loss (Machine Learning Crash Course) · Google for Developers · Secondary source · Linear regression: Loss (retrieved 2026-11-22)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, loss (retrieved 2026-11-07)
- [4]
Google's course describes gradient descent as a mathematical technique that iteratively finds the weights and bias producing the lowest loss, repeating a fixed cycle for a number of user-defined iterations. reportedas of 2026-11-22
- Linear regression: Gradient descent (Machine Learning Crash Course) · Google for Developers · Secondary source · Linear regression: Gradient descent (retrieved 2026-11-07)
- [5]
Today's artificial neural networks are often enormous and built from many layers; these are called deep neural networks, and training them is called deep learning. Large language models can contain more than one trillion parameters. confirmedas of 2024-10-08
- Popular information: The Nobel Prize in Physics 2024 · The Royal Swedish Academy of Sciences (NobelPrize.org) · Primary source · 2024-10-08 · Popular science background, Machine learning – today and tomorrow (retrieved 2026-11-07)
- Popular information: The Nobel Prize in Physics 2024 · The Royal Swedish Academy of Sciences (NobelPrize.org) · Primary source · 2024-10-08 · Popular science background, Machine learning – today and tomorrow (retrieved 2026-11-07)
- [6]
Google's machine learning course calls the Transformer the most successful and widely used architecture for building large language models. reportedas of 2026-11-07
- LLMs: What's a large language model? (Machine Learning Crash Course) · Google for Developers · Secondary source · LLMs: What's a large language model?, What's a Transformer? (retrieved 2026-11-07)
- [7]
The Nobel Committee for Physics contrasts machine learning with traditional software, which follows a clear step-by-step recipe; in machine learning the computer learns by example, which lets it handle problems too vague or complicated for step-by-step instructions. confirmedas of 2024-10-08
- Popular information: The Nobel Prize in Physics 2024 · The Royal Swedish Academy of Sciences (NobelPrize.org) · Primary source · 2024-10-08 · Popular science background, opening section (retrieved 2026-11-07)
- Popular information: The Nobel Prize in Physics 2024 · The Royal Swedish Academy of Sciences (NobelPrize.org) · Primary source · 2024-10-08 · Popular science background, opening section (retrieved 2026-11-07)
- [8]
A matrix is a two-dimensional array of numbers whose elements are identified by two indices, and an array of numbers on a regular grid with a variable number of axes is called a tensor; Google's machine learning glossary, describing TensorFlow, calls tensors N-dimensional data structures, most commonly scalars, vectors or matrices. confirmedas of 2026-11-22
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.1 (retrieved 2026-11-22)
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.1 (retrieved 2026-11-22)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, Tensor (retrieved 2026-11-07)
- [9]
Two matrices can be multiplied only when the first has as many columns as the second has rows; an m by n matrix times an n by p matrix gives an m by p matrix, each entry of which is the dot product of a row of the first matrix and a column of the second, and the result is not simply the products of the individual elements. confirmedas of 2026-11-22
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.2 (retrieved 2026-11-22)
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.2 (retrieved 2026-11-22)
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.2 (retrieved 2026-11-22)
- Linear Algebra Review and Reference (Stanford CS229 section notes) · Stanford University · Secondary source · Section 2.3, Matrix-Matrix Products (p. 5) (retrieved 2026-11-22)
- [10]
Backpropagation is the most common training algorithm for neural networks; it makes gradient descent feasible for networks with many layers, and machine learning libraries usually handle it automatically. reportedas of 2026-11-07
- Neural networks: Training using backpropagation (Machine Learning Crash Course) · Google for Developers · Secondary source · Neural networks: Training using backpropagation (retrieved 2026-11-07)
- Neural networks: Training using backpropagation (Machine Learning Crash Course) · Google for Developers · Secondary source · Neural networks: Training using backpropagation (retrieved 2026-11-07)
- [11]
The 2017 paper "Attention Is All You Need" proposed the Transformer, an architecture based solely on attention mechanisms that dispenses with recurrence and convolutions. confirmedas of 2017-06-12
- Attention Is All You Need (Advances in Neural Information Processing Systems 30, NIPS 2017, proceedings PDF) · NeurIPS Proceedings · Primary source · 2017-12-04 · Abstract (proceedings PDF; check by hand) (retrieved 2026-11-22)
- Attention Is All You Need (arXiv 1706.03762v7, full text) · arXiv · Secondary source · 2017-06-12 · Abstract (retrieved 2026-11-07)
- [12]
The 2024 Nobel Prize in Physics was awarded to John Hopfield and Geoffrey Hinton for foundational discoveries and inventions that enable machine learning with artificial neural networks. confirmedas of 2024-10-08
- Press release: The Nobel Prize in Physics 2024 · The Royal Swedish Academy of Sciences (NobelPrize.org) · Primary source · 2024-10-08 · Press release, prize citation (retrieved 2026-11-07)
- [13]
A vector is an ordered array of numbers; in machine learning, vectors usually hold floating-point numbers, the number of elements is the vector's length or dimension, and machine learning vectors often have a huge number of dimensions. confirmedas of 2026-11-22
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.1 (retrieved 2026-11-22)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, vector (retrieved 2026-11-07)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, vector (retrieved 2026-11-07)
- [14]
Probability theory is the mathematical study of uncertainty, a framework for representing uncertain statements. confirmedas of 2026-11-22
- Review of Probability Theory (Stanford CS229 section notes) · Stanford University · Secondary source · Introduction (p. 1) (retrieved 2026-11-22)
- Deep Learning, Chapter 3: Probability and Information Theory (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 3, introduction (retrieved 2026-11-22)
- [15]
The deep learning textbook says machine learning must always deal with uncertain and sometimes stochastic (nondeterministic) quantities, and that information theory lets us quantify the amount of uncertainty in a probability distribution. confirmedas of 2026-11-22
- Deep Learning, Chapter 3: Probability and Information Theory (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 3.1 (retrieved 2026-11-22)
- Deep Learning, Chapter 3: Probability and Information Theory (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 3, introduction (retrieved 2026-11-22)
- [16]
Softmax is a function that turns a classification model's raw scores into a probability for each possible class, and the probabilities add up to exactly 1.0; the raw, unnormalized scores are called logits. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, softmax (retrieved 2026-11-07)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, logits (retrieved 2026-11-07)
- [17]
The dot product (or inner product) of two vectors of the same size is a single real number, the sum of the products of their corresponding entries. confirmedas of 2026-11-22
- Linear Algebra Review and Reference (Stanford CS229 section notes) · Stanford University · Secondary source · Section 2.1, Vector-Vector Products (p. 4) (retrieved 2026-11-22)
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.2 (retrieved 2026-11-22)
- Candidate generation overview · Google for Developers · Secondary source · Dot product (retrieved 2026-11-07)
- [18]
Machine learning usually measures the size of a vector with a function called a norm, which intuitively gives the distance from the origin to the point; the L2 or Euclidean norm is used so often that it is frequently written without a subscript. confirmedas of 2026-11-22
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.5 (retrieved 2026-11-22)
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.5 (retrieved 2026-11-22)
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 2.5, sentence on the L2 (Euclidean) norm (retrieved 2026-11-22)
- Linear Algebra Review and Reference (Stanford CS229 section notes) · Stanford University · Secondary source · Section 3.5, Norms (p. 10) (retrieved 2026-11-22)
- [19]
Google's machine learning glossary defines the gradient as the vector of partial derivatives with respect to all the independent variables, and says it points in the direction of steepest ascent. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, gradient (retrieved 2026-11-07)
- [20]
Training a model by maximum likelihood, choosing parameters that make the training data most probable, amounts to minimising the negative log-likelihood, or equivalently the cross-entropy. confirmedas of 2026-11-22
- Deep Learning, Chapter 5: Machine Learning Basics (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Section 5.5.1 (retrieved 2026-11-22)
- Linear classification: Support Vector Machine, Softmax (Stanford CS231n course notes) · Stanford University (CS231n) · Secondary source · Softmax classifier, Probabilistic interpretation (retrieved 2026-11-22)
- [21]
In gradient descent, training starts with random weights and biases near zero; the model then repeatedly works out which direction to move the weights to reduce the loss, moves them a small amount in that direction, and repeats until it cannot reduce the loss further. reportedas of 2026-11-22
- Linear regression: Gradient descent (Machine Learning Crash Course) · Google for Developers · Secondary source · Linear regression: Gradient descent, steps (retrieved 2026-11-07)
- Linear regression: Gradient descent (Machine Learning Crash Course) · Google for Developers · Secondary source · Linear regression: Gradient descent, steps (retrieved 2026-11-07)
- Linear regression: Gradient descent (Machine Learning Crash Course) · Google for Developers · Secondary source · Linear regression: Gradient descent, steps (retrieved 2026-11-07)
- [22]
The learning rate is a number set before training that controls how big each gradient-descent step is; the model multiplies the gradient by it, and if it is too low the model can take a long time to converge, while if it is too high the model never converges and bounces around the best weights. reportedas of 2026-11-22
- Linear regression: Hyperparameters (Machine Learning Crash Course) · Google for Developers · Secondary source · Hyperparameters, Learning rate (retrieved 2026-11-22)
- Linear regression: Hyperparameters (Machine Learning Crash Course) · Google for Developers · Secondary source · Hyperparameters, Learning rate (retrieved 2026-11-22)
- [23]
Instead of computing the loss over every example before each update, stochastic gradient descent uses a single example per step, which works given enough iterations but is very noisy, while mini-batch stochastic gradient descent uses a batch larger than one but smaller than the whole dataset as a compromise. confirmedas of 2026-11-22
- Linear regression: Hyperparameters (Machine Learning Crash Course) · Google for Developers · Secondary source · Hyperparameters, Batch size (retrieved 2026-11-22)
- Linear regression: Hyperparameters (Machine Learning Crash Course) · Google for Developers · Secondary source · Hyperparameters, Batch size (retrieved 2026-11-22)
- Optimization: Stochastic Gradient Descent (Stanford CS231n course notes) · Stanford University (CS231n) · Secondary source · Mini-batch gradient descent (retrieved 2026-11-22)
- [24]
The Adam optimiser, published at the 2015 International Conference on Learning Representations, is an algorithm for first-order gradient-based optimisation based on adaptive estimates of lower-order moments; its authors describe it as computationally efficient, light on memory and suited to problems with large data or many parameters. reportedas of 2026-11-22
- Adam: A Method for Stochastic Optimization (Kingma and Ba) · arXiv (ICLR 2015 paper) · Secondary source · 2014-12-22 · Abstract (retrieved 2026-11-22)
- Adam: A Method for Stochastic Optimization (Kingma and Ba) · arXiv (ICLR 2015 paper) · Secondary source · 2014-12-22 · Abstract (retrieved 2026-11-22)
- Adam: A Method for Stochastic Optimization (Kingma and Ba) · arXiv (ICLR 2015 paper) · Secondary source · 2014-12-22 · Comments (retrieved 2026-11-22)
- [25]
The loss functions of linear models always produce a convex, bowl-shaped surface, but once the model is a neural network the objective becomes non-convex, a bumpy terrain rather than a bowl. reportedas of 2026-11-22
- Linear regression: Gradient descent (Machine Learning Crash Course) · Google for Developers · Secondary source · Convergence and convex functions (retrieved 2026-11-07)
- Optimization: Stochastic Gradient Descent (Stanford CS231n course notes) · Stanford University (CS231n) · Secondary source · Visualizing the loss function (retrieved 2026-11-22)
- [26]
Cross-entropy generalises Log Loss to problems with more than two classes and quantifies the difference between two probability distributions. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, cross-entropy (retrieved 2026-11-07)
- [28]
Stacking linear operations only produces another linear operation, so networks apply a nonlinear activation function to each neuron's output; stacking nonlinearities lets a network model very complicated relationships between inputs and outputs. reportedas of 2026-11-07
- Neural networks: Activation functions (Machine Learning Crash Course) · Google for Developers · Secondary source · Neural networks: Activation functions (retrieved 2026-11-07)
- Neural networks: Activation functions (Machine Learning Crash Course) · Google for Developers · Secondary source · Neural networks: Activation functions (retrieved 2026-11-07)
- [29]
The deep learning textbook by Goodfellow, Bengio and Courville describes deep learning as a particular kind of machine learning in which computers learn from experience and understand the world as a hierarchy of concepts, each defined in relation to simpler ones, with more abstract representations computed from less abstract ones. confirmedas of 2016-11-18
- Deep Learning, Chapter 1: Introduction (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 1, opening section (retrieved 2026-11-22)
- Deep Learning, Chapter 1: Introduction (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 1, section 1.1 (retrieved 2026-11-22)
- [30]
The deep learning textbook describes three waves of neural network research, cybernetics in the 1940s to 1960s, connectionism in the 1980s and 1990s, and the resurgence under the name deep learning that began in 2006. confirmedas of 2016-11-18
- Deep Learning, Chapter 1: Introduction (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 1, section 1.2.1 (sentence continues after the page 12 break) (retrieved 2026-11-22)
- Deep Learning, Chapter 1: Introduction (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 1, section 1.2.1, top of page 13 (retrieved 2026-11-22)
- [31]
The textbook dates the second, connectionist wave to about 1980 to 1995, when backpropagation was used to train neural networks with one or two hidden layers. confirmedas of 2016-11-18
- Deep Learning, Chapter 1: Introduction (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 1, section 1.2.1 (retrieved 2026-11-22)
- [32]
According to the Nobel Committee, the machine learning revolution that began around 2010 was made possible by access to vast amounts of training data and an enormous increase in computing power. confirmedas of 2024-10-08
- Popular information: The Nobel Prize in Physics 2024 · The Royal Swedish Academy of Sciences (NobelPrize.org) · Primary source · 2024-10-08 · Popular science background, Machine learning – today and tomorrow (retrieved 2026-11-07)
- Popular information: The Nobel Prize in Physics 2024 · The Royal Swedish Academy of Sciences (NobelPrize.org) · Primary source · 2024-10-08 · Popular science background, Machine learning – today and tomorrow (retrieved 2026-11-07)
- [33]
Generalization is a model's ability to make correct predictions on new, previously unseen data, the opposite of overfitting. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, generalization (retrieved 2026-11-07)
- [34]
Overfitting shows up when the loss curves for the training set and the validation set behave similarly at first and then diverge. reportedas of 2026-11-22
- Overfitting (Machine Learning Crash Course) · Google for Developers · Secondary source · Detecting overfitting (retrieved 2026-11-07)
- [35]
L2 regularisation penalises large weights, encouraging them toward zero without pushing them all the way to zero, which usually lowers a model's overall complexity. reportedas of 2026-11-22
- Overfitting: L2 regularization (Machine Learning Crash Course) · Google for Developers · Secondary source · L2 regularization (retrieved 2026-11-22)
- Overfitting: L2 regularization (Machine Learning Crash Course) · Google for Developers · Secondary source · Exercises (retrieved 2026-11-22)
- [36]
Early stopping is a regularisation method that ends training when loss on a validation set starts to rise, and dropout regularisation removes a random selection of units in a neural-network layer for each gradient step. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, early stopping (retrieved 2026-11-07)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, dropout regularization (retrieved 2026-11-07)
- [37]
A 2016 paper published at ICLR 2017 found that state-of-the-art image-classification networks trained with stochastic gradient methods easily fit a random labelling of their training data, even with explicit regularisation and even when the images were replaced by random noise. reportedas of 2026-11-22
- Understanding deep learning requires rethinking generalization (Zhang et al.) · arXiv (ICLR 2017 paper) · Secondary source · 2016-11-10 · Abstract (retrieved 2026-11-22)
- Understanding deep learning requires rethinking generalization (Zhang et al.) · arXiv (ICLR 2017 paper) · Secondary source · 2016-11-10 · Abstract (retrieved 2026-11-22)
- [38]
The authors of that paper wrote that conventional explanations, properties of the model family or regularisation, fail to explain why large neural networks generalize well in practice. reportedas of 2026-11-22
- Understanding deep learning requires rethinking generalization (Zhang et al.) · arXiv (ICLR 2017 paper) · Secondary source · 2016-11-10 · Abstract (retrieved 2026-11-22)
- [39]
The 2019 PNAS paper proposed a "double-descent" curve, in which test error rises toward the point where a model can fit its training data exactly (the interpolation threshold) and then falls again as capacity increases further, and reported evidence for it across a wide range of models and datasets. confirmedas of 2026-11-22
- Reconciling modern machine-learning practice and the classical bias-variance trade-off (Belkin et al., PNAS 2019) · PNAS (PubMed Central copy) · Primary source · 2019-07-24 · Abstract (retrieved 2026-11-22)
- Reconciling modern machine-learning practice and the classical bias-variance trade-off (Belkin et al., PNAS 2019) · PNAS (PubMed Central copy) · Primary source · 2019-07-24 · Abstract (retrieved 2026-11-22)
- [40]
Google's machine learning course defines an embedding as a vector representation of data, usually found by projecting high-dimensional data into a lower-dimensional space. reportedas of 2026-11-14
- Embeddings: Embedding space and static embeddings (Machine Learning Crash Course) · Google for Developers · Secondary source · Embedding space and static embeddings (retrieved 2026-11-14)
- Embeddings: Embedding space and static embeddings (Machine Learning Crash Course) · Google for Developers · Secondary source · Embedding space and static embeddings (retrieved 2026-11-14)
- [41]
Self-supervised learning is a family of techniques that turn an unsupervised problem into a supervised one by creating surrogate labels from unlabelled examples; Transformer models such as BERT use it. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, self-supervised learning (retrieved 2026-11-07)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, self-supervised learning (retrieved 2026-11-07)
- [42]
A masked language model predicts the probability of candidate tokens to fill in blanks in a sequence, such as the missing word in "The ____ in the hat came back." reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, masked language model (retrieved 2026-11-07)
- [43]
In a convolutional layer, a small matrix called a convolutional filter passes along the input matrix; because the model only learns the weights in the filter, convolutions greatly reduce the memory needed for training. reportedas of 2026-11-21
- Machine Learning Glossary: Image Models · Google for Developers · Secondary source · Glossary entry: convolutional layer (retrieved 2026-11-21)
- Machine Learning Glossary: Image Models · Google for Developers · Secondary source · Glossary entry: convolution (retrieved 2026-11-21)
- [44]
The 2020 Vision Transformer (ViT) paper showed that a pure Transformer applied to sequences of image patches can perform very well at image classification, matching state-of-the-art convolutional networks with substantially less training compute when pre-trained on large datasets. confirmedas of 2020-10-22
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale (ICLR 2021) · International Conference on Learning Representations · Primary source · 2021-05-03 · Abstract (retrieved 2026-11-22)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale (ICLR 2021) · International Conference on Learning Representations · Primary source · 2021-05-03 · Abstract (retrieved 2026-11-22)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale · arXiv · Secondary source · 2020-10-22 · Abstract (retrieved 2026-11-07)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale · arXiv · Secondary source · 2020-10-22 · Abstract (retrieved 2026-11-07)
- [45]
The 2012 AlexNet paper trained a deep convolutional neural network with 60 million parameters on 1.3 million ImageNet images in 1,000 classes, reporting error rates considerably better than the previous state of the art and using an efficient GPU implementation to speed up training. confirmedas of 2012-12-03
- ImageNet Classification with Deep Convolutional Neural Networks · NeurIPS 2012 (Krizhevsky, Sutskever and Hinton) · Primary source · 2012-12-03 · Abstract (retrieved 2026-11-21)
- ImageNet Classification with Deep Convolutional Neural Networks · NeurIPS 2012 (Krizhevsky, Sutskever and Hinton) · Primary source · 2012-12-03 · Abstract (retrieved 2026-11-21)
- ImageNet Classification with Deep Convolutional Neural Networks · NeurIPS 2012 (Krizhevsky, Sutskever and Hinton) · Primary source · 2012-12-03 · Abstract (retrieved 2026-11-21)
- [46]
A 2015 paper by Sohl-Dickstein and colleagues, inspired by non-equilibrium statistical physics, proposed slowly destroying the structure in data through an iterative forward diffusion process and learning a reverse process that restores it. confirmedas of 2015-03-12
- Deep Unsupervised Learning using Nonequilibrium Thermodynamics · arXiv · Secondary source · 2015-03-12 · Abstract (retrieved 2026-11-14)
- Deep Unsupervised Learning using Nonequilibrium Thermodynamics · arXiv · Secondary source · 2015-03-12 · Abstract (retrieved 2026-11-14)
- Deep Unsupervised Learning using Nonequilibrium Thermodynamics (ICML 2015) · Proceedings of Machine Learning Research, vol. 37 (ICML 2015) · Primary source · Abstract (retrieved 2026-11-22)
- Deep Unsupervised Learning using Nonequilibrium Thermodynamics (ICML 2015) · Proceedings of Machine Learning Research, vol. 37 (ICML 2015) · Primary source · Abstract (retrieved 2026-11-22)
- [47]
Diffusion models have significantly advanced image, audio and video generation, according to the 2023 consistency models paper. confirmedas of 2023-03-02
- Consistency Models · arXiv · Secondary source · 2023-03-02 · Abstract (retrieved 2026-11-14)
- Consistency Models (ICML 2023) · Proceedings of Machine Learning Research, vol. 202 (ICML 2023) · Primary source · Abstract (retrieved 2026-11-22)
- [48]
Pre-training is the initial training of a model on a large dataset, after which the model is usually refined with further training; for example, a large language model might be pre-trained on a vast text dataset such as all English Wikipedia pages. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, pre-training (retrieved 2026-11-07)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, pre-training (retrieved 2026-11-07)
- [49]
The 2018 BERT paper pre-trained deep bidirectional language representations from unlabelled text, conditioning on both left and right context, so that the pre-trained model could be fine-tuned with just one additional output layer for tasks such as question answering. confirmedas of 2026-11-22
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding · arXiv · Secondary source · 2018-10-11 · Abstract (retrieved 2026-11-07)
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding · arXiv · Secondary source · 2018-10-11 · Abstract (retrieved 2026-11-07)
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (Proceedings of NAACL-HLT 2019) · ACL Anthology · Primary source · 2019-06-02 (retrieved 2026-11-22)
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (Proceedings of NAACL-HLT 2019) · ACL Anthology · Primary source · 2019-06-02 (retrieved 2026-11-22)
- [50]
The 2020 GPT-3 paper noted that pre-training on a large corpus of text followed by fine-tuning had produced substantial gains on many language tasks, and described GPT-3 as an autoregressive language model with 175 billion parameters. reportedas of 2026-11-22
- Language Models are Few-Shot Learners (Brown et al.) · arXiv (NeurIPS 2020 paper) · Secondary source · 2020-05-28 · Abstract (retrieved 2026-11-22)
- Language Models are Few-Shot Learners (Brown et al.) · arXiv (NeurIPS 2020 paper) · Secondary source · 2020-05-28 · Abstract (retrieved 2026-11-22)
- [51]
Sutton and Barto's textbook defines reinforcement learning as learning what to do, how to map situations to actions, so as to maximise a numerical reward signal; the learner is not told which actions to take and must discover which ones yield the most reward by trying them. confirmedas of 2026-11-22
- Reinforcement Learning: An Introduction, second edition (Sutton and Barto) · MIT Press (free PDF, incompleteideas.net) · Primary source · 2018-11-13 · Section 1.1 (retrieved 2026-11-22)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, reinforcement learning (RL) (retrieved 2026-11-07)
- [52]
Sutton and Barto distinguish reinforcement learning from supervised learning, which learns from labelled examples provided by an external supervisor, and from unsupervised learning, which finds hidden structure in unlabelled data, and treat it as a third machine learning paradigm. confirmedas of 2026-11-22
- Reinforcement Learning: An Introduction, second edition (Sutton and Barto) · MIT Press (free PDF, incompleteideas.net) · Primary source · 2018-11-13 · Section 1.1 (retrieved 2026-11-22)
- Reinforcement Learning: An Introduction, second edition (Sutton and Barto) · MIT Press (free PDF, incompleteideas.net) · Primary source · 2018-11-13 · Section 1.1 (retrieved 2026-11-22)
- Reinforcement Learning: An Introduction, second edition (Sutton and Barto) · MIT Press (free PDF, incompleteideas.net) · Primary source · 2018-11-13 · Section 1.1 (retrieved 2026-11-22)
- [53]
Beyond the agent and its environment, Sutton and Barto identify four main parts of a reinforcement learning system, a policy, a reward signal, a value function and, optionally, a model of the environment. confirmedas of 2026-11-22
- Reinforcement Learning: An Introduction, second edition (Sutton and Barto) · MIT Press (free PDF, incompleteideas.net) · Primary source · 2018-11-13 · Section 1.3 (retrieved 2026-11-22)
- [54]
DeepMind said in 2017 that, unlike earlier AlphaGo versions trained on thousands of human games, AlphaGo Zero learned Go only by playing against itself from random play, using a form of reinforcement learning, and beat the earlier champion-defeating version 100 games to 0 after three days of self-play. reportedas of 2026-11-22
- AlphaGo Zero: Starting from scratch · Google DeepMind (blog) · Primary source · 2017-10-18 · Blog post (retrieved 2026-11-22)
- AlphaGo Zero: Starting from scratch · Google DeepMind (blog) · Primary source · 2017-10-18 · Blog post (retrieved 2026-11-22)
- AlphaGo Zero: Starting from scratch · Google DeepMind (blog) · Primary source · 2017-10-18 · Blog post (retrieved 2026-11-22)
- [55]
InstructGPT was trained in two stages, supervised fine-tuning on human-written demonstrations and then reinforcement learning from human feedback (RLHF) using human rankings of model outputs. reportedas of 2022-03-04
- Training language models to follow instructions with human feedback · arXiv (Ouyang et al.) · Secondary source · 2022-03-04 · Abstract (retrieved 2026-10-10)
- [56]
PyTorch describes itself as a Python package with two high-level features, tensor computation like NumPy with strong GPU acceleration, and deep neural networks built on a tape-based autograd system. confirmedas of 2026-11-22
- PyTorch README (GitHub, pytorch/pytorch) · PyTorch (GitHub) · Primary source · README, introduction (retrieved 2026-11-22)
- PyTorch README (GitHub, pytorch/pytorch) · PyTorch (GitHub) · Primary source · README, introduction (retrieved 2026-11-22)
- [57]
arXiv says submissions go through moderation that checks they are on topic and of scholarly value, but that material is not peer-reviewed by arXiv and its moderation is not a peer-review process; the contents are the submitter's responsibility. confirmedas of 2026-11-22
- About arXiv · arXiv (Cornell University) · Primary source · About arXiv (retrieved 2026-11-22)
- About arXiv · arXiv (Cornell University) · Primary source · About arXiv (retrieved 2026-11-22)
- Content Moderation (arXiv help) · arXiv (Cornell University) · Primary source · Content Moderation (retrieved 2026-11-22)
- [58]
A baseline is a model used as a reference point for judging how well another, usually more complex, model performs, and it sets the minimum performance a new model must reach to be useful. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, baseline (retrieved 2026-11-07)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, baseline (retrieved 2026-11-07)
- [59]
An ablation evaluates how important a feature or component is by removing it and retraining the model; if the retrained model performs significantly worse, the removed part was likely important. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, ablation (retrieved 2026-11-07)
- [60]
The NeurIPS checklist asks whether results come with error bars, confidence intervals or statistical significance tests, at least for the experiments behind the main claims, and asks authors to state what variability the error bars capture, such as the train/test split or random initialisation. confirmedas of 2026-11-22
- NeurIPS Paper Checklist Guidelines · NeurIPS · Primary source · Experiment Statistical Significance (retrieved 2026-11-22)
- NeurIPS Paper Checklist Guidelines · NeurIPS · Primary source · Experiment Statistical Significance (retrieved 2026-11-22)
- [61]
Backpropagation is the algorithm that implements gradient descent in neural networks; training repeats a two-pass cycle of a forward pass and a backward pass. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, backpropagation (retrieved 2026-11-07)
- [62]
The PNAS authors wrote that breakthroughs in machine learning are rapidly changing science and society while fundamental understanding of the technology has lagged far behind. confirmedas of 2026-11-22
- Reconciling modern machine-learning practice and the classical bias-variance trade-off (Belkin et al., PNAS 2019) · PNAS (PubMed Central copy) · Primary source · 2019-07-24 · Abstract (retrieved 2026-11-22)
- [63]
The deep learning textbook by Goodfellow, Bengio and Courville says a good understanding of linear algebra is essential for understanding and working with many machine learning algorithms, especially deep learning algorithms. confirmedas of 2026-11-22
- Deep Learning, Chapter 2: Linear Algebra (Goodfellow, Bengio and Courville) · MIT Press (free online edition, deeplearningbook.org) · Primary source · 2016-11-18 · Chapter 2, introduction (retrieved 2026-11-22)
- [64]
Datasets are traditionally divided into three distinct subsets, a training set, a validation set used for initial evaluation during development, and a test set reserved for testing the trained model, with each example in only one subset. reportedas of 2026-11-22
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, test set (retrieved 2026-11-07)
- Machine Learning Glossary · Google for Developers · Secondary source · Glossary, validation set (retrieved 2026-11-07)
- [65]
Google's course warns that reusing the same test set to guide changes can make a model implicitly fit that test set, like a teacher teaching to the test, and that test and validation sets "wear out" with repeated use and need refreshing with new data. reportedas of 2026-11-22
- Dividing the original dataset (Machine Learning Crash Course) · Google for Developers · Secondary source · Training, validation, and test sets (retrieved 2026-11-07)
- Dividing the original dataset (Machine Learning Crash Course) · Google for Developers · Secondary source · Training, validation, and test sets (retrieved 2026-11-07)
- [66]
The NeurIPS conference requires a paper checklist with every submission, desk-rejects papers that omit it, and asks reviewers to use the answers as one factor in their evaluation. confirmedas of 2026-11-22
- NeurIPS Paper Checklist Guidelines · NeurIPS · Primary source · Paper Checklist Guidelines (retrieved 2026-11-22)
- NeurIPS Paper Checklist Guidelines · NeurIPS · Primary source · Paper Checklist Guidelines (retrieved 2026-11-22)
Revision history (1)
- Page created.
Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: May 22, 2027.
Cite this page
"Machine learning foundations: a crash course." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/machine-learning-foundations
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.