Abstract: In this paper, we address the problem of evaluating whether results served by an e-commerce search engine for a query are good or not. While this question is traditionally answered using simple metrics like query click-through rate (CTR), we observe that in e-commerce search, such metrics can be misleading. We aim to learn the quality of the results served by the search engine based on users' interactions with the results. We study large-scale user interaction logs from Flipkart's search engine, analyze behavioral patterns and build models to classify queries based on user behavior signals. Our classifier is able to achieve an average AUC of 0.75 on a held-out test set.
Introduction
Evaluating search quality is a fundamental challenge for e-commerce platforms. Traditionally, companies rely on human experts to manually rate search results, a process that is slow, expensive, and difficult to scale. To automate this, many turn to Click-Through Rate (CTR) as a proxy for relevance.
However, CTR is often a "noisy" signal in e-commerce. A user might click on many items because the results are irrelevant and they are desperately searching for the right one (a "bad" experience), or they might not click at all because the perfect item was shown but they weren't ready to buy yet. Conversely, a high CTR could just mean the thumbnails were clickbaity, not that the products were relevant. As shown in Figure 1, high CTR buckets often contain a significant fraction of queries labeled as "Average" or even "Bad" by human experts.
Methodology
The researchers formulated the problem as a binary classification task: predicting whether a query's results are SAT (Satisfactory: "Good" or "Excellent") or DSAT (Dissatisfied: "Poor," "Bad," or "Average"). They trained a Random Forest classifier using five categories of features:
- Activity Time: Time to first click, time to add to cart, and total dwell time.
- Positional: The rank/position of the first product clicked.
- Activity Aggregates: Total counts of clicks, swipes, cart adds, filter applications, and sorting changes.
- Query Text Characteristics: Length, language model perplexity, and specific modifiers.
- Meta Aspects: Product category, query type (specific vs. broad), and network type.
Dataset and Context
The study utilized a massive real-world dataset from Flipkart, India’s largest e-commerce platform, comprising 18,613 unique queries representing 127 million impressions and 149 million clicks. A team of quality experts manually labeled these queries on a 5-point scale to provide the ground truth. All data was collected from Flipkart’s mobile app to capture mobile-specific gestures like swiping and to minimize bot traffic.
Behavioral Analysis
A key finding of this research is that behavioral patterns in e-commerce differ significantly from web search. In web search, high interaction often signals user struggle. In e-commerce, however, satisfied users tend to click and swipe more as they explore a relevant set of products. This is reflected in Figure 2, where higher performance scores correlate with longer query durations and higher first-click positions, indicating deeper exploration of a high-quality result set.
Key Results
- Model Performance: The model achieved an average AUC of 0.75 on a held-out test set. For practical deployment, the authors identified a threshold yielding 85% precision with 20% recall, allowing for high-confidence automated interventions.
- Feature Importance: The Gini importance index ranked
numSwipes,clickSuccess, andqueryTypeas the most critical signals. The number of page-to-page swipes was the single most important feature. - Category Sensitivity: Performance is easier to predict for specific categories like "Mobile Phones" (AUC 0.90) compared to broad categories like "Books" (AUC 0.70), likely due to more predictable purchase patterns in electronics.
Conclusion and Future Work
This study demonstrates the feasibility of using implicit user signals to predict search quality in e-commerce. While the current model focuses on binary SAT/DSAT classification, future work aims to predict why a query failed—distinguishing between spelling errors, vocabulary gaps, or selection gaps. Additionally, refining the interpretation of dwell time to distinguish between "good" exploration and "bad" struggle remains a key area for improvement.
Summary updated