Decoding Topics: A Comparative Analysis of Python’s Leading Topic Modeling Libraries Using Climate C
summary
Compares LDA, Top2vec, and BERTopic on 14,000 climate policy text blocks and four industry tasks: similarity, classification, real-time insertion, and dynamic topic tracking. Finds LDA very fast but fails at similarity; Top2vec yields best similarity and stores document embeddings for quick cosine lookups; BERTopic gives superior visualizations and supports dynamic topic modeling but creates many outliers and needs extra tuning. Quantitative results: ~70 automatic topics from the embedding methods and up to 92% classifier accuracy using topic labels.
AI-written summary · about
chapters (31)
- 0:00Introduction and speaker background
- 1:31What is topic modeling and why it matters
- 4:21Why this talk and industry inspiration
- 5:44Overview of topic modeling approaches
- 7:53Use cases for topic modeling in industry
- 11:25Data set selection and preparation
- 13:10Implementation details for LDA
- 13:52Implementation details for Top2Vec
- 14:55Implementation details for BERTopic
- 16:46Evaluation of libraries and models
- 18:31Results for use case one finding similar documents
- 20:37Results for use case two document classification
- 22:44Results for use case three real-time integration
- 25:06Results for use case four dynamic topic modeling
- 27:35Comparison and personal recommendations
- 29:45Q&A session introduction
- 30:07Handling short documents like tweets
- 32:37Classification task inputs and methods
- 33:18Handling emerging or unseen topics
- 34:02Using BERTopic embeddings for classification
- 35:07Measuring topic distinguishability
- 36:11Dynamic topic modeling and disappearing topics
- 37:15Manual evaluation of topics with human annotators
- 38:20Topic modeling with image or video data
- 38:42Using n-grams in topic modeling
- 39:25Can LLMs outperform topic modeling methods
- 40:30Topic modeling on multilingual data
- 41:32Merging smaller topics in LDA
- 42:17Handling documents with multiple topics
- 43:40Encoder models behind BERTopic
- 44:01Topic modeling for unordered unrelated terms
related talks
13mThinking of Topic Modeling as Search
27mUnveiling Clustering in BERTopic Topic Modeling
34mTopic modeling with BERTopic
01h 01mWorkshop: Intro to topic modeling using Python
45mEvaluating Topic Models
57mDiscover semantic topics in a collection of documents
01h 26mBagging to BERT- A tour of applied NLP
35mLeveraging LLM for text augmentation in Topic Modeling
