Introduction
Product search presents a unique challenge in information retrieval, requiring systems to synthesize diverse data modalities—including short titles, detailed descriptions, hierarchical categories, and product images—to match often ambiguous user queries. The "h2oloo" team from the University of Waterloo addressed these complexities in the TREC 2023 Product Search Challenge by developing a multi-stage pipeline. Their approach evaluates the efficacy of traditional sparse retrieval, neural sparse models, and scaled-up visual models, ultimately exploring the impact of Large Language Models (LLMs) as high-precision rerankers.
Methodology
The h2oloo architecture utilizes a multi-stage retrieval and reranking framework designed to leverage both textual and visual semantic information.
1. Sparse Retrieval (Text)
The team employed two primary text-based strategies:
- BM25: A classic frequency-based algorithm used as a baseline.
- SPLADE++: A "neural sparse" model that utilizes neural networks to learn term importance and perform query expansion, effectively bridging the vocabulary gap between queries and product metadata.
2. Dense Retrieval (Visual)
To incorporate visual information, the researchers used the OpenCLIP framework. They tested three Vision Transformer (ViT) backbones of increasing scale: ViT-B-32, ViT-L-14, and the massive ViT-G-14. This allowed the system to retrieve products based on the semantic similarity between the query text and product images.
3. Fusion and Reranking
Scores from individual models were combined using min-max normalization and simple score summation. For the final stage, the team integrated RankGPT. They selected the top 30 candidates from the initial retrieval stages and utilized GPT-3.5-turbo to perform a final, high-precision reranking of the results.
Experimental Results
The study was conducted using the TREC 2023 Product Search track datasets, with performance measured primarily by nDCG@10 (Normalized Discounted Cumulative Gain) and Recall@1K (R@1K).
As shown in the table above, the team's various configurations significantly outperformed the median participant score of 0.449 on the Eval set. Notably, the fusion of text and image models followed by GPT-3.5 reranking (Entry 'p') achieved an nDCG@10 of 0.623 and a Recall@1K of 0.929. Their best-performing fused system (Entry 'n') reached an nDCG@10 of 0.751 on the Eval set.
Discussion and Insights
The Importance of Metadata Fields
Text-based retrieval performance varied significantly depending on the metadata used. Titles proved to be the most informative anchor; using BM25 on titles alone (nDCG@10: 0.256) vastly outperformed category-based retrieval (0.020). This suggests that current models struggle to leverage hierarchical taxonomy data effectively.
Scaling Laws in Vision
There is a clear correlation between visual model size and retrieval performance. Moving from the ViT-B-32 backbone to the larger ViT-G-14 nearly quadrupled the nDCG@10 score (from 0.043 to 0.168). While text-only models like SPLADE++ (0.282 on Dev) still outperformed image-only models, the best results were obtained through fusion, indicating that visual data captures semantic nuances missing from text descriptions.
The LLM Reranking Boost
The introduction of GPT-3.5 for reranking provided a significant performance jump relative to the median. By focusing on the "final mile" of relevance judgment for the top 30 results, the LLM demonstrated exceptional capability in high-precision ranking, though the authors note the trade-off in computational cost for real-time environments.
Conclusion
The h2oloo team's performance in the TREC 2023 challenge demonstrates that while neural text retrieval and scaled vision models are powerful individual components, the most robust product search systems rely on multi-stage fusion and LLM-based reranking. Future work will likely focus on optimizing the computational efficiency of LLM rerankers and improving the utilization of hierarchical category data.
Summary updated