cs.LGOct 22, 2026

Wavenumber-Aware Deep Learning for Robust Analysis of Raman Spectra

Authors: Jihwan Kim, Jaeseong Heo, Yujin Kim, Sang Bin Yoon, Chanjoong Kim, Kwang-Im Oh, Hyon Bin Na, Kyungwon Kwak, 

Organizations: Department of Chemistry, Kookmin University, 77 Jeongneung-ro, Seongbuk-gu, Seoul, 02707, Republic of Korea. · BB21+, Department of Chemistry, Pukyong National University, Busan, 48513, Republic of Korea. · Department of Chemical Engineering, Myongji University, Yongin, 17058, Republic of Korea. · School of Artificial Intelligence, Kookmin University, 77 Jeongneung-ro, Seongbuk-gu, Seoul, 02707, Republic of Korea. · 

Abstract

Machine-learning models for spectroscopy usually treat a spectrum as a fixed-grid intensity vector, leaving the physical coordinate implicit in the array index. Such models are tied to a single sampling grid, spectral range and resolution, which limits their use when measurement conditions change. Here we represent each spectral point as a pair of intensity and wavenumber and compute Transformer positional encodings from the wavenumber itself. On Raman spectra of three bacterial species and their synthetic mixtures, this representation remained robust to noise, sparser sampling and partial spectral coverage across convolutional, residual and Transformer networks. In controlled comparisons, wavenumber-based encoding outperformed index-based and learned encodings under partial observation and retained its performance on sampling grids never seen during training, where index-based encoding degraded. These findings were reproduced on a public 30-isolate bacterial benchmark. Explicit physical coordinates offer a simple route to robust spectral analysis under variable measurement conditions.

Figures & tables

Explore similar work

CardsList
  1. Transformer-Based Classification of Bacterial Raman Spectra with LOOCV

    Jun 25, 2026Jamile Mohammad Jafari, Thomas BocklitzTransformerRaman Spectroscopy

  2. A Practical Noise2Noise Denoising Pipeline for High-Throughput Raman Spectroscopy

    May 18, 2026David Martin-Calle, Cesar Alvarez Llamas, Vincent Motto- Ros +3Denoising AutoencodersConvolutional Autoencoder