~/talk

Document/Sentence Similarity Solution

Talkat PyData London 2022 · 2022-06-17..06-19· [machine-learning]
name:Ade Idowu
links:none on file
slides:none on file

A working set of three demos compares actual methods: a book‑title nearest‑neighbor, a toy search engine, and an STS benchmark evaluation. Text converts to vectors with tf-idf, averaged word embeddings, SIF, Universal Sentence Encoder, and sentence-transformers (Hugging Face / SBERT); cosine similarity measures pairs and Pearson correlation scores models. Results show SBERT-style transformers score best, USE second, SIF beats simple averaging, and tf-idf performs worst, with SBERT noticeably slower and costlier; PCA/t‑SNE/UMAP and heatmaps visualize the clusters.

AI-written summary · about

  1. 0:00Start
  2. 1:32Agenda
  3. 6:09What is STS - Semantic Textual Similarity
  4. 9:22Demo of Solved Problems
  5. 10:28Textural similarity measures
  6. 13:42Compare Similarity Measure
  7. 16:52Sentence pre-processing using NLP
  8. 20:53Feature engineering using Sentence Embedding techniques
  9. 23:08Evolution of Text Embedding Models
  10. 29:56Word Embedding - Word2Vec
  11. 31:02Sentence Embedding - by averaging word embeddings
  12. 32:46Sentence Embedding - by using Smooth Inverse Frequency (SIF)
  13. 35:48Sentence Embedding example
  14. 37:35USE architecture
  15. 39:16S-Bert Encoder
  16. 41:51Visualizing Sentence embeddings
  17. 48:56Dimension Reduction library/API details
  18. 49:27Example of PCA Visualization (tf-idf)
  19. 50:17Example of t-SNE Visualization (sif)
  20. 50:46Example of MDS Visualization (use)
  21. 51:31Example of UMAP Visualization (s-bert)
  22. 51:52Heatmap of TF-IDF computed similarity
  23. 57:35Heatmap of SIF Word Embedding computed similarity
  24. 57:49Heatmap of USE computed similarity
  25. 58:15Heatmap of S-BERT computed similarity
  26. 58:34Validation of Similarity Results
~/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.