NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

OneSearch: A Preliminary Exploration of the Unified End-to-End Generative Framework for E-commerce Search

Ben Chen, Xian Guo, Siyuan Wang, Zihan Liang, Yue Lv, Yufei Ma, Xinlong Xiao, Bowen Xue, Xuxin Zhang, Ying Yang, Huangyu Dai, Xing Xu, Tong Zhao, Mingcan Peng, Xiaoyang Zheng, Chao Wang, Qihang Zhao, Zhixin Zhai, Yang Zhao, Bochao Liu, Jingshan Lv, Xiao Liang, Yuqing Ding, Jing Chen, Chenyi Lei, Wenwu Ou, Han Li, Kun Gai · DOI

TL;DR

This paper introduces OneSearch, the first end-to-end generative framework for e-commerce search, addressing limitations of traditional multi-stage systems. It achieves superior recall and ranking by integrating keyword-enhanced item encoding, multi-view user behavior modeling, and a preference-aware reward system, leading to significant improvements in user engagement and operational efficiency.

What Problem Does This Paper Address?

Traditional e-commerce search systems, like those on platforms such as Kuaishou, typically use a Multi-stage Cascading Architecture (MCA). This approach breaks down search into sequential stages: recall, pre-ranking, and ranking. While efficient for handling massive product catalogs and optimizing for business metrics like conversion, MCA suffers from two major drawbacks:

  1. Fragmented Computation: Each stage uses separate models, leading to inefficiencies and a potential performance ceiling.
  2. Objective Collisions: Optimizing for different goals at each stage can lead to conflicts, where a good item might be filtered out early, regardless of how well later stages perform.

Furthermore, MCA struggles with:

  • Item Information Complexity: E-commerce item descriptions are often long, noisy, and lack clear semantic order, making it hard for models to extract key information.
  • Relevance Constraints: Search requires a very strong match between a short query and item attributes, which is harder to achieve with fragmented systems.
  • Inferring User Intent: Understanding what a user really wants, especially with short or ambiguous queries, is challenging.

OneSearch aims to overcome these limitations by proposing a unified, end-to-end generative approach.

Methods

OneSearch is built upon three core innovations:

  1. Keyword-enhanced Hierarchical Quantization Encoding (KHQE):
    • Problem: Standard methods for encoding items into discrete "Semantic IDs" (SIDs) can lose crucial item-specific details.
  2. Solution: KHQE first aligns semantic and collaborative representations of queries and items. It then uses a "core keyword enhancement" strategy to highlight important attributes identified through Named Entity Recognition (NER) and high-frequency keywords. Finally, it employs a RQ-OPQ (Residual Quantization - Optimized Product Quantization) tokenizer. This combines hierarchical encoding (RQ-Kmeans) with efficient quantization of unique features (OPQ) to preserve both general and specific item attributes, improving the quality of SIDs.
  3. Multi-view User Behavior Sequence Injection (Mu-Seq):
    • Problem: Effectively modeling user preferences requires understanding both recent actions and long-term behavior.
  4. Solution: This module constructs a unique user ID based on a sequence of recent clicks (short-term) and a chronological list of past interactions (long-term). It then explicitly injects short behavior sequences into the model's prompt to capture immediate user intent and implicitly uses long sequences to build a comprehensive user profile. This multi-view approach aims for a richer understanding of user personalization.
  5. Preference-Aware Reward System (PARS):
    • Problem: Generative models need to balance generating relevant items with satisfying user preferences for ranking.
  6. Solution: PARS uses a multi-stage supervised fine-tuning (SFT) process to align semantic content, synchronize co-occurrences, and model user personalization. This is followed by an adaptive reward system that uses online user interactions (clicks, purchases, etc.) to guide the model. It employs a hybrid ranking framework that combines reward model guidance with direct user feedback, optimizing for fine-grained user preferences and business metrics like CTR and CVR.

These components are integrated into a Unified Encoder-Decoder Architecture, leveraging a Transformer-based model.

