VKVlad KulikovPublic / lectures
Modern LLMs17 / 20

Module 17. Embeddings, Retrieval, and RAG

Choose your answers and select “Check”. Numbers accept a decimal point, comma, or simple fraction. Answers and drafts are saved in this browser and shared between RU/EN.

Checked: 0 / 19 · Correct: 0

Question 17.4.1

17.4. BM25 and learned sparse retrieval: the branch that protects exact terms

Why does BM25 remain useful alongside dense retrieval?

One correct option

Question 17.5.1

17.5. Dense bi-encoders: learning a semantic space

How is the bi-encoder trained in the lecture’s contrastive example?

One correct option

Question 17.6.1

17.6. Matryoshka Representation Learning (MRL), quantization, and worked example A: the price of storing meaning

How does Matryoshka Representation Learning allow the embedding size to vary?

One correct option

Question 17.6.2

17.6. Matryoshka Representation Learning (MRL), quantization, and worked example A: the price of storing meaning

Ten million 1024-component vectors: what is the payload?

One correct option

Question 17.7.1

17.7. One vector, one pair, or a matrix: where query-document interaction happens

How does a cross-encoder differ from a bi-encoder?

One correct option

Question 17.7.2

17.7. One vector, one pair, or a matrix: where query-document interaction happens

What does late interaction do in ColBERT-style systems?

One correct option

Question 17.8.1

17.8. Worked example B: exact search and the arithmetic of ANN

At 10 GFLOP/s, what is the arithmetic-only estimate for 10M 1024-dimensional vectors?

One correct option

Question 17.9.1

17.9. ANN under the hood: three indexes for three resource constraints

What is HNSW's main trade-off?

One correct option

Question 17.10.1

17.10. Hybrid retrieval, reciprocal-rank fusion, and worked example F

How does RRF merge rankings without comparable raw scores?

One correct option

Question 17.10.2

17.10. Hybrid retrieval, reciprocal-rank fusion, and worked example F

Why is hybrid search not obliged to win on every metric at once?

One correct option

Question 17.10.3

17.10. Hybrid retrieval, reciprocal-rank fusion, and worked example F

Two documents are relevant; one reaches the top five. What is Recall@5?

One correct option

Question 17.11.1

17.11. Chunking: deciding what the index is allowed to retrieve

What semantic relationship can be lost when chunks are too short and have no overlap?

One correct option

Question 17.12.1

17.12. The full cascade and worked example D: where request latency lives

What must a context assembler guarantee under a hard token budget?

One correct option

Question 17.12.2

17.12. The full cascade and worked example D: where request latency lives

Why is the 1.658 s total not a rigorous lower bound?

One correct option

Question 17.15.1

17.15. The evolution of RAG: repair the measured failure, not the acronym list

How does agentic RAG differ from a retrieve-once pipeline?

One correct option

Question 17.16.1

17.16. Worked example E: RAG or long context

A 200K-token document against a 3,712-token RAG context. What does the gap give?

One correct option

Question 17.17.1

17.17. Evaluation and the embedder passport

Which pair of metrics separates the retrieval and generation stages?

One correct option

Question 17.17.2

17.17. Evaluation and the embedder passport

Why reject a repeated ID in an nDCG ranking?

One correct option

Question 17.14.1

17.14. Level 2: what the notebook makes reproducible

What does matching an excerpt to source offsets establish?

One correct option