Masked Spectral Patch Pretraining and Prototype Classification for Near-Infrared Spectroscopic Discrimination of Eight Commercial Tea Products

Near-infrared (NIR) spectroscopy enables rapid tea-product screening, but classification studies can contain many spectra from a small number of physical subsamples. Accordingly, this evaluation grouped repeated measurements at the physical-subsample level. This study developed Masked Spectral Patch Pretraining and Prototype Classification (MSPPC), which integrates local spectral patches, self-supervised masked reconstruction, and class-centered prototype decisions. The dataset comprised 168 spectra from 56 physical subsamples across eight commercial tea products, with one package sampled per product. The confirmatory comparison used a 40-physical-subsample modeling set, five prespecified seeds, and group-aware five-fold cross-validation at the physical-subsample level. MSPPC achieved 96.50% ± 0.91% spectrum-level Accuracy and 96.54% ± 0.90% Macro-F1. Radial basis function support vector machine (RBF-SVM), multilayer perceptron (MLP), and Bayesian-optimized least-squares support vector machine (BO-LSSVM) occupied the same approximately 96–97% predictive range, and paired physical-subsample bootstrap comparisons showed closely matched predictive performance. After the normalized class outputs of three replicate spectra were averaged, all four confirmatory models produced 100% physical-subsample-level Accuracy and Macro-F1. The comparison also distinguished the models by between-seed variability and computational complexity, providing a broader basis for model selection than small differences in mean Accuracy. MSPPC therefore provides a competitive spectral representation-learning route for small-sample NIR analysis under rigorous repeated-measure evaluation.

Authors

Institutions

Publication Details

Journal
Foods
Published
2026-12-01
DOI
https://doi.org/10.3390/foods15234331
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Masked Spectral Patch Pretraining and Prototype Classification for Near-Infrared Spectroscopic Discrimination of Eight Commercial Tea Products

Menglong Cong, Kunpeng Zhou, De-Xin Wang, Suyalatu Zhang et al.
Foods
Spectroscopy and Chemometric Analyses
article

Masked Spectral Patch Pretraining and Prototype Classification for Near-Infrared Spectroscopic Discrimination of Eight Commercial Tea Products

Menglong Cong, Kunpeng Zhou, De-Xin Wang, Suyalatu Zhang, Taiping Zhang
article en

Abstract

Near-infrared (NIR) spectroscopy enables rapid tea-product screening, but classification studies can contain many spectra from a small number of physical subsamples. Accordingly, this evaluation grouped repeated measurements at the physical-subsample level. This study developed Masked Spectral Patch Pretraining and Prototype Classification (MSPPC), which integrates local spectral patches, self-supervised masked reconstruction, and class-centered prototype decisions. The dataset comprised 168 spectra from 56 physical subsamples across eight commercial tea products, with one package sampled per product. The confirmatory comparison used a 40-physical-subsample modeling set, five prespecified seeds, and group-aware five-fold cross-validation at the physical-subsample level. MSPPC achieved 96.50% ± 0.91% spectrum-level Accuracy and 96.54% ± 0.90% Macro-F1. Radial basis function support vector machine (RBF-SVM), multilayer perceptron (MLP), and Bayesian-optimized least-squares support vector machine (BO-LSSVM) occupied the same approximately 96–97% predictive range, and paired physical-subsample bootstrap comparisons showed closely matched predictive performance. After the normalized class outputs of three replicate spectra were averaged, all four confirmatory models produced 100% physical-subsample-level Accuracy and Macro-F1. The comparison also distinguished the models by between-seed variability and computational complexity, providing a broader basis for model selection than small differences in mean Accuracy. MSPPC therefore provides a competitive spectral representation-learning route for small-sample NIR analysis under rigorous repeated-measure evaluation.

FoodsVol. 15(23)
Inner Mongolia University for Nationalities (CN)
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Masked Spectral Patch Pretraining and Prototype Classification for Near-Infrared Spectroscopic Discrimination of Eight Commercial Tea Products — Menglong Cong, Kunpeng Zhou, et al. · Foods (2026) | TGRS Research Map | TGRS