Self-supervised representation learning for Raman spectra: objectives and augmentations
Raman spectroscopy provides non-destructive molecular fingerprints with minimal interference from water. Public Raman datasets are growing, but reliable labels remain scarce, which motivates methods that learn from unlabeled spectra. Self-supervised learning offers one, although its training objective has usually been taken from computer vision rather than tested on spectra. Here, we compare two contrastive objectives, SimCLR v2 and MoCo v3, with one non-contrastive objective, Bootstrap Your Own Latent (BYOL), on unlabeled Raman spectra. A ResNet was pretrained on the Bacteria-ID dataset under one shared configuration, three times per objective, and fine-tuned to identify bacterial isolates while the augmentations, preprocessing, and number of labels were varied. Transfer to a second dataset was examined using COVID-19 serum spectra. On Bacteria-ID, SimCLR v2 was the strongest objective in every pretraining run (80.4 $\pm$ 0.8\% on the independent 30-isolate test), but part of its lead came from four extrapolated grid points at the edge of the spectral window. Without them it still led MoCo v3 but not BYOL or supervised pretraining. Augmentations that leave the peak pattern intact outperformed random cropping and masking by 4.5--7.1 percentage points, a larger and steadier effect than the choice of objective, and a component-wise ablation traced this benefit mainly to broadband noise. All three objectives reduced the number of labels needed compared with training from scratch, although supervised pretraining stayed ahead when labels were fewest. On the COVID-19 cohort, no transferred encoder differed significantly from a support vector machine or a randomly initialized network at the patient level, and pretrained features were no more informative than random ones. These findings support self-supervised pretraining with augmentations that imitate measurement variation for Raman analysis with few source-domain labels, and show that how views are built matters more than the choice of objective.
Authors
- Junho Lee (ORCID: https://orcid.org/0000-0001-9798-3303)
- Joonsuk Huh (ORCID: https://orcid.org/0000-0002-8792-5641)
Institutions
- Yonsei University (KR)
- Cleveland Clinic Research (US)
Publication Details
- Journal
- Physica Scripta
- Published
- 2026-12-01
- DOI
- https://doi.org/10.1088/1402-4896/aec8c7
- Primary Topic
- Spectroscopy Techniques in Biomedical and Chemical Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00