Skip to main content
QUICK REVIEW

[Paper Review] Retrieving Similar E-Commerce Images Using Deep Learning

Rishab Sharma, Anirudha Vishvakarma|arXiv (Cornell University)|Jan 11, 2019
Advanced Image and Video Retrieval TechniquesComputer Science32 references9 citations
TL;DR

This paper proposes RankNet, a siamese deep convolutional neural network that learns 4096-dimensional image embeddings to capture fine-grained visual similarity in e-commerce images. By using a novel fractional distance matrix and angular loss function, it outperforms traditional methods and state-of-the-art models, achieving 94.98% accuracy and 88.576% top-20 recall on the Street2Shop dataset.

ABSTRACT

In this paper, we propose a deep convolutional neural network for learning the embeddings of images in order to capture the notion of visual similarity. We present a deep siamese architecture that when trained on positive and negative pairs of images learn an embedding that accurately approximates the ranking of images in order of visual similarity notion. We also implement a novel loss calculation method using an angular loss metrics based on the problems requirement. The final embedding of the image is combined representation of the lower and top-level embeddings. We used fractional distance matrix to calculate the distance between the learned embeddings in n-dimensional space. In the end, we compare our architecture with other existing deep architecture and go on to demonstrate the superiority of our solution in terms of image retrieval by testing the architecture on four datasets. We also show how our suggested network is better than the other traditional deep CNNs used for capturing fine-grained image similarities by learning an optimum embedding.

Motivation & Objective

  • To address the challenge of retrieving visually similar e-commerce products, especially in fine-grained categories like fashion apparel.
  • To overcome limitations of handcrafted features (e.g., SIFT, HOG) that fail to capture subtle visual differences such as patterns and textures.
  • To improve image retrieval performance by learning robust, hierarchical image embeddings through supervised contrastive learning.
  • To develop a unified framework for both visual search (from user-uploaded images) and visual recommendations (within a catalog).

Proposed method

  • Employed a multi-scale siamese CNN architecture with VGG19 as the base, pre-trained on ImageNet, to learn 4096-dimensional image embeddings.
  • Designed a novel fractional distance matrix to compute inter-embedding distances in n-dimensional space, replacing traditional Euclidean distance for better proximity estimation.
  • Introduced an angular loss function to optimize the network by maximizing the margin between negative pairs and minimizing it for positive pairs.
  • Implemented a curriculum learning-inspired pair sampling strategy to select high-quality positive and negative image pairs during training.
  • Applied data augmentation and dropout to prevent overfitting, and fine-tuned only the top two convolutional layers of the pre-trained VGG19.
  • Used t-SNE to visualize the learned embedding space, confirming that semantically similar images are clustered together.

Experimental results

Research questions

  • RQ1Can a siamese CNN with a fractional distance matrix outperform traditional Euclidean distance in measuring visual similarity for e-commerce images?
  • RQ2Does an angular loss function improve the learning of fine-grained visual similarities compared to standard contrastive loss?
  • RQ3How does the proposed RankNet model compare to handcrafted feature methods (e.g., SIFT, HOG) and other deep learning baselines in image retrieval accuracy?
  • RQ4To what extent does multi-scale feature learning enhance the model’s ability to distinguish subtle visual differences in product images?
  • RQ5Can the model generalize well across diverse e-commerce datasets while maintaining high recall in top-20 retrieval?

Key findings

  • RankNet achieved 94.98% validation accuracy on the Street2Shop dataset, significantly outperforming the AlexNet baseline (90.8%) and VisNet (93.39%).
  • The model achieved a top-20 recall of 88.576% on the Street2Shop test set, far exceeding the AlexNet baseline (14.400%) and closely matching VisNet (87.914%).
  • The t-SNE visualization of the embedding space confirmed that images from the same category are clustered together, indicating effective semantic clustering.
  • The use of a fractional distance matrix improved model performance in ranking images by proximity, demonstrating superior ability to capture fine-grained visual similarity.
  • The combination of angular loss and curriculum-based pair sampling led to faster convergence and better generalization, especially on small or imbalanced datasets.
  • Fine-tuning only the top two layers of the pre-trained VGG19 while applying data augmentation and dropout effectively prevented overfitting and improved robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.