Benchmarks

How much retrieval quality does Isotrieve preserve when migrating between embedding models? nDCG@10 retention measured against full re-embedding on BEIR SciFact.

0.908
Retention (same-dim)
bge → e5, SciFact, K=2000
0.866
Retention (rectangular)
MiniLM → bge, K=4000
0.0
Floor (raw cross-space)
Different models ≠ same space
PASS
Gate (K≥2000)
From 48 benchmark runs

Adapter Comparison

SciFact, MiniLM → bge-large, K=4000, 3 seeds.

AdapternDCG@10 RetentionNotes
Ridge0.866 ± 0.008Default. Fast, stable.
LowRank0.857 ± 0.009Compressed. ~1% worse.
Procrustes0.851 ± 0.007Square only. Orthogonal.
MLP0.719 ± 0.008Non-linear. Linear wins.

K-Sweep: Calibration Size vs Retention

All adapters averaged across 3 seeds on SciFact.

K (calibration texts)nDCG@10 RetentionGate Verdict
5000.667 ± 0.039WARN
10000.732 ± 0.056WARN
20000.788 ± 0.054PASS
40000.817 ± 0.064PASS

Same-Dimension Pair: bge → e5 (1024d)

Same dimension ≠ same space. e5 requires "query: " / "passage: " prefixes.

MetricnDCG@10
Floor (raw cross-space)0.000
Isotrieve (mapped)0.656
Ceiling (full re-embed)0.722
Retention0.908

Without e5 prefixes, ceiling drops to 0.355 — model preprocessing matters.

Score Recalibration (v0.2)

bge → e5 (same-dim)

Threshold τRaw Recall@10+ RecalibrationΔ
τ ≤ 0.75100%100%0
τ = 0.8012%17%+4.7%

MAE = 0.095, margin compression = 0.83x. Helps marginally on same-dim pairs.

MiniLM → bge (rectangular)

Threshold τRaw Recall@10+ RecalibrationΔ
τ = 0.6078%100%+22%
τ = 0.7027%67%+40%
τ = 0.808%19%+11%

MAE = 0.364, margin compression = 0.85x. Essential for rectangular pairs.

Confidence Flags (v0.2)

Adaptive P33/P67 percentile margins from calibration data.

PairHigh-Conf R@10Low-Conf R@10Gap
bge → e50.9550.6370.318
MiniLM → bge0.8750.6510.224

Null Results (logged, not hidden)

FeatureResultAction
Cross-encoder reranking−10.7ptsNot shipped. Domain mismatched.
TSVD shrinkage−0.33pt at rank=512Not worth complexity.
Procrustes centering−55pt on unit vectorsReverted. Breaks serve-mode.

Tested Model Pairs

SourceTargetDimKRetention
BAAI/bge-large-en-v1.5intfloat/e5-large-v21024 → 102420000.908
all-MiniLM-L6-v2BAAI/bge-large-en-v1.5384 → 102440000.866
Methodology

Dataset

  • SciFact (BEIR)
  • 300 queries with qrels
  • In-domain calibration

Models

  • MiniLM-L6 (384d)
  • bge-large (1024d)
  • e5-large (1024d)

Metrics

  • nDCG@10 retention
  • Recall@10 at thresholds
  • MAE, margin compression

Gate Model

  • Isotonic regression
  • 48 runs, LOPO CV
  • MAE = 0.044