Problem
Teams building vector search often optimize what is easy to improve (latency) instead of the business key result, so proofs of concept miss the relevance target. In a survey of 79 teams, missed relevance was the top production blocker. Common failure modes: a cross-encoder reranker fed ever more candidates until cost and latency stop paying off; averaged vectors that place nonsense near the query; recency boosting that forces full index scans.
Example from the article: In a hotel-review search project, the query "good Wi-Fi" matched "bad Wi-Fi" and "no Wi-Fi" as the second and third best results.
Solution in brief
Tie retrieval work to a key result owned by the budget holder (for example click-through +20%), build an eval, then change one lever at a time: no vector averaging, triplet-loss fine-tuning (also distilling the reranker), hybrid sparse+dense scoring, graph signals, template-filling query models. Reported gain: about 5% precision from fine-tuning; no A/B tests.
Questions this case answers
- How to choose what to optimize in a retrieval system so that the work moves a business metric owned by someone with budget
- How to improve ranking quality of an embedding-based retrieval stage when adding more reranked candidates has stopped paying off in cost and latency
- How to let a language model query a database through a constrained set of query patterns instead of generating whole queries
- How to make a retrieval system optimize a business key result instead of whatever engineers find easiest to improve
Tools and methods
- Two-bucket eval — a hand-made sample set plus hard cases logged from production
- Hybrid search — sparse keywords plus dense semantics
- Triplet-loss fine-tuning — separate "good X" from "bad X"
- Reranker distillation — embedder imitates the cross-encoder
- Graph embeddings — unsupervised compression of interactions
- Query templates — a model fills parameters (Instructor), DSPy tunes prompts
Google or a one-time email code. No password.