Update: AI and Machine Learning for Spectral Analysis

Electronic Spectroscopy: Predicting and Interpreting UV–vis and Fluorescence Data

For UV–vis spectroscopy, the dominant AI problem is the reverse of elucidation: predicting a spectrum from a structure so that candidate dyes, sensors, or photoactive materials can be screened before synthesis. Researchers at the University of Cambridge combined 34,893 density functional theory calculations with 26,395 experimentally derived peak absorption wavelengths (λmax).10 Their workflow encodes dye and solvent structures as simplified molecular-input line-entry system (SMILES) strings and extracts features with deep residual convolutional neural networks. A Bayesian-optimized gradient boosting machine then makes the final prediction, and the authors reported performance beyond the prior state of the art.10

Small data sets can still be productive when the chemistry is focused. A study of azobenzene photoswitches built separate regression models for absorption at fixed wavelengths across the UV and visible range.11 Trained on only 330 molecule–spectrum pairs, the models predicted both absorbance at those wavelengths and the position and intensity of the absorption maximum. The authors proposed the approach for rapid screening of thousands of candidates without first-principles calculations.11

In fluorescence, deep learning is being applied to excitation–emission matrices (EEMs), which can be treated as images. One study used a convolutional network pretrained on ordinary photographs and adapted it to EEMs of 24 extra virgin olive oils aged at 60 °C for 53 days.12 The model predicted the oxidation indicators K232 and K268 with mean absolute errors of 0.066 and 0.010, comparable to or lower than experimental error. Importantly, interpretation maps tied K232 to chlorophyll bands and K268 to oxidation-product bands.12 That pairing of accuracy with chemically sensible explanations is the theme of the next section.

Explainable AI and Trust

A model that cannot be explained is hard to validate, and in regulated or clinical settings it is hard to use at all. A review of 21 studies applying explainable AI (XAI) to spectroscopic data found that a small group of methods dominates.13 SHapley Additive exPlanations (SHAP) assigns an importance value to each spectral feature. Masking methods inspired by Local Interpretable Model-agnostic Explanations (LIME) test how a prediction changes when spectral regions are hidden. Class activation mapping (CAM), adapted from image analysis and tied to convolutional neural networks, highlights the spectral regions that drove a decision. Gradient-based methods complete the group. SHAP and masking methods were the most common because they work without modifying the original model.13

The review made two practical points. First, most methods highlight individual intensity peaks, and the authors argued that spectral bands should be given greater weight to obtain consistent explanations. Second, most methods were borrowed from image and multivariate analysis, so they must be applied to spectra with caution.13 The authors called for XAI methods adapted specifically for spectroscopy. Until those exist, the most defensible practice is to check that a model’s highlighted regions match known chemistry, as in the olive oil example above.12

Closing the Loop: Spectroscopy in Autonomous Laboratories

The most consequential use of AI-interpreted spectra may be inside the laboratory itself. A 2024 study from the University of Liverpool used mobile robots to operate standard equipment: an automated synthesis platform, a liquid chromatography–mass spectrometry (LC–MS) instrument, and a benchtop NMR spectrometer.14 A heuristic decision-maker combined the orthogonal NMR and MS measurements to decide which reactions had succeeded and to confirm that screening hits were reproducible. It then chose the next experiments without human input. The system was demonstrated on structural diversification chemistry, supramolecular host–guest assembly, and photochemical synthesis.14

The significance for spectroscopists is that instruments become decision points rather than end-of-line checks. That role raises the stakes for every topic in this review. Structure prediction must work on real spectra, models must be explainable enough to audit, and benchmarks must reflect the samples that autonomous systems will actually meet. Shared software platforms for reproducible AI-based chemometrics are one response to that need.1

Summary of Findings

  • NMR elucidation: Multitask models identify the correct structure within 15 guesses about 70% of the time for small molecules on simulated spectra.2 Accuracy drops sharply on experimental spectra unless models are fine-tuned on measured data.3
  • Multimodal and LLM approaches: Combining NMR with IR produces the highest reported accuracy.4,5 LLMs and LLM-based agents can now reason over spectra, and one agent approaches graduate-student performance on some benchmarks.6,7 Results vary widely with the benchmark used.7
  • Mass spectrometry: Standardized benchmarks and self-supervised pretraining on millions of unlabeled spectra are turning public MS/MS repositories into training resources.8,9
  • UV–vis and fluorescence: Structure-to-spectrum prediction supports virtual screening of dyes.10,11 Interpretable deep learning on EEMs links predictions to known fluorophores.12
  • Explainability and automation: SHAP and LIME-inspired masking methods dominate XAI for spectra, but most methods are borrowed from other fields and need adaptation.13 Autonomous labs already act on NMR and MS data without human input.14

Conclusion

AI in molecular spectroscopy has advanced from predicting a single property to proposing structures and directing experiments. The research from 2023 to 2026 shows consistent patterns across NMR, MS, UV–vis, and fluorescence. Large simulated or unlabeled data sets provide the scale. Transformer architectures provide the flexibility. Small amounts of experimental data, together with checks against known chemistry, provide the credibility.

