Transferable and Efficient: Unifying Dynamic Multi-Domain Product Categorization

Shansan Gong, Zelin Zhou, Shuo Wang, Fengjiao Chen, Xiujie Song, Xuezhi Cao, Yunsen Xian, Kenny Q. Zhu

Introduction

In modern e-commerce, product categorization is a complex, moving target. Large-scale platforms like Meituan often manage multiple business domains simultaneously—such as express delivery, discount bargains, and fresh groceries—each with its own unique and evolving taxonomy. Traditional machine learning approaches treat this as a static multi-class classification problem, which leads to two significant challenges: Taxonomy Evolution (where adding or merging categories requires retraining from scratch) and Domain Silos (where knowledge cannot be easily shared across different category structures).

To address these issues, researchers have introduced Dynamic Multi-Domain Product Categorization (DMPC) and proposed a novel framework: TaLR (Taxonomy-agnostic Label Retrieval). By reframing categorization as a text-matching retrieval problem rather than a fixed classification task, TaLR enables systems to handle evolving taxonomies and multiple domains with unprecedented efficiency.

The TaLR Framework

TaLR moves away from predicting class IDs and instead learns to match the semantic meaning of a product title to a category name within a shared vector space. This "taxonomy-agnostic" approach allows new categories to be added simply by generating their embeddings, without altering the model architecture.

The TaLR framework architecture, illustrating the two-stage retrieval and reranking process integrated with meta-concept-based contrastive pretraining.

The framework operates in two primary stages:

  1. Retrieval Stage:
    • Dense Scorer: A dual-encoder (Siamese network) that identifies the top-k candidate categories based on vector similarity.
  2. Mapping Scorer: This module acts as a "common sense" check. It utilizes "meta concepts"—fine-grained keywords like "Red Wine" or "Ice Cream" extracted from titles—to calculate the statistical probability of a product belonging to a category based on historical data. This helps resolve semantic ambiguities where a brand name might otherwise mislead a purely vector-based search.
  3. Reranking Stage:
    • Matching Scorer: A BERT-based cross-encoder that performs a deep interaction analysis between the product title and the top candidates to finalize the prediction.
  4. Contrastive Pretraining: A group contrastive loss is employed to ensure products sharing the same meta concepts are clustered together in the vector space, facilitating zero-shot transfer across different business domains.

Experimental Setup and Datasets

The researchers evaluated TaLR using three new real-world datasets released by Meituan:

  • QuickDelivery (QD): 99k training samples across 1,987 classes.
  • BargainHunters (BH): 31k training samples across 2,632 classes.
  • FreshGrocery (FG): 28k training samples across 1,065 classes.

To test real-world adaptability, the team also created Dynamic Test Sets to simulate taxonomy changes, such as splitting or merging categories, measuring the model's ability to adapt without retraining.

Performance and Efficiency

TaLR demonstrates significant improvements over traditional BERT-based and hierarchical classifiers. Beyond accuracy, the two-stage architecture addresses the high computational cost of cross-encoders. By narrowing the field with fast retrieval before applying the powerful reranker, the system achieves high precision while remaining viable for production environments.

Comparison of accuracy and inference time consumption between TaLR and the vanilla baseline across different datasets.

Key Results:

  • Accuracy: TaLR outperformed strong baselines by 1.65% in overall accuracy.
  • Efficiency: The system is 4 to 10 times faster than a vanilla BERT cross-encoder, making it suitable for high-traffic e-commerce platforms.
  • Robustness: In scenarios where categories were split or merged, TaLR maintained high performance while traditional models saw sharp declines.
  • Real-World Impact: An A/B test on a live recommendation system resulted in a 5% increase in seasonal purchase revenue.

Conclusion and Future Work

By utilizing meta concepts as a universal bridge between domains, TaLR provides a scalable solution for dynamic e-commerce environments. While the current system relies on an industrial tagging system for meta-concept extraction and is currently optimized for Chinese text, it sets a new standard for transferable and efficient product categorization. Future work may explore more sophisticated incremental learning to update the Mapping Scorer without full retraining and expanding the framework to multi-lingual taxonomies.

Summary updated

BibTeX
@inproceedings{gong2023transferable,
  author = {Shansan Gong and Zelin Zhou and Shuo Wang and Fengjiao Chen and Xiujie Song and Xuezhi Cao and Yunsen Xian and Kenny Q. Zhu},
  title = {{Transferable and Efficient: Unifying Dynamic Multi-Domain Product Categorization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-industry.46},
}
Figure