A BERT-based Hierarchical Classification Model with Applications in Chinese Commodity Classification

Kun Liu, Tuozhen Liu, Feifei Wang, Rui Pan
8/13/2025
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Existing e-commerce platforms heavily rely on manual annotation for product categorization, which is inefficient and inconsistent. These platforms often employ a hierarchical structure for categorizing products; however, few studies have leveraged this hierarchical information for classification. Furthermore, studies that consider hierarchical information fail to account for similarities and differences across various hierarchical categories. Herein, we introduce a large-scale hierarchical dataset collected from the JD e-commerce platform (www.JD.com), comprising 1,011,450 products with titles and a three-level category structure. By making this dataset openly accessible, we provide a valuable resource for researchers and practitioners to advance research and applications associated with product categorization. Moreover, we propose a novel hierarchical text classification approach based on the widely used Bidirectional Encoder Representations from Transformers (BERT), called Hierarchical Fine-tuning BERT (HFT-BERT). HFT-BERT leverages the remarkable text feature extraction capabilities of BERT, achieving prediction performance comparable to those of existing methods on short texts. Notably, our HFT-BERT model demonstrates exceptional performance in categorizing longer short texts, such as books.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2025bertbased,
  title  = {A BERT-based Hierarchical Classification Model with Applications in Chinese Commodity Classification},
  author = {Kun Liu and Tuozhen Liu and Feifei Wang and Rui Pan},
  year   = {2025},
  eprint = {2508.15800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.15800v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.15800.svg)](https://codeofpaper.com/paper/2508.15800)

Discussion