Abstract
Traditional vision search, similar to search and recommendation systems, follows the multi-stage cascading architecture (MCA) paradigm to balance efficiency and conversion. Specifically, the query image undergoes feature extraction, recall, pre-ranking, and ranking stages, ultimately presenting the user with semantically similar products that meet their preferences. This multi-view representation discrepancy of the same object in the query and the optimization objective collide across these stages, making it difficult to achieve Pareto optimality in both user experience and conversion. In this paper, an end-to-end generative framework, OneVision, is proposed to address these problems. OneVision builds on VRQ, a vision-aligned residual quantization encoding, which can align the vastly different representations of an object across multiple viewpoints while preserving the distinctive features of each product as much as possible. Then a multi-stage semantic alignment scheme is adopted to maintain strong visual similarity priors while effectively incorporating user-specific information for personalized preference generation. In offline evaluations, OneVision performs on par with online MCA, while improving inference efficiency by 21% through dynamic pruning. In A/B tests, it achieves significant online improvements: +2.15% item CTR, +2.27% CVR, and +3.12% order volume. These results demonstrate that a semantic ID centric, generative architecture can unify retrieval and personalization while simplifying the serving pathway.
Introduction
In the competitive landscape of e-commerce, vision search—finding products via uploaded images—presents a unique set of challenges. Traditional systems typically rely on a Multi-stage Cascading Architecture (MCA). In this paradigm, a query image passes through a sequence of modules: feature extraction, candidate recall, pre-ranking, and final ranking.
While functional, MCA faces three critical hurdles:
- Multi-view Discrepancy: Standard vector-search methods struggle to recognize that a low-quality user photo and a professional catalog image represent the same item.
- Objective Misalignment: The recall stage prioritizes visual similarity, whereas the ranking stage focuses on business metrics like clicks or purchases. These conflicting goals often lead to sub-optimal results.
- System Complexity: Maintaining separate modules for detection, extraction, and multiple ranking layers creates significant computational overhead and engineering debt.
To overcome these, researchers at Kuaishou Technology developed OneVision, which replaces the entire cascading stack with a single generative model.
The OneVision Framework
OneVision shifts the search paradigm from "indexing and retrieval" to "sequence-to-sequence generation." The model treats product identifiers as a language, generating discrete "Semantic IDs" (SIDs) directly from a query image.
Vision-aligned Residual Quantization (VRQ)
The foundation of OneVision is VRQ, a novel encoding method that transforms images into semantic tokens. Unlike standard quantization that focuses on pixel reconstruction, VRQ prioritizes semantic consistency across different views.
- Shallow Layers: Use contrastive learning to ensure that different perspectives of the same product map to the same initial code prefix.
- Deep Layers: Utilize Optimized Product Quantization (OPQ) and statistical business features (e.g., price, popularity) to ensure each unique product has a discriminative, distinct ID.
Multi-stage Training and Optimization
The framework employs a three-phase training recipe to align visual features with user intent:
- Pre-training: Aligns images, titles, and categories with their respective SIDs.
- Supervised Fine-Tuning (SFT): Teaches the model to map query images directly to the SIDs of products users actually interacted with.
- Direct Preference Optimization (DPO): A list-wise optimization that fine-tunes the model to prioritize items users are likely to purchase over those they merely click.
Efficiency via Dynamic Pruning
To ensure real-time performance, OneVision incorporates Dynamic Pruning. By applying K-means++ clustering to visual tokens, the model identifies and retains only the most informative parts of an image. This reduces the token count from 197 to 33, achieving a 21% boost in inference efficiency with negligible impact on accuracy.
Results and Impact
OneVision was evaluated using massive industrial-scale data from the Kuaishou platform, including four months of search logs and a specialized benchmark for "long-tail" (rare) products.
Online Performance: In live A/B tests, OneVision significantly outperformed the traditional MCA baseline:
- +2.15% Item Click-Through Rate (CTR)
- +2.27% Conversion Rate (CVR)
- +3.12% Order Volume
System Efficiency: Beyond accuracy, the generative approach simplified the serving pathway, reducing memory usage by 12.03% and improving latency by 21%.
Long-tail Retrieval: OneVision showed a remarkable 15.29% improvement in HitRate@1 for rare products, proving its superior ability to generalize across diverse product categories.
Conclusion
OneVision demonstrates that a semantic ID-centric, generative architecture can successfully unify retrieval and personalization in e-commerce. By representing products as discrete codes, the model bridges the gap between raw pixels and complex user behavior. Future work will explore the joint optimization of the tokenizer and generator, as well as the integration of larger Vision-Language Models (VLMs) to further enhance product reasoning.
Summary updated