cs.LGApr 6, 2026

The Infinite-Dimensional Nature of Spectroscopy and Why Models Succeed, Fail, and Mislead

Authors: Umberto Michelucci, Francesca Venturini

Organizations: Department of Computer Science Lucerne University of Applied Sciences and Arts Risch-Rotkreuz, 6343 Switzerland · Institute of Applied Mathematics and Physics ZHAW Zurich University of Applied Sciences Winterthur, 8400 Switzerland

Abstract

Machine learning (ML) models have achieved strikingly high accuracies in spectroscopic classification tasks, often without a clear proof that those models used chemically meaningful features. Existing studies have linked these results to data preprocessing choices, noise sensitivity, and model complexity, but no unifying explanation is available so far. In this work, we show that these phenomena arise naturally from the intrinsic high dimensionality of spectral data. Using a theoretical analysis grounded in the Feldman-Hajek theorem and the concentration of measure, we show that even infinitesimal distributional differences, caused by noise, normalisation, or instrumental artefacts, may become perfectly separable in high-dimensional spaces. Through a series of specific experiments on synthetic and real fluorescence spectra, we illustrate how models can achieve near-perfect accuracy even when chemical distinctions are absent, and why feature-importance maps may highlight spectrally irrelevant regions. We provide a rigorous theoretical framework, confirm the effect experimentally, and conclude with practical recommendations for building and interpreting ML models in spectroscopy.

Figures & tables

Explore similar work

CardsList
  1. Spectral Model eXplainer: a chemically-grounded explainability framework for spectral-based machine learning models

    May 4, 2026Jose Vinicius Ribeiro, Rafael Figueira Goncalves, Fabio Luiz Melquiades +1Feature AttributionExplainable Artificial Intelligence

  2. SHAPCA: Consistent and Interpretable Explanations for Machine Learning Models on Spectroscopy Data

    Mar 19, 2026Mingxing Zhang, Nicola Rossberg, Simone Innocente +5Explainable Artificial IntelligenceExplanation Stability

  3. SpecX: A Large-Scale Benchmark for Multi-Modal Spectroscopy and Cross-Paradigm Evaluation

    May 11, 2026Chengrui Xiang, Tengfei Ma, Yujie Chen +3Multimodal Model Evaluation