Spectra
Molecular IR, Raman, and UV-Vis spectra overview, common datasets, and QM9S benchmark results.

Overview
Molecular spectra—infrared (IR), Raman, and ultraviolet–visible (UV-Vis)—measure how molecules absorb and scatter radiation across vibrational and electronic transitions, capturing functional groups, symmetry, and conjugated bonding.
Because spectra are dense, continuous curves spanned across distinct physical regimes, serializing raw intensity arrays into text tokens is both token-prohibitive and loses local peak shapes. Sage-SciPerception applies log10(x + 1) patch geometry across IR, Raman, and UV-Vis (347 patches of width 50) together with a discrete 3-way spectrum-type channel (modality.npy) and numbered payload spans, allowing the language model to reason jointly across all three spectra.
Common datasets
| Dataset | Scope and characteristics | Usage in Sage-SciPerception |
|---|---|---|
| QM9S (DiffSpectra) | Paired simulated IR, Raman, and UV-Vis spectra for small organic molecules derived from QM9 | qm9s-allspectra (10,000 test molecules and disjoint training split) |
| NIST WebBook / SDBS | Experimental gas/condensed-phase vibrational and optical reference libraries | Compatible via the same log10(x + 1) patch layout |
Sage-SciPerception capabilities & results
| Dimension | Details |
|---|---|
| Supported task | Molecular structure identification from joint IR + Raman + UV-Vis spectra |
| Benchmark result | QM9S Acc@1 = 49.75% (glm-5.3-flash/spectra/qm9s v0.1.0 checkpoint) |
| Input channels | nodes.npy [347, 50] + discrete 3-way spectrum index + atom_numbering |
- Checkpoint specification: QM9S task reference
- Inference example:
examples/vllm_projector.py(--discreteand--sample-dir) - Public training slice:
samples/spectra/qm9s/