Large-Scale Product Retrieval with Weakly Supervised Representation Learning

Xiao Han, Kam Woh Ng, Sauradip Nag, Zhiyu QuarXiv 2022 · DOI

Introduction

In the competitive landscape of e-commerce, product retrieval is a "super fine-grained" task. Buyers often search for specific versions of a product among millions of nearly identical options. A significant challenge in training models for this task is the lack of high-quality, instance-level labels (e.g., exact SKUs). Instead, researchers must rely on weak supervision, such as coarse categories (e.g., "Shirt") or noisy, seller-written titles. Standard cross-modal contrastive learning often fails to capture the subtle visual cues necessary to distinguish specific products.

Methodology: Pseudo-Attribute Mining and Multi-Label Classification

To address these limitations, the authors developed a multi-stage pipeline that converts noisy text into a robust training signal. The core innovation is Pseudo-attribute Mining. By tokenizing product titles and retaining words appearing more than 30 times across the dataset, they generated a vocabulary of 22,295 pseudo-attributes.

Frequency distribution of mined pseudo-attributes from product titles.

These attributes serve as fine-grained proxies for instance labels. The system treats retrieval as a massive multi-label classification task, training powerful vision backbones—ConvNeXt-XL and Swin-L—to predict which attributes are present in an image. To manage the "long-tail" nature of this data, where common terms like "new" or "black" dominate while specific descriptors are rare, the team employed PolyLoss, a flexible alternative to standard Cross-Entropy.

The pipeline is further refined through advanced post-processing:

  • Feature Whitening: A technique to decorrelate feature dimensions, improving search accuracy.
  • k-reciprocal Re-ranking: A method that analyzes the "neighbors of neighbors" to refine initial search results.
  • Model Ensemble: Combining the outputs of one ConvNeXt-XL and three Swin-L models to maximize robustness.

Key Results and Ablation Study

The proposed system was evaluated on the eProduct dataset, a million-scale benchmark from eBay. The primary metric, MAR@10 (Macro-Average Recall at 10), reached a final score of 71.53%, securing second place in the eBay Visual Search Challenge (FGVC9 at CVPR 2022).

Ablation study showing the impact of various components on retrieval performance (MAR@10).

The ablation study highlights the incremental value of each component. Starting from a baseline ConvNeXt-XL score of ~59%, higher inference resolution, feature whitening, and re-ranking provided consistent gains. Notably, k-reciprocal re-ranking contributed a significant ~3% absolute improvement, underscoring the importance of post-processing in fine-grained retrieval.

Discussion and Future Work

A key insight from this work is the effectiveness of decoupling modalities. Using text to generate labels for a visual classification task (intra-modal learning) proved more effective than direct image-text alignment for this specific challenge. By expanding the label space from a few hundred categories to over 22,000 attributes, the model learns specific visual features—such as "vintage," "leather," or brand names—essential for accurate retrieval.

However, limitations remain. Pseudo-attributes are inherently noisy, and many mined terms may not correspond to visual features. Additionally, the computational cost of a four-model ensemble and complex re-ranking may be prohibitive for real-time production environments. Future research will focus on improving the signal-to-noise ratio by filtering or weighting these pseudo-attributes more effectively.

Summary updated

BibTeX
@misc{han2022large,
  author = {Xiao Han and Kam Woh Ng and Sauradip Nag and Zhiyu Qu},
  title = {{Large-Scale Product Retrieval with Weakly Supervised Representation Learning}},
  year = {2022},
  eprint = {2208.00955},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.00955},
}
Figure