arXiv:2611.01396cs.CVNov 2026

Manuscript Offprint

arXiv:2611.01396

SpecUltra: A Unified Foundation Model for Heterogeneous Spectral Images

Weili Kong, Baisen Liu, Xiaojun Bi, Jiaming Pei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Spectral imagery, including hyperspectral image (HSI) and multispectral image (MSI), exhibits substantial heterogeneity in band numbers, wavelengths, spectral resolutions, hindering unified modeling and cross-sensor transfer. From the perspective of imaging physics, these heterogeneous observations can be regarded as discrete measurements of an underlying continuous spectrum acquired through different sampling processes. Motivated by this perspective, we propose SpecUltra, a unified foundation model for heterogeneous spectral images. Specifically, SpecUltra employs 3D convolutional tokenization and wavelength-aware 3D RoPE to encode relative wavelength and spatial relationships, enabling fine-grained spatial-spectral modeling within a shared coordinate system. We further construct MultiHyper-200K, a large-scale multi-sensor HSI dataset, and pretrain SpecUltra using auxiliary-token-assisted mask image modeling (MIM), where a level token indicates the radiometric product type and register tokens absorb sensor- and acquisition-dependent variations. To bridge the spectral-granularity gap between HSI and MSI, we introduce Spectral Kernel Transformation (SKT), which transfers pretrained knowledge in parameter space by constructing MSI embedding kernels from fine-grained HSI-pretrained kernel slices. This design preserves pretrained spectral priors while maintaining compatibility with the pretrained backbone. Experiments on HSI and MSI classification and segmentation benchmarks demonstrate state-of-the-art or competitive performance across disparate sensors and downstream tasks.

Code — https://github.com/kkweil/SpecUltra

Introduction

Spectral imagery jointly captures the spatial structures of ground objects and their wavelength-dependent reflectance characteristics, providing rich information for material identification, target recognition, and land-cover classification (Ghamisi et al. 2017; Ayala et al. 2023). Unlike RGB images with fixed channel definitions, spectral images exhibit substantial heterogeneity in band configurations. HSI densely samples the spectrum using tens to hundreds of contiguous narrow bands, whereas MSI records integrated responses over only a few discrete and relatively broad spectral intervals (Amigo 2019). Moreover, even within the same

Figure

Figure 1: SpecUltra unifies heterogeneous HSI and MSI in a shared representation space and is subsequently finetuned for downstream tasks.

modality, different sensor designs can lead to substantial variations in band number, central wavelength, bandwidth, and spectral response functions. This heterogeneity poses substantial challenges to building a unified spectral foundation model for spectral images.

A natural strategy is to embed each spectral channel independently, thereby preserving fine-grained spectral information. However, for HSI with hundreds of densely sampled bands, this approach results in prohibitively long token sequences and incurs substantial computational overhead. Spectral group embedding (Hong et al. 2022) provides a more efficient alternative by jointly encoding neighboring bands and exploiting the local spectral patterns of HSI. However, this design is less suitable for MSI, whose bands are sparse and relatively broad. Grouping adjacent MSI bands may prematurely mix distinct spectral semantics. Consequently, existing spectral foundation models typically specialize in either HSI or MSI (Hong et al. 2026a), with their input embeddings and positional representations tied to specific band configurations (Hong et al. 2026b). Although sensor-agnostic methods such as SMARTIES (Sumbul et al. 2025) and CARL (Baumann et al. 2026) employ wavelength-aware projections or adaptive spectral aggregation, they often compress spectral information early or rely on sensor-dependent mappings, limiting fine-grained spatial-spectral modeling.

From the perspective of spectral imaging physics, HSI and MSI share a common observation process. Both can be regarded as discrete measurements of an underlying continuous surface spectrum, differing primarily in their spectral sampling densities and response functions (Yokoya, Grohn-

∗^{*}Main contribution

†^{\dagger}Corresponding author.

feldt, and Chanussot 2017). This shared physical origin provides a principled basis for unified modeling and suggests that knowledge learned from densely sampled HSI can be transferred to coarsely sampled MSI by adapting pretrained representations and parameters to different spectral granularities. Accordingly, two fundamental questions arise: 1) How can heterogeneous spectral observations be modeled with fine-grained spatial-spectral structures and consistent physical semantics? and 2) How can pretrained knowledge be effectively transferred across substantially different spectral granularities?

To this end, we propose SpecUltra, a unified foundation model for heterogeneous spectral remote sensing imagery. SpecUltra learns fine-grained spatial-spectral representations from multi-sensor HSI data and transfers them to diverse MSI configurations through parameter-space adaptation. Specifically, a 3D convolutional embedding layer partitions each input into spatial-spectral tokens. Wavelength-aware 3D RoPE then encodes relative physical relationships along the wavelength and spatial dimensions, enabling heterogeneous observations to be modeled in a unified coordinate system. SpecUltra is pretrained on MultiHyper-200K, which contains approximately 200,000 HSI samples from six sensors, using auxiliary-token-assisted masked image modeling. A level token indicates the radiometric product type, while register tokens capture sensor- and acquisition-dependent variations. To bridge the spectral-granularity gap between HSI and MSI, we introduce SKT which reparameterizes each MSI embedding kernel as a learnable combination of fine-grained HSI-pretrained kernel slices, thereby transferring spectral priors in parameter space while adapting them to broad-band MSI observations. Experiments on four HSI and MSI benchmarks demonstrate leading performance on three benchmarks and competitive results on EuroSAT. Ablation studies further validate the effectiveness of each component. The main contributions are summarized as follows:

  • We formulate heterogeneous spectral foundation modeling from a shared continuous-spectrum perspective, providing a unified view of diverse band configurations.
  • We introduce wavelength-aware 3D RoPE to encode physical wavelength and spatial coordinates, enabling fine-grained modeling within a unified representation space.
  • We propose SKT to transfer pretrained knowledge across spectral granularities in parameter space by constructing MSI embedding kernels from learnable combinations of HSI-pretrained spectral kernel slices.
  • We construct MultiHyper-200K, a large-scale multi-sensor HSI pretraining dataset, and develop auxiliary-token-assisted MIM to improve cross-sensor representation learning.

References (27)