Joint Embedding and Classification for SAR Target Recognition

Jiayun Wang, Patrick Virtue, Stella X. YuarXiv 2017

TL;DR

This paper tackles the problem of overfitting in aerial image classification, particularly for Synthetic Aperture Radar (SAR) images. The authors propose a novel "dual loss" approach that combines standard classification loss with an "embedding loss." This dual loss encourages better separation of image features in the network's internal representations, leading to significantly improved accuracy and robustness against variations between training and testing data.

What Problem Does This Paper Address?

Deep neural networks (DNNs) are powerful tools for image classification, but they often struggle with aerial imagery due to significant variations in factors like viewpoint, illumination, and object articulation. This leads to overfitting, where models perform exceptionally well on training data but poorly on unseen data. This is a critical issue for applications like military target recognition and land-use mapping, where reliable performance on diverse real-world data is essential. The paper specifically addresses the challenge of improving the robustness of aerial image classifiers to these variations, aiming to reduce the gap between training and testing accuracy.

Methods

The core contribution of this paper is the introduction of a dual loss function for training deep neural networks. This dual loss combines:

  1. Classification Loss: The standard softmax cross-entropy loss, which aims to correctly predict the class label for each image.
  2. Embedding Loss: A novel addition that encourages the network to learn more discriminative feature representations. This loss aims to pull features from the same class closer together and push features from different classes further apart in the network's internal "embedding space."

The authors explore two specific embedding loss functions:

  • Contrastive Loss: This loss aims to pull similar image pairs closer and push dissimilar pairs further apart in the embedding space, with defined margins.
  • Center Loss: This loss aims to reduce the variance of features within each class, leading to tighter clusters.

Crucially, the paper investigates where to apply this embedding loss within the network. While previous work in related fields (like person re-identification) applied it to the general "feature space" (an earlier layer's output), this paper hypothesizes and demonstrates that applying the embedding loss to the "classifier space" (the layer just before the final softmax activation) yields the best results for aerial image classification. This is because the classifier space is directly involved in the final decision-making process and is used in both training and testing.

Datasets

The proposed method is evaluated on two benchmark datasets:

  • MSTAR (Moving and Stationary Target Acquisition and Recognition): This dataset consists of SAR image chips of various military vehicles. The authors use an augmented version of the dataset and specifically test on both "seen" and "unseen" target serial numbers to evaluate generalization.
  • AID (Aerial Image Dataset): This dataset comprises images from Google Earth covering 30 different aerial scene types, used to evaluate the method's generalization to a different type of aerial imagery classification task.

Key Insights and Ideas

  • The "Classifier Space" is Key: The most significant insight is that applying the embedding loss to the classifier space (just before softmax) is more effective than applying it to earlier feature layers. This suggests that directly influencing the representations that feed into the final classification decision is more impactful for improving robustness.
  • Dual Loss for Robustness: Combining classification and embedding losses is crucial for overcoming overfitting. The embedding loss acts as a regularizer, forcing the network to learn more generalizable features.
  • Visualizing Embeddings Matters: Visualizing the learned representations (using t-SNE) provides compelling evidence for the effectiveness of the dual loss. It clearly shows increased separation between classes when the embedding loss is applied, especially in the classifier space.
  • Contrastive vs. Center Loss: While both embedding losses improve performance, contrastive loss slightly outperforms center loss, particularly for outlier rejection tasks. This suggests that explicitly pushing classes apart (as contrastive loss does) might be more beneficial than just tightening clusters.

Key Results

  • Significant Accuracy Gains: The proposed dual loss approach, particularly with the embedding loss applied to the classifier space, achieved substantial improvements in classification accuracy on the MSTAR dataset. For example, one configuration reached 98.2% overall accuracy and 97.2% unseen accuracy, a significant jump from the baseline's 91.4% overall accuracy.
  • Reduced Overfitting: The gap between training and testing accuracies was significantly reduced. For instance, the baseline achieved 100% training accuracy but only 91.4% test accuracy, while the dual loss method achieved 98.2% test accuracy with a similar training performance.
  • Improved Outlier Rejection: The dual loss method also demonstrated better performance in rejecting outlier (unknown) targets, leading to lower false alarm rates.
  • Generalization: The method showed positive results on the AID aerial scene classification dataset, indicating its potential for broader applications beyond SAR target recognition.

Limitations and Future Work

  • Hyperparameter Tuning: The performance of the dual loss is sensitive to hyperparameter choices (e.g., the weight of the embedding loss, λ, and margins for contrastive loss). While the paper explores some of these, further systematic tuning might be beneficial.
  • Computational Cost: While the embedding loss is only computed during training, it does add to the overall training time. The paper notes that it doesn't add computational burden during inference.
  • Future Work: The paper suggests exploring other embedding loss functions and further investigating the optimal placement of the embedding loss within the network architecture. The success on both SAR and scene classification datasets also opens avenues for applying this approach to other types of aerial imagery and related computer vision tasks.

Summary updated

Abstract

Deep neural networks can be effective means to automatically classify aerial images but is easy to overfit to the training data. It is critical for trained neural networks to be robust to variations that exist between training and test environments. To address the overfitting problem in aerial image classification, we consider the neural network as successive transformations of an input image into embedded feature representations and ultimately into a semantic class label, and train neural networks to optimize image representations in the embedded space in addition to optimizing the final classification score. We demonstrate that networks trained with this dual embedding and classification loss outperform networks with classification loss only. %We also study placing the embedding loss on different network layers. We also find that moving the embedding loss from commonly-used feature space to the classifier space, which is the space just before softmax nonlinearization, leads to the best classification performance for aerial images. Visualizations of the network's embedded representations reveal that the embedding loss encourages greater separation between target class clusters for both training and testing partitions of two aerial image classification benchmark datasets, MSTAR and AID. Our code is publicly available on GitHub.
BibTeX
@misc{wang2017joint,
  author = {Jiayun Wang and Patrick Virtue and Stella X. Yu},
  title = {{Joint Embedding and Classification for SAR Target Recognition}},
  year = {2017},
  eprint = {1712.01511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.01511},
}
Figure