[Paper Review] Word Embedding Visualization Via Dictionary Learning
This paper proposes dictionary learning to decompose pre-trained word embeddings into interpretable, semantically meaningful factors, enabling visualization and improved performance in word analogy tasks. By learning sparse, low-rank components from word vectors, the method reveals latent semantic and syntactic structures, significantly boosting accuracy across multiple word embedding models and analogy subtasks through factor group selection.
Co-occurrence statistics based word embedding techniques have proved to be very useful in extracting the semantic and syntactic representation of words as low dimensional continuous vectors. In this work, we discovered that dictionary learning can open up these word vectors as a linear combination of more elementary word factors. We demonstrate many of the learned factors have surprisingly strong semantic or syntactic meaning corresponding to the factors previously identified manually by human inspection. Thus dictionary learning provides a powerful visualization tool for understanding word embedding representations. Furthermore, we show that the word factors can help in identifying key semantic and syntactic differences in word analogy tasks and improve upon the state-of-the-art word embedding techniques in these tasks by a large margin.
Motivation & Objective
- To develop a method for visualizing and interpreting the internal structure of continuous word embeddings, which are typically opaque due to non-interpretable vector dimensions.
- To automatically discover elementary semantic and syntactic factors underlying word vectors, avoiding manual selection of word pairs.
- To improve word analogy performance by leveraging these learned factors as a selection criterion beyond cosine similarity.
- To validate that the discovered factors capture reliable semantic distinctions, enabling diagnosis of model biases and errors.
- To explore the potential of word factors as a foundation for constructing new, more nuanced word analogy tasks beyond existing benchmarks.
Proposed method
- Reformulate non-negative sparse coding (NSC) to allow continuous, non-binary coefficients, enabling more flexible and meaningful factor representations.
- Apply spectral clustering to group related factors into higher-level semantic categories, such as 'female', 'fruit', or 'mobile&IT'.
- Train dictionary learning on word vectors from multiple models (e.g., Word2Vec, FastText, GloVe) to extract a shared set of elementary factors.
- Use the learned factors to decompose each word vector as a linear combination of active factors with associated weights.
- Introduce a factor group selection method: select answers not only by proximity in embedding space but also by higher activation on relevant semantic factor groups.
- Apply the method to diagnose and correct errors in word analogy tasks by ensuring predicted words align with expected semantic factor profiles.
Experimental results
Research questions
- RQ1Can dictionary learning automatically discover interpretable semantic and syntactic factors from pre-trained word embeddings?
- RQ2Do the learned factors correspond to meaningful linguistic concepts previously identified through manual inspection?
- RQ3Can factor-based selection improve performance on word analogy tasks beyond standard vector similarity?
- RQ4Are the discovered factors robust across different word embedding models and training corpora?
- RQ5Can the factor decomposition reveal and correct systematic biases or errors in word embedding models?
Key findings
- Dictionary learning successfully extracts 145 interpretable word factors, including 'female', 'fruit', 'mobile&IT', and 'organism', with clear semantic and syntactic meanings.
- The method enables meaningful visualization of word vectors as linear combinations of factors, such as 'apple' being composed of 'fruit' (0.16), 'dessert' (0.09), and 'organism' (0.11).
- Applying factor group selection improves performance on word analogy tasks by up to 28% on average, with gains of 20–30 percentage points on subtasks like 'ideology' and 'profession'.
- The approach reduces error rates on challenging analogies—e.g., 'wife - husband + policeman' correctly predicts 'policewoman' with factor-based filtering.
- The method generalizes across models: FastText and GloVe show consistent improvements, with FastText achieving 85.50% accuracy on 'ideology' after factor selection.
- The factor decomposition reveals that word vectors are composed of a sparse combination of elementary semantic components, supporting the idea of 'discourse atoms' and sememe theory.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.