AI News, Machine Learning FAQ

Machine Learning FAQ

Index Obviously, we are working with a labeled dataset when we are building (typically predictive) models using supervised learning.

In semi-supervised learning, we are trying to solve a supervised learning approach using labeled data augmented by unlabeled data;

the number of unlabeled or partially labeled samples is often larger than the number of labeled samples, since the former are less expensive and easier to obtain.

Adding cheap and abundant unlabeled data, we are hoping to build a better model than using supervised learning alone.

Semi-Supervised Learning¶

Semi-supervised learning is a branch of machine learning that deals with training sets that are only partially labeled.

Unfortunately, many machine learning methods are not able to handle both labeled and unlabeled data together and so frequently either the unlabeled data is tossed out in favor of supervised learning, or the labeled data is only used to identify the meaning of clusters learned by unsupervised techniques on the unlabeled data.

The label vector y is still of an equal length to the data matrix X, with labeled samples given the appropriate integer label, but unlabeled samples are given the label -1.

This means that instead of passing in a normal label vector as a list of lists such as [[model.start, s1, s2, model.end], [model.start, s1, s1, model.end]], one would pass in a list of mixed list/None types, with lists defining the labels for labeled sequences, and None specifying that a sequence is unlabeled.

Semi-supervised learning

Semi-supervised learning is a class of supervised learning tasks and techniques that also make use of unlabeled data for training – typically a small amount of labeled data with a large amount of unlabeled data.

Semi-supervised learning falls between unsupervised learning (without any labeled training data) and supervised learning (with completely labeled training data).

Many machine-learning researchers have found that unlabeled data, when used in conjunction with a small amount of labeled data, can produce considerable improvement in learning accuracy.

The acquisition of labeled data for a learning problem often requires a skilled human agent (e.g.

to transcribe an audio segment) or a physical experiment (e.g.

determining the 3D structure of a protein or determining whether there is oil at a particular location).

The cost associated with the labeling process thus may render a fully labeled training set infeasible, whereas acquisition of unlabeled data is relatively inexpensive.

In such situations, semi-supervised learning can be of great practical value.

Semi-supervised learning is also of theoretical interest in machine learning and as a model for human learning.

As in the supervised learning framework, we are given a set of

l

{\displaystyle l}

independently identically distributed examples

x

1

,

…

,

x

l

∈

{\displaystyle x_{1},\dots ,x_{l}\in X}

with corresponding labels

{\displaystyle y_{1},\dots ,y_{l}\in Y}

Additionally, we are given

{\displaystyle u}

unlabeled examples

{\displaystyle x_{l+1},\dots ,x_{l+u}\in X}

Semi-supervised learning attempts to make use of this combined information to surpass the classification performance that could be obtained either by discarding the unlabeled data and doing supervised learning or by discarding the labels and doing unsupervised learning.

Semi-supervised learning may refer to either transductive learning or inductive learning[citation needed].

The goal of transductive learning is to infer the correct labels for the given unlabeled data

{\displaystyle x_{l+1},\dots ,x_{l+u}}

The goal of inductive learning is to infer the correct mapping from

Intuitively, we can think of the learning problem as an exam and labeled data as the few example problems that the teacher solved in class.

The teacher also provides a set of unsolved problems.

In the transductive setting, these unsolved problems are a take-home exam and you want to do well on them in particular.

In the inductive setting, these are practice problems of the sort you will encounter on the in-class exam.

