bm25
Applied AI interview questions tagged bm25, across every topic.
5 questions · 1 unlocked for you
Concepts behind "bm25"
The curriculum that explains the ideas these questions test.
Foundational
Classic NLP: Bag-of-Words, TF-IDF, and Word2VecBefore learned embeddings, text was turned into sparse high-dimensional vectors with bag-of-words and TF-IDF, which count words and weight them by how distinctive they are but ignore meaning and order. Word2Vec and GloVe replaced counts with dense vectors trained so that words in similar contexts land near each other, which captures semantic similarity. Applied-AI interviews probe this because sparse methods still win as cheap baselines and as the lexical half of hybrid retrieval, and because they explain what dense embeddings actually fixed.🧠 Foundations of LLMs & GenAI
Core
Hybrid Search and Reciprocal Rank FusionPure vector search captures meaning but misses exact terms (codes, names, SKUs); pure keyword search (BM25) nails exact terms but misses synonyms and intent. Hybrid search runs both and fuses the results, and Reciprocal Rank Fusion is the simple way to merge their rankings without calibrating incomparable scores. Applied-AI interviews probe it because production retrieval is almost always hybrid, and knowing why (and how to fuse) signals real RAG experience.🤖 Retrieval & AgentsSign in
