2
Foundations of Supervised Learning
•
Supervised learning requires handling both approximation, estimation
and optimization errors.
•
Learning in high-dimensions requires strong notions of regularity.
•
Standard function classes based on local and global smoothness do not
scale efficiently to complex real data.
Machine learning, in essence, is concerned with predicting future outcomes
from past experience. In this chapter, we will formalize this goal, focusing
on supervised learning, arguably the simplest and most widespread machine
learning modality. Although it may be viewed as ‘merely’ doing curve-fitting,
it turns out that such fitting ability signals a profound interplay between high-
dimensional statistics, optimization and mathematical analysis.
Indeed, as the input of a machine learning system becomes more and more
complex, as in image, video or chemical data, guaranteeing that the model will
preserve its predictive power on unseen data becomes increasingly hard. This
corresponds to the colloquial curse of dimensionality, a term originally coined
by Bellman in the 50s that captures an exponential dependency between the
input dimension and the underlying cost of running a certain algorithmic or
statistic procedure to a desired performance level.
In order to beat the curse of dimensionality, it is therefore necessary to make
modeling assumptions that encode certain regularities about the data. In this
chapter we will review function classes based on classic notions of regularity
‘borrowed’ from mathematical analysis, which provide a clean mathematical
picture of high-dimensional learning —and set the backdrop for the geometric
function classes of Chapter 4.
2.1 Main Ingredients of Supervised Learning
The starting point of Supervised machine learning (and also of our GDL
journey) is a set of N observations {(x
i
, y
i
)}
N
i=1
, where x
i
∈X are the input
40 Chapter 2
Figure 2.1
Representative Supervised Learning tasks: (i) regression to a low-dimensional space,
(ii) Classification, (iii) structured prediction between high-dimensional spaces.
observations and y
i
∈Y are the labels to be predicted. The defining feature
in this setup is that X is a high-dimensional space: one canonical example
assumes X = R
d
to be a Euclidean space of large dimension d ≫1. The label
space Y might be either low- or high-dimensional; in the former case, Y = R
encompasses regression tasks, such as predicting the free energy of a chemical
compound, as well as classification tasks Y = {1, K}, such as image classifi-
cation. In the latter, Y ≈X captures so-called structured prediction problems,
where the output shares some characteristics with the input; for example in
medical imaging applications, the output might indicate suspicious regions on
an IRM, or in dynamical systems, where Y = X and the goal is to predict a
high-dimensional state X
t+1
∈X from the current state X
t
∈X.
Data Distribution In order to formalize the predictive power of a model,
it is necessary to model how data (both past and future) is generated. The
standard assumption in supervised learning is that (x
i
, y
i
) are drawn i.i.d. from
an underlying data probability distribution P defined over X ×Y, which
will also be used to generate future data. It is important to emphasize that
this is a simplifying assumption that is made to establish insightful theoretical
guarantees of future performance (or generalisation, as we will see next), but
many ML algorithms can operate and produce useful results in absence of this
i.i.d. property
1
. Another important remark is that this data distribution is not
known to the Learner, so it cannot be leveraged during the training process;
instead, it has intrinsic theoretical value to analyse the prediction performance
of different learning algorithms.