AAFM-YOLO: TCM Identification Algorithm Based on Improved YOLOv11

Jiajia Liu, Xinghua Zhu, Xuan Zhang, Zichen Xu, Z. Wu, Zhenkun Jin2025

Abstract

Traditional Chinese medicine (TCM) recognition plays a crucial role in ensuring the quality and safety of clinical diagnosis and pharmaceutical production. However, challenges such as similar appearance among different herbs, multi-scale target variation, and complex backgrounds hinder accurate identification. To address these issues, we propose AAFM-YOLO, an improved detection algorithm based on YOLOv11. Specifically, we introduce the Adaptive Attention Fusion Module (AAFM) into the backbone and neck of YOLOv11 to enhance both spatial and frequency-domain feature interactions. AAFM leverages dynamic sparse attention, frequency-domain adaptive filtering, and channel-spatial interaction mechanisms to improve feature representation, enabling the model to better distinguish herbs with subtle morphological differences. Experimental results on our constructed TCM-Herbs2025 dataset show that AAFM-YOLO achieves a 2.1% improvement in Precision and a 3.8% improvement in mAP@50 compared with YOLOv11, demonstrating superior robustness and accuracy in complex recognition scenarios.
BibTeX
@misc{liu2025aafm,
  author = {Jiajia Liu and Xinghua Zhu and Xuan Zhang and Zichen Xu and Z. Wu and Zhenkun Jin},
  title = {{AAFM-YOLO: TCM Identification Algorithm Based on Improved YOLOv11}},
  year = {2025},
  doi = {10.1109/eiecs67708.2025.11283450},
}

Loading related content...

Figure