Dimensionality reduction is critical for deploying dense retrieval systems at scale, yet mainstream post-hoc methods face a fundamental trade-off: principal component analysis (PCA) preserves dominant variance but underutilizes representational capacity, while whitening enforces isotropy at the cost of amplifying noise in the heavy-tailed eigenspectrum of retrieval embeddings. Intermediate spectral scaling methods unify these extremes by reweighting dimensions with a power coefficient γ, but treat γ as a fixed hyperparameter that requires task-specific tuning. We show that the optimal scaling strength γ is not a global constant: it varies systematically with target dimensionality k and is governed by the signal-to-noise ratio (SNR) of the retained subspace. Based on this insight, we propose Spectral Tempering (SpecTemp), a learning-free method that derives an adaptive γ(k) directly from the corpus eigenspectrum using local SNR analysis and knee-point normalization, requiring no labeled data or validation-based search. Extensive experiments demonstrate that Spectral Tempering consistently achieves near-oracle performance relative to grid-searched γ∗(k) while remaining fully learning-free and model-agnostic. Our code is publicly available at https://github.com/liyongkang123/SpecTemp.
Figures & tables
Figure 1. Consistent spectral structure of dense retrieval embeddings. Eigenvalue distributions from 1M sampled embeddings on MS MARCO and NQ exhibit consistent heavy-tailed decay across diverse retrievers, revealing a head–tail signal-to-noise ratio (SNR) gradient—leading components are signal-dominant while tail dimensions grow noise-prone—motivating dimensionality-adaptive tempering.
Model
Params
Dim
Length
MRL
Release
Qwen3-8B
8.0B
4096
32k
✓
Jun 2025
Jina-v4
3.8B
2048
32k
✓
Jun 2025
Nomic-v2
475M
768
512
✓
Feb 2025
EmbeddingGemma
308M
768
2048
✓
Sep 2025
GTE-7B
7.0B
3584
32k
✗
Jun 2024
BGE-M3
560M
1024
8192
✗
Feb 2024
Table 1. Retrieval model statistics (Params: total parameters; MRL: Matryoshka Representation Learning support).
Model
Method ↓k→
MS MARCO
NQ
FEVER
FiQA
768
512
256
128
64
768
512
256
128
64
768
512
256
128
64
768
512
256
128
64
Qwen3-8B
Full Dimension
36.8
64.9
91.8
64.7
Prefix Truncation
36.4
35.7
34.5
32.4
28.2
63.7
63.2
61.1
57.3
49.1
91.8 ns
91.6
91.2
90.1
85.5
63.9
63.5
61.6
57.4
51.3
Random Truncation
35.9
35.5
34.3
31.5
24.8
63.5
62.5
59.3
53.2
40.0
91.6 ns
91.3
90.8
89.0
79.6
63.0
61.6
59.4
53.4
41.7
Random Projection
36.2
35.7
34.3
32.0
26.4
63.6
62.5
60.4
55.5
44.2
91.5
91.3
90.6
89.4
82.3
63.0
62.6
59.8
55.5
45.5
PCA
36.0
35.5
34.1
31.3
25.0
64.6 ns
63.8
62.1
57.2
47.0
91.0
90.7
89.6
87.4
83.1
63.7
63.7
62.1
59.2
53.2
Table 2. Retrieval performance on four datasets at target dimensions k . Bold denotes the best per column within each model. All results are averaged over three random seeds (1999, 5, 2026). Superscript ns indicates that, for all three runs, the difference from Full Dimension is not significant (two-sided paired t -test, p<0.05 ). Absence of ns indicates significance in at least one run.
Figure 2. Performance consistency on NQ across additional retrievers. BGE-M3 has 1024 native dimensions, while the others have 768.
Target Dimension k ( → )
768
512
256
128
64
Oracle γgrid∗ (Empirical)
0.15
0.25
0.45
0.55
0.95
Predicted γ(k) (SpecTemp)
0.15
0.24
0.49
0.96
1.00
∣Δ∣ nDCG@10 (0–100 scale)
0.02
0.01
0.06
0.11
0.05
Table 3. Comparison between oracle γ∗(k) obtained via grid search and the theoretically predicted γ(k) on NQ by GTE-7B.
Approximate Nearest-Neighbor Search (ANNS) pipelines for high-dimensional neural embeddings spend the bulk of their query time in candidate verification, making it the primary bottleneck in the search process. In this paper, we present PANORAMA, a state-of-the-art refinement technique that accelerates verification by exploiting the inherent spectral decay of these embeddings. Using PCA to compact signal energy, PANORAMA evaluates candidate distances incrementally, computing at each step a strict lower bound on the full-vector distance and dynamically pruning candidates the moment this bound exceeds the running k-th nearest neighbor distance. While PCA's concentration of variance facilitates pruning, it breaks the uniform-variance assumption required by Product Quantization (PQ); we resolve this with a variance-shaping step that redistributes energy across subvectors, rendering accretive refinement compatible with quantized indexes. Optimized for modern memory hierarchies via vectorized bulk-pruning and cache-conscious data layouts, PANORAMA has been upstreamed into the FAISS library across major index families (IVFPQ/Flat, HNSW, and Refine). PANORAMA achieves higher QPS at any target recall with a cost that provably scales inversely with dataset spectral decay, delivering end-to-end speedups of up to 28.9x and outperforming probabilistic methods across all recall bands.
Vansh Ramani, Alexis Schlomer, Akash Nayar +3
IIT Delhi & CMU & UCPH · Carnegie Mellon University · Indian Institute of Technology Delhi +1
[Abridged] - Spectral Retrieval is a plug-in re-ranking stage that interpolates between per-token MaxSim and mean-pool retrieval through a multi-scale sinc convolution over token embeddings. In standard dense retrieval each document is one mean-pooled vector; when relevance localises into a short subspan, the signal averages into noise. Spectral Retrieval reuses per-token embeddings from a late-interaction index and convolves them with a normalised sinc kernel at multiple scales. At L=1 the kernel acts as the identity, recovering per-token MaxSim; as L grows it approaches a uniform filter, recovering mean pooling. The maximum cosine over positions and scales yields a score provably no less informative than either endpoint. On a controlled synthetic benchmark with 1,000 documents and planted single-position spikes, mean-pool retrieval sits at chance (Recall@10 ~ 0.02) regardless of spike strength, while Spectral Retrieval reaches Recall@10 = 1.0 once the planted cosine exceeds the corpus-level token noise floor. On LIMIT-small with a frozen all-mpnet-base-v2 encoder, Spectral Retrieval lifts Recall@10 from 0.33 to 0.90, MRR from 0.22 to 0.79, and strict Success@10 from 0.12 to 0.84, without retraining. The method fits naturally into multi-agent LLM systems, where each agent benefits from a tighter, role-specific retrieval window over a shared corpus.
We propose Latent Terms, a method revealing that models trained for dense retrieval, whether single- or multi-vector, learn representations that can trivially be decomposed into retrieval-ready sparse features. When trained on frozen retrievers, Sparse Autoencoders without any retrieval-specific adjustments extract a latent vocabulary with approximately Zipfian collection statistics, directly suitable for classical sparse retrieval scoring via BM25. This approach enables sparse retrieval while requiring no learned expansion objective or sparse retrieval supervision whatsoever, and can be readily applied to any dense retriever. Latent Terms is able to match or outperform single-vector scoring methods from its own base model as well as comparable SPLADE variants. In addition, it substantially outperforms its base model on LIMIT, a task specifically designed to highlight the failures of single-vector retrieval. Overall, our results highlight that neural retrievers contain more expressive and indexable structure than their default scoring functions expose, but that other methods can nonetheless be leveraged.
Benjamin Clavié, Sean Lee, Aamir Shakir +1
Mixedbread AI · National Institute of Informatics (NII) · University of Tsukuba