Search papers, labs, and topics across Lattice.
This paper introduces TTT-Embed, a novel framework that optimizes query embeddings at test time by distilling ranking rewards into a lightweight vector within the output embedding space of a frozen model. By leveraging scalar ranking scores assigned to the retriever's own candidate documents, TTT-Embed circumvents the need for parameter access and ground-truth labels, allowing for dynamic adjustment of reward reuse across global, task, and query scopes. The approach significantly enhances retrieval performance across multiple embedding models and tasks, achieving improvements in nDCG@10 and effectively addressing issues of catastrophic forgetting while maintaining in-domain specialization.
Ranking rewards can be reused at test time to boost retrieval performance without accessing model weights or ground-truth labels.
Dense retrievers rank documents using vector similarity between a frozen encoder and a precomputed index. While test-time ranking rewards from a reranker or LLM judge can improve results, existing methods discard this signal after a single query. Updating the retriever's weights makes rewards reusable, but this requires parameter access, which is unavailable for closed-source models, and is computationally prohibitive. We propose TTT-Embed (Test-Time Tuning of Embeddings), a framework that distills ranking rewards into a lightweight, learned vector within the output embedding space of a frozen model. This vector is optimized purely from scalar ranking scores assigned to the retriever's own candidate documents, requiring no access to model weights, ground-truth labels, or modifications to index. A single scope parameter controls rewards reuse (global, task, or query), enabling a principled trade-off between reusability and specificity under a fixed reward computation budget. We demonstrate that as the available reward budget scales, the optimal sharing scope shifts dynamically from global-wise to task-wise and finally to query-wise. Evaluated across five embedding models and 15 MTEB retrieval tasks, TTT-Embed improves test-time retrieval by up to +8.36 nDCG@10. Crucially, the learned states generalize effectively to unseen queries (up to +8.57 nDCG@10) and unseen tasks (up to +4.71 nDCG@10). Furthermore, TTT-Embed successfully resolves catastrophic forgetting: by leaving base weights entirely frozen, it recovers degraded general capabilities (up to +8.00 nDCG@10, even surpassing the original base model) while preserving in-domain specialization. These results establish ranking rewards as a reusable test-time state, enabling budget-efficient adaptation for any embedding model, including closed-source APIs.