Abstract
Topic modeling analyzes a collection of documents to learn meaningful patterns of words. However, previous topic models consider only the spelling of words and do not take into consideration the homography of words. In this study, we incorporate Wikipedia knowledge into a neural topic model to make it aware of named entities. We evaluate our method on two datasets: news articles from the New York Times and the AIDA-CoNLL dataset. Our experiments show that our method improves the performance of neural topic models in generalizability. Moreover, we analyze frequent terms in each topic and the temporal dependencies between topics to demonstrate that our entity-aware topic models can capture the time-series development of topics effectively.
Introduction: The Homography Problem
Traditional topic models, such as Latent Dirichlet Allocation (LDA) or the more recent Embedded Topic Model (ETM), suffer from a fundamental linguistic hurdle: homography. A word like "apple" can refer to a fruit, a multinational tech giant, or a record label. A standard topic model sees the same string of characters and treats them as a single data point.
This "context-blindness" harms performance because the meaning of a word often shifts depending on the topic. For example, "Amazon" in a business article usually refers to the company, while in an environmental report, it refers to the rainforest. Existing models struggle to distinguish these, leading to "muddy" topics and lower predictive accuracy.
Methodology: Integrating Wikification
The authors propose a pipeline that integrates Entity Linking (or "Wikification") into neural topic models. Their approach consists of three main steps:
- Wikification (Preprocessing): Instead of just tokenizing text, they use an entity linker (specifically from the Stanford CoreNLP toolkit) to identify mentions of specific entities and link them to their corresponding Wikipedia entries.
- Entity Embeddings: They utilize Wikipedia2Vec, a tool that learns joint vector representations for both words and entities. If "apple" is identified as the company, the model uses the specific
ENTITY/Apple_Inc.embedding rather than the genericappleword embedding. - Integration with Neural Models: These embeddings are fed into two types of models: the static ETM and the DSNTM (Dynamic Structured Neural Topic Model), which captures how topics evolve over time.
By using entity embeddings, the model can distinguish between multiple entities that share the same spelling, effectively "disambiguating" the vocabulary before the topic modeling begins.
Experimental Setup
The researchers evaluated their method on two distinct datasets:
- New York Times (NYT) Archive (1996–2020): Subsets containing the words "apple" and "amazon" were extracted to test the model's ability to handle homography over a long time horizon.
- AIDA-CoNLL Dataset: A standard benchmark for entity linking that includes manual (gold-standard) entity annotations, allowing for a test of how linker quality affects the final topic model.
Key Results and Interpretability
The proposed DSNTM+EL (Entity Linking) achieved significant improvements in generalizability. On the NYT "apple" dataset, it reached a perplexity of 3578.6, compared to the baseline DSNTM's 4597.9. Lower perplexity indicates a better fit for the data.
Qualitatively, the "entity-aware" topics are much easier for humans to interpret. Instead of generic terms like "company, million, year," the model provides high-fidelity context through entities like ENTITY/Apple_Inc. and ENTITY/Microsoft.
The model also successfully captured the "birth" of entities. For instance, ENTITY/Google emerges in topics after 2006, reflecting the company's real-world growth and IPO, whereas a standard model might just show the generic word "search."
Discussion and Limitations
While the method shows clear benefits, it faces a "Linker Bottleneck." The performance is heavily dependent on the accuracy of the preprocessing. If the entity linker fails, the topic model's performance can degrade. Furthermore, the model is limited to entities present in Wikipedia; emerging or niche terms not yet "Wikified" remain generic.
Future work could involve incorporating state-of-the-art entity linkers to further boost performance and exploring ways to handle entities outside the existing knowledge base.
Summary updated