Basics · Inside CLS-Pooled Matryoshka Compression & Query Prefixing

Matryoshka Retention Curve (768→128) & Query Prefix Ablation

Measure how Snowflake/snowflake-arctic-embed-m-v1.5 retains ranking order (Kendall's τ and Spearman ρ) when slicing 768-d vectors down to 512-d → 256-d → 128-d plus 256-d int8 / int4, and compare retrieval separation With vs Without Snowflake's asymmetric query prefix in real forward passes.

1. Configure Matryoshka & prefix ablation corpus

2. Live Matryoshka Precision Retention Curve (768-d → 128-d)

Retention & margin across MRL slices

MRL & scalar quantization benchmark

Live Matryoshka retention metrics including Kendall tau and Spearman rho
Format Bytes/vec Ratio Top-1 Margin Kendall τ Spearman ρ
Run the ablation above to measure live MRL rank preservation.

3. With vs Without Snowflake Query Prefix Ablation

With Query Prefix (Official)

Prepends "Represent this sentence for searching relevant passages: "

Waiting for forward pass…

Without Query Prefix (Raw Query)

Embeds query identically to document passages (no asymmetric prompt)

Waiting for forward pass…

Per-passage cosine & WordPiece token comparison

Per-passage prefixed vs unprefixed cosine similarity and L2 norm
Passage Tokens L2 norm Prefixed 768-d Prefixed 256-d Raw 768-d
Waiting for live forward pass…

Show the code

Show the code: Kendall's tau rank preservation metric (arctic-m-core.mjs)
Show the code: MRL 768→128 + scalar int8/int4 retention curve (arctic-m-core.mjs)