Abstract
Traditional topic models like Latent Dirichlet Allocation (LDA) often struggle with semantic coherence because they rely solely on word co-occurrences within a corpus. This paper proposes KGE-LDA, a framework that integrates structured real-world knowledge from Knowledge Graphs (KGs) into the topic discovery process. By utilizing pre-trained entity embeddings and the von Mises-Fisher (vMF) distribution, KGE-LDA produces more interpretable topics and superior document representations. Experimental results on benchmark datasets demonstrate significant improvements in topic coherence and classification accuracy over state-of-the-art baselines.
Introduction
Probabilistic topic modeling is a fundamental technique for uncovering latent themes in large text corpora. However, unsupervised models like LDA frequently produce "noisy" topics that lack semantic clarity, primarily because they ignore the rich relational knowledge available in external sources. While previous attempts to incorporate prior knowledge used discrete constraints, they often failed to capture the nuanced semantic relationships found in modern Knowledge Graphs (KGs) like WordNet or Freebase.
This research introduces KGE-LDA, which bridges this gap by leveraging Knowledge Graph Embeddings (KGE). By representing entities as continuous vectors in a high-dimensional space, the model can better understand the conceptual proximity between terms, leading to more robust and human-interpretable topic distributions.
Methodology: The KGE-LDA Framework
The authors propose two variants of the model: KGE-LDA(a), which assumes conditional independence between words and entities given a topic, and KGE-LDA(b), which models a correspondence relationship where entities are generated based on the topics assigned to words in the document.
Technical Innovations
- Embedding Integration: The model incorporates entity vectors pre-trained using the TransE algorithm. These embeddings capture the global structural information of the KG.
- von Mises-Fisher (vMF) Distribution: Since entity embeddings are typically normalized to a unit sphere, the authors employ the vMF distribution instead of a standard Gaussian. This choice is mathematically principled for directional data and facilitates efficient inference via Gibbs sampling.
- Joint Generative Process: The model simultaneously generates words from a Dirichlet-multinomial distribution and entity embeddings from a vMF distribution, ensuring that discovered topics align with both local textual context and global structured knowledge.
Experimental Evaluation
The models were evaluated on three benchmark datasets: 20-Newsgroups (20NG), NIPS research papers, and Ohsumed medical abstracts. WordNet (WN18) served as the external Knowledge Graph.
Topic Coherence
Topic coherence was measured using Point-wise Mutual Information (PMI). As shown in the results, KGE-LDA variants consistently outperformed standard LDA and other knowledge-enhanced baselines across all datasets and varying numbers of topics ($K$).
Classification and Interpretability
Beyond coherence, KGE-LDA demonstrated superior performance in document classification tasks using SVMs. For instance, on the 20NG dataset, KGE-LDA(a) achieved an accuracy of 0.705, surpassing the baseline LDA (0.693). Qualitative analysis further revealed that KGE-LDA effectively filters out corpus-specific noise (e.g., "writes," "organization"), focusing instead on semantically relevant terms like "Bayesian" or "posterior" for technical topics.
Conclusion and Future Work
KGE-LDA represents a significant step forward in integrating structured knowledge into probabilistic topic modeling. By moving from discrete links to continuous spherical embeddings, the framework captures subtle semantic nuances that traditional models miss. While the model's performance is currently linked to the quality of entity linking and the relevance of the chosen KG, future work will explore domain-specific knowledge bases and more advanced embedding techniques to further enhance topic discovery.
Summary updated