Deep Amended Gradient Descent for Efficient Spectral Reconstruction From Single RGB Images

Zhiyu Zhu, Hui Liu, Junhui Hou, Sen Jia, Qingfu Zhang

Abstract

Spectral reconstruction (SR) aims to recover high-dimensional hyperspectral (HS) information from standard three-channel RGB images. While deep learning has significantly advanced this field, many existing models operate as "black boxes," ignoring the underlying physics of image formation and requiring massive computational resources. This paper introduces AGD-Net (Amended Gradient Descent Network), a physically interpretable and lightweight framework that unrolls the gradient descent algorithm into a deep neural network. By incorporating a learnable "incremental gradient" and novel normalization techniques, AGD-Net achieves state-of-the-art accuracy with a 67x reduction in parameters and a 32x reduction in FLOPs compared to previous leading models.

Introduction

Hyperspectral imaging captures narrow spectral bands across the electromagnetic spectrum, providing a unique "spectral signature" for materials. This data is critical for applications ranging from medical diagnostics to precision agriculture. However, the high cost and bulk of HS cameras remain significant barriers to adoption. Spectral reconstruction offers a software-based alternative, attempting to map 3-channel RGB data back to 31+ spectral channels.

This task is inherently "ill-posed" because significant information is lost during the projection from HS to RGB. Traditional deep learning approaches often fail to generalize across different camera sensors (Spectral Response Functions, or SRFs) and typically require immense computational overhead. AGD-Net addresses these challenges by bridging the gap between traditional optimization and deep learning through algorithm unrolling.

Methodology

Amended Gradient Descent (AGD)

AGD-Net is built on the principle of algorithm unrolling, where the iterations of an optimization algorithm are mapped to the stages of a neural network. The authors formulate an "amended" version of gradient descent to navigate the complex energy landscape of spectral reconstruction. At each stage, the network calculates two components:

  1. Basic Gradient: Derived from the physical imaging model ($Y = CX$), ensuring the reconstruction remains consistent with the input RGB image.
  2. Incremental Gradient: A learnable correction term that steers the reconstruction toward the ground truth, compensating for the information lost during the RGB projection.

Architectural Innovations

To maintain a lightweight profile without sacrificing performance, the authors introduced several key components:

  • Spectral-Spatial Separable Convolutions: By decoupling 1D spectral convolutions from 2D spatial convolutions, the model significantly reduces the number of parameters and computational complexity.
  • Spectral Zero-Mean Normalization (SZM-norm): This novel layer centers features across the spectral dimension, forcing the network to focus on high-frequency spectral details and preventing overfitting to the mean intensity.
  • Rank Loss: Recognizing that HS images are naturally low-rank due to high band correlation, the authors implemented a loss function based on Singular Value Decomposition (SVD). This ensures the reconstructed image maintains the mathematical structure and sharp details of the ground truth.

Experimental Results

Performance and Efficiency

AGD-Net was evaluated against standard benchmarks, including the CAVE, HARVARD, and NTIRE 2020 datasets. The model demonstrated superior performance across all metrics:

  • Accuracy: AGD-Net improved reconstruction quality by over 1.0 dB PSNR compared to the previous state-of-the-art model, AWAN.
  • Model Size: The network utilizes only ~0.22M parameters, representing a 67x reduction compared to AWAN’s 17.45M.
  • Inference Speed: With only ~0.76T FLOPs, AGD-Net is 32x faster in terms of computational complexity than its predecessors.

Flexibility (FAGD-Net)

One of the most significant advantages of this physics-informed design is its flexibility. Because the architecture explicitly incorporates the camera's Spectral Response Function ($C$), the authors developed FAGD-Net. By simply swapping the $C$ matrix within the network, a single trained model can reconstruct images from various camera sensors (e.g., Nikon D700, Canon 50D) without the need for retraining.

Conclusion

AGD-Net represents a significant step forward in making hyperspectral imaging accessible via standard hardware. By combining the interpretability of physical models with the representational power of deep learning, the authors have created a framework that is both more accurate and significantly more efficient than previous "black-box" architectures. Future research may extend this "Amended Gradient Descent" approach to other inverse imaging problems, such as deblurring and compressive sensing.

Summary updated

BibTeX
@article{zhu2021deep,
  author = {Zhiyu Zhu and Hui Liu and Junhui Hou and Sen Jia and Qingfu Zhang},
  title = {{Deep Amended Gradient Descent for Efficient Spectral Reconstruction From Single RGB Images}},
  journal = {IEEE Trans. Computational Imaging},
  year = {2021},
  doi = {10.1109/tci.2021.3124364},
}
Figure