Organizations: School of Information and Communication Engineering, Harbin Engineering University, Harbin 150001, China · School of Electronic and Information Engineering, Heilongjiang Institute of Technology, Harbin 150050, China · School of Information Engineering, Minzu University of China, Beijing 100081, China · School of Computer Science, The University of Sydney, Sydney, NSW 2006, Australia
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.
Figures & tables
Figure 1: SpecUltra unifies heterogeneous HSI and MSI in a shared representation space and is subsequently finetuned for downstream tasks.
Figure 2: Overview of SpecUltra. Heterogeneous spectral images are tokenized along the spatial and spectral dimensions and encoded within a unified spatial-spectral representation space using wavelength-aware 3D RoPE. SpecUltra is pretrained on MultiHyper-200K with auxiliary-token-assisted MIM to accommodate radiometric, sensor, and acquisition variations. For MSI adaptation, SKT constructs MSI-compatible embedding kernels from learnable combinations of HSI-pretrained spectral kernel slices, enabling parameter-space transfer across spectral granularities.
Sensors
Spec. Range
Spec. Res
Spat. Res
Bands
Data
Numbers
(nm)
(nm)
(m)
(#)
Level
(#)
AVIRIS
380-2500
10
0.5-20
224
L1/L2
94,207
AVIRIS-3
390-2500
7.4
0.3-10
224
L2
29,866
HyspIRI
380-2500
10
0.3-17
224
L2
12,012
EnMAP
420-2450
6.5/10
30
246
L2
23,207
DESIS
402-1000
2.55
30
235
L2
27,517
Table 1: Main characteristics of the pretraining datasets.
Model
Dim.
Depth
Heads
MLP
SpecUltra-S
384/192
12/8
4/4
4.0
SpecUltra-B
576/192
12/8
8/8
4.0
Table 2: Configurations of SpecUltra variants (Enc./Dec.).
Segmentation (OA/F1/mIoU)
Classification (OA/F1/Kappa)
Method
Pretraining Data
Qingpu (HSI)
SegMunich (MSI)
HRSSC (HSI)
EuroSAT (MSI)
SatMAE
fMoW-S2
91.57/46.81/36.93
82.29 / 63.40 / 50.21
79.01/66.53/75.61
94.02 / 93.80 / 93.34
SpectralGPT
BigEarthNet
91.62/47.32/37.65
81.63/61.27/49.21
82.67/70.26/79.27
94.69 / 94.49 / 94.48
SpectralEarth
SpectralEarth
92.23/49.74/40.26
82.03/62.98/49.96
82.41/73.79/79.58
92.32/83.70/91.46
HyperSigma
HyperGlobal-450K
91.96/46.99/38.47
80.37/58.20/46.81
83.02 / 74.63 / 80.34
91.54/82.89/90.59
HyperFree
HyperSeg
90.85/44.27/35.62
81.18/60.56/47.66
80.48/69.50/77.47
91.19/82.52/90.20
Table 3: Comparison with SOTA methods on HSI and MSI downstream benchmarks( best / second ).(%).
Figure 3: Qualitative comparison of segmentation results on Qingpu and SegMunich datasets.
Method
HRSSC
EuroSAT
OA
F1
Kappa
OA
F1
Kappa
SatMAE
74.92
57.91
70.56
83.52
82.34
81.66
SpectralGPT
76.38
58.46
70.99
83.58
82.27
81.73
SpectralEarth
77.47
68.41
73.82
82.57
74.10
80.59
HyperSigma
80.17
69.63
76.99
81.66
73.47
79.59
HyperFree
80.63
68.32
77.39
77.45
69.27
74.92
Table 4: Backbone probing results on classification benchmarks.
Figure 4: Comparison of SpecUltra-S and SpecUltra-B.
Metric
SatMAE
SpectralGPT
SpectralEarth
HyperSigma
HyperFree
SpecAware
SMARTIES
CARL
SpecUltra-S
SpecUltra-B
Params
86.09 M
85.41 M
236.19 M
236.19 M
151.14 M
89.42 M
88.62 M
71.93 M
24.69 M
55.31 M
FLOPs
523.70 G
212.97 G
229.44 G
229.44 G
57.96 G
45.16 G
3313.01 G
63.02 G
324.65 G
727.59 G
Table 5: Comparison of model complexity.
Position Encoding
Qingpu
SegMunich
HRSSC
EuroSAT
Index PE
33.68 ± 0.76
44.17 ± 0.24
78.03 ± 1.43
86.19 ± 1.90
Wave PE & 2D RoPE
34.57 ± 0.33
46.31 ± 0.19
79.25 ± 1.22
88.50 ± 1.30
Wave 3D RoPE
36.16 ± 0.50
46.44 ± 0.20
80.11 ± 1.68
89.26 ± 1.22
Table 6: Effect of wavelength-aware 3D RoPE(mean ± std%).
MSI Embedding
SegMunich
EuroSAT
Random Initialization
50.37 ± 0.30
91.41 ± 1.72
Prefix Adapter
50.12 ± 0.28
92.06 ± 1.98
Mean Aggregation
50.43 ± 0.21
92.96 ± 1.51
Random Aggregation
50.50 ± 0.26
93.08 ± 1.64
SKT
50.90 ± 0.25
93.74 ± 1.76
Table 7: Effect of SKT on MSI transfer on SpecUltra-B.
Figure 5: Effect of the number of register tokens.
Token Configuration
Qingpu
SegMunich
HRSSC
EuroSAT
None
34.89 ± 1.97
44.38 ± 0.29
78.94 ± 1.43
87.26 ± 2.11
Level Token
35.63 ± 1.05
45.19 ± 0.32
79.16 ± 1.31
87.83 ± 2.36
Register Tokens
35.77 ± 1.27
45.03 ± 0.28
79.50 ± 1.87
88.42 ± 1.67
Level + Register Tokens
36.16 ± 0.80
46.44 ± 0.19
80.11 ± 1.62
89.26 ± 1.04
Table 8: Ablation resluts of register and level tokens.
Department of Electrical and Computer Engineering, University of Illinois Urbana-Champaign, IL, USA · Siebel School of Computing and Data Science, University of Illinois Urbana-Champaign, IL, USA
Department of Information Technology Siddhartha Academy of Higher Education Vijayawada, Andhra Pradesh 521108, India · Department of Computer Science and Engineering Vellore Institute of Technology Bhopal, Madhya Pradesh 466114, India · Department of Computer and Information Sciences Indira Gandhi National Open University New Delhi 110068, India +1