Introduction
Hyperspectral imaging (HSI) captures hundreds of narrow spectral bands, providing a unique "fingerprint" for materials on Earth. However, training deep learning models for HSI classification is challenging due to the high cost of collecting labeled data. While transfer learning—pre-training on one dataset and fine-tuning on another—is a common solution, it is often hampered by the "sensor gap." Data from different sensors (e.g., AVIRIS vs. ROSIS) vary in spectral resolution and noise characteristics, causing standard Vision Transformers (ViTs) to suffer from catastrophic forgetting or poor adaptation. This paper introduces Tri-Former and Attention-Gated Tuning (AGT) to bridge these gaps effectively.
The Tri-Former Architecture
To address the computational demands of high-dimensional HSI data, the authors developed Tri-Former, a specialized transformer architecture. Unlike standard ViTs that treat images as 2D patches, Tri-Former utilizes a triplet-structured design featuring a Spectral-Spatial Parallel (SSP) block. This block processes spectral and spatial information separately, reducing computational complexity from a "quantic" growth ($O(h^2w^2s^2c)$) to a manageable level. Additionally, Tri-Former integrates 3D convolutions to preserve the structural integrity of the HSI cube, which stabilizes training without requiring explicit positional embeddings.
Attention-Gated Tuning (AGT)
The core of the proposed transfer learning strategy is Attention-Gated Tuning (AGT). Rather than simply updating the weights of a pre-trained model, AGT introduces a lightweight auxiliary branch to handle new sensor data.
As shown in the figure above, AGT employs a gated information selection mechanism:
- The Attention Gate: An attention mechanism acts as a "soft gate," selectively fusing useful features from the pre-trained base model while filtering out "disturbing" information that does not apply to the new sensor.
- Cold-Hot Update: The authors use an asynchronous gradient strategy where the pre-trained base model is updated very slowly ("cold"), while the auxiliary branch is updated quickly ("hot") to adapt to the target data.
Experimental Results and Key Insights
The model was evaluated on six representative HSI datasets, including classic benchmarks like Indian Pines and high-resolution benchmarks like WHU-Hi-LongKou. The results highlight several key advantages:
- State-of-the-Art Accuracy: Tri-Former achieved an Overall Accuracy (OA) of 98.41% on Indian Pines and 99.88% on Pavia University, outperforming both 3D-CNNs and other transformer-based models.
- Inference Efficiency: Tri-Former is significantly faster than its peers, achieving 3x faster inference than the SSFTT model while maintaining higher accuracy.
- Robust Cross-Modal Transfer: The paper demonstrates that pre-training on natural RGB images (like CIFAR-10) can benefit HSI classification when using a pseudo-HSI reconstruction bridge. In cross-sensor experiments, AGT consistently outperformed standard fine-tuning and LoRA (Low-Rank Adaptation).
Conclusion and Future Work
Tri-Former and AGT provide a powerful framework for HSI classification by selectively retaining pre-trained knowledge and efficiently processing multi-dimensional data. While the current cross-modal approach relies on pseudo-HSI generation, future work aims to explore more direct transfers from diverse sources like Synthetic Aperture Radar (SAR). Additionally, the authors plan to investigate pruning the auxiliary branch to further optimize the model for deployment on edge devices like drones.
Summary updated