~/talk

Thinking of Topic Modeling as Search

Talkat PyCon US 2026 · 2026-05-13..05-19· [machine-learning, databases]
name:Kas Stohr
links:none on file
slides:none on file

Claim: convert topic models into search queries by turning documents and topics into dense vectors, store and query them in Elasticsearch or Redis, and retrieve current posts without tags. Pipeline specifics: use sentence-transformers to make embeddings, prefer localized keyword-based topic embeddings over simple means, measure with precision@K and recall@K, cache topic vectors, and run dual time windows (≈180 days evergreen vs 7-day emergent). Preprocessing (strip PII, filter replies, handle numbers) proves essential and the keyword-localized change noticeably fixes noisy retrieval.

AI-written summary · about

  1. 0:00Topic modeling project intro
  2. 1:30Real-time topic modeling
  3. 2:52Search as topic modeling
  4. 4:37Text embeddings in topic models
  5. 7:07Building the pipeline
  6. 8:32Training from scratch
  7. 9:36Evaluating model performance
  8. 11:40Embedding failures
  9. 13:46Embedding design lessons
  10. 14:07Pre-processing pitfalls
  11. 15:32Refining keywords with TF-IDF
  12. 16:55Tracking topics over time
  13. 17:56Conclusion and applications
  14. 18:57Q&A
~/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.