When Your Embedder Thinks Everything Is a Finance Question
About this series: a retrospective on ideas I developed building retrieval systems at a startup in 2023–24, re-examined with the benefit of distance. Two things shaped the re-reading. First, a few years spent on a very different discipline of analysis — stepping back to see a subject whole, mapping its gaps and constraints from every angle, and reasoning toward a way forward. Second, the field moved; much of what I was reaching for has since been formalized and stress-tested. So each post takes one old idea, holds it against the 2026 canon, and states plainly how it aged. This is less of a guide and more a record, notes toward understanding my own work rather than advice for anyone else’s.
The first time I plotted the retrieval scores from our finance corpus, I thought the code was broken. Every candidate for every query came back at roughly the same cosine similarity: a tight little clump around 0.8. The relevant chunk and a dozen irrelevant ones were separated by hundredths. Top-k wasn’t ranking to my dismay; it was practically drawing lots among things that all “looked” equally relevant to a layman.
The embedder wasn’t broken. It had just decided that, in a knowledge base where every document is about finance, everything is a finance question — and it did not have the ability to tell them apart.
The symptom: contrast collapse
The tell was the shape of the score distribution, not any single score. In a healthy setup, similarities spread out: the good match sits well above the noise. In a collapsed one, the whole distribution bunches high and narrow, with a high mean and little variance. Everything is “relevant,” so nothing is retrievable in the sense that matters: you can’t separate signal from plausible-looking noise.
This was easy to miss because the numbers looked good. 0.8 similarity feels like a strong match. It wasn’t; it’s a strong match relative to random internet text, and our corpus contained no random internet text. Relative to its actual neighbors, the target is barely ahead.
The cause: anisotropy, made worse by domain
Generalist embedding spaces are anisotropic: learned embeddings don’t fill the sphere evenly, they concentrate in a narrow cone for a particular domain of text. Cosine similarities are therefore compressed upward by default, and even unrelated texts sit at moderately high similarity by virtue of being in the same domain of knowledge: say for instance, “finance.”
Restrict the inputs to a single domain and you push further into an already narrow region. Finance chunks are near each other in topic, so they’re near each other in embedding space as well. Thus the model’s remaining discriminative budget — the fine distinctions between one fund’s Q3 and another’s — gets squeezed into the last decimal places only. This outcome is natural after all: the general-purpose model was trained to tell finance from cooking from law. It was never optimized to tell finance from finance.
The fix that just works: rerank
A cross-encoder reranker fixes this issue almost embarrassingly well. Where the bi-encoder embeds query and document separately and compares vectors, a cross-encoder instead reads the pair jointly and scores their relevance directly. That joint pass restores exactly the contrast the embedder collapsed: it can see that this chunk answers the question and that near-identical-looking one doesn’t, because it’s attending to both at once rather than comparing two frozen summaries.
The canonical cascade of “a cheap bi-encoder to fetch a few hundred candidates plus a cross-encoder to re-rank the top of that pile” isn’t a generic “add a reranker for +2%” tip though. It is the specific antidote to contrast collapse. The bi-encoder recovers recall from a huge corpus, and the reranker recovers contrast that the bi-encoder threw away.
What I did in 2024 vs. what I would do in 2026
In 2024 my rerank stage was an off-the-shelf MS-MARCO MiniLM cross-encoder, backstopped by a GPT-4 yes/no filter that judged each surviving chunk’s relevance (an expensive crutch that I didn’t trust the raw scores enough to drop.) The plan in my notes was to fine-tune a cross-encoder on in-domain pairs so a plain score threshold could replace that LLM call. Regrettably at the time I never got to it; the startup moved on first. In 2026 though I’m actually glad I never got to it. Rerankers are a commodity now, and the off-the-shelf ones are better than what a small team could have trained in a sprint. Some notable ones are bge-reranker-v2-m3, Cohere Rerank, Voyage, Jina’s listwise rerankers, and Qwen3-Reranker. The instinct of two-stage, rerank to restore contrast, threshold to drop the LLM-as-reranker crutch was nevertheless exactly right. The fine-tune I never shipped is now a product anyone can call.
Reranking wasn’t the only lever though, just the cheapest. The upstream fixes, at the first stage, were:
- Instruction-tuned / in-domain embedders. The top positions of the MTEB leaderboard are held by instruction-conditioned models that hold contrast far better in-domain than the generalist encoders I started with. This is often the single highest-leverage swap.
- In-domain contrastive fine-tuning. Given query–passage pairs, a light contrastive tune can re-spread the space for the distribution you actually work with.
- Hybrid with BM25. Lexical retrieval doesn’t suffer embedding anisotropy at all; blending in a sparse signal reintroduces contrast on exact-term matches (like fund tickers and dates) that dense similarity smears together.
The part worth keeping: the diagnostic
Techniques may churn but the diagnostic doesn’t. Before reaching for any of the fixes, the move that kept paying off at the time was to look at the score distribution. Similarities bunched high with low variance implied contrast collapse, and so the treatment followed from there: rerank first (cheapest), then consider a better embedder or a hybrid signal. If the scores are already well-spread and retrieval still misses, the problem is likely somewhere else then, probably representation coverage and not contrast.
That five-minute histogram has saved me more debugging time than any single model swap. The lesson from 2024 wasn’t “train a cross-encoder.” It was “when your embedder thinks everything is a finance question, measure how confused it is before you decide how to fix it.”