The code repository for "Few-Shot Open-Set Recognition of Hyperspectral Images with Outlier Calibration Network" [paper] (WACV'22) in Tensorflow.
We tackle the few-shot open-set recognition (FSOSR) problem in the context of remote sensing hyperspectral image (HSI) classification. Prior research on OSR mainly considers an empirical threshold on the class prediction scores to reject the outlier samples. Further, recent endeavors in few-shot HSI classification fail to recognize outliers due to the `closed-set' nature of the problem and the fact that the entire class distributions are unknown during training. To this end, we propose to optimize a novel outlier calibration network (OCN) together with a feature extraction module during the meta-training phase. The feature extractor is equipped with a novel residual 3D convolutional block attention network (R3CBAM) for enhanced spectral-spatial feature learning from HSI. Our method rejects the outliers based on OCN prediction scores barring the need for manual thresholding. Finally, we propose to augment the query set with synthesized support set features during the similarity learning stage in order to combat the data scarcity issue of few-shot learning. The superiority of the proposed model is showcased on four benchmark HSI datasets.
The following packages are required to run the scripts:
Download from (http://www.ehu.eus/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes)
Download from (https://hyperspectral.ee.uh.edu/?page_id=459)
The codes for meta-training, fine-tuning and meta-testing on 4 benchmark HSI datasets are available in src folder with name as "OCN_<Dataset_name>". The code is configured for 3-way 5-shot open-set recognition.
The AUROC comparison of our method agaist other methods is shown below.
If you use any content of this repo for your work, please cite the following bib entry:
@InProceedings{Pal_2022_WACV,
author = {Pal, Debabrata and Bundele, Valay and Sharma, Renuka and Banerjee, Biplab and Jeppu, Yogananda},
title = {Few-Shot Open-Set Recognition of Hyperspectral Images With Outlier Calibration Network},
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
month = {January},
year = {2022},
pages = {3801-3810}
}
OCN is released under the MIT license.
Copyright (c) 2022 Debabrata Pal. All rights reserved.