Background
The following situation is a general setting of many supervised learning problems. There are two spaces of objects and and we would like to learn a function (often called ''hypothesis'') which outputs an object , given . To do so, there is a ''training set'' of examples where is an input and is the corresponding response that is desired from . To put it more formally, assuming that there is aFormal definition
In general, the risk cannot be computed because the distribution is unknown to the learning algorithm. However, given a sample of iid training data points, we can compute an estimate, called the ''empirical risk'', by computing the average of the loss function over the training set; more formally, computing the expectation with respect to the empirical measure: : The empirical risk minimization principle states that the learning algorithm should choose a hypothesis which minimizes the empirical risk over the hypothesis class : : Thus, the learning algorithm defined by the empirical risk minimization principle consists in solving the aboveProperties
Guarantees for the performance of empirical risk minimization depend strongly on the function class selected as well as the distributional assumptions made. In general, distribution-free methods are too coarse, and do not lead to practical bounds. However, they are still useful in deriving asymptotic properties of learning algorithms, such as consistency. In particular, distribution-free bounds on the performance of empirical risk minimization given a fixed function class can be derived using bounds on the VC complexity of the function class. For simplicity, considering the case of binary classification tasks, it is possible to bound the probability of the selected classifier, being much worse than the best possible classifier . Consider the risk defined over the hypothesis class with growth function given a dataset of size . Then, for every :Devroye, L., Gyorfi, L. & Lugosi, G. A Probabilistic Theory of Pattern Recognition. Discrete Appl Math 73, 192–194 (1997) Similar results hold for regression tasks. These results are often based on uniform laws of large numbers, which control the deviation of the empirical risk from the true risk, uniformly over the hypothesis class.Impossibility results
It is also possible to show lower bounds on algorithm performance if no distributional assumptions are made. This is sometimes referred to as the '' No free lunch theorem''. Even though a specific learning algorithm may provide the asymptotically optimal performance for any distribution, the finite sample performance is always poor for at least one data distribution. This means that no classifier can improve on the error for a given sample size for all distributions. Specifically, let and consider a sample size and classification rule , there exists a distribution of with risk (meaning that perfect prediction is possible) such that: It is further possible to show that the convergence rate of a learning algorithm is poor for some distributions. Specifically, given a sequence of decreasing positive numbers converging to zero, it is possible to find a distribution such that:Computational complexity
Empirical risk minimization for a classification problem with a 0-1 loss function is known to be an NP-hard problem even for a relatively simple class of functions such as linear classifiers. Nevertheless, it can be solved efficiently when the minimal empirical risk is zero, i.e., data is linearly separable. In practice, machine learning algorithms cope with this issue either by employing a convex approximation to the 0–1 loss function (like hinge loss for SVM), which is easier to optimize, or by imposing assumptions on the distribution (and thus stop being agnostic learning algorithms to which the above result applies). In the case of convexification, Zhang's lemma majors the excess risk of the original problem using the excess risk of the convexified problem. Minimizing the latter using convex optimization also allow to control the former.Tilted empirical risk minimization
Tilted empirical risk minimization is a machine learning technique used to modify standard loss functions like squared error, by introducing a tilt parameter. This parameter dynamically adjusts the weight of data points during training, allowing the algorithm to focus on specific regions or characteristics of the data distribution. Tilted empirical risk minimization is particularly useful in scenarios with imbalanced data or when there is a need to emphasize errors in certain parts of the prediction space.See also
* M-estimator * Maximum likelihood estimationReferences
Further reading
* {{cite book , last=Vapnik , first=V. , author-link = Vladimir Vapnik , title=The Nature of Statistical Learning Theory , publisher = Springer-Verlag , series=Information Science and Statistics , year = 2000 , isbn=978-0-387-98780-4 Machine learning