Towards Context-aware Reasoning-enhanced Generative Searching in E-commerce
Zhiding Liu, Ben Chen, Mingyue Cheng, Enhong Chen, Li Li, Chenyi Lei, Wenwu Ou, Han Li, Kun Gai
TL;DR
CRS tackles the limitations of context integration in e-commerce search by unifying heterogeneous user and item signals into a text-based substrate and leveraging large language models for explicit, multi-step reasoning. It introduces a self-evolving post-training loop that alternates supervised fine-tuning with reinforcement learning and a debiased RL algorithm (R-GRPO) to better align optimization with ranking quality. The approach achieves consistent, substantial gains over strong baselines on three real-world datasets, including strong improvements for cold-start and highly similar item scenarios. This work demonstrates a practical path to improving search-based recommendation through context-aware reasoning, scalable inference, and robust training in large-scale e-commerce settings.
Abstract
Search-based recommendation is one of the most critical application scenarios in e-commerce platforms. Users' complex search contexts--such as spatiotemporal factors, historical interactions, and current query's information--constitute an essential part of their decision-making, reflecting implicit preferences that complement explicit query terms. Modeling such rich contextual signals and their intricate associations with candidate items remains a key challenge. Although numerous efforts have been devoted to building more effective search methods, existing approaches still show limitations in integrating contextual information, which hinders their ability to fully capture user intent. To address these challenges, we propose a context-aware reasoning-enhanced generative search framework for better \textbf{understanding the complicated context}. Specifically, the framework first unifies heterogeneous user and item contexts into textual representations or text-based semantic identifiers and aligns them. To overcome the lack of explicit reasoning trajectories, we introduce a self-evolving post-training paradigm that iteratively combines supervised fine-tuning and reinforcement learning to progressively enhance the model's reasoning capability. In addition, we identify potential biases in existing RL algorithms when applied to search scenarios and present a debiased variant of GRPO to improve ranking performance. Extensive experiments on search log data collected from a real-world e-commerce platform demonstrate that our approach achieves superior performance compared with strong baselines, validating its effectiveness for search-based recommendation.
