~/talk

Word2Vec model to generate synonyms on the fly in Apache Lucene

Talkat Berlin Buzzwords 2022 · 2022-06-12..06-14· [machine-learning]
links:none on file
links:none on file
slides:none on file

Implemented an on-the-fly Word2Vec synonym filter for Apache Lucene that reads a trained deep learning4j model, builds an HNSW proximity graph from embeddings and expands queries or enriches documents. Prototype reduces per-term expansion latency from 70ms→6ms, parses DL4J zip models only, and includes a CLI trainer that builds a model from a Lucene index (tested on a 3.4 GB Italian Wikipedia index); HNSW build for ~300k vectors takes ~2 minutes and current work targets on-disk memory-mapped models and multi-term synonyms.

AI-written summary · about

  1. 0:00Introduction and presenters
  2. 1:25Company background and expertise
  3. 3:12Agenda and talk overview
  4. 3:54Synonym expansion in search engines
  5. 6:25Limitations of vocabulary-based synonyms
  6. 7:28Proposed Word2Vec solution
  7. 8:31Word2Vec algorithm overview
  8. 10:38Word2Vec architectures
  9. 12:23DeepLearning4j implementation
  10. 14:11Contribution to Apache Lucene
  11. 17:43HNSW for efficient nearest neighbor search
  12. 20:11Implementation details and optimizations
  13. 21:35Performance improvements
  14. 23:44Contextual domain adaptation
  15. 24:52Word2Vec model trainer tool
  16. 26:57Practical usage examples
  17. 29:27Index-time vs query-time expansion
  18. 31:55Future work and improvements
  19. 35:04Q&A session
~/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.