Chinese Traditional and Herbal Drugs
|
2026, 57(19): 7722-7738
HerbVLM: A traditional Chinese medicinal materials identification model based on vision-text prompt enhancement and visual deconfusion
Full
YE Cheng1, CHEN Tianxue2, YU Zhexuan2, ZHAO Xixi3, YU Li2, JIN Wei1
Affiliations
1 School of Artificial Intelligence for Traditional Chinese Medicine, Zhejiang Chinese Medical University, Hangzhou 310053, China;
2 School of Basic Medical Sciences, Zhejiang Chinese Medical University, Hangzhou 310053, China;
3 Academy of Chinese Medical Sciences, Zhejiang Chinese Medical University, Hangzhou 310053, China
doi: 10.7501j.issn.0253-2670.2026.19.018
Outline
Objective To construct HerbVLM, a vision-text fusion model for the identification of traditional Chinese medicinal materials, aiming to improve intelligent recognition performance in distinguishing visually similar categories and generalizing across scenarios. Methods Based on a vision-language pretrained dual-encoder framework, a traditional Chinese medicine knowledge-enhanced prompt module (TKPM) was introduced on the text side, while a hierarchical image adaptation and de-confusion module (HIA) was constructed on the image side. Dynamic fusion and joint loss optimization were further incorporated. Comparative and ablation experiments were conducted on the open-source Chinese-Medicine-163 dataset, and cross-domain and few-shot adaptation validation was performed on a self-collected external dataset of the “new Zhebawei”. Results On the test set, HerbVLM achieved top-1 accuracy (Top-1 Acc), macro precision (Pmacro), macro recall (Rmacro), and macro F1-score (F1macro) of 98.69%, 98.70%, 98.71%, and 98.70%, respectively, outperforming comparative methods including residual network (ResNet), context optimization (CoOp), conditional context optimization (CoCoOp), training-free CLIP-Adapter (Tip-Adapter), multi-modal prompt learning (MaPLe), and contrastive vision-language pretraining in Chinese (Chinese-CLIP). Ablation experiments showed that text enhancement, image adaptation, de-confusion constraints, and dynamic fusion all brought stable performance gains. In external testing on the self-collected Zhejiang Eight Flavors dataset, the recognition rates for known categories Lingzhi (Ganoderma), Fupenzi (Rubi Fructus), Tiepishihu (Dendrobii Officinalis Caulis), and Qianhu (Peucedani Radix) were 96.00%, 100.00%, 100.00%, and 100.00%, respectively. For unknown categories, the average accuracies under 1-shot, 2-shot, and 5-shot settings were approximately 84.00%, 91.54%, and 98.20%, respectively, demonstrating favorable few-shot transfer capability. Conclusion HerbVLM significantly improves the fine-grained recognition accuracy and cross-domain generalization performance of traditional Chinese medicinal materials through multimodal collaborative modeling of image-text knowledge, and can provide methodological support for traditional Chinese medicinal material teaching, quality inspection assistance.
traditional Chinese medicinal materials identification
/
vision-text fusion
/
multimodality
/
prompt learning
/
few-shot learning
/
cross-domain generalization
叶诚, 陈天雪, 于哲轩, 赵希曦, 虞立, 金伟.
HerbVLM:一种基于图文提示增强与视觉去混淆的中药材鉴别模型.
中草药,
2026
, 57
(19)
: 7722
-7738
.
DOI: 10.7501j.issn.0253-2670.2026.19.018
YE Cheng, CHEN Tianxue, YU Zhexuan, ZHAO Xixi, YU Li, JIN Wei.
HerbVLM: A traditional Chinese medicinal materials identification model based on vision-text prompt enhancement and visual deconfusion[J].
Chinese Traditional and Herbal Drugs,
2026
, 57
(19)
: 7722
-7738
.
DOI: 10.7501j.issn.0253-2670.2026.19.018
Year 2026 volume 57 Issue 19
36
7
Cite this Article
BibTeX
Article Info
doi: 10.7501j.issn.0253-2670.2026.19.018
- Receive Date:2026-06-05
- Online Date:2026-10-29