nto wavelength-specific contributions for each quality constituent, thereby bridging data-driven prediction with domain knowledge. 2. Materials and Methods 2.1. Materials Datasets The corn near-infrared (NIR) spectral dataset used in this study was obtained from the publicly available repository hosted by Eigenvector Research ( http://www.eigenvector.com/data/Corn , accessed on 31 October 2025). This benchmark dataset has been widely adopted in chemometric studies for evaluating multivariate calibration models in agricultural spectroscopy. It comprises NIR absorbance spectra of 80 corn samples, measured in the wavelength range of 1100–2498 nm at 2 nm intervals, resulting in 700 discrete
Open resource ↗lines:27-35Unverified paper record
Multi-Path Attention Fusion Transformer for Spectral Learning in Corn Quality Assessment.
Foods (Basel, Switzerland) · 4 Nov 2025 · 10.3390/foods14213786
Abstract
Accurately modeling the nonlinear relationships between near-infrared (NIR) spectral signatures and biochemical traits in corn remains a major challenge. A key difficulty lies in capturing multi-scale contextual dependencies-ranging from local absorption peaks to global spectral patterns-that jointly determine quality constituents such as protein and oil. To address this, we propose SpecTran, a spectral Transformer network specifically designed for NIR regression. SpecTran integrates three key components: adaptive multi-scale patch embedding which extracts spectral features at multiple resolutions to capture both fine and coarse patterns, spectral-enhanced positional encoding which preserves wavelength order information more effectively than standard encoding, and hierarchical feature fusion for robust multi-task prediction. Evaluated on the public Eigenvector corn dataset, SpecTran had a performance across four key traits-moisture, starch, oil, and protein-with an average R2 of 0.483. It reduced the RMSE by 11.2% for protein and 10.7% for oil compared to the best-performing baseline, which is the standard Transformer model. These results demonstrate SpecTran's superior ability to model complex spectral dynamics while providing interpretable insights, offering a reliable framework for NIR-based agricultural quality assessment.
Plant phenotyping relevance
トウモロコシのNIRスペクトルから水分・デンプン・油・タンパク質という種子品質形質を推定するTransformer手法を開発し、公開データセット上でベースライン比較検証しており、形質取得・推定法が研究の中心である。
abstractTo address this, we propose SpecTran, a spectral Transformer network specifically designed for NIR regression.
abstractEvaluated on the public Eigenvector corn dataset, SpecTran had a performance across four key traits-moisture, starch, oil, and protein-with an average R2 of 0.483.
abstractIt reduced the RMSE by 11.2% for protein and 10.7% for oil compared to the best-performing baseline, which is the standard Transformer model.
Code and data availability
The paper uses the public Eigenvector corn NIR dataset and provides an authors' GitHub repository containing the spectral data, reference trait values, preprocessing scripts, and model implementation code.
This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.