CARE: Contrastive-Anchored Residual Encoding with Listwise Reconstruction for Retrieval-Oriented Semantic IDs
Yuan Xu, Dawei Chen, Xiaoguang Lin, Xin Chen, Yulong Ou, Haijun Wu
Abstract
Generative retrieval replaces nearest-neighbor search with the generation of a document's semantic ID (SID), so the SID tokenizer bounds what the retriever can recall. Common SID constructions (residual k-means, RQ-VAE, finite scalar quantization, capacity balancing) optimize criteria defined on document embeddings alone and do not control whether a query can still find its relevant documents after quantization. We propose two retrieval-oriented SID tokenizers. CARE-SID (Contrastive-Anchored Residual Encoding for Semantic IDs) quantizes in a retrieval-aligned space: a zero-initialized residual alignment network is trained with a query-document contrastive loss before quantization, an anchor loss and a reconstruction target fixed to the original embedding prevent drift and collapse, and reference-vector rating residual quantization assigns the codes. CARE-LR (CARE with Listwise Reconstruction) then distills, for each training query, the similarity distribution that the original embeddings induce over a candidate list into the SID reconstructions, through a function-preserving layer-resolved head. Both keep a document-only encoding interface. We judge SIDs without training a generator, by row-budget recall in a bucketing view (the partition) and a reconstruction view (the SID with its reconstruction). In offline evaluation on industrial video search data, both tokenizers achieve higher reconstruction-view recall than residual k-means, and CARE-LR improves further on CARE-SID, mainly through the listwise distillation. A comparison of two document embeddings shows that contrastive alignment helps most when the embedding has not been trained on search data, and that the embedding affects SID recall far more than the quantizer. CARE-SID is deployed in the generative retrieval stage of an industrial video search system.
Create a lesson
Related papers
CARE: Conversational Affective Response Retrieval for Internet Memes
Shared title terminology · Jiajun Li, Leihan Zhang, Teng Zhang et al.
NONSENSE: Non-Semantic Strings Expose Semanticity Gaps in Dense Retrieval
Shared title terminology · Ankit Gupta
Dhara: Evidence-Oriented Retrieval for Indian Knowledge Systems
Shared title terminology · Avinash Holenarasipur Nagendra, Anand Kaniyaar Sriranga Prasad, Rahul Vishwakarma et al.
Probabilistic Relevance Decisions for Semantic Retrieval
Shared title terminology · Bahadır Tatar, Cevat Şener
Item Representations Matter: Bridging Hard Semantic IDs and Soft Prototype Mixtures for Generative Retrieval
Shared title terminology · Vicente Balmaseda, Dongqi Fu, Jiarui Feng et al.
ERA: Embed, Route, Adapt for Cold-Start Cross-Model Latent Retrieval
Shared title terminology · Venkata Chivukula, Zifeng Wang, Jinsung Yoon