Sharpness-Aware Minimization (SAM) Improves Classification Accuracy of Bacterial Raman Spectral Data Enabling Portable Diagnostics

arXiv:2609.19453 · cs.LG, q-bio.QM, stat.ML · Submitted 2026-09-16 · Read on arXiv

cs.LG, q-bio.QM, stat.ML

Submitted: 2026-09-16

Updated: 2026-09-16

Comments: Accepted for oral presentation at the ICLR 2024 Workshop on Practical ML for Low Resource Settings (PML4LRS)

Code: https://github.com/Tadesse-Lab/SAM-Raman-Diagnostics

License: http://creativecommons.org/licenses/by/4.0/

The gist: Antimicrobial resistance is expected to claim 10 million lives per year by 2050, and resource-limited regions are most affected.

Terminology

Abstract

Antimicrobial resistance is expected to claim 10 million lives per year by 2050, and resource-limited regions are most affected. Raman spectroscopy is a novel pathogen diagnostic approach promising rapid and portable antibiotic resistance testing within a few hours, compared to days when using gold standard methods. However, current algorithms for Raman spectra analysis 1) are unable to generalize well on limited datasets across diverse patient populations and 2) require increased complexity due to the necessity of non-trivial pre-processing steps, such as feature extraction, which are essential to mitigate the low-quality nature of Raman spectral data. In this work, we address these limitations using Sharpness-Aware Minimization (SAM) to enhance model generalization across a diverse array of hyperparameters in clinical bacterial isolate classification tasks. We demonstrate that SAM achieves accuracy improvements of up to 10.5% on a single split, and an increase in average accuracy of 2.7% across all splits in spectral classification tasks over the traditional optimizer, Adam. These results display the capability of SAM to advance the clinical application of AI-powered Raman spectroscopy tools.

Sources

Related papers