Lexical, semantic and hybrid retrieval 00:00:01 One fault has two names A mechanic types a fault code. The service manual calls the same problem a pressure fluctuation. The exact-code index and the semantic index send Noor different first choices. Their score scales happen to look numeric. that doesn't make them interchangeable. Lexical retrieval and dense retrieval can disagree productively. The former can preserve an exact error code. the latter can recover paraphrases. Fusion combines evidence from both rankings after each has searched the eligible corpus. Write rank one beside the literal match and rank one beside the strongest paraphrase in its own list. Give a small contribution to each rank with a common smoothing constant, then add contributions by passage identity. 00:00:48 Combine two ranked lists The rare code E17 is a strong lexical signal. This index supplies ranked IDs with its own score scale. “Charged twice” retrieves the useful P9 even without the error code. The dense score scale need not match the lexical scale. For equal weights and fusion constant 60, P4 receives 1 out of 61 plus 1 out of 63. P9 receives 1 out of 64 plus 1 out of 61. Keep upstream ranks to explain the difference. Ranks start at one. an absent document contributes zero for that list. With k equals 60, ranks 1 and 3 yield about 0.03227. Ranks 4 and 1 yield about 0.03202. 00:01:41 Compare scores in their own units Encode a query with the representation and preprocessing expected by the index. A change in language, casing policy or model-specific prefix can shift its neighbors. Test with known query–passage pairs and inspect nearest results before changing the generator or adding more retrieved text. For a model with query and passage prefixes, encode a known question both ways. Check how the rank of its answer passage changes. Similarity search scores or ranks candidates using the index metric. Some A P Is return distances where smaller is closer. others return similarities where larger is better. Verify the contract with a point identical to the query and an orthogonal point before implementing a score threshold. Search an index with one of its stored vectors. Determine whether the expected best result has the smallest distance or the largest score. Scores from different retrievers can use incompatible scales. Normalize with a justified method or combine ranks, then measure relevance on labeled queries. Keep each original score and rank in traces. Otherwise a ranking regression can be impossible to attribute to the lexical or dense stage. One system scores a document 12 and another scores it 0.8. Inspect the ranks within each list before treating the numbers as comparable. Track result identity across both lists. Measure performance separately on identifiers and paraphrases, then inspect whether fusion helps one population at the expense of the other. Rank fusion is a reasonable baseline when raw score scales differ. 00:03:25 Which candidate wins after fusion? The term score is 12 and a cosine score is 0.84. How should the system combine them? Raw scores need not have comparable meanings. Rank fusion combines ordering without assuming identical score units. In this case passage four wins by a narrow margin. Noor can explain the win from the two rank positions and tune the fusion on held-out faults instead of adding unrelated raw scores.