Skip to main content
QUICK REVIEW

[Paper Review] Imbalanced Data Learning by Minority Class Augmentation using Capsule Adversarial Networks

Pourya Shamsolmoali, Masoumeh Zareapoor|arXiv (Cornell University)|Apr 5, 2020
Digital Media Forensic DetectionComputer Science50 references9 citations
TL;DR

This paper proposes CapsAN, a novel generative adversarial network that integrates capsule networks into the discriminator to address class imbalance in image datasets. By leveraging a multivariate mixture distribution and feature matching loss, CapsAN generates diverse, high-quality minority-class samples without disrupting the majority class distribution, achieving state-of-the-art performance on imbalanced image classification benchmarks with fewer parameters than CNN-based GANs.

ABSTRACT

The fact that image datasets are often imbalanced poses an intense challenge for deep learning techniques. In this paper, we propose a method to restore the balance in imbalanced images, by coalescing two concurrent methods, generative adversarial networks (GANs) and capsule network. In our model, generative and discriminative networks play a novel competitive game, in which the generator generates samples towards specific classes from multivariate probabilities distribution. The discriminator of our model is designed in a way that while recognizing the real and fake samples, it is also requires to assign classes to the inputs. Since GAN approaches require fully observed data during training, when the training samples are imbalanced, the approaches might generate similar samples which leading to data overfitting. This problem is addressed by providing all the available information from both the class components jointly in the adversarial training. It improves learning from imbalanced data by incorporating the majority distribution structure in the generation of new minority samples. Furthermore, the generator is trained with feature matching loss function to improve the training convergence. In addition, prevents generation of outliers and does not affect majority class space. The evaluations show the effectiveness of our proposed methodology; in particular, the coalescing of capsule-GAN is effective at recognizing highly overlapping classes with much fewer parameters compared with the convolutional-GAN.

Motivation & Objective

  • To address the challenge of deep learning performance degradation on imbalanced image datasets, particularly when minority classes are underrepresented.
  • To overcome the limitations of standard GANs in generating realistic, diverse samples for minority classes due to data imbalance and mode collapse.
  • To improve discriminator robustness and generalization in multiclass settings by incorporating capsule networks instead of traditional CNNs.
  • To maintain the integrity of the majority class distribution during data generation, avoiding overfitting or distribution shift.
  • To develop a training mechanism that uses feature matching loss and multivariate probability distributions to stabilize training and improve sample quality.

Proposed method

  • The proposed CapsAN framework uses a generator that takes noise and class labels, sampling from a multivariate mixture distribution to generate minority-class images.
  • The discriminator is redesigned as a capsule-based multiclass classifier (Capsule-Discriminator, DC), which outputs multiple clusters corresponding to known classes and a 'fake' class, improving class-aware discrimination.
  • The generator is trained using a feature matching loss function that minimizes the L1 distance between real and generated feature representations, stabilizing training and preventing outlier generation.
  • The model jointly leverages both majority and minority class data during adversarial training, ensuring the generator learns the underlying structure of the entire data distribution.
  • The capsule network in the discriminator captures hierarchical spatial relationships and pose information more effectively than CNNs, enhancing feature representation and classification accuracy.
  • The framework is trained end-to-end in an adversarial manner, with the generator improving based on feedback from the capsule-based discriminator.

Experimental results

Research questions

  • RQ1Can a capsule-based discriminator improve classification performance on imbalanced image datasets compared to conventional CNN-based discriminators?
  • RQ2Does incorporating a multivariate mixture distribution in the generator lead to more diverse and realistic minority-class sample generation?
  • RQ3Can feature matching loss stabilize training and reduce mode collapse in GANs trained on imbalanced data?
  • RQ4To what extent does CapsAN preserve the majority class distribution while augmenting minority classes?
  • RQ5How does CapsAN compare in performance and parameter efficiency to existing GAN-based and non-GAN-based data augmentation methods on imbalanced datasets?

Key findings

  • CapsAN achieved the highest F1-score of 0.914 on Data 4, outperforming baseline methods such as SMOTE (0.796), ADASYN (0.891), and CRL (0.874).
  • On Data 5, CapsAN achieved an F1-score of 0.889, surpassing the next best method (ADASYN at 0.889) and significantly outperforming the imbalanced baseline (0.693).
  • On Data 6, CapsAN recorded an F1-score of 0.845, exceeding SMOTE (0.661), ADASYN (0.795), and CRL (0.819).
  • On Data 7, CapsAN achieved an F1-score of 0.823, outperforming the imbalanced baseline (0.618) and other baselines like ADASYN (0.765) and CRL (0.784).
  • The model demonstrated superior performance in recognizing highly overlapping classes with significantly fewer parameters than comparable convolutional-GAN models.
  • The capsule-based discriminator effectively created distinct clusters in the output space, enabling better class prediction and improved generalization on minority classes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.