cs.LGMar 19, 2026

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

Authors: Mingxing Zhang, Nicola Rossberg, Simone Innocente, Katarzyna Komolibus, Rekha Gautam, Barry O'Sullivan, Luca Longo, Andrea Visentin

Organizations: School of Computer Science and Information Technology, University College Cork, Ireland · Centre for Research Training in Artificial Intelligence, University College Cork, Ireland · Insight Centre for Data Analytics, University College Cork, Ireland

Abstract

In recent years, machine learning models have been increasingly applied to spectroscopic datasets for chemical and biomedical analysis. For their successful adoption, particularly in clinical and safety-critical settings, professionals and researchers must be able to understand and trust the reasoning behind model predictions. However, the inherently high dimensionality and strong collinearity of spectroscopy data pose a fundamental challenge to model explainability. These properties not only complicate model training but also undermine the stability and consistency of explanations, leading to fluctuations in feature importance across repeated training runs. Feature extraction techniques have been used to reduce the input dimensionality; these new features hinder the connection between the prediction and the original signal. This study proposes SHAPCA, an explainable machine learning pipeline that combines Principal Component Analysis (for dimensionality reduction) and Shapely Additive exPlanations (for post hoc explanation) to provide explanations in the original input space, which a practitioner can interpret and link back to the biological components. The proposed framework enables analysis from both global and local perspectives, revealing the spectral bands that drive overall model behaviour as well as the instance-specific features that influence individual predictions. Numerical analysis demonstrated the interpretability of the results and greater consistency across different runs.

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. A comparative analysis of machine learning models in SHAP analysis

    Apr 8, 2026Justin Lin, Julia FukuyamaSHAP Feature AttributionShapley Value Attribution

  3. RelShap: Relationally Consistent Shapley Explanations

    Aug 11, 2026Seungeun Lee, Joao Fonseca, Julia StoyanovichFeature AttributionShapley Value Attribution