SLOT-IR: Learning Slot Representations for Infrared Spectral Unmixing
Abstract
Infrared (IR) spectral unmixing recovers individual component spectra from a measured mixture, enabling chemical identification. Existing methods either assume linear superposition of components, which does not hold for liquid-phase mixtures where molecular interactions alter spectral shapes, or use deep networks that encode the whole mixture into one latent vector without separate per-component representations. We introduce SLOT-IR, a slot-based architecture that decomposes mixture spectra into separate per-component embeddings and decodes each independently into a predicted spectrum. A two-stage training procedure first pretrains the encoder on single-molecule spectra, then trains the full unmixing model on mixtures. On a benchmark of liquid-phase infrared spectra computed with molecular dynamics simulations, SLOT-IR outperforms all baselines on both binary and ternary mixture identification. Controlled pretraining experiments suggest that the benefit comes from learning coherent spectra of individual molecules. Pretraining on gas-phase spectra alone performs comparably to pairing gas- and liquid-phase spectra, which points to a scalable source of pretraining data. A post-hoc sparse autoencoder further shows that the per-component embeddings carry information statistically associated with known functional groups.