~/talk

Thinking of Topic Modeling as Search

Talkat PyBay 2024 · on Saturday, 2024-09-21· [machine-learning, developer-experience]
name:Kas Stohr
links:none on file
slides:none on file

Treat topic modeling as search by training BERTopic daily, saving document embeddings in a vector store (e.g. PGVector or OpenSearch), and creating topic centroid embeddings to query that store. Using the mean of all topic docs returns noisy, near‑random hits; localizing the centroid with class‑based TF‑IDF keywords, nearest‑doc cosine selection, or an LLM summary yields focused results. Prototype returns about one in four documents preassigned to a topic and top results are reliably on‑topic; image captioning fills textless posts.

AI-written summary · about

  1. 0:00Introduction to topic modeling
  2. 1:07Why search instead of tagging
  3. 3:35How embeddings work
  4. 5:24Storing embeddings in databases
  5. 6:49Training the topic model
  6. 8:16Creating topic embeddings
  7. 9:44Testing the search approach
  8. 12:52Key takeaways and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.