An Explainable Raman Spectral Classification Pipeline via NMF and SHAP: A Case Study of Pen Ink Colors

Ink analysis, especially the analysis of coloring components, plays a crucial role in forensic science, as it provides useful information to validate the authenticity of the questioned documents. Raman spectroscopy offers a nondestructive and time- and cost-effective alternative to forensic investigations, providing unique spectral fingerprints of pen ink samples. There are several attempts to analyze Raman spectra using computational techniques. This work proposes an explainable pipeline for Raman spectral classification to distinguish pen ink colors. Preprocessing steps were applied to improve the spectral signal-to-noise ratio. Data augmentation was conducted to increase the training data. Using the weights of the 48 extracted non-negative matrix factorization (NMF) components as inputs for the Random Forest classifier, the test accuracy of 0.8456 was achieved. Moreover, NMF allows underlying linear compositions of spectra associated with ink color classes to be observed. SHapley Additive exPlanations (SHAP) then enables a quantification of the average impact of each NMF component on the classification. Through this pipeline, the scalar multiplication between NMF components, their weights, and their SHAP values enables a human-intuitive explainability of the model prediction results that captures unique Raman spectral patterns as expected for each ink color class.

Institutions

Publication Details

Published
2024-12-03
DOI
https://doi.org/10.1109/apsipaasc63619.2025.10849231
Primary Topic
Energy and Environmental Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Explainable Raman Spectral Classification Pipeline via NMF and SHAP: A Case Study of Pen Ink Colors

Energy and Environmental Systems
article

An Explainable Raman Spectral Classification Pipeline via NMF and SHAP: A Case Study of Pen Ink Colors

article en

Abstract

Ink analysis, especially the analysis of coloring components, plays a crucial role in forensic science, as it provides useful information to validate the authenticity of the questioned documents. Raman spectroscopy offers a nondestructive and time- and cost-effective alternative to forensic investigations, providing unique spectral fingerprints of pen ink samples. There are several attempts to analyze Raman spectra using computational techniques. This work proposes an explainable pipeline for Raman spectral classification to distinguish pen ink colors. Preprocessing steps were applied to improve the spectral signal-to-noise ratio. Data augmentation was conducted to increase the training data. Using the weights of the 48 extracted non-negative matrix factorization (NMF) components as inputs for the Random Forest classifier, the test accuracy of 0.8456 was achieved. Moreover, NMF allows underlying linear compositions of spectra associated with ink color classes to be observed. SHapley Additive exPlanations (SHAP) then enables a quantification of the average impact of each NMF component on the classification. Through this pipeline, the scalar multiplication between NMF components, their weights, and their SHAP values enables a human-intuitive explainability of the model prediction results that captures unique Raman spectral patterns as expected for each ink color class.

Thammasat University (TH), National Electronics and Computer Technology Center (TH)
Openalex Percentile: Top 76%
Energy and Environmental Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.