A Retail Product Categorisation Dataset

Febin Sebastian Elayanithottathil, Janis KeuperarXiv 2021 · arXiv

Abstract

This paper introduces a new multimodal dataset designed to benchmark machine learning models for retail product categorization. The dataset contains approximately 48,000 image-text pairs, curated from the 2018 Amazon review dataset and evenly distributed across 21 distinct categories. By providing a balanced and accessible subset of a massive web-scraped corpus, the authors aim to facilitate research into multimodal classification techniques. A baseline CNN-LSTM model is presented, demonstrating the synergy between visual and semantic features in achieving accurate categorization.

Introduction

In the modern e-commerce landscape, platforms must manage millions of unique items. Automated categorization is essential for search engine optimization, recommendation engines, and supply chain logistics. However, developing robust models requires high-quality, labeled data that combines visual information (images) with semantic data (text descriptions). Existing large-scale datasets are often imbalanced or computationally prohibitive for many researchers. This paper addresses these challenges by introducing the Retail Product Categorisation Dataset, a standardized benchmark for multimodal e-commerce applications.

The Retail Product Categorisation Dataset

The dataset consists of 48,000 products split into 42,000 training samples and 6,000 test samples. Each entry includes a 100x100 color image, a product title, and a text description.

A representative sample of the diverse product images included in the dataset, illustrating the variety across 21 categories.

Key characteristics include:

  • Balanced Classes: 21 equally distributed categories, including Electronics, Beauty, Pet Supplies, and Toys & Games.
  • Multimodal Features: Every product is defined by both an image and textual metadata.
  • Accessibility: The dataset is hosted as a Kaggle competition to encourage community benchmarking and model evaluation.

Methodology

To establish a performance baseline, the authors utilized a multimodal deep learning architecture that processes images and text in parallel:

  1. Visual Processing: A Convolutional Neural Network (CNN) extracts high-level visual features from the 100x100 product images.
  2. Textual Processing: An embedding layer followed by a Long Short-Term Memory (LSTM) network processes the product titles and descriptions to capture semantic context.

The outputs from both branches are concatenated into a single high-dimensional vector, which is then used to predict the product category via a final classification layer. The authors also employed t-SNE (t-distributed stochastic neighbor embedding) to visualize the resulting latent space.

Key Results and Insights

The baseline CNN-LSTM model achieved a test accuracy of 74.57% and a precision of 88.54%. The t-SNE visualizations revealed that the model successfully learned to cluster products into distinct "islands" in the embedding space, proving that the dataset's features are highly separable when visual and textual data are combined.

An example of a product (Sewing Machine) from the dataset. Such items benefit from multimodal analysis where text provides the brand/function and the image provides style and context.

Multimodal Synergy

The results highlight that text descriptions often provide explicit keywords, while images offer critical context that text might omit—such as the specific form factor of a tool or the aesthetic style of a garment. This synergy is vital for reducing ambiguity in automated classification.

Conclusion and Future Work

While the baseline model demonstrates the dataset's utility, a notable gap between validation F1 (81.56%) and test F1 (71.56%) suggests potential overfitting. Future research is encouraged to explore more sophisticated architectures, such as Vision Transformers (ViTs) or BERT-based text encoders, and cross-modal attention mechanisms to further improve generalization and classification accuracy on this benchmark.

Summary updated

BibTeX
@misc{elayanithottathil2021retail,
  author = {Febin Sebastian Elayanithottathil and Janis Keuper},
  title = {{A Retail Product Categorisation Dataset}},
  year = {2021},
  eprint = {2103.13864},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13864},
}
Figure