Variational autoencoder‐guided data augmentation for imbalanced medical diagnostics

• A novel data augmentation strategy, combining variational autoencoders and particle swarm optimization, enhances cancer detection by generating synthetic samples strategically aligned with support vector machine decision margins. • The proposed technique delivers substantial gains in recall and F1-score, offering a robust solution for addressing class imbalance in medical diagnostics. • By focusing on augmentation near classification boundaries, the method enhances the model’s sensitivity to underrepresented classes. • The integration of variational autoencoders and particle swarm optimization enables the creation of realistic and diverse minority-class samples in complex, high-dimensional medical datasets, showing promise for advancing diagnostic accuracy. • This variational autoencoder-based, boundary-aware framework effectively mitigates imbalance-related performance issues in medical classification tasks, highlighting its value for real-world clinical applications. Class imbalance is a persistent challenge in medical classification tasks, where instances of disease are often underrepresented. To tackle this issue, we introduce a pioneering data augmentation framework that merges variational autoencoders (VAEs) with particle swarm optimization (PSO), guided by a support vector machine (SVM) margin function. Unlike traditional oversampling methods, such as SMOTE and its SVM-based extensions, which interpolate linearly in the input space, our method generates synthetic samples in a learned, low-dimensional latent space. This unique feature ensures that the augmented data is both diverse and semantically meaningful. The VAE captures a smooth latent representation of complex medical data. At the same time, PSO is used to identify latent points whose reconstructions lie near the SVM decision boundary, which are areas of high uncertainty critical for enhancing classifier robustness. A diversity-aware penalty in the PSO objective discourages redundancy and promotes coverage of the minority class distribution, mitigating mode collapse. By integrating generative modeling with discriminative margin-based guidance, the method generates synthetic data that extends beyond simple convex combinations, resulting in improved generalization. Experiments on two real-world cancer detection datasets show significant enhancements in classification performance. Using the proposed augmentation strategy, a random forest classifier achieved 92.11% accuracy and an F1-score of 88.75%, surpassing the baseline (89.47% accuracy, 84.62% F1) while maintaining a high precision of 98.61%. These results underscore the potential of our approach in boosting recall and overall model performance on imbalanced medical datasets, instilling optimism for its practical application.

Authors

Institutions

Publication Details

Journal
Results in Engineering
Published
2025-08-30
DOI
https://doi.org/10.1016/j.rineng.2025.107011
Citations
1
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
2.94
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Variational autoencoder‐guided data augmentation for imbalanced medical diagnostics

Fawaz Waselallah Alsaade, Mohammed S. Al-zahrani, Fuad E. Alsaadi
1 citations
Results in Engineering
Artificial Intelligence in Healthcare
2.94
article

Variational autoencoder‐guided data augmentation for imbalanced medical diagnostics

Fawaz Waselallah Alsaade, Mohammed S. Al-zahrani, Fuad E. Alsaadi
article en
1 citations

Abstract

• A novel data augmentation strategy, combining variational autoencoders and particle swarm optimization, enhances cancer detection by generating synthetic samples strategically aligned with support vector machine decision margins. • The proposed technique delivers substantial gains in recall and F1-score, offering a robust solution for addressing class imbalance in medical diagnostics. • By focusing on augmentation near classification boundaries, the method enhances the model’s sensitivity to underrepresented classes. • The integration of variational autoencoders and particle swarm optimization enables the creation of realistic and diverse minority-class samples in complex, high-dimensional medical datasets, showing promise for advancing diagnostic accuracy. • This variational autoencoder-based, boundary-aware framework effectively mitigates imbalance-related performance issues in medical classification tasks, highlighting its value for real-world clinical applications. Class imbalance is a persistent challenge in medical classification tasks, where instances of disease are often underrepresented. To tackle this issue, we introduce a pioneering data augmentation framework that merges variational autoencoders (VAEs) with particle swarm optimization (PSO), guided by a support vector machine (SVM) margin function. Unlike traditional oversampling methods, such as SMOTE and its SVM-based extensions, which interpolate linearly in the input space, our method generates synthetic samples in a learned, low-dimensional latent space. This unique feature ensures that the augmented data is both diverse and semantically meaningful. The VAE captures a smooth latent representation of complex medical data. At the same time, PSO is used to identify latent points whose reconstructions lie near the SVM decision boundary, which are areas of high uncertainty critical for enhancing classifier robustness. A diversity-aware penalty in the PSO objective discourages redundancy and promotes coverage of the minority class distribution, mitigating mode collapse. By integrating generative modeling with discriminative margin-based guidance, the method generates synthetic data that extends beyond simple convex combinations, resulting in improved generalization. Experiments on two real-world cancer detection datasets show significant enhancements in classification performance. Using the proposed augmentation strategy, a random forest classifier achieved 92.11% accuracy and an F1-score of 88.75%, surpassing the baseline (89.47% accuracy, 84.62% F1) while maintaining a high precision of 98.61%. These results underscore the potential of our approach in boosting recall and overall model performance on imbalanced medical datasets, instilling optimism for its practical application.

Results in EngineeringVol. 27
King Abdulaziz University (SA), King Faisal University (SA)
Openalex Percentile: Top 7%
Artificial Intelligence in Healthcare
2.94
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.