Contrastive training on your own query–document pairs, with mined hard negatives — usually the single biggest retrieval win available.
Teaching the search engine your company's dialect. Right now it thinks 'churn' is about butter, and every question your users ask lands in the wrong part of the map.
A few thousand real query–document pairs usually beat months of chunking and prompt tuning. It is the highest-leverage retrieval work available.
An off-the-shelf embedding model knows general English, not that in your product 'churn' means a subscription event and not butter. Fine-tuning fixes the geometry: pull genuine query–document pairs together, push everything else apart. The signal that matters is the negatives. In-batch negatives are nearly free but too easy, so the model plateaus; mined hard negatives — documents the current retriever ranks highly but that are wrong — are what actually move recall. The training loop is InfoNCE with a temperature, the evaluation is recall@k and nDCG on a held-out golden set, and the trap is false negatives: a mined 'negative' that is actually a correct answer teaches the model precisely the wrong thing.
Fine-tuning an embedding model on your own query–document pairs reshapes the vector space around your domain's meaning of words. The training objective is contrastive — pull the true pair together, push others apart — and the quality of the result is dominated by the negatives you mine. Hard negatives, filtered so they aren't secretly correct, are where the recall gain comes from; in-batch negatives alone plateau quickly.
Fine tuning Embeddings Model — Genpakt, 7:07