Semisupervised Learning for Computational Linguistics

From MaRDI portal





This book on semisupervised learning for computational linguistics, offering background material on supervised and unsupervised learning, directs the interest to natural language processing. Computational linguistics has now become inseparable from machine learning. There are five types of learning problems that have received the preponderance of attention in machine learning. The first four are all cases of function estimation, grouped along two dimensions: whether the learning task is supervised or unsupervised, and whether the variable to be predicted is nominal or real-valued. Classification involves supervised learning of a function \(f(x)\) whose value is nominal, that is, drawn from a finite set of possible values. It is given instances \(x\) of one or another class, and it must determine which class each instance belongs to; the value \(f(x)\) is the classifier's prediction regarding the class of the instance. The unsupervised counterpart to classification is clustering. The goal in clustering is also to assign instances to classes, but the clustering algorithm is given only the instances, not the correct answers for any of them. The primary difference between classification and clustering is not the task to be performed, but the sort of data that is given to the learner as input. The remaining two function estimation tasks involve estimation of a function that takes on real values, instead of values from a finite range. The supervised version is called regression. Finally, the author mentions a fifth setting, which is reinforcement learning. In reinforcement learning, the learner receives a stream of data from sensors, and its ``answers consist in actions, in the form of commands sent to actuators. There is, additionally, a reward signal that is to be maximized (over the long run). There are at least two significant ways in which this differs from the four function estimation settings. The first one is the sequential nature of the inputs. The second one is the indirect nature of the supervision. The reward signal provides information about the relative value of different actions, but it is much less direct than simply providing the correct answer, as in classification. Semisupervised learning generalizes supervised and unsupervised learning. The generalization is easiest understood with classification and clustering. As already mentioned, classification and clustering involve essentially the same task and the same inputs; they differ primarily in whether the training data is labeled or not. The obvious generalization is to give the learner labels for some of the training data. The mixed labeled/unlabeled setting is indeed the canonical case for semisupervised learning, and it is the main theme of the book. Semisupervised learning methods have sprung up independently in several different areas, usually as modifications of existing algorithms. The author organizes the semisupervised algorithms by the leading idea which each one is based upon. These are the leading ideas and according parts of the book: Self-training (Chapters 2--3 and 8). If one comes from the perspective of supervised learning and asks how unlabeled instances might be put to use in addition to labeled instances, a natural idea is to train a classifier on the labeled instances, apply it to the unlabeled instances, and take its predictions at face value, at least in those cases where its predictions are most confident. A new classifier is trained on the extended set of labeled instances, and the process repeats. This approach is known as self-training. Cluster and label (Chapter 7). Coming to semisupervised learning from the perspective of unsupervised learning, a natural idea is to apply a clustering algorithm to the unlabeled data, and then use the labeled data to ``name the clusters. A cluster is associated with whichever label occurs most frequently on labeled instances in the cluster, and the prediction for an unlabeled instance is determined by the cluster that it is assigned to. Application of ``missing values techniques (Chapter 8). The problem of missing values in a data set is very familiar in statistics, classification, pattern recognition. It is natural to think of unlabeled data as data with missing values for the dependent variable (that is, the class label), and apply a method for filling in missing information using a generative mode. The canonical example is the Expectation-Maximization (EM) algorithm. Label propagation in graphs (Chapter 10). A similarity function can be represented as a weighted graph in which instances are nodes and edges are weighted by the similarity of the instances they connect. Two nodes connected by a heavily weighted edge should have the same label. An algorithmic correlate is to propagate labels along heavily weighted edges. Geometrically, one can view the graph as a fabric whose interior consists of unalabeled instances and whose boundary consists of labeled instances. The elevation of the fabric at a given point represents the label of that point, and the effect of propagation is to interpolate from the fixed boundary across the interior of the graph. Boundaries in low density regions (Chapters 5--6). The contrapositive of the cluster hypothesis is the separation hypothesis: the idea that different labels imply distant data points, which is to say, that boundaries between classes lie where the data is sparse. Transductive maximum-margin methods, such as transductive Support Vector Machines (SVMs) and transductive boosting, can be understood in those terms. The goal is to find a linear inter-class boundary with a large margin, which is to say, a large distance to the nearest data points. Instead of looking for natural clusters, one looks for natural boundaries, but otherwise the approach is very similar to cluster-and-label. Natural boundaries are found without regard to labels, and the labeled instances are used to determine labels for the resulting regions. Constraint- and agreement-driven learning (Chapters 2--3 and 9). In a sense, all semisupervised learning is driven by constraints. Sufficiently restrictive constraints can be almost as good as labels for unlabeled data -- and in some cases even better, in as much as a constraint applies to the entire population of instances, whereas a label on an instance applies only to that instance. We have mentioned how graph methods translate similarities into soft constraints. A particularly salient class of constraints is agreement constraints. For example, in co-training, the learner is given two independent ``views of the data, and constructs one classifier for each view, under the constraint that the classifiers agree in their predictions on the unlabeled data. Effectively, instances come in pairs that are constrained to have the same label. The learner does not know what the label is, but does know that it is the same for both members of the pair. A non-algorithmic way of enforcing agreement is via a random field that penalizes disagreement. Spectral methods (Chapters 11--12). One can build on the idea of interpolation that emerges from label propagation by using a ``standing wave to interpolate across the graph. Pursuing this idea leads to deep connections among apparently disparate ideas, including the cluster hypothesis and label propagation, ``mincut boundary-oriended methods, and random fields. Below in the review text we briefly spotlight the basic ideas of the book. In computational linguistics self-training and co-training are widely used. Co-training and self-training can both be justified on the basis of a conditional independence assumption that is closely related to the independence assumption underlying the Naive Bayes classifier. And forms of the algorithms have arisen on the basis of a theory of semisupervised learning. It is known that these theoretically motivated algorithms even predate the versions that are known in computational linguistics. Given the simplicity of self-training, it is not suprising that it has arisen in many variants in different contexts. The idea of self-trainig will come up repeatedly throughout the book; the author gives a brief roadmap of related algorithms, but here we show the list of them: 1. \(k\)-means clustering is a commonly used clustering algorithm that is quite similar to self-training. 2. Pseudo relevance feedback. 3. Label propagation. 4. Decision-directed approximation 5. McLachlan's algorithm 6. Game self-teaching 7. Agreement-based self-teaching. Currently, most applications of semisupervised learning to problems in computational linguistics have involved self-training and co-training. So the author discusses the applications at this point: part-of-speech tagging, information extraction, parsing, word senses. Particularly, in the information extraction problem to which semisupervised learning has been applied it is relation recognition. The idea is to begin with a small list of author-title pairs, find web pages on which the known pairs occur, extract features that are indicative of author-title pairs, and use those features to find new pairs. Then the process repeats. This can be seen again as a variation of self-training, in which the instances are potential ``author-title pairs. Beyond information extraction, in complexity and generality of structures detected, there is full parsing. There has been some pioneering work on applying semisupervised learning to parsing. A typical stochastic parsing model consists of three things: a representation scheme, a scoring function, and a search algorithm. The score for a complete parse tree is the sum of scores of the structure-pieces that make it up. The job of the search algorithm is to assemble structure pieces in such a way as to arrive at the parse tree with the maximal score, or close to the maximal score, among all valid parse trees for the given sentence. In the remainder of the book the author turns to methods from the machine learning literature. In this background material one can find: Simple classifiers (Naive Bayes, \(k\)-nearest neighbor), mathematics for boundary-oriented methods (linear separators, gradient, constrained optimization). Furthermore, a description of some methods based on these mathematical procedures is presented (perceptron, game self-teaching, boosting, support vector machines, multi-category noise model). We want to outline Vapnik's approach to learning that he called transductive inference. The usual semisupervised setting is inductive: in addition to the labeled training data, one has some labeled test data as well to evaluate performance. One can actually distinguish between inductive semisupervised learning and transductive semisupervised learning. The differences between them are whether the learner is given access to the unlabeled test data in addition to the unlabeled training data, and whether or not predictions will be required for test instances that were not initially given to the learner. Most inductive learners cannot take any advantage of unlabeled test data even if it is provided. Conversely, some transductive learners cannot easily be applied to new test instances. One can always add the new test instances to the unlabeled training data and re-run the learner, but generally at a significant practical cost: the time cost for running a transductive learner on a (large) training set generally significantly exceeds the time cost of applying an inductively trained classifier to a single test instance. The problem of clustering explains through basic mathematical conceptions: distance and similarity (similarity matrix, similarity graph); some methods are presented (\(k\)-means clustering, relevance feedback algorithm, graph cut method, label propagation). Generative models characterize the joint distribution of instances and labels, usually by separately characterizing the prior distribution of classes and the class-specific instance distribution or likehood. This is a source of the name: the generative model represents a hypothesis about how instances are generated for each class. For classification, the generative probability can be reversed using Bayes' rule. Generative models, particularly mixture models, are also applicable to clustering. Mixture models, being a prominent approach to clustering, are also the basis for the earliest examples of semisupervised learning methods, namely McLachlan's method and Expectation-Maximization (EM), that are described in the book. In classification and clustering something more must be assumed, beyond the objective of reducing training error. What are such constraints? These are agreement constraints. If one assumes two independent views of the data, one can look for pairs of classifiers, one for each view, that agree in their predictions on the unlabeled data. Requiring agreement imposes a non-trivial constraint on classifier selection. If the two views of the data are independent, then it should be difficult to find pairs of classifiers that predict the labeled data well and agree in their predictions on unlabeled data. If the two views are uncorrelated except for the structure imposed by the true classification, then significant agreement can't be by chance, but reveals the structure of the true classification. Then the author examines the idea of label propagation through a graph. The picture that emerges is that of a graph as a fabric or net in which instances and features are knots connected by cords to similar instances and features. The height of the fabric corresponds to the probability of having a positive label: an altitude of 1 indicates that the node is certainly labeled negative, and an altitude of \(1/2\) indicates that the two labels are equally likely. The labeled instances form the perimeter, at fixed heights of 1 or 0, and the unlabeled instances form the interior. The overall effect is a complex interpolation, with each unlabeled node being pulled to the average height of its neighbors. This yields a labeling of the entire graph, with nodes above altitude \(1/2\) labeled positive in the end and nodes below altitude \(1/2\) labeled negative. The following procedures are described: label propagation, random walks, harmonic functions, fluids. The final part of the book is dedicated to mathematics for spectral methods: basic concepts, eigenvalues, eigenvectors, scaling effects of matrices. Also descriptions of some spectral methods are given: simple harmonic motion, spectra of matrices and graphs, spectral clustering, spectral methods for semisupervised learning. The basic spectral methods for semisupervised learning are the now familiar methods for constructing a harmonic function. In the book under review two semisupervised spectral methods are considered -- the harmonic function method and the regularized method. Both of them are transductive: they tell us how to compute labels for the unlabeled instances, but they don't tell how to label new instances that were not included in the training data. A final question, then, is how to deal with test instances or how to do induction using transductive learners. In short, one can in this case simply use the averaging property to compute the label for a new instance. In conclusion, we say that this book provides the framework and motivation for a more systematic study of machine learning.











This page was built for publication: Semisupervised Learning for Computational Linguistics

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5308185)