ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial3 min readDisconfirmAI Editorial

Reference z-score fusion keeps embedding migration quality within 7.1% where RRF drops 40%

Weaviate Head of Applied Research John Trengrove benchmarks a technique called reference z-score fusion for combining search results from two incompatible embedding models during an in-place migration. Across four datasets, the method limits quality loss to 2.0–7.1% of ideal, compared to RRF's 36-40% drops, by calibrating each model's scores against a small reference set embedded with both models.

2026-12-02 08:00 GMT+8

Upgrading an embedding model in a production vector database normally means building a second index and re-embedding everything. That works, but doubles storage for the transition period. At scale, or on resource-constrained deployments, teams instead migrate vectors in-place: some documents get new embeddings while others still carry old ones, and queries must draw results from both sets.

The problem is that two embedding models produce completely incompatible vector spaces, often with different dimensions. Raw distances cannot be merged because one model will systematically return tighter scores for any given query. Reciprocal rank fusion, the standard technique for combining result lists, assumes the same documents appear in both sets of queries. During a partial migration, that assumption fails: old-model results and new-model results rarely overlap, so RRF cannot properly interleave them. Trengrove's benchmarks show RRF losing 36-40% of NDCG@10 relative to the ideal (fully migrated) model, with quality dipping below the original model for the entire migration period.

His proposed fix, reference z-score fusion, works by calibrating each model's scores against a shared reference. Take a sample of documents (5,000 in the experiments, or 10% of the corpus if smaller than 50,000) and embed them with both models. At query time, encode the query with both models, search the old vectors with the old query vector and the new vectors with the new query vector, then score the query against the reference set with each model. For each model, compute the mean and standard deviation of the top reference results, rescale every search hit by subtracting the mean and dividing by the standard deviation, and merge the two lists on the resulting z-scores. The z-score expresses how many standard deviations a hit sits above a strong reference match, putting both models on a comparable scale.

Sign in / Sign up
ReadingResearchRadarInvestment framework

Across four migrations (SCIDOCS 26K, FiQA 58K, Quora 523K, MS MARCO 8.8M), reference z-score fusion produced quality drops of 2.0% to 7.1% at representative migration points, compared to RRF's 36-40% drops. The full migration ranges (from start to end of backfill) spanned 0.5% to 10.6% depending on dataset size and model compatibility. On the Weaviate HNSW implementation migrating NanoBEIR from bge-small-en-v1.5 to gte-modernbert-base, the method stayed within about 2% of ideal throughout, while RRF dropped by up to 35%. The computational overhead is brute-forcing the reference vector sample with both query vectors, described as a few milliseconds on modern hardware.

Trengrove also tested whether a learned mapping (rotation and scale, inspired by Plato's Key and Drift-Adapter) could convert old vectors into the new model's space. For two models sharing an architecture (gte-modernbert-base to DenseOn), it performed comparably to z-score fusion. For less similar models, it fell 14-31% below ideal on smaller corpora and more than 50% on MS MARCO. His explanation: a mapping approximates every old vector, so any error changes the ranking itself, while fusion leaves each model's ranking untouched and only decides how to interleave them.

For fine-tuned models, the situation differs. A fine-tuned model starts from the base model's weights, so if it hasn't drifted far, simply switching the query vector to the fine-tuned model can work without any fusion. Trengrove's bge-small-en-v1.5 medical fine-tune showed a 12% improvement on held-out MedEmbed data from the query-only change alone. Model merging (combining original and fine-tuned parameters) kept embeddings compatible enough that fusion wasn't needed, though it still helped.

All results are Weaviate's own benchmarks on their platform. The reference set size introduces a quality/latency tradeoff: on MS MARCO, increasing the reference set from 5,000 reduced the gap from ideal from 7.1% to 3.4%, but larger sets add brute-force cost. The method requires encoding each query with both models during migration and scoring against the reference set, which adds latency proportional to reference set size.

Sources

  • weaviate.io↗
Continue researching →