Reproduce “Revisiting Automated Topic Model Evaluation with 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
Dominik Stammbach, Vilém Zouhar, Alexander Hoyle, Mrinmaya Sachan, Elliott Ash
This work explores using large language models (LLMs) to automate topic model evaluation, demonstrating that LLMs can provide topic coherence ratings more aligned with human judgment than traditional metrics and offer a method for determining the optimal number of topics by assessing document set purity. It achieves a Spearman correlation of approximately 0.59 with human coherence judgments and a 0.72 correlation for optimal topic number selection on the Wikitext dataset.
Key insights
- Large language models can provide topic word set coherence ratings that correlate more strongly with human judgments than traditional automated metrics.
- Evaluating the purity of document sets (D_T) through LLM-assigned labels, rather than solely word set (W_T) coherence, is more effective for determining the optimal number of topics when the goal is to organize document collections.
- Incorporating research questions into LLM prompts allows for context-sensitive guidance in hyperparameter tuning, aligning model outputs with specific analytical objectives.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.