1. Configure query & passage set
Initialise MDBR-LEAF-IR above to run the asymmetric prefix + MRL lab.
2. Asymmetric Query Prefix vs Raw Query
The exact same query is encoded twice in one worker pass: once with MongoDB's prompt
"Represent this sentence for searching relevant passages: " and once raw. Passages are never prefixed.
| Passage | Prefixed Q | Raw Q | Delta | Tokens |
|---|
3. Interactive N×N Cosine Heatmap & Matryoshka (MRL) Retention
N×N Cosine Heatmap Canvas
Includes Q+ (prefixed query), Q0 (raw query), and every passage. Click a cell
or use the keyboard selectors below to inspect any pair.
Matryoshka (MRL) Truncation Curve (64d → 384d)
Computed instantly in-memory by slicing the first d dimensions of the live 384-d embeddings
and re-normalizing — zero extra model passes.
| Dim | Pos cos | Margin | Top-1 | fp32 / int8 |
|---|