Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Language Models As Semantic Indexers (2310.07815v3)

Published 11 Oct 2023 in cs.IR, cs.CL, and cs.LG

Abstract: Semantic identifier (ID) is an important concept in information retrieval that aims to preserve the semantics of objects such as documents and items inside their IDs. Previous studies typically adopt a two-stage pipeline to learn semantic IDs by first procuring embeddings using off-the-shelf text encoders and then deriving IDs based on the embeddings. However, each step introduces potential information loss, and there is usually an inherent mismatch between the distribution of embeddings within the latent space produced by text encoders and the anticipated distribution required for semantic indexing. It is non-trivial to design a method that can learn the document's semantic representations and its hierarchical structure simultaneously, given that semantic IDs are discrete and sequentially structured, and the semantic supervision is deficient. In this paper, we introduce LMIndexer, a self-supervised framework to learn semantic IDs with a generative LLM. We tackle the challenge of sequential discrete ID by introducing a semantic indexer capable of generating neural sequential discrete representations with progressive training and contrastive learning. In response to the semantic supervision deficiency, we propose to train the model with a self-supervised document reconstruction objective. We show the high quality of the learned IDs and demonstrate their effectiveness on three tasks including recommendation, product search, and document retrieval on five datasets from various domains. Code is available at https://github.com/PeterGriffinJin/LMIndexer.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (13)
  1. Bowen Jin (45 papers)
  2. Hansi Zeng (18 papers)
  3. Guoyin Wang (108 papers)
  4. Xiusi Chen (36 papers)
  5. Tianxin Wei (23 papers)
  6. Ruirui Li (33 papers)
  7. Zhengyang Wang (48 papers)
  8. Zheng Li (326 papers)
  9. Yang Li (1142 papers)
  10. Hanqing Lu (34 papers)
  11. Suhang Wang (118 papers)
  12. Jiawei Han (263 papers)
  13. Xianfeng Tang (62 papers)
Citations (9)
Github Logo Streamline Icon: https://streamlinehq.com