TCMP-300: A Comprehensive Traditional Chinese Medicinal Plant Dataset for Plant Recognition

Yanling Zhang, Wenli Sun, Chuanguang Yang, Libo Huang, Zhulin An, Wei Feng, Wenjing Tang, Yongjun XuScientific 2025

Abstract

Traditional Chinese Medicinal Plants (TCMPs) are vital for disease prevention and treatment. However, their identification traditionally relies on human expertise, which struggles to meet modern clinical demands. AI-driven recognition faces a significant hurdle: the lack of comprehensive, high-quality datasets. We present TCMP-300, a dataset containing 52,089 images across 300 categories. Unlike previous datasets, TCMP-300 includes fine-grained plant parts to facilitate robust recognition. Our pipeline utilizes CLIP-based automated cleaning and human verification. Technical validation using state-of-the-art models achieved a peak accuracy of 89.64%, demonstrating the dataset's value in advancing AI for herbal identification.

Introduction: The Challenge of Medicinal Plant Identification

Identifying medicinal plants is a high-stakes task where misidentification can lead to ineffective treatments or toxicity. Traditionally, experts rely on "sight, touch, taste, and smell"—a subjective and slow process that cannot scale with global demand. While Artificial Intelligence (AI) offers a potential solution, existing datasets are often small, geographically limited, or focused on a single plant part (e.g., only leaves). Furthermore, raw web-crawled data is often "noisy," containing watermarks, advertisements, or images of processed medicine rather than the plants themselves.

Methodology: From Raw Web Data to Research Benchmark

The researchers developed a systematic pipeline to ensure high data quality and botanical fidelity.

The TCMP-300 research pipeline, from data acquisition to evaluation.
  1. Automated Crawling: Plants were queried via the Bing search engine using standardized scientific binomial names.
  2. CLIP-Based Cleaning: To filter the "noise" of the internet, the team employed CLIP (Contrastive Language-Image Pre-Training). By using specific textual prompts, they automatically removed over 52% of irrelevant results, such as pharmaceutical packaging or text-heavy images.
  3. Expert Verification: TCM experts performed a final manual check to ensure botanical accuracy.
  4. HybridMix Augmentation: A novel "HybridMix" strategy was introduced, randomly toggling between Mixup and CutMix during training. This forces models to learn both global context and local fine-grained features.

The TCMP-300 Dataset

TCMP-300 represents a significant leap in scale and diversity for medicinal plant research. It significantly outscales previous benchmarks like VNPlant-200 and MED-117, providing a more diverse distribution that reflects real-world plant prevalence.

  • Scale: 52,089 images across 300 classes.
  • Comprehensiveness: While many datasets focus solely on leaves, TCMP-300 includes blossoms, stems, roots, fruits, and whole-plant profiles. This multi-part approach is critical for real-world identification where the entire plant may not be visible.
Examples of the diverse plant parts included in the TCMP-300 dataset for species like Angelica sinensis and Pulsatilla chinensis.

Key Insights and Technical Validation

The study yielded several important findings for the AI community:

  • Foundation Models for Curation: Vision-language models like CLIP are highly effective at cleaning specialized datasets, drastically reducing the manual labor required from experts.
  • Fine-Grained Recognition: By including specific medicinal parts, TCMP-300 challenges models to distinguish between species that appear nearly identical, a much harder task than general object detection.
  • Resolution Impact: Increasing input resolution from 224x224 to 448x448 provided a consistent accuracy boost (up to 1.65%), suggesting that subtle morphological features require higher pixel density.

Results

The dataset was validated using 11 state-of-the-art models, including CNNs and Vision Transformers (ViTs):

  • Top Performer: The Swin-Base model achieved the highest accuracy at 89.64%.
  • Augmentation Impact: The HybridMix technique improved baseline performance by an average of 1.57% across all architectures.
  • Mobile Readiness: Lightweight models like MobileNetV3 achieved over 82% accuracy, indicating the feasibility of future smartphone-based field identification tools.

Conclusion

TCMP-300 addresses the critical data gap in Traditional Chinese Medicine research. While 300 categories represent only a fraction of the thousands of medicinal species, this dataset provides a robust foundation for future scaling. The researchers have released an online leaderboard and a web application to encourage community-driven improvements in automated herbal recognition.

Summary updated

BibTeX
@inproceedings{zhang2025tcmp,
  author = {Yanling Zhang and Wenli Sun and Chuanguang Yang and Libo Huang and Zhulin An and Wei Feng and Wenjing Tang and Yongjun Xu},
  title = {{TCMP-300: A Comprehensive Traditional Chinese Medicinal Plant Dataset for Plant Recognition}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41597-025-05522-7},
}
Figure