NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Main Product Detection with Graph Networks for Fashion

Vacit Oguz Yazici, Longlong Yu, Arnau Ramisa, Luis Herranz, Joost van de Weijer

TL;DR

This paper tackles the challenge of accurately identifying the main product in online fashion image galleries, which often contain multiple items. They introduce a novel approach using Graph Convolutional Networks (GCNs) to model relationships between detected bounding boxes, significantly outperforming previous methods, especially in scenarios where textual information is limited.

What Problem Does This Paper Address?

The online fashion retail industry relies heavily on visual information to present products. A crucial step in processing these product pages is "main product detection," which involves identifying the bounding boxes that contain the primary item being sold within a gallery of images. Current state-of-the-art methods often treat each detected bounding box independently, failing to leverage the contextual information present in the entire gallery or the relationships between different items shown. This can lead to errors in downstream tasks like category inference or visual search. The problem becomes even more challenging when textual product descriptions are missing or ambiguous, a scenario that can lead to significant failures in product identification.

Methods

The core innovation of this paper is the application of Graph Convolutional Networks (GCNs) to main product detection. Their proposed model represents each detected bounding box in a product gallery as a node in a graph. These nodes are then connected in a densely connected graph, allowing for message passing and learning relationships between them.

Key components of their approach include:

  • Image Model: A ResNet-34 network is used to extract features from image crops corresponding to each bounding box.
  • BERT Model: A pre-trained BERT model is employed to generate embeddings for product titles, capturing their semantic meaning.
  • Context Module (GCN): This is the novel part. It takes the image and text embeddings as input and constructs a graph. They explore different graph variants:
  • No-Graph (NG): A baseline that processes bounding boxes independently.
  • Instance Coupled Feature Similarity (ICFS): Models relationships within a single image.
  • Product Coupled Feature Similarity (PCFS): Models relationships across all bounding boxes in all images for a given product.
  • Product Decoupled Feature Similarity (PDFS): A further refinement that decouples the update of node features and the calculation of the adjacency matrix, allowing for more flexible learning.
  • Feature Updater: Updates node features based on graph interactions.
  • Node Classifier: Predicts the probability of a bounding box being the main product.

The GCN approach allows the model to leverage the context provided by all bounding boxes simultaneously, improving its ability to identify the main product, especially when visual cues are ambiguous or textual information is scarce.

Datasets

The authors evaluated their methods on two datasets:

  1. Custom Datasets: Two datasets were crawled from different e-commerce websites, containing product titles, descriptions, attribute information, and product images. Bounding boxes were generated using a fashion product detector, and human annotators labeled the ground truth main bounding boxes. These datasets were split into 75% training, 5% validation, and 20% testing.
  2. Main Bounding Box Detection Dataset (MBBDD): A publicly available dataset used for comparison. They note that they could only recover a subset of this dataset.

Key Insights and Ideas

  • Context is King: The most significant insight is that modeling the relationships between bounding boxes within a product gallery (i.e., using graph networks) dramatically improves main product detection accuracy. This is especially true when textual information is limited.
  • Gallery-Only Detection is Crucial: The paper highlights the importance of a "gallery-only" detection scenario, where the model must identify the main product using only visual information. This is a realistic challenge for deployed systems where text might be unavailable or unreliable.
  • Decoupling for Flexibility: The PDFS model, which decouples feature updates from adjacency matrix calculation, shows improved performance, suggesting that separate learning pathways for node representation and relationship modeling are beneficial.
  • Generalization Matters: The graph-based methods demonstrate better generalization capabilities, particularly in cross-dataset evaluations where titles are translated, indicating their robustness to variations in language.

Key Results

  • Significant Accuracy Gains: The graph-based approaches consistently outperformed baseline methods (including a no-graph model and the contrastive model) by a margin of 6-12 percentage points in product accuracy on their custom datasets.
  • Gallery-Only Performance: In the challenging gallery-only scenario, graph-based methods achieved substantial gains, with improvements of up to 50 points compared to the no-graph baseline.
  • PDFS Model Leads: The PDFS model generally achieved the highest product accuracy among the proposed graph-based methods.
  • Cross-Dataset Improvement: For cross-dataset evaluation, the PDFS model showed a significant increase in accuracy (from 43.2% to 55.7%) when compared to the no-graph baseline.
  • Robustness to Graph Size: The performance gains from graph-based approaches become more pronounced as the number of bounding boxes (graph size) increases, as visualized in Figure 7.

Limitations and Future Work

  • Dataset Size for MBBDD: The authors note that they could only recover a subset of the MBBDD dataset, which might affect direct comparisons.
  • Computational Cost: While not explicitly detailed as a limitation, graph-based methods can sometimes be computationally more intensive than non-graph methods, especially with very large graphs. The paper mentions that the number of nodes per product is generally low, mitigating this concern for their specific task.
  • Future Work: The paper suggests that the proposed method could potentially be extended to detect main products in fashion videos by processing frames as a sequence of galleries. Further exploration of different graph structures and attention mechanisms could also be beneficial.

Summary updated

BibTeX
@misc{yazici2022main,
  author = {Vacit Oguz Yazici and Longlong Yu and Arnau Ramisa and Luis Herranz and Joost van de Weijer},
  title = {{Main Product Detection with Graph Networks for Fashion}},
  year = {2022},
  eprint = {2201.10431},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.10431},
}

Loading related content...

Figure