NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

MultiFuseYOLO: Redefining Wine Grape Variety Recognition through Multisource Information Fusion

Jialiang Peng, Cheng Ouyang, Hao Peng, Wenwu Hu, Yi Wang, Ping Jiang2024

TL;DR

This paper introduces MultiFuseYOLO, a novel deep learning model that fuses information from both wine grape fruits and leaves to achieve highly accurate varietal identification, especially for visually similar varieties. By building upon the YOLOv7 architecture with innovative attention and feature pyramid modules, and incorporating a unique SynthDiscrim fusion algorithm, MultiFuseYOLO significantly outperforms existing methods, offering a robust solution for the wine industry.

What Problem Does This Paper Address?

Identifying wine grape varieties is crucial for the wine industry, impacting quality control and traceability. However, traditional methods, especially those relying on single features like just fruit or just leaves, struggle to differentiate between grape varieties that exhibit high visual similarity. This challenge is exacerbated by variations in grape morphology due to environmental factors. Existing deep learning approaches often fall short in these complex scenarios, necessitating a more comprehensive approach that can effectively leverage multiple sources of information to overcome these limitations.

Methods

The core of this research is the MultiFuseYOLO model, which builds upon the YOLOv7 architecture. Key innovations include:

  • WineYOLO-RAFusion: This is an initial optimized YOLOv7 model that incorporates two novel modules:
  • Res-Attention Module: This module enhances feature extraction by integrating residual connections and attention mechanisms, improving focus on target regions and boosting sensitivity to grape variety features. It's based on CBAM but aims to reduce information loss during transmission.
  • CFP-centered Feature Pyramid Multiscale Fusion Module: This module, inspired by the Feature Pyramid Network (FPN), uses a "centered" approach to fuse features at different scales more effectively. This helps in adapting to variations in fruit size and shape for better localization.
  • SynthDiscrim Algorithm: This is the central component for multisource information fusion. It integrates information from both fruit and leaf detections by:
  • Calculating average classification scores for fruits ($\bar{S}_f$) and leaves ($\bar{S}_l$).
  • Combining these scores using weighted fusion ($S = w_f \times \bar{S}_f + w_l \times \bar{S}_l$), where weights ($w_f, w_l$) are optimized.
  • It also includes a user-adjustable threshold to trigger composite discrimination, considering cases where individual feature probabilities are low.
  • EMASlideLoss Function: This is a modified loss function that uses exponential moving average (EMA) to smooth the loss values, aiming to improve model stability and generalization by reducing sensitivity to noise and outliers during training.

Datasets

The study utilized two primary datasets:

  • Embrapa WGISD: A publicly available dataset primarily containing images of grape fruit bunches. This dataset was used for fruit detection and localization tasks. It consists of 300 images with 4432 grape bunches.
  • Self-harvested Leaf Dataset: A supplementary dataset collected by the authors, focusing on grape leaves. This dataset was collected in September 2023 from a wine estate in Yantai, Shandong Province, covering five varieties. It was used to train the model on leaf characteristics.

Key Insights and Ideas

  • Multisource Fusion is Key for Similar Varieties: The most significant insight is that combining information from both fruit and leaf characteristics is crucial for accurately distinguishing visually similar grape varieties, a task that single-feature approaches struggle with.
  • Attention and Feature Pyramids Enhance Detection: The Res-Attention and CFP modules demonstrably improve the base YOLOv7 model's ability to extract relevant features and perceive objects at different scales, leading to better localization and recognition.
  • Leaf Features Complement Fruit Features: While fruits have distinct features, leaves offer complementary information that can be particularly helpful for varieties that are hard to differentiate based on fruit alone (e.g., Chardonnay and Sauvignon Blanc).
  • Optimized Fusion Weights Matter: The SynthDiscrim algorithm's effectiveness hinges on appropriately weighting the contributions of fruit and leaf information, suggesting that the relative importance of each source can vary.

Key Results

  • Overall Performance: The MultiFuseYOLO model achieved state-of-the-art results, with a precision of 0.854, recall of 0.815, and an F1 score of 0.833 on the combined fruit and leaf identification task.
  • Distinguishing Similar Varieties: The model significantly improved the precision for difficult-to-distinguish varieties like Chardonnay (from 0.512 to 0.813) and Sauvignon Blanc (from 0.533 to 0.775) when using the combined approach.
  • Ablation Studies:
    • Adding the Res-Attention module to YOLOv7 improved [email protected] from 0.673 to 0.734.
  • Adding the CFP module improved [email protected] from 0.673 to 0.748.
  • Combining both modules (WineYOLO-RAFusion) resulted in [email protected] of 0.763.
  • Using EMASlideLoss further boosted the [email protected] of WineYOLO-RAFusion to 0.795.
  • Comparison with Baselines: MultiFuseYOLO significantly outperformed YOLOV5, YOLOX, and YOLOV7 in various metrics, especially in the challenging task of multi-species fruit detection.

Limitations and Future Work

  • Dataset Limitations: While the Embrapa WGISD dataset is valuable, the authors acknowledge that the self-collected leaf dataset might have limitations due to the collection season, meaning not all plants were fruiting. The study also mentions that leaf recognition alone did not perform as well as fruit recognition alone, suggesting leaves are more complex to interpret.
  • Generalizability: The study focuses on specific wine grape varieties. Future work could explore the model's performance on a wider range of varieties and in diverse environmental conditions.
  • Real-time Performance: While YOLOv7 is known for speed, the fusion mechanism might introduce computational overhead. Further optimization for real-time applications could be explored.
  • Future Directions: The authors suggest combining information from both fruit and leaves to fully utilize multiple plant characteristics, which is the core of their proposed MultiFuseYOLO. This integrated approach is seen as a promising direction for improving robustness and accuracy in varietal identification.

Summary updated

BibTeX
@misc{peng2024multifuseyolo,
  author = {Jialiang Peng and Cheng Ouyang and Hao Peng and Wenwu Hu and Yi Wang and Ping Jiang},
  title = {{MultiFuseYOLO: Redefining Wine Grape Variety Recognition through Multisource Information Fusion}},
  year = {2024},
  doi = {10.3390/s24092953},
}
Figure