# S<sup>2</sup>-cGAN: Self-Supervised Adversarial Representation Learning for Binary Change Detection in Multispectral Images
This repository contains the code of the paper [S<sup>2</sup>-cGAN: Self-Supervised Adversarial Representation Learning for Binary Change Detection in Multispectral Images](#) accepted at the IEEE International Geoscience and Remote Sensing Symposium, 2020. This work has been done at the [Remote Sensing Image Analysis group](https://www.rsim.tu-berlin.de/menue/remote_sensing_image_analysis_group/) by [Jose Luis Holgado](),[Mahdyar Ravanbakhsh](https://www.rsim.tu-berlin.de/menue/team/dr_sayyed_mahdyar_ravanbakhsh/) and [Begüm Demir](https://begumdemir.com/).
This repository contains the code of the paper [S<sup>2</sup>-cGAN: Self-Supervised Adversarial Representation Learning for Binary Change Detection in Multispectral Images](https://arxiv.org/abs/2007.02565) accepted at the IEEE International Geoscience and Remote Sensing Symposium, 2020. This work has been done at the [Remote Sensing Image Analysis group](https://www.rsim.tu-berlin.de/menue/remote_sensing_image_analysis_group/) by [Jose Luis Holgado](),[Mahdyar Ravanbakhsh](https://www.rsim.tu-berlin.de/menue/team/dr_sayyed_mahdyar_ravanbakhsh/) and [Begüm Demir](https://begumdemir.com/).
## Abstract
Deep Neural Networks have recently demonstrated promising performance in binary change detection (CD) problems in remote sensing (RS), requiring a large amount of labeled multitemporal training samples. Since collecting such data is time-consuming and costly, most of the existing methods rely on pre-trained networks on publicly available computer vision (CV) datasets. However, because of the differences in image characteristics in CV and RS, this approach limits the performance of the existing CD methods. To address this problem, we propose a self-supervised conditional Generative Adversarial Network (S<sup>2</sup>-cGAN). The proposed S<sup>2</sup>-cGAN is trained to generate only the distribution of unchanged samples. To this end, the proposed method consists of two main steps: 1) Generating a reconstructed version of the input image as an unchanged image 2) Learning the distribution of unchanged samples through an adversarial game. Unlike the existing GAN based methods (which only use the discriminator during the adversarial training to supervise the generator), the S<sup>2</sup>-cGAN directly exploits the discriminator likelihood to solve the binary CD task. Experimental results show the effectiveness of the proposed S<sup>2</sup>-cGAN when compared to the state of the art CD methods.
...
...
@@ -29,7 +29,7 @@ Examples of score maps associated to a pair of patches, and its comparison to th