Word embedding models have great value in a wide variety of problems in Computer Science, especially in Natural Language Processing. By focusing on the semantic contexts of words, they allow to understand relationships between text segments in more accurate, less biased ways. The motivation of this work is the fact that several aspects of word embedding models, such as how those 'relationships' should be interpreted and how far different embedding models and approaches are comparable, are still not sufficiently clear. We group these aspects into three categories: algorithmic, theoretic and application questions. In this work, we present a three-way analysis of word embedding models based on these categories. These analyses are built on top of each other. Without first understanding the algorithmic questions, we are not able to answer the theoretical ones. Similarly, to answer the questions regarding word embedding model applications, we need to understand their theoretical aspects better.
The first part of the three-way analysis investigates the training algorithm of embedding models. Previous literature used word embedding models without taking into consideration the fact that their similarity value distributions can be significantly different. Our first contribution is to show that models trained with different parameter settings can be significantly different in the sizes of their similarity values, but at the same time, the shape of their distribution is indeed fundamentally similar.
One big advantage of embedding models is that they can be trained on arbitrary text corpora. While the quality of word embedding models trained on full-text corpora is fairly well known, an assessment of models built on fragmented corpora is missing. To fill this void, in the second part of the algorithmic analysis, we describe experiments to examine how model quality changes when the training corpus is not full-text, but n-grams. The experiments quantify how much fragmentation (i.e., values of $n$) reduce the average quality of the corresponding word embedding models, on common word similarity and analogical reasoning test sets.
The second part of our analysis is regarding the similarity values of word embedding models from a theoretical point of view. We investigate questions such as: What do similarity values of those models actually mean? For example, if word A is more than 0.5-similar to word B, then are A and B always semantically similar?
We answer these and other equally important questions regarding similarity values. We identify meaningful similarity thresholds, i.e., similarity values and similarity list indices that separate relevant word pairs from irrelevant ones. Based on these thresholds, we propose a similarity threshold aware evaluation method of word embedding models, one that does not compare the word pairs which fall below the calculated threshold. This ensures a more reliable comparison of word embedding models in the future.
Our final analysis addresses the applicability of word embedding models in down-stream applications. Because of their understanding of words one of the most intuitive use case for word embedding models is text classification, i.e., to assign predefined categories to text documents. Usually, the more labeled samples a text classifier is presented with, the better it will be able to predict categories of unknown samples. However, in most cases the majority of data is unlabeled and labeling it is a costly and time consuming process.
In this work, we explore the possibility to improve the quality of text classification despite the scarcity of labeled data. We present a lexical substitution approach for preprocessing that compensates the scarcity of labeled data. It is an orthogonal extension to virtually any existing text classification approach, to improve classification accuracy. Our approach replaces words unknown to the classifier with known ones for statistical robustness, based on the main contribution of this part: a novel semantic-distributional word distance measure that includes both semantic information extracted from word embedding models and distributional information extracted from the training data. This is the first time to use the combination of these two information for text classification.
| Related KIT institution | Institute for Program Structures and Data Organisation (IPD) |
|---|---|
| Language | English |
| KITopen ID | 1000132472 |
| Publisher | Karlsruher Institut für Technologie (KIT) |
| Size | xiii, 142 p. |
| Faculty | Department of Informatics (INFORMATIK) |
| Institute | Institute for Program Structures and Data Organisation (IPD) |
| Exam date | Jan 11, 2021 |
| Supervisor | K. Böhm |