Reproduce “Dynamic Topic Evolution with Temporal Decay and Attention in Large Language Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Di Wu, Shuaidong Pan

Researchers from the University of Southern California and Carnegie Mellon University developed a framework for dynamic topic evolution within large language models by integrating temporal decay and attention mechanisms. The model achieved improved performance on the 20 Newsgroups dataset, recording a perplexity of 598.2, diversity of 0.78, topic coherence of 0.57, and topic stability of 0.69, outperforming several baselines.

Key insights

  • Explicitly incorporating temporal decay and attention into LLMs significantly enhances their ability to model dynamic topic evolution, leading to higher topic coherence, diversity, and stability.
  • The choice of hidden layer dimensionality is crucial; increasing it from 128 to 768 generally improved topic coherence and diversity, while excessively high dimensions (e.g., 1024) could introduce noise.
  • An optimal time series length is vital for performance, with a moderate range (around 200 units in experiments) improving overall model fit and topic diversity, while longer sequences consistently enhance topic stability.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.