Three priorities will decide how quickly these tools move into routine use. The first is closing the simulated-to-experimental gap with more curated, openly shared experimental spectra. The second is agreeing on benchmarks that reflect real samples, including complex pharmaceutical and natural-product mixtures. The third is developing explainability methods built for spectra rather than borrowed from image analysis. Progress on all three would give analysts tools whose answers they can both trust and defend.

References

(1) Workman, J., Jr. Recent Research in Chemometrics and AI for Spectroscopy, Part II: Emerging Applications, Explainable AI, and Future Trends. Spectroscopy [Online], November 4, 2025. https://www.spectroscopyonline.com/view/recent-research-in-chemometrics-and-ai-for-spectroscopy-part-ii-emerging-applications-explainable-ai-and-future-trends (accessed 2026-10-22).

(2) Hu, F.; Chen, M. S.; Rotskoff, G. M.; Kanan, M. W.; Markland, T. E. Accurate and Efficient Structure Elucidation from Routine One-Dimensional NMR Spectra Using Multitask Machine Learning. ACS Cent. Sci. 2024, 10 (11), 2162–2170. DOI: 10.1021/acscentsci.4c01132

(3) Hu, F.; Tubb, J. M.; Argyropoulos, D.; et al. Pushing the Limits of One-Dimensional NMR Spectroscopy for Automated Structure Elucidation Using Artificial Intelligence. J. Chem. Inf. Model. 2026, 66 (12), 6992–7002. DOI: 10.1021/acs.jcim.6c00905

(4) Alberts, M.; Laino, T.; Vaucher, A. C. Leveraging Infrared Spectroscopy for Automated Structure Elucidation. Commun. Chem. 2024, 7 (1), 268. DOI: 10.1038/s42004-024-01341-w

(5) Alberts, M.; Hartrampf, N.; Laino, T. Automated Structure Elucidation at Human-Level Accuracy via a Multimodal Multitask Language Model. ChemRxiv 2025 (preprint). DOI: 10.26434/chemrxiv-2025-q80r9

(6) Su, Y.; Chen, J.; Jiang, Z.; et al. SpectraLLM: Uncovering the Ability of LLMs for Molecular Structure Elucidation from Multi-Spectral Data. In Proceedings of the International Conference on Learning Representations (ICLR 2026); 2026. https://mlanthology.org/iclr/2026/su2026iclr-spectrallm/ (accessed 2026-11-23).

(7) Espejo Morales, I.; Hinz, D.; Alberts, M.; et al. NMR Elucidation as an Agentic Search Problem, Not a Modeling Problem. arXiv 2026, arXiv:2607.19406 (ICML 2026 AI for Science Workshop). DOI: 10.48550/arXiv.2607.19406

(8) Bushuiev, R.; Bushuiev, A.; de Jonge, N. F.; et al. MassSpecGym: A Benchmark for the Discovery and Identification of Molecules. In Advances in Neural Information Processing Systems 37 (NeurIPS 2024), Datasets and Benchmarks Track; Curran Associates, 2024; pp 110010–110027. DOI: 10.52202/079017-3491

(9) Bushuiev, R.; Bushuiev, A.; Samusevich, R.; et al. Self-Supervised Learning of Molecular Representations from Millions of Tandem Mass Spectra Using DreaMS. Nat. Biotechnol. 2026, 44 (4), 630–640. DOI: 10.1038/s41587-025-02663-3

(10) Jung, S. G.; Jung, G.; Cole, J. M. Automatic Prediction of Peak Optical Absorption Wavelengths in Molecules Using Convolutional Neural Networks. J. Chem. Inf. Model. 2024, 64 (5), 1486–1501. DOI: 10.1021/acs.jcim.3c01792

(11) Stanev, V.; Maehashi, R.; Ohta, Y.; Takeuchi, I. Machine Learning Modeling of the Absorption Properties of Azobenzene Molecules. Artif. Intell. Chem. 2023, 1 (1), 100002. DOI: 10.1016/j.aichem.2023.100002

(12) Michelucci, U.; Venturini, F. Deep Learning Domain Adaptation to Understand Physico-Chemical Processes from Fluorescence Spectroscopy Small Datasets and Application to the Oxidation of Olive Oil. Sci. Rep. 2024, 14 (1), 22291. DOI: 10.1038/s41598-024-73054-y

(13) Contreras, J.; Bocklitz, T. Explainable Artificial Intelligence for Spectroscopy Data: A Review. Pflügers Arch. 2025, 477 (4), 603–615. DOI: 10.1007/s00424-024-02997-y

(14) Dai, T.; Vijayakrishnan, S.; Szczypiński, F. T.; et al. Autonomous Mobile Robots for Exploratory Synthetic Chemistry. Nature 2024, 635 (8040), 890–897. DOI: 10.1038/s41586-024-08173-7

Hot this week

Topics

Related Articles

Popular Categories