Logo: to the web site of Uppsala University

uu.sePublications from Uppsala University
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Mitigating Representation Bias in Extremely Imbalanced Dataset via Batch-aware Modulated Generative Adversarial Network
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

In domains such as medical imaging, fraud detection, and industrial fault diagnosis, class distributions are often highly imbalanced, with the minority class represented by only a few samples. This severe imbalance significantly impairs effective representation learning, as standard classifiers are dominated by the majority class and fail to capture discriminative features of rare categories. While methods like the Synthetic Minority Oversampling Technique (SMOTE) and conditional generative models perform reasonably well under moderate imbalance, their effectiveness deteriorates when the number of minority instances becomes extremely limited. In such scenarios, oversampling methods often lead to overfitting by duplicating data, whereas generative models are prone to mode collapse and lack diversity in generated samples, ultimately hindering meaningful representation learning.

To address this challenge, we propose the Batch-aware Modulated Generative Adversarial Network (BM-GAN), which is trained in two stages. First, a supervised autoencoder is pretrained using balanced mini-batches, wavelet convolutions, and a Convolutional Block Attention Module (CBAM) to encode multi-scale, class-specific structures. In the second stage, a conditional GAN inherits the decoder weights, leveraging the well-structured latent space to mitigate the risk of mode collapse. We evaluate BM-GAN on severely imbalanced versions of MNIST, FashionMNIST, and CIFAR-10, using four downstream classifiers. Our method is compared against several baselines, including conditional GAN (cGAN), Auxiliary Classifier GAN (ACGAN), Balancing GAN with gradient penalty (BAGAN-GP), and six sampling-based techniques.

Experimental results show that: (i) BM-GAN consistently generates minority class samples with superior fidelity and diversity across all imbalance levels; (ii) augmenting training sets with BM-GAN samples improves performance across all downstream classifiers; (iii) ablation studies demonstrate that removing any component—balanced mini-batches, wavelet convolutions, or CBAM—reduces sample quality, confirming the necessity of each; and (iv) while the improvements on CIFAR-10 are less pronounced compared to other datasets such as MNIST and Fashion-MNIST, BM-GAN still matches or outperforms classical oversampling methods in terms of overall accuracy and sample diversity.

These findings establish BM-GAN as a principled and modular framework for synthesizing realistic minority class samples under extreme imbalance, thereby enhancing the fairness and robustness of downstream classifiers.

Place, publisher, year, edition, pages
2025. , p. 62
Series
IT ; mDA 25 004
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:uu:diva-560982OAI: oai:DiVA.org:uu-560982DiVA, id: diva2:1973279
Educational program
Master's Programme in Data Science
Supervisors
Examiners
Available from: 2025-06-19 Created: 2025-06-19 Last updated: 2025-06-19Bibliographically approved

Open Access in DiVA

Chenglong_Li_Master_Thesis(3109 kB)385 downloads
File information
File name FULLTEXT01.pdfFile size 3109 kBChecksum SHA-512
4ed9dbab79588dcf0f2e198023a6cd5d6da16a1dbdf29787e2bff8ec78267356863ea398990d4b0abf5617d5f096e5437c28a4de47e073e4cc525fbd94545a54
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 387 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 371 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf