Previous Article in Journal
Deep Learning Methods for Breast Cancer Detection, Classification, and Segmentation Using MRI Scans: A Systematic Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Beyond Spectral Attribution: A Validation Framework for Explainable AI in Biomedical Spectroscopy

1
2nd Department of Radiology, Medical School, National and Kapodistrian University of Athens, 12462 Athens, Greece
2
School of Science and Technology, Hellenic Open University, 26335 Patras, Greece
3
National Hellenic Research Foundation, Institute of Chemical Biology, 48 Vassileos Constantinou Avenue, 11635 Athens, Greece
*
Author to whom correspondence should be addressed.
AI Med. 2026, 1(3), 25; https://doi.org/10.3390/aimed1030025 (registering DOI)
Submission received: 23 June 2026 / Revised: 4 September 2026 / Accepted: 14 September 2026 / Published: 18 September 2026

Abstract

Biomedical spectroscopy, including Raman, surface-enhanced Raman spectroscopy (SERS), infrared spectroscopy, and hyperspectral imaging, is increasingly combined with machine learning for disease classification, sample characterization, and biomarker-oriented analysis. However, high predictive performance does not establish whether model-relevant spectral features are biologically meaningful or whether highlighted regions can support reliable biochemical interpretation. Explainable artificial intelligence (XAI) methods, particularly SHAP and LIME, are increasingly used to identify influential wavenumbers, spectral bands, and wavelength intervals; yet feature importance is often interpreted too directly as biochemical or clinical evidence. This focused narrative review synthesizes SHAP, LIME, and related XAI methods across biomedical spectroscopy applications in cancer diagnostics, microbial identification, pharmaceutical analysis, and tissue or biofluid characterization. We examine key challenges, including correlated variables, peak overlap, preprocessing dependence, background choice, model dependence, and explanation instability. Beyond spectral attribution, we propose a five-step validation framework linking valid model development, explanation stability, region-level interpretation, biochemical plausibility, and independent analytical, biological, or clinical validation. The framework is intended to distinguish candidate spectral evidence from unstable or technically confounded explanations and to support reproducible, transparent, and clinically meaningful use of XAI in biomedical spectroscopy.

1. Introduction

Biomedical spectroscopy is increasingly investigated as a source of diagnostic and biologically informative data because it can capture molecular and biochemical variation that is not always evident through conventional visual inspection. Raman spectroscopy, surface-enhanced Raman spectroscopy (SERS), and infrared spectroscopy generate vibrational fingerprints related to the molecular composition of cells, tissues, biofluids, and other biological samples. These methods have therefore been explored in cancer detection, tissue characterization, microbial analysis, and non-invasive or minimally invasive diagnostic workflows [1,2].
The growing availability of spectral data has been accompanied by the broader adoption of machine learning and deep learning methods. Classical chemometric approaches, including principal component analysis, partial least-squares methods, support vector machines, and random forests, remain widely used for spectral classification and regression. More recently, one-dimensional convolutional neural networks, deep-learning architectures, and related artificial intelligence approaches have been applied to Raman and SERS data to identify complex, nonlinear, and distributed spectral patterns [3,4,5]. Such strategies have shown potential across biomedical applications, including the rapid identification of pathogenic bacteria and antibiotic-resistance-related phenotypes from Raman spectra [6].
However, high predictive performance alone does not establish that a model relies on biologically meaningful or clinically reproducible spectral evidence. Diagnostic models may exploit technical variation related to sample preparation, instrumental conditions, background signals, or preprocessing choices rather than disease-associated biochemical patterns. This issue is particularly important in biomedical spectroscopy, where the objective is often not limited to classification accuracy but extends to the identification of molecular signatures, candidate biomarkers, or biologically interpretable spectral regions.
Explainable artificial intelligence (XAI) has emerged as a potential bridge between black-box spectral prediction and interpretable analysis. Among the most widely used post hoc methods are SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME). SHAP estimates the contribution of input features to an individual prediction through a Shapley-value-based framework, whereas LIME approximates local model behaviour using an interpretable surrogate model [7,8]. When applied to spectral data, these approaches can rank influential Raman shifts, wavelengths, spectral bands, or signal regions associated with classification or regression outputs.
The use of XAI in spectroscopy is expanding, although the literature remains comparatively limited and heterogeneous. A recent review of explainable artificial intelligence in spectroscopy highlighted that current work frequently focuses on identifying influential spectral bands, while important challenges remain in method selection, interpretation, and validation [9]. In biomedical Raman spectroscopy, explainable machine-learning workflows have already been used to identify spectral features associated with cancer classification, illustrating the potential of XAI to make diagnostic models more transparent and to generate candidate biochemical hypotheses [10].
Nevertheless, spectral explanations cannot be interpreted in the same way as independent tabular features. Neighbouring wavenumbers are often strongly correlated, relevant biochemical information may be distributed across broad or overlapping bands, and a single peak can reflect multiple molecular contributions. Moreover, spectral preprocessing steps—including baseline correction, normalization, smoothing, denoising, derivative transformation, feature selection, and dimensionality reduction—may influence both model performance and the resulting attribution patterns [4,11,12]. Grouped spectral-region analysis has therefore been proposed as a more physically plausible alternative to interpreting isolated input variables, particularly when using SHAP- or LIME-based approaches [11].
The broader XAI literature further indicates that apparently intuitive explanations are not necessarily faithful, stable, or robust. Attribution and saliency methods may change under model randomization, input transformations, preprocessing decisions, or technical perturbations that do not necessarily reflect meaningful differences in model reasoning [13,14]. In high-stakes biomedical settings, these limitations are particularly important because model explanations can be mistaken for mechanistic, causal, or clinically validated evidence [15].
This focused narrative review examines SHAP, LIME, and related XAI approaches in biomedical spectroscopy, with emphasis on Raman, SERS, infrared, and hyperspectral data. Rather than cataloguing explanation methods, it focuses on the transition from spectral attribution to biochemical interpretation and considers the methodological principles, biomedical applications, and limitations associated with correlated spectral variables, peak overlap, preprocessing dependence, explanation instability, and model-specific attribution patterns.
The main contribution of this review is a five-step validation framework for responsible interpretation of spectral XAI outputs: (i) valid model development and appropriate data splitting; (ii) stability assessment across model seeds, preprocessing pipelines, and explanation settings; (iii) region-level interpretation rather than isolated-variable claims; (iv) biochemical plausibility supported by spectroscopy knowledge and domain expertise; and (v) independent analytical, biological, or clinical validation. Under this framework, SHAP, LIME, and related methods are positioned as tools for model auditing and hypothesis generation rather than direct biochemical proof.
The contribution of the present review is distinct from, and complementary to, two closely related works. Contreras and Bocklitz [9] systematically mapped XAI methods and applications across spectroscopy, whereas Contreras et al. [11] introduced a spectral-zones approach for grouped SHAP/LIME analysis of correlated spectral variables. Building on these foundations, the present review addresses a different question: what evidence is required before a model-attributed spectral region can support a biochemical or clinical claim? It therefore integrates model validity, explanation stability, region-level interpretation and faithfulness testing, biochemical plausibility, and independent validation into a staged framework that explicitly links each evidential level to the strength of claim that can be supported.

2. Review Scope and Literature Selection

This article was designed as a focused structured narrative review rather than a systematic review or meta-analysis. Its objective was to synthesize methodological principles, representative biomedical applications, and validation challenges related to explainable artificial intelligence in spectroscopy, with particular emphasis on the transition from spectral attribution to biochemical interpretation.
The review focused on Raman spectroscopy, surface-enhanced Raman spectroscopy, infrared and Fourier-transform infrared spectroscopy, and biomedical hyperspectral imaging. The explainability methods of primary interest were SHapley Additive exPlanations (SHAP), Local Interpretable Model-Agnostic Explanations (LIME), gradient-based attribution, Integrated Gradients, class activation mapping, perturbation-based importance analysis, attention-based interpretation, and grouped spectral-region approaches. The biomedical scope included cancer diagnostics, tissue spectroscopy, microbial identification, infectious-disease applications, biofluids, extracellular vesicles, metabolic analysis, and translational diagnostic workflows. Pharmaceutical and controlled analytical spectroscopy studies were also considered when they provided relevant methodological evidence regarding feature attribution, spectral-region interpretation, or explanation stability.
Targeted literature searches were conducted iteratively during manuscript preparation and updated through 22 June 2026. Searches combined terms related to explainable artificial intelligence, feature attribution, SHAP, LIME, Raman spectroscopy, surface-enhanced Raman spectroscopy, infrared spectroscopy, hyperspectral imaging, biomedical diagnostics, cancer, microbial identification, biofluids, and biomarker discovery. Representative search concepts included combinations of: “explainable artificial intelligence” OR “XAI” OR “SHAP” OR “LIME” OR “feature attribution” OR “saliency” OR “Integrated Gradients” OR “Grad-CAM” OR “attention”, together with “Raman”, “SERS”, “infrared”, “FTIR”, “hyperspectral”, “biomedical”, “medical”, “cancer”, “bacteria”, “biofluid”, or “diagnosis”. Database-specific search strings are provided in Online Resource 1 (Supplementary Materials).
Priority was given to peer-reviewed original studies, methodological papers, high-quality reviews, and reporting or validation guidelines that directly informed the interpretation of explainable AI outputs in spectral data. Foundational XAI publications were included when they introduced methods discussed in the review. Recent biomedical spectroscopy studies without formal XAI analysis were retained when they provided important clinical, translational, or methodological context for the need for interpretable spectral modelling.
Studies were not considered further when they were unrelated to spectroscopy, focused exclusively on non-biomedical applications without methodological relevance, or did not provide information relevant to model explanation, spectral interpretation, validation, or translational use. Reference lists of key reviews and primary studies were additionally examined to identify relevant literature not captured by the initial keyword searches.
Literature identification was purposive rather than exhaustive. The database-specific search strings in Online Resource 1 were used to identify representative studies and are reported for transparency, not as a systematic-review protocol. Accordingly, no formal risk-of-bias assessment, meta-analysis, or PRISMA flow diagram was performed. Because the iterative searches were not managed as a formal screening workflow, duplicate-removal and title/abstract screening counts were not prospectively recorded. The final evidence base comprised 54 references: 26 application studies (8 direct XAI or explicitly interpretability-oriented studies and 18 contextual spectral-AI studies) and 28 methodological, review, spectroscopy, statistical, or reporting sources.

3. Why Spectral Explanations Require Special Care

3.1. Correlated Wavenumbers, Band Structure, and Peak Overlap

Spectral data differ fundamentally from conventional tabular data because neighbouring wavenumbers are not independent variables. Raman, infrared, and related vibrational spectra represent continuous signals in which adjacent variables are linked through instrumental resolution, band width, molecular vibrations, and the underlying physical structure of the sample. In biological spectra, diagnostically relevant information is frequently distributed across broad or partially overlapping bands rather than concentrated in a single isolated Raman shift or wavelength. Proteins, lipids, nucleic acids, carbohydrates, and other molecular components may contribute simultaneously to the same spectral region, making one-to-one peak assignments difficult [16].
This characteristic creates an important challenge for feature-attribution methods. In many machine-learning settings, SHAP, LIME, permutation importance, or related methods are applied by perturbing, masking, or independently varying input features. However, independently modifying one wavenumber while leaving its neighbouring values unchanged may generate a signal configuration that is not physically or biochemically plausible. This concern is especially relevant for SHAP implementations that rely on independence assumptions or background distributions that do not adequately represent feature dependence. When input variables are correlated, standard feature-wise Shapley approximations can produce misleading attributions because they may evaluate unrealistic combinations of variables [17].
For spectroscopy, this means that an attribution score assigned to one Raman shift should not automatically be interpreted as evidence that this exact wavenumber represents a unique molecular contribution. A high attribution score may instead reflect information distributed across a broader correlated spectral region. Recent work has therefore proposed grouped spectral-zone approaches for SHAP- and LIME-based analysis, allowing adjacent or chemically related variables to be assessed jointly rather than as isolated features [11]. Such approaches are more consistent with the physical structure of spectral signals and may reduce the risk of overinterpreting individual variables.
A practical implication is that XAI results should usually be reported and interpreted as spectral regions or bands, particularly when the relevant signal spans multiple neighbouring variables. Exact wavenumber-level claims should be reserved for cases in which spectral resolution, reproducibility, biochemical assignment, and experimental context provide sufficient justification. This distinction is especially important in biomedical applications, where apparently specific spectral features may arise from overlapping biological, technical, and preprocessing-related effects [9,16].

3.2. Preprocessing Is Part of the Explanation Pipeline

Preprocessing is an essential component of biomedical spectral analysis, but it is not a neutral technical step. Raman and infrared spectra may contain fluorescence backgrounds, detector noise, cosmic-ray artefacts, intensity variation, baseline drift, scattering effects, peak shifts, and other sources of technical or biological variability. Common preprocessing operations include baseline correction, normalization, smoothing, denoising, derivative transformation, spectral alignment, feature selection, and dimensionality reduction [4,12,18].
These operations can improve model robustness and reduce irrelevant variation. At the same time, they modify the representation presented to the predictive model. Baseline correction may alter relative peak intensities, normalization may change the contribution of high-intensity spectral regions, smoothing may suppress narrow spectral features, and derivative transformations may emphasize peak boundaries rather than absolute intensity differences. Consequently, the learned decision function and the resulting attribution pattern can depend substantially on the selected preprocessing pipeline.
This has direct implications for XAI. SHAP, LIME, and related methods explain the behaviour of a model for the specific input representation on which that model was trained. They do not provide a preprocessing-independent description of the original physical spectrum. Therefore, two models with similar predictive performance but trained using different plausible preprocessing pipelines may highlight different spectral regions. Such differences do not necessarily indicate that one explanation is correct and the other is incorrect; rather, they may reveal that the apparent explanation is sensitive to analytical choices made before model training.
For this reason, spectral XAI studies should report preprocessing procedures in sufficient detail and avoid presenting attribution maps as universal biochemical findings when they have been generated under only one analytical pipeline. Whenever feasible, researchers should examine whether the most influential spectral regions remain consistent across reasonable alternatives in baseline correction, normalization, smoothing, and feature representation. Stability across preprocessing pipelines does not prove biochemical validity, but it provides stronger evidence that an explanation is not driven solely by one technical configuration.

3.3. Model Dependence, Background Choice, and Explanation Stability

A spectral explanation is also conditional on the trained model, the explainer configuration, and the reference distribution or perturbation strategy used to generate feature importance. SHAP values depend on the selected model and on how missing or masked features are represented relative to a background dataset. LIMEs depend on the local perturbation samples, the distance kernel, the surrogate-model specification, and the definition of the neighbourhood around the instance being explained [7,8]. These choices can influence which variables or spectral regions are identified as important.
Model dependence is particularly relevant in biomedical spectroscopy because multiple classifiers may achieve comparable performance while learning partially different decision boundaries. A support vector machine, random forest, one-dimensional convolutional neural network, or transformer-based model may use different combinations of spectral information to distinguish the same diagnostic classes. Likewise, independently trained neural networks may vary because of initialization, stochastic optimization, training order, regularization, or limited sample size. Therefore, a single explanation produced by one model instance should not automatically be interpreted as a stable representation of the diagnostic information contained in the data.
The broader XAI literature has shown that explanation quality should not be judged only by visual plausibility. Explanations may be sensitive to technical perturbations, model parameterization, or methodological choices, and should be assessed using concepts such as fidelity, sensitivity, robustness, and consistency [13,14,19]. In spectroscopy, this suggests that explanation stability should be evaluated across repeated model training, alternative preprocessing pipelines, and, where possible, more than one explanation method.
Importantly, stability and faithfulness address different questions. A stable explanation is one that remains broadly consistent when reasonable technical variations are introduced. A faithful explanation is one that accurately reflects the contribution of the identified signal components to the prediction of the specific model. Neither property alone establishes biochemical causality or clinical relevance. However, an explanation that is unstable across seeds, preprocessing pipelines, or plausible model choices should be interpreted cautiously before being linked to molecular mechanisms or candidate biomarkers.

3.4. From Feature Importance to Biochemical Interpretation

Feature attribution answers a computational question: which input variables or spectral regions contributed to the prediction of a particular model under a defined data representation, background distribution, and explanation procedure? This is not equivalent to answering a biochemical question, such as which molecular component changed between diagnostic groups, nor does it establish that an identified band is causally related to disease.
The distinction is particularly important in biological Raman and infrared spectroscopy. A spectral region may reflect overlapping contributions from proteins, lipids, nucleic acids, water, extracellular-matrix components, or other biochemical constituents. Its apparent importance may also be influenced by concentration differences, sample preparation, tissue heterogeneity, measurement geometry, fluorescence background, or instrument-specific variation [16]. Therefore, assigning a model-important band directly to a single molecule or biological mechanism without additional evidence can be misleading.
Biochemical interpretation should instead be treated as a staged process. First, XAI can identify candidate spectral regions associated with model behaviour. Second, these regions should be examined for stability across technical and modelling choices. Third, their potential biochemical meaning should be assessed using established vibrational assignments, domain expertise, reference spectra, and the biological context of the diagnostic task. Finally, stronger claims require independent confirmation through controlled experiments, complementary analytical techniques, external datasets, or clinical validation.
Under this perspective, spectral XAI is most valuable when it is used to prioritize hypotheses rather than to provide final biochemical proof. SHAP, LIME, and related methods can help researchers inspect whether models appear to use plausible spectral information, identify regions deserving further investigation, and detect potential technical shortcuts. However, the transition from model attribution to biochemical interpretation requires an explicit validation pathway. The following section therefore examines the major XAI method families used in biomedical spectroscopy and discusses their respective strengths and limitations.

4. SHAP, LIME, and Related XAI Methods for Spectral Data

Explainability methods used in biomedical spectroscopy differ in the type of model behaviour they describe, the level at which they operate, and the assumptions they make about the input signal. Some methods estimate feature contributions for individual predictions, whereas others provide global summaries across a dataset. Some are model-agnostic and can be applied to different classifiers, while others are designed specifically for neural networks. These distinctions are important because a method that is convenient or visually intuitive is not necessarily the most appropriate approach for a given spectral task.

4.1. SHAP for Local and Global Spectral Attribution

SHapley Additive exPlanations (SHAP) is one of the most widely used feature-attribution frameworks because it provides signed estimates of how individual input variables contribute to a model prediction relative to a selected reference or background distribution [7]. In spectral applications, SHAP values can be calculated for Raman shifts, wavelengths, spectral regions, latent features, or handcrafted variables extracted from spectra. Positive and negative attribution values can indicate whether a given spectral component supports or opposes a particular class prediction.
A key advantage of SHAP is that local explanations can be aggregated across multiple spectra to produce global importance summaries. This can help identify spectral regions that are repeatedly associated with a diagnostic class rather than relying only on a single prediction. SHAP implementations can also be adapted to different model families, including tree-based models, kernel-based approximations for arbitrary predictors, and deep-learning-oriented variants. This flexibility has contributed to its increasing use in Raman, infrared, and related spectral studies.
However, SHAP results depend on the trained model, the selected background data, and the assumptions used to represent absent or perturbed features. These issues are particularly relevant for spectra because neighbouring variables are correlated and cannot always be varied independently without generating unrealistic signal configurations [17]. Consequently, SHAP outputs should be interpreted as model-dependent attribution patterns rather than direct molecular assignments. Whenever possible, researchers should examine whether important regions remain consistent across different background sets, repeated training runs, and plausible preprocessing pipelines. Grouped spectral-zone approaches can further improve interpretability by evaluating neighbouring variables jointly rather than assigning meaning to isolated wavenumbers [11].

4.2. LIME, Spectral Masking, and Local Surrogate Explanations

Local Interpretable Model-Agnostic Explanations (LIME) explains an individual prediction by fitting a simple interpretable surrogate model around the local neighbourhood of the input spectrum [8]. In principle, LIME can be applied to any predictive model because it does not require direct access to internal model parameters. For spectral classification, perturbations may involve masking individual wavelengths, modifying spectral intervals, replacing values with a reference signal, or selectively removing predefined spectral regions.
The main appeal of LIME is its flexibility and local focus. It can help identify which spectral regions most strongly influenced a specific sample-level decision, which may be useful when examining heterogeneous tissue spectra, outlier cases, difficult diagnostic samples, or clinically relevant misclassifications. However, conventional LIME was not originally developed for continuous correlated spectral data. Independently perturbing single wavelengths can create artificial spectra that do not correspond to physically plausible biochemical signals.
For this reason, LIME-style analysis in spectroscopy should preferably use structured perturbations based on contiguous intervals, known bands, or data-driven spectral zones. Grouped spectral perturbation approaches reduce the risk of evaluating unrealistic input configurations and can provide explanations that are more consistent with broad vibrational bands and overlapping biochemical information [11]. Nevertheless, LIME remains sensitive to the perturbation strategy, neighbourhood definition, surrogate-model specification, and random sampling procedure. Local explanations should therefore be evaluated for consistency before they are interpreted as evidence of a robust diagnostic spectral signature.

4.3. Gradient-Based Attribution for Deep Spectral Models

