TL;DR
The paper introduces GRIT (Graph-based Recall Improvement for Task-oriented queries), a novel method that boosts first-stage retrieval recall in e-commerce search by leveraging a product-product similarity graph built from historical user interactions. Alongside GRIT, the authors release TQE, the first large-scale benchmark specifically designed to evaluate how search engines handle complex, action-oriented user queries.
What Problem Does This Paper Address?
Modern e-commerce search engines typically use a multi-stage pipeline: an efficient first stage retrieves a broad set of candidate products, which subsequent stages filter, rank, and personalize. If a relevant product is missed in the first stage, it is lost forever.
Achieving high recall in this initial stage is particularly difficult for task-oriented queries—searches where a user has an actionable intent (e.g., "Locate a replacement AC compressor for a 2006 Honda Odyssey" or "Find a suitable Apple fast charger compatible with my devices"). These queries are contextually intensive and prone to vocabulary mismatches. Traditional lexical matchers (like BM25) and even modern dense retrievers often struggle to capture the underlying procedural intent, leading to a significant drop in search quality. Furthermore, evaluating this problem has been stymied by a lack of dedicated e-commerce benchmarks for task-oriented searches.
Methods
The authors tackle this problem with a two-part approach: benchmark generation and a graph-based retrieval enrichment framework.
- TQE Benchmark Generation: To create a realistic task-oriented dataset, the authors used an LLM pipeline. They prompted GPT-4o mini to transform traditional e-commerce queries into task-oriented equivalents and implemented a secondary LLM validation step to ensure the core user requirement remained identical.
- GRIT Framework: GRIT improves retrieval without adding online latency by shifting heavy computations offline.
- Offline Graph Construction: GRIT builds a product-product similarity graph using historical training annotations or user click data. Products are nodes, and edges are weighted based on how often items co-occur under the same query, factoring in relationship types (Exact, Substitute, or Complement).
- Online Graph Retrieval: During a live search, an initial baseline retriever fetches the top $n$ products. GRIT takes the top $t\%$ of these results as "seed nodes" in the graph, looks up their highly relevant neighbors, and uses these neighbors to replace the least confident (bottom $b\%$) results from the initial retrieval.
Datasets
The study utilizes two primary datasets:
- ESCI Product Search Dataset: A large-scale, multilingual dataset from Amazon containing millions of manually labeled query-product relevance judgments. The authors focused on the US English subset.
- TQE (Task-oriented Query set for e-commerce): The newly introduced benchmark derived from ESCI. It features a small query set (8,954 queries) and a large query set (22,472 queries) paired with the original gold-standard relevance labels.
Key Insights and Ideas
- The Task-Oriented Performance Gap: State-of-the-art retrieval models suffer an average performance drop of 6% when evaluating task-oriented queries compared to traditional keyword queries. This highlights a critical blind spot in current e-commerce search architectures.
- The Power of Behavioral Locality: Textual similarity isn't enough for complex tasks. By structuring user interaction data into a graph, GRIT exploits "behavioral locality"—the idea that products frequently co-purchased or substituted share a latent contextual bond that text encoders miss.
- Universal Compatibility: Because GRIT acts as a post-processing plug-in for the first stage, it is completely agnostic to the underlying retriever. It successfully boosts performance whether paired with traditional lexical (BM25), learned-sparse (SPLADE++), or dense bi-encoder models (TAS-B, TCT-ColBERT-HNP).
Key Results
GRIT demonstrated robust, statistically significant recall improvements across all tested baselines and query types:
- Recall Boost: GRIT achieved up to a 6.3% relative improvement in recall on the TQE benchmark.
- Baseline Enhancements: For the large query set using the dense TCT-ColBERT-HNP model, Recall@1000 jumped from 0.694 to 0.726 on traditional queries, and from 0.622 to 0.659 on task-oriented queries.
- Parameter Robustness: Performance consistently peaked when using the top $t = 2\%$ of initial results as seeds and replacing the bottom $b = 30\%$ of candidates, showing that a small, high-confidence seed set is sufficient to surface highly relevant neighbors.
Limitations and Future Work
While GRIT provides a "free" recall boost with virtually zero online latency overhead, it relies heavily on the availability of rich historical user interaction or annotation data to construct the product graph. This could present a cold-start challenge for entirely new products or low-traffic storefronts.
For future work, the authors suggest extending GRIT to handle more complex scenarios where a single task explicitly requires purchasing multiple distinct, complementary products simultaneously.
Summary updated