Introduction
Topic modeling is a cornerstone of Natural Language Processing (NLP), enabling the discovery of latent themes within large document collections. However, traditional methods like Latent Dirichlet Allocation (LDA) are fundamentally monolingual, relying on word frequencies. This creates a barrier for crosslingual analysis; a standard model cannot inherently recognize that "beer," "bière," and "olu" refer to the same concept. Existing crosslingual solutions often depend on scarce resources like parallel corpora or massive bilingual dictionaries, which scale poorly as more languages are added.
To address these challenges, we present WikiPDA (Wikipedia-based Polyglot Dirichlet Allocation). WikiPDA is a novel crosslingual topic model that represents Wikipedia articles using a universal, language-independent vocabulary of Wikidata concepts. By shifting from words to links, WikiPDA enables joint analysis across hundreds of languages—including those unseen during training—without requiring machine translation or manual dictionaries.
Methodology: From Words to Wikidata Links
The fundamental innovation of WikiPDA is the transition from a "bag of words" to a "bag of links." Instead of analyzing the text directly, the model treats an article's outgoing links to other Wikipedia pages as its primary features.
The WikiPDA Pipeline
The architecture consists of three main stages:
- Link Densification: Human editors do not link every possible concept. To mitigate data sparsity, WikiPDA employs matrix completion (via Alternating Least Squares) on a massive graph of Wikipedia inter-article links. This process predicts missing links, creating a "dense" semantic profile for each document.
- Universal Vocabulary Mapping: Every Wikipedia article is mapped to its unique, language-independent ID in Wikidata (e.g., Q44 for "Beer"). This ensures the "vocabulary" is identical across all language editions.
- Joint Topic Modeling: Because the input is language-agnostic, a standard monolingual LDA model can be trained on pooled data from all languages simultaneously.
Experimental Evaluation
The model was trained and evaluated on a massive dataset comprising 28 major language editions, totaling 25 million documents and a vocabulary of 437,000 unique Wikidata concepts. To test generalizability, the researchers also conducted "zero-shot" testing on 17 additional languages not seen during training (e.g., Armenian, Basque, Thai).
Human Coherence and Model Stability
A key metric for topic models is human interpretability, often measured via "intruder detection" tests. In these tests, humans identify which concept does not belong in a given topic. WikiPDA achieved 60–70% accuracy, significantly outperforming random guessing (16.7%).
Crucially, WikiPDA demonstrates superior stability compared to text-based LDA. While traditional models often produce less coherent topics as the number of topics ($K$) increases, WikiPDA's performance remains robust, particularly for $K > 75$.
Key Results and Insights
- Language Agnosticism: The model is truly language-independent. When a model trained on English was applied to 17 unseen languages, the classification performance (AUC) only dropped slightly from 86% to 82%.
- The Power of Densification: The matrix completion step is critical; it improved human-judged topic coherence by up to 15 percentage points compared to using raw, sparse links.
- Cultural Discovery: WikiPDA successfully identifies regional and linguistic biases. For instance, it highlighted that "Comics" is a dominant topic in English and Dutch editions, while "Geopolitics" characterizes the Hebrew edition. It also detected bot-driven content biases in the Swedish and Waray Wikipedias.
Conclusion and Future Directions
WikiPDA provides a scalable, interpretable framework for crosslingual topic modeling that bypasses the need for expensive linguistic resources. While currently optimized for Wikipedia, the model's reliance on Wikidata IDs suggests it could be extended to any text through the use of automated entity linkers. Future work will focus on addressing language imbalances to ensure that the unique cultural nuances of smaller language communities are adequately represented in the global topic space.
Summary updated