Deep Hierarchical Product Classification Based on Pre-Trained Multilingual Knowledge

Wen Zhang, Yanbin Lu, Bella Dubrov, Zhi Xu, Shang Shang, Emilio MaldonadoIEEE Data Eng. Bull 2021

Abstract

Accurate product classification is essential for e-commerce but faces significant challenges due to noisy seller-provided data and massive, complex taxonomies. This paper presents the Deep Hierarchical Product Classification (DHPC) framework, which utilizes a multilingual BERT (mBERT) backbone within a two-stage "Department-to-Leaf" architecture. By incorporating noise-robust training strategies such as bootstrap learning and semantic augmentation, the framework achieves significant improvements in classification accuracy and coverage across millions of products in diverse locales.

Introduction

In large-scale e-commerce platforms, product classification ensures that customers can efficiently locate items within a vast catalog. However, the process is complicated by two primary factors: data noise and taxonomy complexity. Seller-provided metadata is frequently incomplete, misleading, or multi-functional, often omitting critical terms to manipulate search results. Furthermore, product taxonomies are vast, containing thousands of overlapping leaf-level categories that evolve over time.

Figure 1: Mapping product text information to a hierarchical product category.

Standard machine learning approaches often struggle with these "noisy" datasets or fail to scale to the sheer volume of labels. This research explores leveraging large-scale pre-trained models to navigate these challenges effectively.

Methods

The proposed Deep Hierarchical Product Classification (DHPC) framework introduces a structured approach to categorization through several key innovations:

Two-Stage Hierarchy

Rather than attempting to predict one of thousands of leaf categories in a single step, the model employs a two-stage process. It first identifies a broad "Department" (e.g., Electronics) and subsequently narrows the prediction to a specific "Leaf Node" (e.g., iPhone Cases). This hierarchical decomposition reduces the complexity of individual classification tasks and mirrors human taxonomic logic.

Figure 2: The DHPC framework's two-stage hierarchical classification process.

Model Architecture

The system utilizes Multilingual BERT (mBERT) to maintain performance across different languages and locales. A "Knowledge Skip" technique is employed, pooling features from all intermediate transformer layers to capture both granular keywords and high-level semantic context.

Robust Training Strategies

To mitigate the impact of noisy data, several strategies were implemented:

  • Bootstrap Learning: A self-correcting mechanism where the model can override potentially incorrect training labels if its internal prediction confidence is sufficiently high.
  • Negative Sampling: Used to balance the dataset, preventing the model from being overwhelmed by the vast number of irrelevant categories for any given product.
  • Semantic Augmentation: The model's understanding of label-text relationships is enhanced by occasionally inserting category names directly into shuffled product titles during training.
  • Temperature Scaling: Soft labels are used to prevent overconfidence in noisy predictions.

Experimental Results

The framework was evaluated on two massive datasets from European locales (L1 and L2), comprising hundreds of millions of items. L1 included human-audited "golden data," while L2 consisted entirely of noisy general catalog data.

Key findings include:

  • Accuracy Improvements: DHPC improved leaf-node accuracy by 3.4% on the L1 dataset compared to standard deep neural network baselines.
  • Increased Coverage: At a 90% accuracy threshold, the model classified 13% more products than the baseline across both datasets.
  • Efficiency: Pruning the BERT model to just 4 layers retained most of the performance, indicating that vital categorical information is captured in the early stages of the network.

Conclusion and Future Work

The DHPC framework demonstrates that hierarchical modeling combined with noise-robust training can significantly improve product classification at scale. While currently text-focused, future iterations aim to incorporate multimodal learning (e.g., product images) to resolve adversarial noise where text and visual data conflict. Additionally, the researchers are exploring self-adaptive strategies to automatically select the optimal noise-handling mechanism for specific data samples.

Summary updated

BibTeX
@article{zhang2021deep,
  author = {Wen Zhang and Yanbin Lu and Bella Dubrov and Zhi Xu and Shang Shang and Emilio Maldonado},
  title = {{Deep Hierarchical Product Classification Based on Pre-Trained Multilingual Knowledge}},
  journal = {IEEE Data Eng. Bull},
  year = {2021},
}
Figure