Spectral-wise Implicit Neural Representation for Hyperspectral Image Reconstruction

Huan Chen, Wangcai Zhao, Tingfa Xu, Shiyun Zhou, Peifu Liu, Jianan Li · DOI

Abstract

Hyperspectral image (HSI) reconstruction from compressed 2D measurements is a challenging inverse problem. Traditional deep learning methods reconstruct a fixed number of discrete spectral bands, leading to spectral discontinuity and limited flexibility. This paper introduces Spectral-wise Implicit Neural Representation (SINR), a framework that models hyperspectral data as a continuous signal. By employing Spectral-wise Attention and a Fourier Coordinate Encoder, SINR enables high-fidelity reconstruction at arbitrary spectral resolutions without retraining. Experimental results demonstrate that SINR significantly outperforms discrete mapping baselines and is compatible with various existing backbones.

Problem Statement: The Limits of Discrete Reconstruction

Hyperspectral imaging captures a 3D data cube $(x, y, \lambda)$ containing spatial and spectral information. To acquire this data efficiently, Coded Aperture Snapshot Spectral Imaging (CASSI) systems are used. As shown in Figure 1, CASSI compresses the 3D cube into a single 2D measurement through a process of coded aperture modulation and dispersion.

The CASSI system compresses a 3D hyperspectral data cube into a 2D measurement via coded aperture and dispersion.

Reconstructing the original HSI from this 2D snapshot is an ill-posed inverse problem. Current deep learning solutions typically map measurements to a fixed, predetermined number of spectral bands. This approach suffers from two main drawbacks:

  1. Spectral Discontinuity: Treating spectra as discrete bins ignores their inherently continuous nature, losing fine-grained information.
  2. Inflexibility: Models are tied to a specific spectral resolution; changing the number of bands requires redesigning and retraining the entire network.

Proposed Method: Spectral-wise Implicit Neural Representation (SINR)

To address these issues, the authors propose SINR, which treats HSI reconstruction as a coordinate-based learning task. Instead of outputting a fixed tensor, the model learns a continuous function mapping spectral coordinates to intensity values.

The SINR architecture includes Spectral-wise Attention (SWA) and a Fourier Coordinate Encoder (FCE) to enable continuous spectral reconstruction.

As illustrated in Figure 2, the SINR framework consists of several key components:

  • Spectral-wise Attention (SWA): SWA treats spectral channels as tokens, allowing the model to capture long-range dependencies across the spectrum. This ensures that reconstruction at one wavelength is informed by relevant structural information from distant bands.
  • Fourier Coordinate Encoder (FCE): To overcome the "spectral bias" of standard MLPs—which tend to favor low-frequency components—FCE maps coordinates into a high-dimensional Fourier space. This forces the network to capture sharp edges and intricate spectral peaks.
  • Scale Factor (SF) Module: This module provides global metadata that helps the implicit function adapt to different requested spectral densities.
  • Reconstructed Head (RH): A Multi-Layer Perceptron (MLP) that fuses features from the above modules to predict final pixel intensities.

SINR is designed as a plug-and-play module, compatible with various HSI reconstruction backbones such as MST or HDNet.

Experimental Results

The researchers evaluated SINR on standard benchmarks including ICVL, Harvard, KAIST, and CAVE.

Performance and Flexibility

On the ICVL dataset, SINR achieved a PSNR of 32.24 dB, a significant improvement over the trilinear interpolation baseline (28.25 dB). When integrated with the MST backbone, SINR improved PSNR on the Harvard dataset from 35.72 dB to 35.98 dB, while also enhancing spectral similarity (SAM) and structural integrity (SSIM).

Zero-Shot Spectral Super-Resolution

A key advantage of the continuous representation is the ability to perform zero-shot spectral super-resolution. A model trained at a 1x scale can generate 2x, 4x, or 8x the number of spectral bands during inference without additional training. Qualitative results show that SINR's reconstructed spectral curves closely match ground truth (correlation > 0.99), capturing characteristic "dips" and "peaks" that traditional methods often smooth over.

Conclusion

Spectral-wise Implicit Neural Representation (SINR) represents a paradigm shift in HSI reconstruction by treating spectral data as a continuous signal. By leveraging coordinate-based learning and attention mechanisms, SINR provides a flexible, high-fidelity solution that overcomes the limitations of discrete-band models. Future work will explore extending this approach to the spatial domain for dual-domain continuous amplification and developing more lightweight versions for real-time applications.

Summary updated

BibTeX
@article{chen2023spectral,
  author = {Huan Chen and Wangcai Zhao and Tingfa Xu and Shiyun Zhou and Peifu Liu and Jianan Li},
  title = {{Spectral-wise Implicit Neural Representation for Hyperspectral Image Reconstruction}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2023},
  doi = {10.1109/tcsvt.2023.3318366},
}
Figure