Abstract
Traditional dynamic topic models often assume that topics evolve as independent, isolated tracks over time. This assumption fails to capture the reality of scientific progress, where research fields frequently branch out or merge to form new disciplines. We introduce the Dynamic Structured Neural Topic Model (DSNTM), which leverages a self-attention mechanism to model these complex interdependencies. By incorporating citation regularization, DSNTM aligns abstract topic transitions with actual scholarly influence. Our results on large-scale research corpora demonstrate that DSNTM significantly improves topic coherence and predictive performance, effectively mapping the genealogy of ideas.
The Challenge of Independent Evolution
Existing dynamic topic models, such as the Dynamic Topic Model (DTM) and the Neural Dynamic Embedded Topic Model (D-ETM), typically rely on Markov chain structures. In these frameworks, a topic at time $t$ is derived solely from its direct predecessor at $t-1$. While this captures gradual shifts in vocabulary, it cannot represent how multiple distinct fields—such as Computer Vision and Natural Language Processing—converge to create new areas like Text-to-Image synthesis.
This "independent evolution" flaw limits the ability of models to reflect the true non-linear nature of scientific discovery and hinders the prediction of emerging topics in future time steps where data is not yet available.
Methodology: Self-Attention and Citations
DSNTM addresses these limitations by replacing simple Markov chains with a self-attention mechanism, similar to those used in Transformer architectures.
- Topic Self-Attention: Instead of looking only at the immediate past, a topic at time $t$ can attend to all topics from previous time steps. The model treats historical topics as "Keys" and "Values," while the current state serves as the "Query." This allows the model to mathematically quantify the influence of multiple "parent" topics on a single "descendant."
- Citation Regularization: To ground these mathematical transitions in reality, the authors utilize citation data. By incentivizing the model to align attention weights with actual citation patterns between papers, the resulting topic trajectories mirror the physical flow of information between researchers.
- Scalable Inference: Using amortized variational inference, the model remains scalable to large datasets, employing neural networks to approximate topic distributions more efficiently than traditional sampling methods.
Experimental Setup
The model was rigorously tested on two subsets of the S2ORC (Semantic Scholar Open Research Corpus):
- ACL Dataset: ~23,000 papers from computational linguistics (2006–2019).
- CS Dataset: ~40,000 highly-cited computer science papers (2006–2019).
Papers were organized into two-year windows to ensure sufficient data density for robust modeling.
Key Results and Qualitative Insights
DSNTM outperformed baseline models across several key metrics:
- Generalization: Perplexity on the CS dataset dropped from ~2519 (D-ETM) to ~2156, indicating a much better fit for unseen data.
- Coherence: Topics were more human-interpretable, showing higher NPMI scores, particularly when citation regularization was applied.
- Predictive Power: The model successfully predicted word distributions for the 2018-2019 period using only data up to 2017, demonstrating its utility for forecasting research trends.
A standout feature of DSNTM is its ability to visualize the merging of ideas. For example, the model captured how "Video Tracking" and "Reinforcement Learning" (Action Policy) merged into a unified "Video Scene Tracking" topic in the 2018-2019 period.
Conclusion and Future Directions
DSNTM represents a significant step forward in automated literature analysis by treating the evolution of ideas as a structured web rather than a series of parallel lines. While the current model uses a fixed number of topics and relies on abstracts, future iterations could incorporate full-text analysis and dynamic topic counts to further refine this map of scientific influence.
Summary updated