Work

LLM-LDA: Large Language Model Augmented Latent Dirichlet Allocation

Year: 2025
Type: dissertation
Abstract: Topic modeling uncovers latent themes in text, with popular methods including Latent Dirichlet Allocation (LDA) and BERTopic. LDA models documents as mixtures of topics but ignores word order by representing documents as bag-of-words. BERTopic generates document embeddings using a large language model (LLM) and clusters them into topics, limiting documents to a single topic. Both output bag-of-words topic representations, which lack phrase-based topic labels and contextual details. To address these limitations, this thesis introduces Large Language Model Augmented Latent Dirichlet Allocation (LLM-LDA), which assumes sentences are generated using an LLM conditioned on topic labels. It iteratively cycles between assigning topics to sentences via collapsed Gibbs sampling and refining topic labels through LLM prompting. Final topics are represented as collections of sentences with accompanying phrase-based labels. Experiments show LLM-LDA exceeds BERTopic in identifying topic mixtures of multitopic documents and, unlike LDA, accounts for semantics by returning consistent results across paraphrased documents.
Language: English
Open Access status: green
OpenAlex ID: W7133017175
Cites: 60
Cited by:
Related to: 10