Datasets

The paper uses large-scale, real-world industry datasets from Kuaishou's mall search platform. These datasets consist of approximately 1 billion user interaction pairs (PVs) collected between May and August 2025. The data is used for both offline training and evaluation, as well as for online A/B testing.

Key Insights and Ideas

  • End-to-End Generative Search is Viable: The paper demonstrates that a single generative model can effectively replace complex multi-stage systems in e-commerce search, offering significant advantages.
  • Item Encoding Matters Greatly: The novel KHQE with RQ-OPQ significantly improves the quality of item representations (SIDs), leading to better relevance and ranking. The ability to preserve both hierarchical semantics and distinctive attributes is crucial.
  • User Behavior is Multi-faceted: Simply using recent clicks isn't enough. Combining short-term and long-term behavior sequences, and even constructing user IDs from them, provides a more robust understanding of user preferences.
  • Reward Systems Enhance Ranking: The PARS, especially the adaptive reward component, is key to translating generative capabilities into improved ranking and user engagement metrics. It bridges the gap between generating candidates and presenting the best ones.
  • Efficiency Gains are Substantial: Beyond accuracy, OneSearch dramatically improves operational efficiency, reducing computational costs and increasing Model FLOPs Utilization (MFU).

Key Results

Offline Performance: * OneSearch achieved superior recall and ranking metrics compared to a baseline that simulated the pre-ranking stage of MCA. * The adaptive reward preference learning significantly improved ranking capability, with average improvements of 1.80% in HR@350 and 3.24% in MRR@350.

Online A/B Testing: * OneSearch² (fully optimized): Achieved statistically significant improvements: * +1.45% item CTR * +1.40% PV CTR * +2.40% Buyers * +3.22% Order Volume * OneSearchRM (with reward model selection): Further boosted metrics: * +1.67% item CTR * +3.14% PV CTR * +1.78% PV CVR * +2.40% Buyers * +3.22% Order Volume * Operational Efficiency: * Model FLOPs Utilization (MFU): Increased from 3.26% (MCA) to 27.32% (OneSearch). * Operational Expenditure (OPEX): Reduced by 75.40%.

Qualitative Findings: * OneSearch demonstrated better reasoning capabilities, successfully identifying user intent in complex scenarios (e.g., a user searching for "silver ring" after looking for "couple sneakers" and "Valentine's Day gifts"). * It showed improved performance for cold-start items and users, outperforming MCA in these challenging scenarios.

Limitations and Future Work

Limitations: * The paper acknowledges that while the adaptive reward system improves performance, it relies on data from the traditional search system, potentially limiting OneSearch's ability to surpass the online MCA's performance ceiling. * The current system involves scheduled encoding, which might not be optimal for rapidly changing item catalogs or trending keywords.

Future Work: * Online Real-time Encoding: Explore unified encoding and inference using a single generative model for real-time adaptation. * Robust Reinforcement Learning: Further refine user preference modeling through more advanced RL techniques. * Multi-modal Features: Incorporate image and video data for items to enhance reasoning capabilities. * Addressing Cold-Start: While improved, further research into cold-start scenarios is always beneficial.

Summary updated

BibTeX
@inproceedings{chen2026onesearch,
  author = {Ben Chen and Xian Guo and Siyuan Wang and Zihan Liang and Yue Lv and Yufei Ma and Xinlong Xiao and Bowen Xue and Xuxin Zhang and Ying Yang and Huangyu Dai and Xing Xu and Tong Zhao and Mingcan Peng and Xiaoyang Zheng and Chao Wang and Qihang Zhao and Zhixin Zhai and Yang Zhao and Bochao Liu and Jingshan Lv and Xiao Liang and Yuqing Ding and Jing Chen and Chenyi Lei and Wenwu Ou and Han Li and Kun Gai},
  title = {{OneSearch: A Preliminary Exploration of the Unified End-to-End Generative Framework for E-commerce Search}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=JKGgHY9FKa},
}
Figure