19
0

Generative Retrieval and Alignment Model: A New Paradigm for E-commerce Retrieval

Abstract

Traditional sparse and dense retrieval methods struggle to leverage general world knowledge and often fail to capture the nuanced features of queries and products. With the advent of large language models (LLMs), industrial search systems have started to employ LLMs to generate identifiers for product retrieval. Commonly used identifiers include (1) static/semantic IDs and (2) product term sets. The first approach requires creating a product ID system from scratch, missing out on the world knowledge embedded within LLMs. While the second approach leverages this general knowledge, the significant difference in word distribution between queries and products means that product-based identifiers often do not align well with user search queries, leading to missed product recalls. Furthermore, when queries contain numerous attributes, these algorithms generate a large number of identifiers, making it difficult to assess their quality, which results in low overall recall efficiency.To address these challenges, this paper introduces a novel e-commerce retrieval paradigm: the Generative Retrieval and Alignment Model (GRAM). GRAM employs joint training on text information from both queries and products to generate shared text identifier codes, effectively bridging the gap between queries and products. This approach not only enhances the connection between queries and products but also improves inference efficiency. The model uses a co-alignment strategy to generate codes optimized for maximizing retrieval efficiency. Additionally, it introduces a query-product scoring mechanism to compare product values across different codes, further boosting retrieval efficiency. Extensive offline and online A/B testing demonstrates that GRAM significantly outperforms traditional models and the latest generative retrieval models, confirming its effectiveness and practicality.

View on arXiv
@article{pang2025_2504.01403,
  title={ Generative Retrieval and Alignment Model: A New Paradigm for E-commerce Retrieval },
  author={ Ming Pang and Chunyuan Yuan and Xiaoyu He and Zheng Fang and Donghao Xie and Fanyi Qu and Xue Jiang and Changping Peng and Zhangang Lin and Zheng Luo and Jingping Shao },
  journal={arXiv preprint arXiv:2504.01403},
  year={ 2025 }
}
Comments on this paper