RIMU-SpecMamba: replicate-aware state space modeling for robust cross-scanner soil spectral prediction
Introduction Portable near-infrared (NIR) spectroscopy enables rapid, non-destructive soil analysis, but spectral variations across instruments limit cross-scanner generalization. Repeated measurements contain valuable information about within-scanner variability and between-scanner spectral differences. Methods We propose RIMU-SpecMamba, a replicate-aware framework combining Real Residual Spectrum Augmentation (RRSA), replicate-consistency supervision, source-scanner alignment, and multi-resolution bidirectional state-space modeling. The framework is evaluated under a strict leave-one-scanner-out protocol involving nine held-out scanners, three source-data splits, and three random seeds, without using target-scanner data during training. Results Across 81 evaluations, summarized as 27 seed-aggregated scanner–split units, RIMU-SpecMamba achieves a mean Macro-R² of 0.8703 (descriptive SD = 0.0538). This is 0.0477 higher than the best-performing Mamba-family baseline, VanillaMamba (0.8226), corresponding to an approximately 5.8% relative improvement. Performance ranges from 0.8092 to 0.9459 across the nine scanner means. Discussion The results demonstrate the potential of exploiting real repeated measurements to improve zero-shot cross-scanner soil-property prediction within the evaluated Neospectra portable FT-NIR ecosystem and WoodyWellKSSL data release. Transfer to other instrument families remains to be validated.
Authors
- Bao Ao (ORCID: https://orcid.org/0009-0000-8330-6600)
- Xin Pan (ORCID: https://orcid.org/0000-0002-5640-697X)
- Wenjing Zhang (ORCID: https://orcid.org/0009-0002-1569-364X)
- Hongsheng Zhou
- Gao Tian
- Chen Chen
- Jiangping Liu
Institutions
- Inner Mongolia Agricultural University (CN)
- Inner Mongolia Academy of Agricultural & Animal Husbandry Sciences (CN)
- Xi'an University of Technology (CN)
Publication Details
- Journal
- Frontiers in Plant Science
- Published
- 2026-11-24
- DOI
- https://doi.org/10.3389/fpls.2026.1987093
- Primary Topic
- Spectroscopy and Chemometric Analyses
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Inner Mongolia
- National Key Research and Development Program of China