TL;DR
HyperFM is a new parameter-efficient hyperspectral foundation model designed specifically for atmospheric and cloud property retrieval. By introducing a novel spectral grouping mechanism and leveraging tensor-train decomposition, it outperforms existing hyperspectral models by over 32% while using half the parameters. Alongside the model, the authors release HyperFM250K, the first large-scale hyperspectral dataset explicitly curated to include substantial cloud cover (~60%).
What Problem Does This Paper Address?
While foundation models have revolutionized computer vision using standard RGB imagery, applying them to Earth observation remains challenging—especially for hyperspectral imaging (HSI), which captures hundreds of continuous narrow wavelength bands.
Existing hyperspectral foundation models (like HyperSigma or SpectralEarth) suffer from two major flaws:
- The Cloud-Free Bias: They are trained on land-focused datasets (e.g., EnMAP, PRISMA) that deliberately exclude cloudy scenes (keeping cloud cover under 10%). This makes them entirely unsuitable for atmospheric science tasks like weather forecasting and climate modeling, which depend heavily on understanding cloud properties.
- The Dimensionality Bottleneck: Standard Vision Transformers (ViTs) struggle with the massive spectral dimension of HSI data. Linearly projecting hundreds of bands into a flat token space causes severe information loss, while processing them directly leads to an explosion in parameter count and computational cost.
The authors address these gaps by creating a cloud-inclusive dataset and designing an architecture tailored to handle high-dimensional spectral data efficiently.
Methods
HyperFM introduces two key architectural innovations to jointly capture spectral-spatial relationships without the typical computational tax:
- Group Embed Module: Instead of flattening all spectral channels at once, HyperFM divides the spectral dimension into $k$ groups of spectrally adjacent channels. Each group undergoes Local Group Attention (LGA) to capture intra-group features. A trainable gating mechanism then selects the most informative group features before passing them to a Global Group Attention (GGA) block to model cross-spectral relationships. Both blocks utilize MaxViT structures to handle local and global interactions efficiently.
- Hypoformer Blocks: Serving as the model's backbone, these blocks replace standard ViT layers with a hybrid parameter decomposition scheme. They combine a dense projection layer with a Hybrid Tensor Train (HTT) Attention layer and a Low Matrix Factorization (LMF) Feed-Forward Network. This setup achieves subquadratic complexity relative to the matrix dimensions, maintaining full-rank expressivity with far fewer parameters.
The model is pretrained using a standard Masked Autoencoder (MAE) framework, where 75% of the spatial patches are masked, forcing the network to reconstruct the missing regions and learn robust global structures.
Datasets
The authors introduce HyperFM250K, a large-scale dataset derived from the NASA PACE mission's Ocean Color Instrument (OCI).
- Composition: 2,262 Level 1B granules spanning May 2024 to April 2025, preprocessed into $96 \times 96$ patches.
- Spectral Detail: 291 spectral channels covering blue, red, and shortwave infrared (SWIR) wavelengths.
- Cloud Cover: Contains approximately 60% cloud presence, making it uniquely suited for atmospheric applications.
For evaluation, the model is fine-tuned on four downstream pixel-level cloud property retrieval tasks: Cloud Optical Thickness (COT), Cloud Effective Radius (CER), Cloud Water Path (CWP), and Cloud Top Height (CTH).
Key Insights and Ideas
- Spectral Grouping Preserves Signatures: Grouping adjacent bands physically mirrors how spectrometer instruments capture data. Processing them in parallel groups before global fusion prevents the "compression loss" that happens when forcing hundreds of channels through a single linear layer.
- Tensor-Train for Vision: While tensor-train decomposition has found success in natural language processing, this work demonstrates it can be successfully adapted to vision tasks to mitigate the high dimensionality of hyperspectral cubes.
- Pretraining Data Matters: Models pretrained purely on cloud-free land data (like SpectralEarth) fail dramatically when tasked with predicting cloud properties, underscoring the necessity of atmospheric-focused pretraining corpora like HyperFM250K.
Key Results
HyperFM was benchmarked against task-specific architectures (UNet, CloudUNet, CAM) and existing hyperspectral foundation models.
- Performance Leap: When using a frozen encoder with only a lightweight decoder fine-tuned, HyperFM achieved a 32.36% lower Mean Squared Error (MSE) on average across all four cloud retrieval tasks compared to the previous best foundation model, HyperSigma.
- Parameter Efficiency: HyperFM achieves these results with a model capacity of 32.06M parameters—roughly half the size of HyperSigma (100.16M) and SpectralEarth (88.78M).
- Qualitative Fidelity: Visualizations show that HyperFM reconstructs much cleaner spatial patterns and avoids the systematic underestimation of cloud properties common in other models.
Limitations and Future Work
Despite its strong performance, the authors note a few areas for improvement:
- Boundary Artifacts: Because inference is performed patch-wise, some grid discontinuities are visible near patch borders. Implementing overlapping sampling during inference is suggested as a fix.
- Ground Truth Biases: The evaluation labels are derived from official PACE Level-2 products generated via traditional physics-based inversion algorithms, which may contain statistical biases. The authors plan to co-locate PACE data with active sensor measurements (like radar/lidar) for truer supervision in the future.
- Hyperparameter Tuning: The current model relies on a fixed 50% tensor compression ratio and a fixed tensor-train rank of 3; a comprehensive ablation study on these parameters remains for future work.
Summary updated