Development of Multimodal Fusion Technology for Tomato Maturity Assessment

Yang Liu, Chaojie Wei, Seung Chul Yoon, Xinzhi Ni, Wei Wang, Yizhe Liu, Daren Wang, Xiaorong Wang, Xiaohuan Guo2024

TL;DR

This paper introduces a novel multimodal fusion approach for accurately assessing tomato maturity, combining color imaging, near-infrared (NIR) spectroscopy, and haptic sensing. By integrating these diverse data streams using a deep learning framework, the system achieves a remarkable 99.4% classification accuracy, significantly outperforming individual sensing modalities and addressing the challenge of uneven ripening in tomatoes.

What Problem Does This Paper Address?

Determining the optimal maturity of fruits and vegetables, like tomatoes, is crucial for quality control, supply chain management, and maximizing consumer satisfaction. Tomatoes, however, present a unique challenge: they ripen unevenly, with internal and external characteristics sometimes diverging. This internal-external discrepancy makes it difficult to accurately assess maturity using a single, non-destructive method. Traditional methods are often destructive, time-consuming, or provide only partial information. Existing non-destructive techniques like machine vision excel at external appearance but struggle with internal quality, while spectroscopy can probe internal composition but might miss subtle textural changes. This paper aims to bridge this gap by developing a robust, multimodal system that leverages the complementary strengths of different sensing modalities to overcome the limitations of individual approaches.

Methods

The core of this research lies in a multimodal fusion strategy powered by deep learning. The process involves:

  • Data Acquisition: Three distinct types of data were collected from tomatoes:
  • Color Imaging: RGB images captured the external appearance and color of the tomatoes.
  • Vis/NIR Spectroscopy: Near-infrared spectra (350-1100 nm) were acquired to infer internal chemical compositions related to ripening.
  • Haptic Sensing: Flexible thin-film pressure sensors were used to measure the firmness and texture of the tomatoes.
  • Feature Extraction: Each modality's data was processed to extract relevant features:
  • Image Features: A VGG16 convolutional neural network (CNN) was employed to extract a 1x8192-dimensional feature vector from the images.
  • Spectral Features: A 1D-CNN model was designed to extract a 1x10-dimensional spectral feature vector from the Vis/NIR data.
  • Haptic Features: A Long Short-Term Memory (LSTM) network was used to process the time-series tactile data, yielding a 1x64-dimensional feature vector representing texture.
  • Feature Fusion: A "feature stitching" approach was used for early fusion. The extracted feature vectors from all three modalities were concatenated into a single, comprehensive multimodal feature vector.
  • Classification: A fully connected deep neural network (FCNN) was designed for the final classification. This network incorporated residual blocks to enhance learning and generalization. It consisted of multiple fully connected layers, batch normalization, ReLU activation, and dropout for regularization.

Datasets

The study utilized a custom dataset of 214 tomatoes, categorized into three maturity stages: immature, semi-mature, and mature. For a more nuanced analysis, two "negative samples" (externally mature but internally immature) and one "positive sample" (uniformly mature) were also included. Each of the 214 tomatoes was measured four times across its equatorial plane, resulting in a total of 2568 data acquisitions encompassing image, spectral, and haptic modalities. This dataset was split into training, validation, and testing sets.

Key Insights and Ideas

  • Complementarity is Key: The research strongly demonstrates that no single modality is sufficient for accurate tomato maturity assessment, especially when dealing with uneven ripening. The combination of visual cues (color), internal chemical information (spectroscopy), and physical properties (firmness) provides a holistic view.
  • Deep Learning for Fusion: The paper highlights the power of deep learning not just for individual feature extraction but also for effectively integrating and processing these diverse multimodal features. The FCNN architecture proved adept at learning complex relationships across modalities.
  • Addressing Uneven Ripening: A significant contribution is the ability of the multimodal approach to correctly classify tomatoes with inconsistent internal and external maturity, a challenge that single-modal methods struggle with.
  • Haptic Data's Role: While often overlooked, haptic sensing proved crucial in differentiating samples where spectral data showed minimal variation, underscoring its value in capturing physical ripeness cues.

Key Results

  • Overall Accuracy: The multimodal fusion model achieved an outstanding 99.4% accuracy in classifying tomato maturity.
  • Superiority over Unimodal Methods: The fusion model significantly outperformed individual modalities:
  • Color Imaging: 94.2% accuracy
    • Spectroscopy: 87.8% accuracy
    • Haptics: 87.2% accuracy
  • Heterogeneous Sample Classification: For samples with inconsistent internal and external maturity, the multimodal approach achieved 94.4% accuracy.
  • Precision and Recall: The multimodal model also demonstrated high precision (99.3%) and recall (99.4%), indicating both reliable positive predictions and effective capture of all positive samples.

Limitations and Future Work

  • Integration Challenges: The authors acknowledge that integrating this technology into existing online sorting systems faces challenges related to real-time responsiveness, adaptability to other fruits/vegetables, and cost-effectiveness.
  • Future Directions: Future research should focus on optimizing algorithms and hardware for real-time applications, exploring the fusion technology's applicability to a wider range of produce, and investigating its use for detecting other quality parameters like pests or diseases. The authors also suggest incorporating more advanced NDT techniques and developing custom models for specific tasks.

Summary updated

BibTeX
@misc{liu2024development,
  author = {Yang Liu and Chaojie Wei and Seung Chul Yoon and Xinzhi Ni and Wei Wang and Yizhe Liu and Daren Wang and Xiaorong Wang and Xiaohuan Guo},
  title = {{Development of Multimodal Fusion Technology for Tomato Maturity Assessment}},
  year = {2024},
  doi = {10.3390/s24082467},
}
Figure