HLR-YOLO: Morphology-Guided Hierarchical Learning for Fine-Grained Mushroom Species Classification
Visual similarity among mushroom species complicates image-based identification, motivating methods that combine local feature discrimination with morphological knowledge. This study proposes HLR-YOLO, a morphology-guided hierarchical learning framework based on YOLO11n-cls. The framework uses parallel branches to predict species labels and coarse morphological groups from shared features. Auxiliary morphological supervision and a consistency loss link the two prediction levels, while hierarchical label smoothing restricts the smoothing probability to species within the same morphological group. Receptive-field attention convolution further provides adaptive weighting of local features. The primary dataset contained 8810 original images from 12 species; augmentation of the training split increased the total to 9524 images across all splits. On the primary test set, HLR-YOLO achieved 92.24% accuracy and a 92.23% F1 score, exceeding YOLO11n-cls by 0.97 and 0.94 percentage points, respectively. Following separate training on MO_106, HLR-YOLO achieved 69.64% test accuracy, compared with 68.00% for YOLO11n-cls. Ablation experiments supported the contributions of the proposed components under the evaluated configurations. At an input resolution of 224×224 pixels, HLR-YOLO achieved a mean inference latency of 2.69 ms on an RTX 3080 Ti GPU, 14.79% lower than that of YOLO11n-cls, although its parameter count increased from 1.55 to 1.96 million. These results support the use of morphology-guided supervision and local feature weighting for mushroom species classification.The proposed framework has potential applications in image-based mushroom species screening, providing auxiliary identification information for food-safety-related assessments. Future edge deployment will require further evaluation of computational and memory requirements, as well as robustness under practical imaging conditions.
Authors
- Siting Wang (ORCID: https://orcid.org/0000-0003-3724-1433)
- Shuzhen Jia
- Shulong Zhang
- Haihua Wang
Institutions
- China Agricultural University (CN)
Publication Details
- Journal
- Agriculture
- Published
- 2026-11-25
- DOI
- https://doi.org/10.3390/agriculture16232596
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00