Barlow Twins for semi-supervised learning in NIR spectroscopy

Read full text
Authors: Mark Wohlers, Andrew McGlone, Eibe Frank, Geoffrey Holmes
Cited by: 2
References: 16

Abstract

Near-infrared (NIR) spectroscopy is a widely used technology in the horticulture industry for non-destructive fruit grading. Partial Least Squares (PLS) regression is the dominant method for producing fruit quality predictions from measured spectra. Alternative deep learning methods have shown promise, but often require large amounts of labelled data to train. This study proposes a semi-supervised method based on Barlow Twins to include unlabelled data in the training process. We adopt the Barlow Twins method by using repeated measurements on the same fruit from different devices as different “views” to encode into the same latent space and combine the encoder network with a regression head for prediction. Our approach demonstrates improved performance over PLS with up to 17% lower RMSE, especially when the labelled data is limited. The Barlow loss function also improves calibration transfer results.

Fields of Study & Subjects

Spectroscopy and Chemometric Analyses Smart Agriculture and AI Optical Imaging and Spectroscopy Techniques

Publication details

Journal / source
Chemometrics and Intelligent Laboratory Systems
Publisher
Elsevier BV
Volume
272
Pages
105664–105664
Publication date
14 February 2026
Language
EN