cs.CVNov 24, 2026

RELAY: Learning Compatible Representations One Encoder at a Time

Authors: Yu Wang, Chuan Qin, Qiang Zhang

Organizations: Qwen Business Unit of Alibaba

Abstract

Old and new document embeddings coexist during incremental gallery re-encoding. RELAY trains a new query encoder with a learned projection against the original gallery, then freezes both to train the new document encoder. The same query vector scores both document versions throughout a single re-encoding pass. After backfill, optional query refinement drops the projection and reuses the stored document vectors. Across three text-to-image retrieval upgrades on COCO and Flickr30K, RELAY improves Recall@1 on untouched galleries by 8.66-10.23 percentage points over the original systems. For direct re-encoding, RELAY ranks first in both Qwen-to-Qwen upgrades and second in CLIP-to-Qwen by area under the Recall@1 curve, under both native scoring and matched calibration. With embeddings held fixed, calibrating scores separately for each document version can reduce drops in Recall@1 during backfill and change which method achieves the highest backfill AUC. After query refinement, final Recall@1 is within 0.97 percentage points of conventional joint training in all three upgrades.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning to Retrieve via Reinforcement Learning in Embedding Space

    Oct 6, 2026Qi Liu, Fengming Liang, Yiqun Chen +2RL for IRText Embedding Models

  2. Learning Query Encoders Can Be Hard Even When Vector Retrieval Is Geometrically Easy

    Oct 2, 2026Anders Wikum, Nina Mishra, Amin Saberi +1Dense RetrievalText Embeddings