Word embedding represents a word as a low-dimensional vector learned from a large corpus and has improved many NLP applications such as machine translation, parsing and text classification. However, most embedding models capture only a single sense per word, even though nearly 40% of English words have more than one sense; the word "book", for example, can mean both "reserve" and "a set of written pages". Existing polysemy embedding models often trade accuracy for performance, and polysemy embedding libraries have not reached the standard of ordinary word embedding.
This project presents an iterative polysemy embedding approach that favours accuracy at the cost of performance. An English corpus based on the 1 Billion Word Language Model Benchmark is preprocessed through tokenization, stop-word removal, POS tagging and lemmatization, and the 500 most frequent polysemous words are selected using WordNet. Every occurrence of these words is first labelled as a distinct token, embedded with the BlazingText algorithm on Amazon SageMaker, and then clustered so that occurrences with similar meanings are merged. The corpus is relabelled and re-embedded repeatedly, using k-means in early iterations, WordNet senses as a knowledge-based step, and similarity-score clustering in later iterations. A second strand of the work explores morphological regularities in embedded space, comparing English and Tamil and introducing morpho-lexical sense based word manipulation.
The polysemy embedding model was evaluated over four embedding iterations on thirteen word similarity datasets, with accuracy improving on most of them; for example, WS-353-ALL rose from 0.6094 to 0.6770, WS-353-SIM from 0.6871 to 0.7284, MEN from 0.6671 to 0.7244, SimLex-999 from 0.3272 to 0.3760 and Rare Words from 0.2316 to 0.2758. Verb-focused datasets such as Verb-143 and SimVerb-3500 declined, which the team attributes to words lost through stemming. On the sense-aware SCWS dataset, accuracy increased from 0.3470 after the first iteration to 0.5953 after the fourth. The model did not surpass the SCWS benchmark of 0.697 reported by Li and Jurafsky, which the team attributes to a smaller training corpus, but it was consistently more accurate than the underlying word embedding it started from. For Tamil morphological generation, choosing the closest word achieved around 23% accuracy, rising to 50% when the target was sought among the top 10 candidates and 60% among the top 100; restricting evaluation to forms that occur frequently in the corpus raised accuracy to 65% at N=10, with past tense forms reaching 83% at N=100 and several high-frequency forms reaching 100%.
Iterative Polysemy Embedding Algorithm
A new iterative embedding and clustering approach that relabels and re-embeds the corpus until each polysemous word converges to a set of sense-specific vectors, combining k-means, WordNet-based and similarity-score clustering.
Embedding Evaluation Tool
A word and polysemy embedding evaluation tool that brings together evaluation scripts for many relatedness, similarity, analogy and sense-aware datasets, released to the NLP community.
Morpho-lexical Sense based Tamil Morphological Generator
An unsupervised approach to extract morphemes and manipulate words using morpho-lexical senses and admissible words, implemented as a morphological generator for Tamil and evaluated on a new expert-assisted dataset of inflected forms.
The project shows that iterative embedding and clustering can improve the accuracy of an embedding model irrespective of the underlying word embedding approach, offering a path towards more accurate sense-based representations. The morphological work opens the possibility of objectively analysing the morphological richness of a language and provides resources for Tamil, a low-resource language, with potential applications in speech synthesis and recognition, lemmatization, spell and grammar checking, machine translation and search.
Iterative embedding and clustering approach: sense instances of a word (e.g. rock) are clustered and merged over successive embedding rounds
Word similarity accuracy (Spearman rho) across embedding iterations on thirteen English evaluation datasets
Senses of the word rock_N being clustered and reduced across embedding iterations
J. Jeyanthasingam
Undergraduate Researcher
Member of the project team researching sense-based polysemy embedding and morphological regularities in word embedding.
N. Kavirajan
Undergraduate Researcher
Member of the project team researching sense-based polysemy embedding and morphological regularities in word embedding.
P. Paralogarajah
Undergraduate Researcher
Member of the project team researching sense-based polysemy embedding and morphological regularities in word embedding.
K. Suthagar
Undergraduate Researcher
Member of the project team researching sense-based polysemy embedding and morphological regularities in word embedding.