Principles-Driven Machine Learning for UV Spectral Prediction

Hajime Shinohara, Akihiro Kishimoto, Hiroshi KajinoOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

Researchers have developed a "principles-driven" approach to predicting UV spectra of organic molecules by baking spectroscopic domain knowledge directly into machine learning models. By combining auxiliary peak detection, curriculum learning for band shapes, and curvature-based loss functions, their models achieve up to a 23% improvement over standard baselines and outperform current state-of-the-art methods like UV-adVISor.

What Problem Does This Paper Address?

Predicting how a molecule absorbs ultraviolet (UV) light is a cornerstone of materials science and drug discovery, but doing so experimentally is time-consuming and expensive. While machine learning (ML) has revolutionized many areas of chemistry, UV spectral prediction remains a "tough nut to crack."

Unlike Infrared (IR) spectra, which feature sharp, distinct peaks, UV spectra consist of broad, overlapping absorption bands. Standard ML models often struggle to capture these "fuzzy" features, frequently producing physically unrealistic jagged lines or missing subtle but important absorption peaks. The challenge is twofold: limited high-quality experimental data and a lack of physical constraints in standard neural network architectures.

Methods

The authors introduce three specific enhancements designed to mimic how human experts analyze spectra:

  1. Peak Position Awareness (PPA): Instead of just regressing the whole curve, the model performs an auxiliary classification task to identify peak locations. This forces the model to learn the fundamental electronic transitions that define a molecule's signature.
  2. Curriculum Learning for Interpolated Abstracted Spectra (CLIAS): To help the model learn the "envelope" of broad bands, the authors use curriculum learning. The model starts by learning simplified, interpolated versions of the spectra (abstracted shapes) before moving on to the full, complex data.
  3. Spectrum Curvature Limitation (SCL): To ensure physical realism, the authors introduced a penalty for excessive curvature. By calculating the second derivative of the predicted spectrum, they enforce smoothness, mimicking natural line-broadening mechanisms like the Heisenberg uncertainty principle and molecular collisions.

The team tested these methods across four architectures: MLP, LSTM, BiLSTM, and a Transformer, using a two-step training strategy where CLIAS establishes the general shape before SCL refines the smoothness.

Datasets

The study utilized a benchmark dataset originally prepared by Urbina et al. (2021), consisting of experimental UV measurements.

  • Size: 3,170 UV spectra (after cleaning).
  • Range: 230–400 nm at 1 nm resolution (171 data points per spectrum).
  • Input: Molecules were represented as tokenized SMILES strings.
  • Evaluation: The data was split into two subsets (Dataset I and Dataset II) to allow for a direct head-to-head comparison with the previous state-of-the-art model, UV-adVISor.

Key Insights and Ideas

  • Mimicking the Expert's Eye: The most significant gains came from PPA. This suggests that "telling" the model where the peaks are (or asking it to find them explicitly) provides a much stronger inductive bias than simple curve fitting.
  • The Order Matters: The researchers found that applying all three methods at once was less effective than a staged approach. Establishing peak positions and broad shapes first, then refining the curvature, mirrors the hierarchical nature of spectroscopic features.
  • Addressing the "Long Tail": Wavelength-specific analysis showed that standard models are okay at predicting common, low-absorption areas but fail at infrequent, high-absorption peaks. The principles-driven approach specifically improved performance on these "outlier" absorption rates, which are often the most chemically interesting parts of the spectrum.
  • Transformer Limitations: Interestingly, the Transformer baseline performed poorly compared to LSTMs. The authors hypothesize that because the molecular structure input is repeated across wavelengths, the Transformer's self-attention mechanism struggles to differentiate between different parts of the spectral sequence without better positional encoding.

Key Results

  • Superiority over SOTA: The best-performing model (a BiLSTM combined with PPA, CLIAS, and SCL) consistently outperformed the state-of-the-art UV-adVISor model.
  • Quantitative Gains: Compared to their own baselines, the proposed methods improved Mean Absolute Error (MAE) by 15.1% for MLP, 20.7% for LSTM, 23.0% for Transformer, and 16.2% for BiLSTM.
  • Dataset I Performance: On the more challenging Dataset I, the P+C→P+S MLP model achieved a median MAE of 0.0518, roughly 40% better than the UV-adVISor's 0.091.

Limitations and Future Work

While the results are promising, the authors note several areas for growth:

  • 2D vs. 3D: The current approach uses 2D SMILES strings. Incorporating 3D molecular geometries or results from computationally expensive TD-DFT (Time-Dependent Density Functional Theory) calculations could further improve accuracy, albeit at a higher computational cost.
  • Data Scarcity: The dataset is still relatively small (3k samples). Expanding to larger databases like the NIST Chemistry WebBook is a logical next step.
  • Generalization: The methods were developed for UV spectra. The authors suggest these principles could be adapted for other spectroscopic tasks, such as NMR or mass spectrometry, though these would require different "principles" (e.g., handling discrete chemical shifts vs. broad bands).

Summary updated

BibTeX
@misc{shinohara2026principles,
  author = {Hajime Shinohara and Akihiro Kishimoto and Hiroshi Kajino},
  title = {{Principles-Driven Machine Learning for UV Spectral Prediction}},
  year = {2026},
  url = {https://openreview.net/forum?id=cqDxEvpnnY},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure