OmniSpectra: A Unified Foundation Model for Universal Spectra Representation Learning
Feb 2027·
,,
Md Khairul Islam
Zeyu Xia
Adam S. Bolton
Judy Fox
Abstract
Standard sequence models encode position by token rank rather than physical coordinate, typically forcing practitioners to destructively resample continuous physical signals such as spectra observed across heterogeneous instruments. We identify this coordinate mismatch as a structural limitation in cross-instrument representation learning, and propose OmniSpectra, a wavelength-native foundation model for spectral representation learning, a continuous-coordinate masked autoencoder that discards the integer pixel indexing of sequence modeling. Mapping physical coordinates to a logarithmic basis turns the multiplicative scaling induced by cosmological redshift into a uniform additive shift. In continuous rotary position embeddings, this shared shift cancels from relative token distances rather than producing grid-dependent positional distortion. We further counter the spectral bias inherent to implicit neural decoders with a physics-grounded, resolution-gated Fourier decoder that provides anti-aliasing. Pretrained on eight surveys and benchmarked against seven baselines, our model reaches state-of-the-art performance with only 12.2M parameters while outperforming substantially larger models, indicating that encoding physical structure can substitute for parameter scale.
Type
Publication
Proceedings of the 41st AAAI Conference on Artificial Intelligence (AAAI-27), to appear. AAAI Press
Foundation Models
Representation Learning
Masked Autoencoder
Rotary Position Embedding
Spectroscopy
Astronomy
Authors
Md Khairul Islam

Authors
Zeyu Xia
(he/him)
Computer Science PhD Student
I am a Computer Science PhD student at the University of Virginia, advised by
Prof. Geoffrey C. Fox.
My research focuses on generative models, differentiable simulation, and LLM agents
for science. I build efficient methods for scientific data generation and inverse problems,
evaluate how well models capture physical behavior, and develop agents that reproduce and
verify scientific AI benchmarks with MLCommons (DeepVELA).