Gradient-based explanation methods are particularly relevant for one-dimensional convolutional neural networks and other deep-learning models trained directly on spectral signals. Basic saliency methods estimate how small changes in each input variable affect the target prediction. More advanced approaches, such as Integrated Gradients and DeepLIFT, compare the input spectrum with a reference baseline and propagate attribution scores through the network to estimate the contribution of each variable to the prediction [20,21].
Integrated Gradients calculates attribution by integrating gradients along a path between a baseline input and the observed spectrum. DeepLIFT instead compares neuronal activations with reference activations and propagates contribution scores through the network. Both approaches can generate fine-grained importance profiles across the spectral axis and are computationally attractive when large numbers of spectra or model predictions must be explained.
For one-dimensional convolutional models, class activation mapping (CAM) and Gradient-weighted Class Activation Mapping (Grad-CAM) can also be adapted to highlight signal regions that contribute to a target class prediction [22,23]. Although these approaches were originally introduced for image data, the underlying principle can be transferred to one-dimensional feature maps generated by spectral CNNs. Their main advantage is the production of class-specific importance profiles that can be visually compared with known spectral bands.
However, gradient-based explanations are affected by the selected baseline, network architecture, activation functions, saturation effects, and the resolution of learned feature maps. CAM- and Grad-CAM-based explanations may provide relatively coarse spectral localization, whereas gradient methods may produce noisy or fragmented profiles. Therefore, these methods are best interpreted together with perturbation-based testing, repeated model training, and domain-informed assessment of whether highlighted regions correspond to reproducible spectral patterns.

4.4. Permutation Importance and Perturbation-Based Evaluation

Permutation importance estimates the relevance of an input variable or feature group by measuring how model performance changes after that information has been randomly permuted or disrupted [24]. Unlike local methods such as SHAP or LIME, permutation-based approaches are usually used to provide global importance estimates across a dataset. In spectroscopy, they can be applied to individual wavelengths, contiguous spectral intervals, predefined biochemical bands, or latent feature groups.
A major advantage of permutation importance is its direct link to predictive performance. If permuting a spectral region leads to a substantial reduction in classification accuracy or another relevant metric, that region is likely to contain information used by the model. This makes permutation analysis useful as a complementary validation tool for attribution methods. For example, spectral regions highlighted by SHAP or Integrated Gradients can be tested through structured occlusion or group-wise permutation to determine whether their removal meaningfully changes model output or predictive performance.
Nevertheless, permutation-based methods also require caution when applied to correlated spectra. Permuting one variable independently can disrupt the natural correlation structure of the signal and may overestimate or redistribute importance among highly correlated neighbouring features. Group-wise permutation, conditional perturbation, and band-level occlusion are therefore generally more appropriate than isolated-wavenumber permutation for biomedical spectral data. Such approaches are especially valuable when explanations are intended to support biochemical interpretation rather than only model inspection.

4.5. Attention-Based Interpretation

Attention mechanisms are increasingly used in spectral deep-learning architectures to assign different weights to spectral regions, latent features, or sequence elements during prediction. In principle, these weights can help identify signal components that the network emphasizes for a particular classification task. Attention may therefore be useful in long spectra, multimodal settings, or models that need to integrate information across distant spectral regions.
However, attention weights should not automatically be treated as faithful explanations of model reasoning. The broader XAI literature has shown that attention distributions can sometimes be modified without materially changing model predictions, and close attention weights do not necessarily correspond to features with the strongest causal contribution to a decision [25]. In biomedical spectroscopy, attention maps should therefore be considered model-internal indicators that require independent comparison with feature attribution, perturbation analysis, and spectral-domain knowledge.

4.6. Choosing and Combining Methods for Spectral XAI

No single XAI method is sufficient for all biomedical spectroscopy applications. SHAP is valuable for local and aggregated feature attribution, but requires careful handling of correlated variables and background distributions. LIME provides flexible local explanations but depends strongly on the perturbation strategy. Gradient-based methods are efficient for deep spectral models but may be sensitive to baseline selection and network properties. Permutation or occlusion approaches offer a useful performance-based complement, although they must preserve realistic spectral structure. Attention maps may provide additional model-level insight but should not be regarded as independent evidence of feature importance.
A practical strategy is therefore to combine at least two complementary approaches. For example, a study may use SHAP or Integrated Gradients to identify candidate spectral regions, followed by group-wise perturbation testing to assess whether these regions materially influence model output. Agreement across methods does not prove biochemical validity, but it provides stronger evidence that an observed explanation is not solely an artifact of one explainer configuration. Table 1 summarizes the main XAI method families relevant to biomedical spectral data.

5. Biomedical Applications of Spectral XAI

5.1. Cancer Diagnostics, Tissue Spectroscopy, and Translational Raman Applications

Cancer diagnostics is one of the most active application areas for Raman spectroscopy and surface-enhanced Raman spectroscopy (SERS). Spectral approaches have been investigated for tissue discrimination, tumour grading, liquid-biopsy analysis, real-time endoscopic assessment, and intraoperative decision support. In these settings, machine learning can identify complex multivariate spectral patterns that may not be apparent through conventional peak-by-peak analysis. However, the clinical relevance of such models depends not only on classification performance but also on whether the underlying spectral information is robust, biologically plausible, and reproducible across patient cohorts and acquisition settings.
Direct explainability studies remain relatively limited. Bellantuono et al. developed an interpretable Raman-based machine-learning workflow for thyroid cancer classification, combining peak-based feature engineering, model selection, and SHAP analysis to identify spectral intervals contributing to individual predictions [10]. This study is particularly relevant because it illustrates both the value and the limitations of spectral XAI: the model can highlight diagnostically influential spectral regions, but interpretation still depends on the feature-engineering procedure, sample size, preprocessing choices, and the biochemical complexity of thyroid tissue.
Recent studies show the rapid expansion of AI-assisted Raman analysis in gastrointestinal and tissue oncology. Applications include early gastric cancer assessment, candidate spectral-marker identification, and real-time gastric adenocarcinoma classification [26,27,28], fused Raman analysis of blood plasma and saliva for head and neck cancer diagnostics [29], chondrosarcoma grading [30], and Raman–FTIR fusion for thyroid-cancer metastasis prediction [31]. Most, however, do not include systematic XAI analysis. They therefore illustrate the central problem addressed here: strong diagnostic performance does not establish which spectral regions are consistently used by the model or whether those regions provide stable biochemical evidence.
These studies demonstrate the diagnostic potential of deep spectral models, while also reinforcing the need for post hoc explanation, stability assessment, and independent validation before model-relevant bands are interpreted as disease-associated biochemical signatures.
Extracellular-vesicle and biofluid SERS studies further illustrate the same translational challenge across lung cancer, breast cancer, multi-cancer detection, treatment monitoring, and oral-cancer applications [32,33,34,35,36,37]. These studies demonstrate the diagnostic potential of AI-assisted spectral profiling in heterogeneous liquid-biopsy materials, but they also reinforce the need to distinguish classification of complex spectral signatures from evidence that a specific attribution represents a validated biomarker.

5.2. Microbial Identification and Infectious-Disease Applications

Rapid microbial identification is another prominent application of Raman and SERS combined with machine learning. Raman signatures can reflect variation in cellular composition, metabolism, cell-wall structure, and other biochemical properties of microorganisms. Deep-learning approaches have been used to identify bacterial pathogens at genus and species level from Raman spectra [38] and to support rapid bacterial classification using SERS [39]. More recent work has addressed the open-set problem, in which a model must identify samples that do not belong to the bacterial classes represented during training [40].
These applications are especially relevant for spectral XAI because microbiological datasets can be affected by culture conditions, media composition, growth phase, substrate effects, and batch-specific acquisition variation. An explainable or interpretable model may help determine whether a classifier relies on broad, plausible biochemical regions or on technical properties that are unlikely to generalize across laboratories. Chen et al. recently proposed metabolite-level interpretable SERS for bacterial identification, linking spectral classification with experimentally supported molecular interpretation [41]. This is a strong example of moving beyond feature importance alone toward a more defensible biochemical explanation.

5.3. Biofluids, Metabolic Signatures, and Biomarker-Oriented Spectroscopy

Biofluid spectroscopy is attractive because blood, saliva, urine, and extracellular-vesicle samples can be collected with relatively low invasiveness. However, such samples also present substantial biological and technical heterogeneity. Hydration, diet, medication, comorbidities, storage conditions, sample preparation, and instrument effects can influence the observed spectra. As a result, predictive models may capture combinations of disease-associated and non-disease-related variation.
Salivary ATR-FTIR spectroscopy combined with support vector machine classification has been investigated for type 2 diabetes screening [42]. In oncology, fused Raman analysis of blood plasma and saliva has been used for head and neck cancer diagnostics, with comparison against metabolite-related evidence from mass spectrometry [29]. These studies demonstrate the potential of spectral AI for biomarker-oriented analysis, but they also show why interpretation should be conservative. A high-performing classifier may identify a multivariate diagnostic signature without proving that each highlighted wavelength or Raman band represents an independent, disease-specific biochemical marker.
The same consideration applies to exosome-SERS studies. Exosomes contain complex mixtures of proteins, lipids, nucleic acids, and metabolites. Their spectra may therefore provide rich diagnostic information, but model attribution must be interpreted in the context of sample heterogeneity, isolation procedures, SERS substrate effects, and cohort design. XAI can support expert review and hypothesis generation, but independent validation remains essential before spectral regions are translated into clinical biomarker claims.

5.4. Hyperspectral Imaging, Attention Models, and Feature-Selection Applications

Hyperspectral imaging extends spectral analysis by preserving both spectral and spatial information. This creates opportunities for more localized interpretation but also introduces additional complexity, because explanations may depend on both wavelength-level information and image-region context. Explainable deep-learning approaches have been used for liver-tumour delineation in surgical hyperspectral images [43], while benchmark work in intraoperative brain-tumour detection has highlighted the importance of rigorous patient-level evaluation for translational hyperspectral AI [44].
In Raman spectroscopy, explainability is also increasingly used for feature selection and model simplification. Rossberg et al. investigated XAI-based feature-selection strategies across Raman datasets, demonstrating that attribution-derived features can be used to reduce input dimensionality while preserving diagnostic performance [45]. Attention-based Raman architectures have also been applied to SERS classification of neurological disorders [46]. These approaches are promising, but relevance scores, attention maps, and selected wavenumbers must still be assessed for stability and faithfulness. A compact model or visually intuitive relevance profile is not automatically equivalent to a biochemically validated explanation. Within colorectal cancer research, Raman-based deep-learning workflows have similarly been explored under limited-data and translational conditions. An extended artificial-intelligence analysis examined Raman spectra for colorectal abnormality classification [47]. In addition, portable Raman-probe measurements combined with deep learning have been investigated in vivo in a colorectal cancer model [48]. These studies demonstrate the diagnostic potential of deep spectral models, while also reinforcing the need for post hoc explanation, stability assessment, and independent validation before model-relevant bands are interpreted as disease-associated biochemical signatures.
Explainable Raman-based bacterial identification has also been explored using multiple machine-learning models and SHAP-based attribution [49]. Such work can reveal whether different classifiers emphasize similar spectral regions and can help prioritize candidate microbial signatures. Nevertheless, model-important bands should not automatically be interpreted as species-specific biomarkers. Stronger claims require confirmation across independent cultures, acquisition batches, experimental conditions, and, where possible, complementary microbiological or chemical measurements.
Controlled analytical datasets can be useful testbeds for studying these issues. In a benchmark of Raman classification of pharmaceutical compounds, SHAP-based explanations were used to compare model-relevant spectral features across multiple machine-learning algorithms [50]. Such datasets offer clearer chemical reference information than many clinical cohorts and can therefore help evaluate whether attribution patterns align with known spectral differences. Nevertheless, even controlled analytical applications require careful treatment of correlated spectral variables, preprocessing dependence, and model-specific decision boundaries.

5.5. Cross-Application Lessons

Across oncology, microbial identification, biofluid analysis, hyperspectral imaging, and analytical spectroscopy, a consistent pattern emerges. Spectral XAI can help identify candidate regions that influence a model prediction, compare model behaviour across classes or datasets, detect technically implausible shortcuts, and guide domain experts toward spectral features that deserve further investigation. However, most studies do not yet evaluate whether explanations remain stable across model seeds, preprocessing pipelines, background distributions, alternative explainers, or independent datasets.
The studies summarized in Table 2 should therefore be interpreted in two categories. The first includes direct XAI applications, in which SHAP, LIME, feature attribution, interpretable modelling, saliency, or attention are explicitly used to investigate model behaviour. The second includes high-quality spectral-AI applications without formal XAI analysis. These studies remain highly relevant because they define the clinical and analytical settings in which explanation stability, biochemical plausibility, and validation are most urgently needed.
Of the 26 application studies summarized in Table 2, eight directly used XAI or an explicitly interpretability-oriented approach, whereas 18 were included as contextual spectral-AI studies without formal XAI analysis. Four of the 26 studies include one or both authors of this review; the remaining 22 are from independent groups. These author-including studies were retained because they met the same relevance criteria as the other included studies and illustrate specific methodological or application contexts. However, they are not used as sole evidence for any central conclusion of the review; the framework is based primarily on cross-cutting methodological limitations, independent studies, and broader principles of model validation, explanation stability, and biomarker interpretation.

6. From Spectral Attribution to Biochemical Interpretation: A Five-Step Framework

The central challenge in spectral explainability is to distinguish computational relevance from biochemical and clinical meaning. A SHAP value, LIME coefficient, saliency profile, or attention weight can indicate that a spectral variable or region contributed to a model prediction. However, this does not establish that the corresponding band represents a specific molecular change, a causal disease mechanism, or a clinically validated biomarker. A responsible interpretation pathway must therefore separate at least four levels of evidence: model relevance, analytical robustness, biochemical plausibility, and independent validation.
To support this distinction, we propose a five-step validation framework for the interpretation of explainable AI outputs in biomedical spectroscopy. The framework is intended for Raman, SERS, infrared, and hyperspectral studies and can be applied to classification, regression, risk prediction, and biomarker-oriented modelling tasks. Its purpose is not to impose a single mandatory workflow, but to provide a structured route from initial feature attribution toward increasingly defensible biological or clinical claims.
Figure 1 provides an end-to-end overview of the proposed translational pipeline, whereas the later evidence-ladder figure separates the five validation stages according to the strength of claim they can support.

6.1. Step 1: Establish a Valid Predictive Model

Explainability cannot compensate for weaknesses in dataset design, data splitting, model development, or performance evaluation. Before interpreting model-important spectral regions, researchers should establish that the model itself has been developed and evaluated appropriately. This includes clear definition of the prediction target, the intended use population, the unit of analysis, and the source of repeated measurements.
In biomedical spectroscopy, data leakage is a particular concern. Multiple spectra acquired from the same patient, tissue specimen, biological sample, culture batch, or experimental session should not be distributed across training and test subsets when the objective is to estimate generalization to unseen patients or samples. Otherwise, apparent predictive performance may reflect sample-specific or batch-specific patterns rather than disease-related information. External validation is especially important when models are intended to support biomarker discovery, clinical translation, or cross-instrument deployment [4,15,51,52].
Model performance should also be assessed using metrics that match the diagnostic task. Accuracy alone is often insufficient, particularly in imbalanced datasets. Depending on the application, balanced accuracy, sensitivity, specificity, macro-averaged F1-score, area under the receiver operating characteristic curve, calibration, and subgroup-level performance may provide more informative evidence. A spectral explanation can only be meaningful when it is generated from a model with transparent, appropriately validated, and clinically relevant predictive behaviour.

6.2. Step 2: Assess Explanation Stability

A model-important spectral region should not be interpreted as robust evidence if it disappears after minor changes in preprocessing, model initialization, background selection, or explanation settings. Explanation stability therefore represents the second step of the framework. Researchers should assess whether the main attributed regions remain broadly consistent across repeated training runs, plausible preprocessing pipelines, alternative background distributions, and, where feasible, more than one explanation method.
Stability can be quantified in several complementary ways. These may include overlap of the top-ranked spectral intervals, rank correlation between attribution profiles, similarity of band-level importance scores, agreement between local and aggregated explanations, and performance changes after structured occlusion of candidate regions. The appropriate metric depends on the spectral representation and clinical task; however, the key principle is that stability should be examined at the level of meaningful spectral regions rather than only individual wavenumbers.
As pragmatic reporting targets, exploratory spectral-XAI studies should ideally summarize attribution stability across repeated model fits, multiple plausible preprocessing pipelines, and alternative explanation settings. Useful quantitative summaries include Spearman or Kendall rank correlation of regional importance profiles, Jaccard or Dice overlap of top-ranked spectral intervals, recurrence frequency of candidate bands across repeated analyses, and the change in model performance after structured occlusion or permutation of the candidate region. For exploratory studies, a candidate region may be described as provisionally stable when it recurs in most repeated analyses, for example in at least 70% of repeated fits or preprocessing variants, and shows moderate-to-high agreement across regional attribution profiles, for example rank correlation above approximately 0.6 or top-region overlap above approximately 0.5. These values should not be treated as universal thresholds, but as transparent starting points that should be adapted to sample size, spectral resolution, clinical task, and intended strength of claim.
Importantly, stability should not be interpreted as proof of biochemical validity. A model can consistently rely on a technically confounded signal. Nevertheless, instability is informative: if a purportedly important spectral band changes substantially across reasonable modelling choices, strong biochemical claims should be avoided. Explanation stability should therefore be treated as a minimum robustness requirement rather than an optional supplementary analysis [13,14,19].

6.3. Step 3: Interpret Spectral Regions Rather than Isolated Variables

The third step is to translate point-wise attribution into region-level spectral interpretation. Biomedical spectra contain strongly correlated neighbouring variables, broad vibrational bands, peak overlap, and contributions from multiple biochemical components. Therefore, isolated wavenumber-level importance should rarely be treated as evidence for a single molecular entity.
Instead, researchers should group neighbouring variables into contiguous spectral intervals, chemically informed bands, or data-driven spectral zones. Such grouping can be defined using known Raman or infrared assignments, peak boundaries, spectral resolution, clustering methods, or prior knowledge of the biological system. Structured group-wise perturbation, spectral-zone SHAP, band-level occlusion, and interval-based LIME can then be used to assess whether the model depends on the broader spectral region rather than on an isolated coordinate [11,17].
Region-level interpretation also improves comparability across instruments and preprocessing pipelines. Small shifts in peak position, spectral resolution, or alignment can alter the exact location of the highest attribution value while preserving the relevance of the underlying biochemical band. Reporting a reproducible spectral interval is therefore usually more defensible than reporting a single Raman shift as a definitive discriminative marker.

6.4. Step 4: Evaluate Biochemical Plausibility

Once candidate spectral regions have been identified and shown to be reasonably stable, their potential biochemical meaning should be assessed. This step requires spectroscopy knowledge, domain expertise, and careful consideration of the sample type. In tissue spectra, a model-important region may reflect a combination of tumour cells, stromal structures, inflammatory cells, extracellular matrix, necrosis, lipids, proteins, and other microenvironmental components. In biofluids or extracellular-vesicle spectra, the same region may be influenced by concentration changes, sample handling, hydration, medication, or matrix effects.
Biochemical plausibility should therefore be evaluated using established vibrational assignments, relevant reference spectra, sample-specific biological knowledge, and independent expert review. A candidate region may be described as protein-associated, lipid-associated, nucleic-acid-associated, or consistent with a broader biochemical process when this interpretation is supported by the spectral literature. More specific molecular claims should be reserved for cases in which the evidence is stronger and competing assignments have been considered. Because broad and overlapping Raman or infrared bands may admit several plausible assignments, authors should report alternative candidates and indicate the uncertainty of the preferred interpretation rather than selecting a single molecule solely from peak proximity.
This step should explicitly distinguish between a plausible interpretation and a confirmed biochemical identity. XAI can prioritize hypotheses, but it cannot by itself resolve peak overlap, establish molecular specificity, or determine causal biological mechanisms. The most appropriate wording is often that a spectral region is “consistent with” a biochemical contribution rather than that it “demonstrates” a specific molecular change.

6.5. Step 5: Obtain Independent Analytical, Biological, or Clinical Validation

The final step is independent validation. A model-relevant and biochemically plausible spectral region becomes stronger evidence only when it is supported by data that were not used to develop the original model or explanation. The appropriate validation strategy depends on the intended claim.
For analytical applications, validation may include controlled mixtures, purified reference compounds, spike-in experiments, or spectra acquired using an independent instrument. For tissue studies, candidate regions may be compared with histopathology, immunohistochemistry, mass spectrometry, biochemical assays, or spatially matched molecular data. For microbial studies, validation may involve repeated cultures, controlled growth conditions, independent strains, or complementary microbiological measurements. For clinical diagnostic applications, independent patient cohorts, external centres, prospective testing, and clinically meaningful endpoints are required before XAI-derived findings can support translational claims [51,53].
The language used in reporting should reflect the level of validation achieved. A spectral region identified only by XAI should be described as a model-relevant feature. A stable region supported by vibrational assignments may be described as a candidate biochemical correlate. Only regions that are independently confirmed through appropriate analytical, biological, or clinical evidence should be presented as validated biomarkers. This distinction is essential for avoiding overinterpretation and for maintaining a transparent link between computational inference and biomedical evidence.

6.6. Practical Use of the Framework

The proposed framework can be implemented as a sequential evidence ladder. Researchers should first verify that the predictive model is valid, then test whether explanations are stable, interpret the results at the level of spectral regions, assess biochemical plausibility, and finally seek independent confirmation. Failure at any stage should limit the strength of the final claim.
The framework is compatible with established reporting principles for medical AI, including transparent description of datasets, data splitting, preprocessing, model selection, and validation procedures [53,54]. Although current reporting guidelines are not specific to biomedical spectroscopy, their emphasis on reproducibility, transparent evaluation, and intended clinical use is directly relevant to XAI-assisted spectral studies.
Figure 2 summarizes the five-step evidence ladder, illustrating how the strength of interpretation should increase from model-relevant attribution to independently validated biomarker-oriented evidence. Unlike Figure 1, which presents the broader end-to-end translational pipeline, Figure 2 focuses specifically on the five validation stages and the claim strength supported at each stage. Table 3 provides a practical summary of the evidence required at each stage and the corresponding level of claim that can be supported.

6.7. Worked Example: Applying the Framework to a Published Raman-XAI Study

To illustrate its practical use, the framework was retrospectively applied to the Raman-XAI study of Bellantuono et al. [10], which classified 59 thyroid-tissue spectra and interpreted a Random Forest model using SHAP. This assessment uses only the evidence reported in the publication and does not constitute a reanalysis of the original data.
The framework should therefore be interpreted as a conceptual and practical validation aid rather than as an empirically validated scoring system. Its usefulness is supported by methodological reasoning and by the retrospective illustrative application above, but it has not yet been prospectively tested across new spectral datasets, laboratories, instruments, or clinical workflows. Future work should evaluate whether applying the framework prospectively improves explanation reproducibility, reduces overinterpretation, and supports more reliable biomarker-oriented interpretation. Table 4 summarizes the reported evidence and the corresponding framework-based assessment.
The study therefore satisfies Steps 1–4 to different degrees but does not fully meet Step 5. The most defensible interpretation is that it identifies candidate model-relevant spectral correlates of thyroid malignancy; it does not yet establish independently validated or clinically actionable biomarkers.

7. Common Pitfalls, Reporting Priorities, and Future Directions

7.1. Data Leakage, Dataset Shift, and Technical Confounding

The reliability of spectral XAI depends first on the quality and validity of the underlying predictive model. In biomedical spectroscopy, apparently high classification performance can arise from data leakage, repeated measurements, batch effects, or acquisition-related confounding rather than from robust disease-associated biochemical information. This risk is particularly high when multiple spectra from the same patient, tissue specimen, culture, experimental batch, or instrument session are distributed across training and test subsets. Under these conditions, a model may learn sample-specific or batch-specific spectral signatures and still achieve optimistic internal test performance [4,52].
The same concern applies to explanations. If a model relies on hidden technical structure, SHAP values, LIME coefficients, saliency maps, or attention profiles may faithfully identify this technically predictive information. An explanation can therefore appear internally consistent while remaining biologically irrelevant. For example, a model may highlight a spectral region influenced by fluorescence background, substrate effects, sample drying, normalization choices, or acquisition settings rather than by the intended diagnostic target.
Domain shift is another major challenge. Spectra acquired using different instruments, laser wavelengths, detectors, substrates, acquisition protocols, sample-preparation procedures, or preprocessing pipelines may differ substantially even when they originate from similar biological material. A model and its corresponding explanation may therefore fail to generalize across centres or experimental platforms. This is especially relevant for translational applications involving Raman probes, SERS substrates, biofluids, extracellular vesicles, or multicentre clinical cohorts.
Spectral-XAI studies should therefore report the unit of data splitting clearly and distinguish between spectrum-level, sample-level, patient-level, and batch-level validation. Whenever the intended use involves unseen patients, specimens, or institutions, the test set should reflect this level of independence. External validation remains the strongest available approach for assessing whether both predictive performance and explanation patterns generalize beyond the development dataset.

7.2. Inadequate Validation of Explanations

A frequent limitation of current spectral-XAI studies is that explanations are generated and visually interpreted without explicit evaluation of their robustness or faithfulness. The presentation of a SHAP summary plot, a highlighted Raman band, or an attention profile is often treated as sufficient evidence that the model has identified a meaningful biochemical feature. However, explanations may change substantially when the model is retrained, preprocessing is modified, alternative background data are used, or the explanation method is replaced [13,14,19].
This issue is particularly important for SHAP and LIME. SHAP values depend on the model, the background distribution, and the treatment of dependent features. LIME depends on local sampling, the perturbation mechanism, the neighbourhood definition, and the surrogate model. In continuous spectral signals, perturbing isolated wavenumbers may generate unrealistic combinations of features that do not preserve the natural structure of the spectrum. Therefore, point-wise importance should not be interpreted without considering spectral correlation and band structure [11,17].
A stronger evaluation should include at least one complementary validation procedure. Candidate spectral regions identified by SHAP, LIME, gradients, or attention can be tested through band-level occlusion, structured permutation, sensitivity analysis, or repeated model training. Agreement between explanation methods should not be treated as definitive proof, because different explainers may share assumptions or respond similarly to the same confounding structure. Nevertheless, consistent findings across complementary methods provide stronger evidence than reliance on a single attribution map.
Researchers should also distinguish clearly between local and global explanations. A feature that strongly contributes to one difficult sample-level prediction may not be consistently relevant across the population. Conversely, a globally important spectral region may not explain every individual prediction. Both forms of explanation can be useful, but they support different scientific claims and should not be conflated.

7.3. Reporting Priorities for Spectral-XAI Studies

Transparent reporting is essential for reproducibility and for meaningful interpretation of spectral explanations. Existing medical-AI reporting guidance emphasizes the importance of describing datasets, preprocessing, validation, intended use, model development, and performance evaluation [53,54]. These principles are directly applicable to biomedical spectroscopy but should be extended to include spectroscopy-specific and explanation-specific information.
At minimum, a spectral-XAI study should report the biological source of the samples, the number of patients or independent specimens, the number of spectra per unit, acquisition settings, spectral range, spectral resolution, preprocessing steps, data-splitting strategy, model architecture, hyperparameter selection procedure, and the exact XAI method used. For SHAP, this includes the selected implementation, background dataset, aggregation procedure, and whether attributions were computed at individual-variable or grouped-region level. For LIME, reporting should include the perturbation strategy, number of perturbation samples, neighbourhood definition, surrogate model, and random seed or repeated-analysis protocol.
The interpretation process should also be described explicitly. Authors should state whether assigned spectral bands were evaluated against reference assignments, whether competing biochemical explanations were considered, whether domain experts reviewed the findings, and whether candidate regions were validated using external data or complementary assays. This level of transparency is necessary to distinguish a visual explanation from a reproducible biomarker-oriented result. Table 5 summarizes the minimum reporting information that should be provided in spectral-XAI studies.

7.4. Future Directions

Future progress in biomedical spectral XAI will depend on moving from visual explanation toward quantitative validation. One important direction is the development of explanation methods that preserve the physical and statistical structure of spectra. Rather than masking isolated wavenumbers, future approaches should increasingly use conditional perturbation, grouped spectral zones, band-level occlusion, and correlation-aware attribution methods. These approaches are more compatible with broad vibrational bands, peak overlap, and the continuous nature of Raman and infrared signals.
A second priority is the establishment of benchmark datasets and shared evaluation protocols. Current studies often use small, single-centre datasets with different preprocessing pipelines, model architectures, and evaluation procedures. This makes it difficult to compare explanation methods or determine whether a reported spectral attribution is robust across tasks. Public datasets with patient-level metadata, repeated measurements, acquisition information, external validation sets, and known analytical controls would enable more rigorous comparison of both predictive models and explainability approaches.
Multimodal validation is another promising direction. Spectral XAI findings could be compared with histopathology, immunohistochemistry, mass spectrometry, genomic profiling, clinical metadata, or spatial molecular measurements. Such comparisons may help determine whether model-important spectral regions correspond to reproducible biological processes rather than technical artefacts. In tissue applications, spatially matched Raman and histological data may be particularly useful for connecting candidate spectral regions with tumour morphology, stromal composition, inflammatory infiltration, or necrotic areas.
Finally, spectral XAI should increasingly incorporate uncertainty. Most current explanations provide a single importance profile without indicating how variable that profile is across model seeds, patients, preprocessing choices, or acquisition settings. Confidence intervals, attribution distributions, consensus regions, and uncertainty-aware visualizations could help prevent overinterpretation of weak or unstable findings. In clinical settings, this would support a more realistic use of XAI as a tool for model auditing, expert review, and hypothesis generation rather than as a definitive source of molecular or diagnostic truth. At minimum, studies should summarize attribution variability across repeated fits using rank correlations, band-overlap measures, or distributions of regional importance, and should distinguish uncertainty in the prediction from uncertainty in the explanation.
Overall, the future value of SHAP, LIME, and related approaches in biomedical spectroscopy will depend less on producing increasingly detailed attribution plots and more on establishing whether those explanations are stable, faithful, biologically plausible, and independently validated. The proposed framework and reporting priorities are intended to support this transition from descriptive feature importance toward reproducible and clinically meaningful spectral interpretation.

8. Conclusions

SHAP, LIME, and related explainable artificial intelligence methods offer important opportunities for making biomedical spectral models more transparent. In Raman, SERS, infrared, and hyperspectral applications, these approaches can identify spectral regions associated with model predictions, support comparison of model behaviour, reveal potential technical shortcuts, and generate hypotheses for biochemical or clinical investigation.
However, feature attribution is not equivalent to biochemical identification, causal inference, or biomarker validation. A highlighted Raman shift, wavelength, or spectral band reflects the behaviour of a specific model under a specific preprocessing pipeline, dataset composition, and explanation configuration. Its interpretation may be affected by correlated neighbouring variables, peak overlap, background selection, preprocessing choices, model dependence, and technical confounding. Therefore, visually plausible attribution maps should not be presented as direct evidence of molecular mechanisms or clinically actionable biomarkers without further validation.
This review proposes a five-step validation framework through which spectral XAI should be interpreted as a structured pathway from model relevance to increasingly defensible biochemical and biomarker-oriented claims. First, the underlying predictive model must be developed and evaluated using appropriate sample-level splitting and clinically relevant performance metrics. Second, attributed spectral regions should be tested for stability across repeated training, preprocessing choices, explanation settings, and, where possible, alternative model families. Third, interpretation should focus on meaningful spectral regions rather than isolated variables. Fourth, candidate biochemical assignments should be evaluated using spectroscopy knowledge, reference data, and domain expertise. Finally, stronger biomarker-oriented claims require independent analytical, biological, or clinical validation.
Under this framework, SHAP, LIME, gradient-based attribution, attention mechanisms, and perturbation-based methods should be regarded primarily as tools for model auditing and hypothesis generation. Their greatest value lies not in replacing biochemical analysis or clinical validation, but in helping researchers identify which parts of complex spectral signals deserve more rigorous investigation. Future progress will depend on correlation-aware explanation methods, transparent reporting, stability and faithfulness testing, external validation, and integration with complementary biological evidence.
By moving from isolated feature importance toward reproducible spectral-region interpretation and independent validation, explainable AI can help transform biomedical spectroscopy from a black-box predictive approach into a more transparent and clinically meaningful framework for diagnostic research and biomarker discovery.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/aimed1030025/s1. Supplementary Material S1: Database-Specific Search Strategies.

Author Contributions

Conceptualization, D.K.; methodology, D.K.; investigation, D.K. and A.N.; writing—original draft preparation, D.K. and A.N.; writing—review and editing, D.K. and A.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article as no new datasets were generated or analysed. Database-specific search strategies are provided in Online Resource S1.

Acknowledgments

During the preparation of this manuscript, AI-assisted tools were used for language editing and for support in the conceptual organization of schematic figure content. The final figures were reviewed and edited by the authors. The prompt used for the schematic figure content as follows: “Please help organize a clear conceptual schematic for a review article on explainable AI in biomedical spectroscopy. The schematic should illustrate the progression from spectral acquisition and preprocessing, through predictive model development and XAI-based attribution, to explanation stability assessment, biochemical interpretation, and independent analytical, biological, or clinical validation. The figure should emphasize that model-attributed spectral regions represent candidate evidence rather than validated biomarkers”. The authors reviewed and edited all outputs and take full responsibility for the content and final presentation of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Kong, K.; Kendall, C.; Stone, N.; Notingher, I. Raman Spectroscopy for Medical Diagnostics—From In-Vitro Biofluid Assays to In-Vivo Cancer Detection. Adv. Drug Deliv. Rev. 2015, 89, 121–134. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Zhang, S.; Qi, Y.; Tan, S.P.H.; Bi, R.; Olivo, M. Molecular Fingerprint Detection Using Raman and Infrared Spectroscopy Technologies for Cancer Detection: A Progress Review. Biosensors 2023, 13, 557. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Lussier, F.; Thibault, V.; Charron, B.; Wallace, G.Q.; Masson, J.-F. Deep Learning and Artificial Intelligence Methods for Raman and Surface-Enhanced Raman Scattering. TrAC Trends Anal. Chem. 2020, 124, 115796. [Google Scholar] [CrossRef] [Scilit]
  4. Guo, S.; Popp, J.; Bocklitz, T. Chemometric Analysis in Raman Spectroscopy from Experimental Design to Machine Learning-Based Modeling. Nat. Protoc. 2021, 16, 5426–5459. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Luo, R.; Popp, J.; Bocklitz, T. Deep Learning for Raman Spectroscopy: A Review. Analytica 2022, 3, 287–301. [Google Scholar] [CrossRef] [Scilit]
  6. Ho, C.-S.; Jean, N.; Hogan, C.A.; Blackmon, L.; Jeffrey, S.S.; Holodniy, M.; Banaei, N.; Saleh, A.A.E.; Ermon, S.; Dionne, J.A. Rapid Identification of Pathogenic Bacteria Using Raman Spectroscopy and Deep Learning. Nat. Commun. 2019, 10, 4927. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Lundberg, S.M.; Lee, S.-I. A Unified Approach to Interpreting Model Predictions. In Proceedings of the 31st Conference on Neural Information Processing Systems (NeurIPS 2017), Long Beach, CA, USA, 4–9 December 2017; Guyon, I., von Luxburg, U., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30, pp. 4765–4774. [Google Scholar]
  8. Ribeiro, M.T.; Singh, S.; Guestrin, C. “Why Should I Trust You?” Explaining the Predictions of Any Classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; Association for Computing Machinery: New York, NY, USA, 2016; pp. 1135–1144. [Google Scholar] [CrossRef] [Scilit]
  9. Contreras, J.; Bocklitz, T. Explainable Artificial Intelligence for Spectroscopy Data: A Review. Pflügers Arch.—Eur. J. Physiol. 2025, 477, 603–615. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Bellantuono, L.; Tommasi, R.; Pantaleo, E.; Verri, M.; Amoroso, N.; Crucitti, P.; Di Gioacchino, M.; Longo, F.; Monaco, A.; Naciu, A.M.; et al. An eXplainable Artificial Intelligence Analysis of Raman Spectra for Thyroid Cancer Diagnosis. Sci. Rep. 2023, 13, 16590. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Contreras, J.; Winterfeld, A.; Popp, J.; Bocklitz, T. Spectral Zones-Based SHAP/LIME: Enhancing Interpretability in Spectral Deep Learning Models Through Grouped Feature Analysis. Anal. Chem. 2024, 96, 15588–15597. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Afseth, N.K.; Segtnan, V.H.; Wold, J.P. Raman Spectra of Biological Samples: A Study of Preprocessing Methods. Appl. Spectrosc. 2006, 60, 1358–1367. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Adebayo, J.; Gilmer, J.; Muelly, M.; Goodfellow, I.; Hardt, M.; Kim, B. Sanity Checks for Saliency Maps. In Advances in Neural Information Processing Systems 31; Bengio, S., Wallach, H., Larochelle, H., Grauman, K., Cesa-Bianchi, N., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2018; pp. 9505–9515. [Google Scholar]
  14. Kindermans, P.-J.; Hooker, S.; Adebayo, J.; Alber, M.; Schütt, K.T.; Dähne, S.; Erhan, D.; Kim, B. The (Un)Reliability of Saliency Methods. In Explainable AI: Interpreting, Explaining and Visualizing Deep Learning; Samek, W., Montavon, G., Vedaldi, A., Hansen, L.K., Müller, K.-R., Eds.; Springer: Cham, Switzerland, 2019; pp. 267–280. [Google Scholar] [CrossRef] [Scilit]
  15. Ghassemi, M.; Oakden-Rayner, L.; Beam, A.L. The False Hope of Current Approaches to Explainable Artificial Intelligence in Health Care. Lancet Digit. Health 2021, 3, e745–e750. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Movasaghi, Z.; Rehman, S.; Rehman, I.U. Raman Spectroscopy of Biological Tissues. Appl. Spectrosc. Rev. 2007, 42, 493–541. [Google Scholar] [CrossRef] [Scilit]
  17. Aas, K.; Jullum, M.; Løland, A. Explaining Individual Predictions When Features Are Dependent: More Accurate Approximations to Shapley Values. Artif. Intell. 2021, 298, 103502. [Google Scholar] [CrossRef] [Scilit]
  18. Liland, K.H.; Kohler, A.; Afseth, N.K. Model-Based Pre-Processing in Raman Spectroscopy of Biological Samples. J. Raman Spectrosc. 2016, 47, 643–650. [Google Scholar] [CrossRef] [Scilit]
  19. Yeh, C.-K.; Hsieh, C.-Y.; Suggala, A.S.; Inouye, D.I.; Ravikumar, P.K. On the (In)fidelity and Sensitivity of Explanations. In Advances in Neural Information Processing Systems 32 (NeurIPS 2019); Wallach, H., Larochelle, H., Beygelzimer, A., d’Alché-Buc, F., Fox, E., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2019; pp. 10965–10976. [Google Scholar]
  20. Sundararajan, M.; Taly, A.; Yan, Q. Axiomatic Attribution for Deep Networks. In Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 6–11 August 2017; Precup, D., Teh, Y.W., Eds.; PMLR: New York, NY, USA, 2017; Volume 70, pp. 3319–3328. [Google Scholar]
  21. Shrikumar, A.; Greenside, P.; Kundaje, A. Learning Important Features Through Propagating Activation Differences. In Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 6–11 August 2017; Precup, D., Teh, Y.W., Eds.; PMLR: New York, NY, USA, 2017; Volume 70, pp. 3145–3153. [Google Scholar]
  22. Zhou, B.; Khosla, A.; Lapedriza, A.; Oliva, A.; Torralba, A. Learning Deep Features for Discriminative Localization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 2921–2929. [Google Scholar] [CrossRef] [Scilit]
  23. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar] [CrossRef] [Scilit]
  24. Fisher, A.; Rudin, C.; Dominici, F. All Models Are Wrong, but Many Are Useful: Learning a Variable’s Importance by Studying an Entire Class of Prediction Models Simultaneously. J. Mach. Learn. Res. 2019, 20, 1–81. [Google Scholar]
  25. Jain, S.; Wallace, B.C. Attention Is Not Explanation. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, MN, USA, 2–7 June 2019; Volume 1, pp. 3543–3556. [Google Scholar] [CrossRef] [Scilit]
  26. Li, C.; Liu, S.; Zhang, Q.; Wan, D.; Shen, R.; Wang, Z.; Li, Y.; Hu, B. Combining Raman Spectroscopy and Machine Learning to Assist Early Diagnosis of Gastric Cancer. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2023, 287, 122049. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Guleken, Z.; Jakubczyk, P.; Paja, W.; Pancerz, K.; Wosiak, A.; Yaylim, I.; Gültekin, G.I.; Tarhan, N.; Hakan, M.T.; Sönmez, D.; et al. An Application of Raman Spectroscopy in Combination with Machine Learning to Determine Gastric Cancer Spectroscopy Marker. Comput. Methods Programs Biomed. 2023, 234, 107523. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Noh, A.; Quek, S.X.Z.; Zailani, N.; Wee, J.S.; Yong, D.; Ahn, B.Y.; Ho, K.Y.; Chung, H. Machine Learning Classification and Biochemical Characteristics in the Real-Time Diagnosis of Gastric Adenocarcinoma Using Raman Spectroscopy. Sci. Rep. 2025, 15, 2469, Correction in Sci. Rep. 2025, 15, 11416. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Koster, H.J.; Guillen-Perez, A.; Gomez-Diaz, J.S.; Navas-Moreno, M.; Birkeland, A.C.; Carney, R.P. Fused Raman Spectroscopic Analysis of Blood and Saliva Delivers High Accuracy for Head and Neck Cancer Diagnostics. Sci. Rep. 2022, 12, 18464. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Conti, F.; D’Acunto, M.; Caudai, C.; Colantonio, S.; Gaeta, R.; Moroni, D.; Pascali, M.A. Raman Spectroscopy and Topological Machine Learning for Cancer Grading. Sci. Rep. 2023, 13, 7282. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Song, H.; Zhou, X.; Chen, C.; Dong, C.; He, Y.; Wu, M.; Yu, J.; Chen, X.; Li, Y.; Ma, B.; et al. Multimodal Separation and Cross Fusion Network Based on Raman Spectroscopy and FTIR Spectroscopy for Diagnosis of Thyroid Malignant Tumor Metastasis. Sci. Rep. 2024, 14, 29125. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Shin, H.; Oh, S.; Hong, S.; Kang, M.; Kang, D.; Ji, Y.G.; Choi, B.H.; Kang, K.W.; Jeong, H.; Park, Y.; et al. Early-Stage Lung Cancer Diagnosis by Deep Learning-Based Spectroscopic Analysis of Circulating Exosomes. ACS Nano 2020, 14, 5435–5444. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Xie, Y.; Su, X.; Wen, Y.; Zheng, C.; Li, M. Artificial Intelligent Label-Free SERS Profiling of Serum Exosomes for Breast Cancer Diagnosis and Postoperative Assessment. Nano Lett. 2022, 22, 7910–7918. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Shin, H.; Choi, B.H.; Shim, O.; Kim, J.; Park, Y.; Cho, S.K.; Kim, H.K.; Choi, Y. Single Test-Based Diagnosis of Multiple Cancer Types Using Exosome-SERS-AI for Early Stage Cancers. Nat. Commun. 2023, 14, 1644. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. Diao, X.; Li, X.; Hou, S.; Li, H.; Qi, G.; Jin, Y. Machine Learning-Based Label-Free SERS Profiling of Exosomes for Accurate Fuzzy Diagnosis of Cancer and Dynamic Monitoring of Drug Therapeutic Processes. Anal. Chem. 2023, 95, 7552–7559. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  36. Liu, H.-S.; Ye, K.-W.; Liu, J.; Jiang, J.-K.; Jian, Y.-F.; Chen, D.-M.; Kang, C.; Qiu, L.; Liu, Y.J. Lung Cancer Diagnosis through Extracellular Vesicle Analysis Using Label-Free Surface-Enhanced Raman Spectroscopy Coupled with Machine Learning. Theranostics 2025, 15, 7545–7566. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  37. Tian, W.; Xie, Y.; Su, H.; Zheng, C.; Li, M. Explainable Artificial Intelligence-Driven Salivary Exosome Spectroscopic Profiling for Clinical Diagnosis and Metastasis Detection of Oral Cancer. Nano Lett. 2026, 26, 2279–2288. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  38. Wang, L.; Tang, J.W.; Li, F.; Usman, M.; Wu, C.Y.; Liu, Q.H.; Kang, H.Q.; Liu, W.; Gu, B. Identification of Bacterial Pathogens at Genus and Species Levels through Combination of Raman Spectrometry and Deep-Learning Algorithms. Microbiol. Spectr. 2022, 10, e02580-22. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. Tseng, Y.-M.; Chen, K.-L.; Chao, P.-H.; Han, Y.-Y.; Huang, N.-T. Deep Learning-Assisted Surface-Enhanced Raman Scattering for Rapid Bacterial Identification. ACS Appl. Mater. Interfaces 2023, 15, 26398–26406. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Cao, H.; Cheng, J.; Ma, X.; Liu, S.; Guo, J.; Li, D. Deep Learning Enabled Open-Set Bacteria Recognition Using Surface-Enhanced Raman Spectroscopy. Biosens. Bioelectron. 2025, 276, 117245. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  41. Chen, H.; Zhao, R.; Bi, X.; Shen, N.; Mo, X.; Tao, Y.; Chen, Z.; Ye, J. Bacterial Identification by Metabolite-Level Interpretable Surface-Enhanced Raman Spectroscopy. Adv. Photonics 2025, 7, 046007. [Google Scholar] [CrossRef] [Scilit]
  42. Caixeta, D.C.; Carneiro, M.G.; Rodrigues, R.; Alves, D.C.T.; Goulart, L.R.; Cunha, T.M.; Espindola, F.S.; Vitorino, R.; Sabino-Silva, R. Salivary ATR-FTIR Spectroscopy Coupled with Support Vector Machine Classification for Screening of Type 2 Diabetes Mellitus. Diagnostics 2023, 13, 1396. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Zhang, Y.; Yu, S.; Zhu, X.; Ning, X.; Liu, W.; Wang, C.; Liu, X.; Zhao, D.; Zheng, Y.; Bao, J. Explainable Liver Tumor Delineation in Surgical Specimens Using Hyperspectral Imaging and Deep Learning. Biomed. Opt. Express 2021, 12, 4510–4529. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  44. Leon, R.; Fabelo, H.; Ortega, S.; Cruz-Guerrero, I.A.; Campos-Delgado, D.U.; Szolna, A.; Piñeiro, J.F.; Espino, C.; O’Shanahan, A.J.; Hernandez, M.; et al. Hyperspectral Imaging Benchmark Based on Machine Learning for Intraoperative Brain Tumour Detection. npj Precis. Oncol. 2023, 7, 119. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  45. Rossberg, N.; Gautam, R.; Komolibus, K.; O’Sullivan, B.; Visentin, A. Explainable AI-Based Feature Selection Approaches for Raman Spectroscopy. Diagnostics 2025, 15, 2063. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  46. Xiong, C.; Zhong, Q.; Yan, D.; Zhang, B.; Yao, Y.; Qian, W.; Zheng, C.; Mei, X.; Zhu, S. Multi-Branch Attention Raman Network and Surface-Enhanced Raman Spectroscopy for the Classification of Neurological Disorders. Biomed. Opt. Express 2024, 15, 3523–3540. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  47. Kalatzis, D.; Spyratou, E.; Karnachoriti, M.; Kouri, M.A.; Stathopoulos, I.; Danias, N.; Arkadopoulos, N.; Orfanoudakis, S.; Seimenis, I.; Kontos, A.G.; et al. Extended Analysis of Raman Spectra Using Artificial Intelligence Techniques for Colorectal Abnormality Classification. J. Imaging 2023, 9, 261. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  48. Kouri, M.A.; Karnachoriti, M.; Spyratou, E.; Orfanoudakis, S.; Kalatzis, D.; Kontos, A.G.; Seimenis, I.; Efstathopoulos, E.P.; Tsaroucha, A.; Lambropoulou, M. Shedding Light on Colorectal Cancer: An In Vivo Raman Spectroscopy Approach Combined with Deep Learning Analysis. Int. J. Mol. Sci. 2023, 24, 16582. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  49. Kalatzis, D.; Katsafadou, A.I.; Chatzopoulos, D.; Billinis, C.; Kiouvrekis, Y. Explainable AI-Driven Raman Spectroscopy for Rapid Bacterial Identification. Micro 2025, 5, 46. [Google Scholar] [CrossRef] [Scilit]
  50. Kalatzis, D.; Nega, A.; Kiouvrekis, Y. Raman Spectra Classification of Pharmaceutical Compounds: A Benchmark of Machine Learning Models with SHAP-Based Explainability. Eng 2025, 6, 145. [Google Scholar] [CrossRef] [Scilit]
  51. Ou, F.S.; Michiels, S.; Shyr, Y.; Adjei, A.A.; Oberg, A.L. Biomarker Discovery and Validation: Statistical Considerations. J. Thorac. Oncol. 2021, 16, 537–545. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  52. Varoquaux, G.; Cheplygina, V. Machine Learning for Medical Imaging: Methodological Failures and Recommendations for the Future. npj Digit. Med. 2022, 5, 48. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  53. Vasey, B.; Nagendran, M.; Campbell, B.; Clifton, D.A.; Collins, G.S.; Denaxas, S.; Denniston, A.K.; Faes, L.; Geerts, B.; Ibrahim, M.; et al. Reporting Guideline for the Early-Stage Clinical Evaluation of Decision Support Systems Driven by Artificial Intelligence: DECIDE-AI. Nat. Med. 2022, 28, 924–933. [Google Scholar] [CrossRef] [PubMed]
  54. Mongan, J.; Moy, L.; Kahn, C.E., Jr. Checklist for Artificial Intelligence in Medical Imaging (CLAIM): A Guide for Authors and Reviewers. Radiol. Artif. Intell. 2020, 2, e200029. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Figure 1. From raw spectrum to validated biochemical interpretation: a translational pipeline for explainable AI in biomedical spectroscopy. Biomedical spectra are acquired and preprocessed before predictive models are developed for classification, regression, or diagnostic decision support. SHAP, LIME, and related explainability methods identify model-relevant variables or spectral regions at global or local levels. Candidate regions should then be aggregated and evaluated for consistency, biochemical plausibility, and independent analytical, biological, or clinical validation before they support biomarker-oriented interpretation. The pipeline is conceptual and applies to Raman, SERS, infrared, and hyperspectral data. In the schematic SHAP summary panel, colored dots indicate feature contributions across samples, and the axis break is used only for visual compression.
Figure 1. From raw spectrum to validated biochemical interpretation: a translational pipeline for explainable AI in biomedical spectroscopy. Biomedical spectra are acquired and preprocessed before predictive models are developed for classification, regression, or diagnostic decision support. SHAP, LIME, and related explainability methods identify model-relevant variables or spectral regions at global or local levels. Candidate regions should then be aggregated and evaluated for consistency, biochemical plausibility, and independent analytical, biological, or clinical validation before they support biomarker-oriented interpretation. The pipeline is conceptual and applies to Raman, SERS, infrared, and hyperspectral data. In the schematic SHAP summary panel, colored dots indicate feature contributions across samples, and the axis break is used only for visual compression.
Aimed 01 00025 g001
Figure 2. Evidence ladder for explainable AI in biomedical spectroscopy. The strength of interpretation increases from initial model relevance to independently validated biomarker-oriented evidence. SHAP, LIME, and related attribution methods initially identify spectral variables or regions associated with model behaviour. Stability assessment, region-level interpretation and faithfulness testing, biochemical plausibility, and independent analytical, biological, or clinical validation progressively strengthen the evidential basis of the claim. Attribution alone should not be interpreted as a validated biochemical biomarker.
Figure 2. Evidence ladder for explainable AI in biomedical spectroscopy. The strength of interpretation increases from initial model relevance to independently validated biomarker-oriented evidence. SHAP, LIME, and related attribution methods initially identify spectral variables or regions associated with model behaviour. Stability assessment, region-level interpretation and faithfulness testing, biochemical plausibility, and independent analytical, biological, or clinical validation progressively strengthen the evidential basis of the claim. Attribution alone should not be interpreted as a validated biochemical biomarker.
Aimed 01 00025 g002
Table 1. Main explainable AI method families for biomedical spectral data.
Table 1. Main explainable AI method families for biomedical spectral data.
Method FamilyPrimary OutputSuitable Spectral UseMain StrengthMain LimitationRecommended Validation
SHAPLocal and global signed feature contributionsRaman shifts, wavelengths, spectral bands, latent featuresFlexible attribution framework; local explanations can be aggregatedSensitive to background choice and feature dependenceTest alternative background sets; analyze grouped spectral zones; assess stability
LIME and spectral maskingLocal surrogate-model importanceIndividual spectra, uncertain cases, local classification behaviourModel-agnostic and locally interpretableStrong dependence on perturbation strategy and samplingUse contiguous bands or spectral zones; repeat explanations across sampling settings
Integrated Gradients and DeepLIFTInput-level neural-network attributionOne-dimensional CNNs and deep spectral classifiersEfficient fine-grained explanations for deep modelsSensitive to baseline choice, architecture, and saturation effectsCompare baselines; assess seed stability; perform perturbation testing
CAM and Grad-CAMClass-specific activation profileCNN-based spectral classificationIntuitive class-level visualizationCoarse resolution and architecture dependenceCompare with input-level attribution and band-level occlusion
Permutation importance and occlusionGlobal or group-level performance degradationValidation of candidate spectral bandsDirectly linked to predictive performanceCorrelated variables can distort isolated-feature resultsUse group-wise or conditional perturbation; preserve spectral structure
Attention-based interpretationLearned weights over regions or latent featuresAttention-enhanced spectral networks and multimodal modelsCan identify model-emphasized signal regionsAttention is not automatically faithful explanationCompare with independent attribution and perturbation methods
Table 2. Representative applications of AI and explainable AI in biomedical and translational spectroscopy.
Table 2. Representative applications of AI and explainable AI in biomedical and translational spectroscopy.
Application AreaModality and TaskExplanation or AI RoleMain Interpretive MessageEvidence CategoryReference
Thyroid cancerRaman spectra; benign versus malignant tissuePeak-based machine learning with SHAPDirect XAI can identify candidate diagnostic spectral intervals, but validation remains necessaryDirect XAI/interpretability[10]
Gastric cancerRaman spectra; early diagnosisMachine-learning classificationIllustrates diagnostic spectral AI without formal attribution analysisContextual AI[26]
Gastric cancerRaman spectra; marker-oriented classificationMachine-learning analysisPredictive spectral markers require independent biochemical confirmationContextual AI[27]
Gastric adenocarcinomaReal-time Raman spectroscopyMachine learning with biochemical characterizationReal-time classification should be distinguished from validated mechanistic interpretationContextual AI[28]
Head and neck cancerPlasma and saliva Raman spectraMultimodal spectral fusionBiofluid signatures can be clinically informative but are highly heterogeneousContextual AI[29]
Chondrosarcoma gradingRaman spectraTopological machine learningAdvanced representations may improve classification but require interpretable validationContextual AI[30]
Thyroid metastasisRaman and FTIR spectraMultimodal deep-learning fusionMultimodal gains should be accompanied by modality-specific interpretationContextual AI[31]
Lung cancerExosome SERSDeep-learning classificationExosome signatures are promising but complex and cohort-dependentContextual AI[32]
Breast cancerSerum-exosome SERSAI-assisted profilingModel performance does not establish biomarker specificityContextual AI[33]
Multi-cancer detectionExosome SERSExosome-SERS-AIBroad diagnostic coverage increases the need for transparent interpretationContextual AI[34]
Cancer monitoringExosome SERSMachine-learning profilingDynamic monitoring requires stability across longitudinal and technical variationContextual AI[35]
Lung cancerExtracellular-vesicle SERSMachine-learning classificationExternal validation is essential for translational liquid-biopsy modelsContextual AI[36]
Oral cancerSalivary-exosome spectroscopyExplainable AIDirect XAI can support clinical interpretation when linked to robust validationDirect XAI/interpretability[37]
Bacterial pathogensRaman spectraDeep-learning identificationAccurate microbial classification may still depend on culture and acquisition conditionsContextual AI[38]
Bacterial identificationSERSDeep-learning classificationSERS can support rapid bacterial identification but requires generalization testingContextual AI[39]
Open-set bacterial recognitionSERSTransformer-based deep learningClosed-set performance does not guarantee robustness to unknown classesContextual AI[40]
Bacterial identificationSERSMetabolite-level interpretable modelMolecular interpretation is stronger when supported by complementary evidenceDirect XAI/interpretability[41]
Type 2 diabetes screeningSalivary ATR-FTIRSupport vector machine classificationBiofluid classification requires careful control of biological confoundersContextual AI[42]
Liver tumour delineationHyperspectral surgical imagingExplainable deep learningSpectral and spatial explanations should be evaluated jointlyDirect XAI/interpretability[43]
Brain tumour detectionIntraoperative hyperspectral imagingBenchmark machine learningPatient-level evaluation is crucial for translational spectral AIContextual AI[44]
Raman feature selectionRaman spectraXAI-based feature selectionSelected bands require independent faithfulness and robustness testingDirect XAI/interpretability[45]
Neurological disordersSERSAttention-based Raman networkAttention weights alone are not definitive explanationsDirect XAI/interpretability[46]
Colorectal abnormalitiesRaman spectraExtended AI analysisClassification-oriented studies motivate dedicated XAI validationContextual AI[47]
Colorectal cancerIn vivo Raman-probe spectraDeep learningTranslational use increases the need for model auditing and expert reviewContextual AI[48]
Bacterial identificationRaman spectraSHAP-based explainable machine learningSpectral attribution can prioritize candidate microbial bandsDirect XAI/interpretability[49]
Pharmaceutical compoundsRaman spectraSHAP-based machine-learning benchmarkControlled datasets can test attribution behaviour before clinical interpretationDirect XAI/interpretability[50]
Table 3. Five-step framework for responsible interpretation of explainable AI outputs in biomedical spectroscopy.
Table 3. Five-step framework for responsible interpretation of explainable AI outputs in biomedical spectroscopy.
StepCore QuestionMinimum Supporting EvidenceAppropriate ClaimClaim to Avoid Without Further Evidence
1. Valid model developmentDoes the model generalize beyond the training data?Appropriate sample-level split, relevant metrics, transparent preprocessing and model selectionThe model identifies predictive spectral informationThe model has discovered a biomarker
2. Explanation stabilityDoes the attributed region remain consistent across reasonable technical choices?Repeated seeds, preprocessing variants, background settings, or alternative explainersThe region is a stable model-relevant spectral patternThe region represents a definitive biochemical feature
3. Region-level interpretationDoes importance persist for a meaningful spectral interval rather than one isolated variable?Grouped spectral zones, band-level SHAP/LIME, structured occlusion or permutationA spectral band or interval contributes to model behaviourA single wavenumber uniquely identifies a molecule
4. Biochemical plausibilityIs the interpretation compatible with spectroscopy knowledge and sample biology?Vibrational assignments, reference spectra, domain-expert review, competing-assignment assessmentThe region is consistent with a candidate biochemical contributionThe model has demonstrated a molecular mechanism
5. Independent validationIs the candidate region confirmed in new analytical, biological, or clinical evidence?External cohorts, controlled experiments, complementary assays, independent instruments or centresThe region supports a validated biomarker-oriented findingThe biomarker is clinically actionable without prospective evaluation
Table 4. Illustrative application of the five-step framework to the published Raman-XAI study of Bellantuono et al. [10].
Table 4. Illustrative application of the five-step framework to the published Raman-XAI study of Bellantuono et al. [10].
StepEvidence Reported in [10]Framework-Based Assessment
1. Valid modelLeave-one-spectrum-out evaluation of 59 spectra; feature selection and SMOTE were restricted to the training data; Random Forest median AUC 0.9441.Supports predictive relevance within the study cohort; the small sample and absence of an external cohort limit generalizability.
2. Explanation stabilitySHAP values were averaged across 100 SMOTE runs with different random seeds.Provides partial stability evidence, but not across preprocessing pipelines, SHAP backgrounds, or alternative explainers.
3. Region-level interpretationTwenty-nine data-driven spectral intervals and prominence ratios were used instead of raw isolated wavenumbers.Supports band-level interpretation; structured occlusion or other faithfulness testing was not reported.
4. Biochemical plausibilityImportant intervals were linked mainly to carotenoids and oxidized cytochromes b/c and compared with prior spectroscopic knowledge.Supports plausible biochemical correlates, not unique molecular assignments.
5. Independent validationThirteen additional ambiguous spectra and immunohistochemical findings were examined, but no independent cohort, centre, or instrument was used.Step 5 remains incomplete; validated biomarker or clinical claims are not supported.
Table 5. Practical reporting checklist for explainable AI studies in biomedical spectroscopy.
Table 5. Practical reporting checklist for explainable AI studies in biomedical spectroscopy.
Reporting DomainMinimum Information to ReportWhy It Matters
Biological datasetNumber of patients, specimens, cultures, batches, and spectra; inclusion and exclusion criteriaClarifies biological independence and possible sources of confounding
Acquisition protocolInstrument type, laser wavelength, spectral range, resolution, exposure, substrate, sample preparationEnables assessment of technical variability and transferability
Data splittingUnit of split; patient-, sample-, slide-, batch-, or spectrum-level separation; external test set if availableReduces leakage and clarifies expected generalization
PreprocessingBaseline correction, normalization, smoothing, denoising, derivatives, alignment, feature selection, and parameter settingsPreprocessing can alter both model behaviour and attribution patterns
Predictive modelModel family, architecture, hyperparameters, training strategy, random seeds, calibration, and performance metricsExplanations are conditional on the trained model
XAI methodExplainer type, software implementation, baseline or background data, perturbation strategy, grouping approach, and aggregation methodAllows reproduction and critical interpretation of explanation outputs
Stability analysisRepeated training, preprocessing variants, alternative backgrounds, explainer comparison, rank correlation, or band overlapDetermines whether attributed regions are robust
Faithfulness testingBand-level occlusion, group-wise permutation, performance degradation, or sensitivity analysisTests whether highlighted regions materially influence model behaviour
Biochemical interpretationSpectral assignments, competing interpretations, reference spectra, domain-expert reviewPrevents direct conversion of feature importance into unsupported molecular claims
Independent validationExternal cohorts, independent instruments, controlled experiments, histology, mass spectrometry, or biochemical assaysDetermines whether a candidate explanation can support biomarker-oriented claims
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kalatzis, D.; Nega, A. Beyond Spectral Attribution: A Validation Framework for Explainable AI in Biomedical Spectroscopy. AI Med. 2026, 1, 25. https://doi.org/10.3390/aimed1030025

AMA Style

Kalatzis D, Nega A. Beyond Spectral Attribution: A Validation Framework for Explainable AI in Biomedical Spectroscopy. AI in Medicine. 2026; 1(3):25. https://doi.org/10.3390/aimed1030025

Chicago/Turabian Style

Kalatzis, Dimitris, and Alkmini Nega. 2026. "Beyond Spectral Attribution: A Validation Framework for Explainable AI in Biomedical Spectroscopy" AI in Medicine 1, no. 3: 25. https://doi.org/10.3390/aimed1030025

APA Style

Kalatzis, D., & Nega, A. (2026). Beyond Spectral Attribution: A Validation Framework for Explainable AI in Biomedical Spectroscopy. AI in Medicine, 1(3), 25. https://doi.org/10.3390/aimed1030025

Article Metrics

Back to TopTop