AVIRIS-NG-Like Smart Virtual Remote Sensing via Spectra-Aware Physics Informed GANs

A physics-informed GAN that builds a virtual replica of NASA AVIRIS-NG hyperspectral imagery from an RGB image. The generator predicts per-pixel abundances over 75 USGS reference spectra plus a brightness map, and the 8-band hyperspectral cube is rebuilt with a linear mixing model.

Sachin Giri, Rafal Krzysiak, Derek Hollenbeck, YangQuan Chen. Proceedings of the ASME 2025 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference (IDETC-CIE 2025), Anaheim, CA. doi:10.1115/DETC2025-168671

Code: github.com/sachingirime/aviris-ng-virtual-replica · Dataset: Dryad (CC0) · Kaggle · Also on: Kaggle Models

Abstract

This paper aims to create a physics informed virtual replica of the hyperspectral image captured by NASA's Airborne Visible InfraRed Imaging Spectrometer - Next Generation (AVIRIS-NG) sensor equipped on manned aircraft. Few image samples are selected from study site around New Mexico, USA from flight mission ran in 2019. Out of 425 bands, 8 bands are utilized. For each band, reflectance spectra are chosen from United States Geological Survey (USGS) based on site specific geographical features. These spectras are infused during the image generation process with the correction check using matched filters. Moreover, we include the methane plumes along with other closely related hydrocarbons during the image generation process. Generative Adversarial Networks (GANs) architecture is employed with physics informed loss function for generating realistic and physically plausible images. Additionally, we also propose a new light weight dataset for creating the virtual replica of the AVIRIS-NG sensor on selected 8 bands in the visible light spectrum and the short-wave infrared region.

Files

The six checkpoint files are byte-identical to the Kaggle model (version 2).

File Contents
generator_param_1500.pth Generator after 1500 epochs, the paper's training schedule (147.7M parameters, state dict)
discriminator_spa_param_1500.pth, discriminator_spe_param_1500.pth Spatial and spectral discriminators at epoch 1500 (needed only to continue training)
Models/*_param_1400.pth The same three networks at epoch 1400
network.py Network definitions: generator, ResBlock and the discriminators
spe_grss_75.mat Spectral library spe_grss (75 USGS spectra × 8 bands), with name_chose and class_chose

Bands. 460, 550 and 640 nm (RGB input), plus SWIR at 2004, 2109, 2310, 2350 and 2360 nm.

Usage

import torch, torch.nn.functional as F, scipy.io
from huggingface_hub import hf_hub_download
import importlib.util

repo = "girisachin248/aviris-ng-virtual-replica"
spec = importlib.util.spec_from_file_location("network", hf_hub_download(repo, "network.py"))
network = importlib.util.module_from_spec(spec); spec.loader.exec_module(network)

device = "cuda"                                 # network.py creates its brightness parameter on CUDA
spe_lib = torch.tensor(scipy.io.loadmat(hf_hub_download(repo, "spe_grss_75.mat"))["spe_grss"].T).float().to(device)  # 8 x 75
G = network.generator(network.ResBlock, 128, 3, spe_lib.shape[1]).to(device)
G.load_state_dict(torch.load(hf_hub_download(repo, "generator_param_1500.pth"), map_location=device))

rgb = torch.rand(1, 3, 256, 256, device=device)  # RGB tile scaled to [0, 1]
with torch.no_grad():
    pos, brightness = G(rgb)
    abundance = F.softmax(pos, dim=1)            # 1 x 75 x H x W
    cube = brightness * (spe_lib @ abundance[0].reshape(75, -1)).reshape(1, 8, *rgb.shape[-2:])

cube is the synthesized 8-band image on the training targets' scale; the test script multiplies it by 4095 to save it as a TIFF. A CUDA GPU is required, because network.py creates the brightness parameter on CUDA. The training and test scripts (losses, metrics, data layout) are in the GitHub repository.

Results

Reconstruction metrics on the 6 held-out test tiles, over all 8 synthesized bands:

SAM ↓ MPSNR (dB) ↑ MSSIM ↑ Spectral corr. ↑ FSIM ↑
0.466 37.40 0.569 0.625 0.955

License

The model weights are released under CC BY-NC 4.0. You may use, share and adapt them for non-commercial purposes, such as research and teaching, if you credit the paper above. Commercial use requires written permission from the authors. The license covers copyright in the weights only and grants no patent rights.

Citation

@inproceedings{giri2025aviris,
  title     = {{AVIRIS-NG}-Like Smart Virtual Remote Sensing via Spectra-Aware Physics Informed {GANs}},
  author    = {Giri, Sachin and Krzysiak, Rafal and Hollenbeck, Derek and Chen, YangQuan},
  booktitle = {Proceedings of the ASME 2025 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference (IDETC-CIE2025)},
  volume    = {5},
  year      = {2025},
  publisher = {American Society of Mechanical Engineers},
  doi       = {10.1115/DETC2025-168671}
}

@dataset{giri2025avirisdata,
  title     = {{AVIRIS-NG}-like smart virtual remote sensing via spectra-aware physics informed {GANs}},
  author    = {Giri, Sachin and Krzysiak, Rafal and Hollenbeck, Derek and Chen, YangQuan},
  publisher = {Dryad},
  year      = {2025},
  doi       = {10.5061/dryad.msbcc2gbt}
}

Acknowledgements

The network builds on PDASS by Liu et al., "Physics-informed hyperspectral remote sensing image synthesis with deep conditional generative adversarial networks", IEEE TGRS 60, 2022. Please cite their work as well.

The AVIRIS-NG tiles are a subset of the STARCOP dataset (Růžička et al., Scientific Reports, 2023). The spectra come from the USGS Spectral Library v7.

This work was supported by the Center for Methane Emission Research and Innovation (CMERI) through the Climate Action Seed Funds grant at UC Merced.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support