It is unnecessary (and, according to Vapnik's principle, imprudent) to perform transductive learning by way of inferring a classification rule over the entire input space;

however, in practice, algorithms formally designed for transduction or induction are often used interchangeably.

In order to make any use of unlabeled data, we must assume some structure to the underlying distribution of data.

Semi-supervised learning algorithms make use of at least one of the following assumptions.

[1] Points which are close to each other are more likely to share a label.

This is also generally assumed in supervised learning and yields a preference for geometrically simple decision boundaries.

In the case of semi-supervised learning, the smoothness assumption additionally yields a preference for decision boundaries in low-density regions, so that there are fewer points close to each other but in different classes.

The data tend to form discrete clusters, and points in the same cluster are more likely to share a label (although data sharing a label may be spread across multiple clusters).

This is a special case of the smoothness assumption and gives rise to feature learning with clustering algorithms.

The data lie approximately on a manifold of much lower dimension than the input space.

In this case we can attempt to learn the manifold using both the labeled and unlabeled data to avoid the curse of dimensionality.

Then learning can proceed using distances and densities defined on the manifold.

The manifold assumption is practical when high-dimensional data are being generated by some process that may be hard to model directly, but which only has a few degrees of freedom.

For instance, human voice is controlled by a few vocal folds,[2] and images of various facial expressions are controlled by a few muscles.

We would like in these cases to use distances and smoothness in the natural space of the generating problem, rather than in the space of all possible acoustic waves or images respectively.

The heuristic approach of self-training (also known as self-learning or self-labeling) is historically the oldest approach to semi-supervised learning,[1] with examples of applications starting in the 1960s (see for instance Scudder (1965)[3]).

The transductive learning framework was formally introduced by Vladimir Vapnik in the 1970s.[4] Interest in inductive learning using generative models also began in the 1970s.

A probably approximately correct learning bound for semi-supervised learning of a Gaussian mixture was demonstrated by Ratsaby and Venkatesh in 1995.[5] Semi-supervised learning has recently become more popular and practically relevant due to the variety of problems for which vast quantities of unlabeled data are available—e.g.

text on websites, protein sequences, or images.

For a review of recent work see a survey article by Zhu (2008).[6] Generative approaches to statistical learning first seek to estimate

{\displaystyle p(x|y)}

the distribution of data points belonging to each class.

The probability

{\displaystyle p(y|x)}

that a given point

{\displaystyle x}

has label

{\displaystyle y}

is then proportional to

{\displaystyle p(x|y)p(y)}

Semi-supervised learning with generative models can be viewed either as an extension of supervised learning (classification plus information about

{\displaystyle p(x)}

or as an extension of unsupervised learning (clustering plus some labels).

Generative models assume that the distributions take some particular form

{\displaystyle p(x|y,\theta )}

parameterized by the vector

{\displaystyle \theta }

If these assumptions are incorrect, the unlabeled data may actually decrease the accuracy of the solution relative to what would have been obtained from labeled data alone.

[7] However, if the assumptions are correct, then the unlabeled data necessarily improves performance.[5] The unlabeled data are distributed according to a mixture of individual-class distributions.

In order to learn the mixture distribution from the unlabeled data, it must be identifiable, that is, different parameters must yield different summed distributions.

Gaussian mixture distributions are identifiable and commonly used for generative models.

The parameterized joint distribution can be written as

{\displaystyle p(x,y|\theta )=p(y|\theta )p(x|y,\theta )}

by using the Chain rule.

Each parameter vector

{\displaystyle \theta }

is associated with a decision function

{\displaystyle f_{\theta }(x)={\underset {y}{\operatorname {argmax} }}\ p(y|x,\theta )}

The parameter is then chosen based on fit to both the labeled and unlabeled data, weighted by

{\displaystyle \lambda }

[8] Another major class of methods attempts to place boundaries in regions where there are few data points (labeled or unlabeled).

One of the most commonly used algorithms is the transductive support vector machine, or TSVM (which, despite its name, may be used for inductive learning as well).

Whereas support vector machines for supervised learning seek a decision boundary with maximal margin over the labeled data, the goal of TSVM is a labeling of the unlabeled data such that the decision boundary has maximal margin over all of the data.

In addition to the standard hinge loss

{\displaystyle (1-yf(x))_{+}}

for labeled data, a loss function

{\displaystyle (1-|f(x)|)_{+}}

is introduced over the unlabeled data by letting

{\displaystyle y=\operatorname {sign} {f(x)}}

TSVM then selects

{\displaystyle f^{*}(x)=h^{*}(x)+b}

from a reproducing kernel Hilbert space

{\displaystyle {\mathcal {H}}}

by minimizing the regularized empirical risk: An exact solution is intractable due to the non-convex term

{\displaystyle (1-|f(x)|)_{+}}

so research has focused on finding useful approximations.[8] Other approaches that implement low-density separation include Gaussian process models, information regularization, and entropy minimization (of which TSVM is a special case).

Graph-based methods for semi-supervised learning use a graph representation of the data, with a node for each labeled and unlabeled example.

The graph may be constructed using domain knowledge or similarity of examples;

two common methods are to connect each data point to its

{\displaystyle k}

nearest neighbors or to examples within some distance

{\displaystyle \epsilon }

The weight

of an edge between

{\displaystyle x_{i}}

{\displaystyle x_{j}}

is then set to

{\displaystyle e^{\frac {-\|x_{i}-x_{j}\|^{2}}{\epsilon }}}

Within the framework of manifold regularization, [9] [10] the graph serves as a proxy for the manifold.

A term is added to the standard Tikhonov regularization problem to enforce smoothness of the solution relative to the manifold (in the intrinsic space of the problem) as well as relative to the ambient input space.

The minimization problem becomes where

{\displaystyle {\mathcal {H}}}

is a reproducing kernel Hilbert space and

{\displaystyle {\mathcal {M}}}

is the manifold on which the data lie.

The regularization parameters

{\displaystyle \lambda _{A}}

{\displaystyle \lambda _{I}}

control smoothness in the ambient and intrinsic spaces respectively.

The graph is used to approximate the intrinsic regularization term.

Defining the graph Laplacian

{\displaystyle \mathbf {f} }

the vector

{\displaystyle [f(x_{1})\dots f(x_{l+u})]}

we have The Laplacian can also be used to extend the supervised learning algorithms: regularized least squares and support vector machines (SVM) to semi-supervised versions Laplacian regularized least squares and Laplacian SVM.

Some methods for semi-supervised learning are not intrinsically geared to learning from both unlabeled and labeled data, but instead make use of unlabeled data within a supervised learning framework.

For instance, the labeled and unlabeled examples

{\displaystyle x_{1},\dots ,x_{l+u}}

may inform a choice of representation, distance metric, or kernel for the data in an unsupervised first step.

Then supervised learning proceeds from only the labeled examples.

Self-training is a wrapper method for semi-supervised learning.[11] First a supervised learning algorithm is trained based on the labeled data only.

This classifier is then applied to the unlabeled data to generate more labeled examples as input for the supervised learning algorithm.

Generally only the labels the classifier is most confident of are added at each step.[12] Co-training is an extension of self-training in which multiple classifiers are trained on different (ideally disjoint) sets of features and generate labeled examples for one another.[13] Human responses to formal semi-supervised learning problems have yielded varying conclusions about the degree of influence of the unlabeled data (for a summary see [14]).

More natural learning problems may also be viewed as instances of semi-supervised learning.

Much of human concept learning involves a small amount of direct instruction (e.g.

parental labeling of objects during childhood) combined with large amounts of unlabeled experience (e.g.

observation of objects without naming or counting them, or at least without feedback).

Human infants are sensitive to the structure of unlabeled natural categories such as images of dogs and cats or male and female faces.[15] More recent work has shown that infants and children take into account not only the unlabeled examples available, but the sampling process from which labeled examples arise.[16][17]

Machine Learning in R - Supervised vs. Unsupervised

Learn the basics of Machine Learning with R. Start our Machine Learning Course for free: ...

Semi Supervised Learning | Machine learning

Semisupervised learning: attempts to use unlabeled data as well as labeled data The aim is to improve classification performance Unlabeled data is often ...

Robust Semi-Supervised Learning

Semi-supervised learning algorithms are designed to learn an unknown concept from a partially-labeled data set of training examples. They are widely popular ...

Semi-Supervised Structured Output Learning

Partial label scenarios arise commonly in web applicationssuch as hierarchical classification, multi-label classification and informationextraction from web pages ...

Inductive Semi-supervised Multi-Label Learning with Co-Training

Inductive Semi-supervised Multi-Label Learning with Co-Training Wang Zhan (Southeast University) Min-Ling Zhang (School of Computer Science and ...

Bhavana Dalvi: Semi Supervised Learning In Realistic Settings

Bhavana Dalvi "Semi-supervised Learning in Realistic Settings" 05 FEB 2015 Abstract: Semi-supervised learning (SSL) has been widely used over a decade for ...

Semi-Supervised Learning for Acoustic and Prosodic Modeling in Speech Recognition

Semi-supervised learning is a class of machine learning techniques that aims to use unlabeled data to improve the performance of models trained by labeled ...

Prof. Pedja Radivojac, "Learning proportions in a semi-supervised setting "

Learning proportions in a semi-supervised setting Prof. Pedja Radivojac, IU School of Informatics and Computing Wednesday October 14, 4:00pm 107 ...

Use of unlabeled and weakly labeled data

Day 2 of CSML master class series with Shai Ben-David.

Geometric Aspects of Learning from Labeled and Unlabeled Data

Dr. Misha Beylkin March 16, 2007.