Related Experiment Videos
Interpretable CNN-Transformer Multimodal Hierarchical Fusion Network in Multivariate Calibration
Honghong Wang1, Min Ding1, Shuming Lan1,2
1School of Chemistry and Molecular Engineering, Shanghai Key Laboratory of Functional Materials Chemistry, and Research Centre of Analysis and Test, East China University of Science and Technology, Shanghai 200237, China.
Analytical Chemistry
|June 8, 2026
Summary
A new multimodal fusion model combining CNN and transformer enhances crop analysis by integrating spectral data with auxiliary factors like region and temperature. This approach improves prediction accuracy for dry matter content in mangoes and tobacco.
Area of Science:
- Agricultural Science
- Spectroscopy
- Machine Learning
Background:
- Accurate quantitative analysis of agricultural produce is crucial for quality control and resource management.
- Traditional methods often rely solely on spectral data, potentially missing valuable information from other sample characteristics.
- Integrating diverse data sources can enhance the predictive power of analytical models.
Purpose of the Study:
- To develop and validate a novel multimodal hierarchical fusion framework for enhanced quantitative analysis of agricultural produce.
- To investigate the efficacy of integrating spectral features with auxiliary factors (region, cultivar, temperature) using a CNN-transformer architecture.
- To compare the performance of the multimodal model against single-modal approaches and existing machine learning models.
Main Methods:
- A hierarchical fusion framework was proposed, utilizing a 1D convolutional neural network (CNN) for spectral feature extraction.
- Auxiliary factors underwent encoding (sine-cosine or label) and were embedded into the feature space via a fully connected network.
- A transformer model was employed for global interaction and fusion of spectral and auxiliary features, followed by validation on mango and tobacco datasets using UV-Vis-NIR spectra.
Main Results:
- The multimodal CNN-transformer model significantly improved prediction performance for mango dry matter content (DMC), reducing RMSE from ~1.0 to ~0.6.
- The proposed model outperformed 11 other machine learning models and single-modal approaches relying only on spectral data.
- SHAP analysis confirmed the significant contribution of auxiliary factors (region, temperature, cultivar) alongside spectral features (near 960 nm) to DMC prediction in both mango and tobacco datasets.
Conclusions:
- The CNN-transformer multimodal model effectively overcomes the limitations of single-modal analysis by integrating spectral and auxiliary data.
- This approach provides a robust framework for quantitative analysis, offering novel technical support for agricultural applications.
- The findings highlight the potential of multimodal fusion strategies in enhancing the accuracy and reliability of predictive models in agricultural science.
Related Concept Videos
Multi-input and Multi-variable systems
Cruise control systems in cars are designed as multi-input systems to maintain a driver's desired speed while compensating for external disturbances such as changes in terrain. The block diagram for a cruise control system typically includes two main inputs: the desired speed set by the driver and any external disturbances, such as the incline of the road. By adjusting the engine throttle, the system maintains the vehicle's speed as close to the desired value as possible.
In the absence of...
In the absence of...
Calibration Curves: Linear Least Squares
A calibration curve is a plot of the instrument's response against a series of known concentrations of a substance. This curve is used to set the instrument response levels, using the substance and its concentrations as standards. Alternatively, or additionally, an equation is fitted to the calibration curve plot and subsequently used to calculate the unknown concentrations of other samples reliably.
For data that follow a straight line, the standard method for fitting is the linear...
For data that follow a straight line, the standard method for fitting is the linear...
Calibration Curves: Correlation Coefficient
In a linear calibration curve, there is a value called the calibration coefficient, denoted by 'r,' which measures the strength and the direction of association between two variables. The correlation coefficient value ranges from −1 to +1. A value of +1 indicates a perfect positive linear correlation, −1 denotes a perfect negative correlation, and 0 implies no correlation between the two variables. A positive correlation value establishes that as one variable increases, the other increases, and...