Abstract
Data augmentation (DA) is a cornerstone of modern machine learning, particularly for addressing class imbalance. However, its internal mechanisms remain poorly understood. This study investigates the "under the hood" effects of DA on parametric models like Convolutional Neural Networks (CNNs), Support Vector Machines (SVMs), and Logistic Regression (LG). By analyzing weight magnitudes, support vector counts, and feature selection volatility, we demonstrate that DA fundamentally reshapes a model's internal logic, often resulting in weight shifts exceeding 100%. Our findings suggest that DA helps models "memorize" and distinguish minority classes by forcing them to identify new signals, rather than just marginally improving generalization metrics.
Introduction
While data augmentation is widely recognized for improving performance on minority classes in imbalanced datasets, it is often treated as a "black box." Most research focuses on incremental accuracy gains without exploring the structural changes within the model. This paper shifts the focus to the "quantum of change" occurring internally. We ask: how does DA affect the internal parameters and decision-making processes of common classifiers when learning from lopsided data?
Methodology
We employ several analytical tools to probe the impact of class numerical equalization versus feature manipulation:
- Weight Analysis: We use the Frobenius norm to measure changes in weight magnitudes.
- Feature Importance: A Top-K feature selection approach—utilizing gradients for neural networks and classification embeddings for Logistic Regression—identifies shifts in model priorities.
- Augmentation Comparison: We evaluate simple strategies like Random Over-Sampling (ROS) and Cost-Sensitive (CS) learning against interpolative methods such as SMOTE, ADASYN, and REMIX.
- Latent vs. Real Space: We introduce DSM (DeepSMOTE) to compare augmentation in hidden layers (latent space) versus raw input data (real space).
Experimental Setup
The study utilizes a diverse range of datasets to ensure robustness:
- Tabular Data: High-imbalance datasets (>10:1) from the UCI repository, including Ozone, Scene, Coil, Thyroid, and US Crime.
- Image Data: CIFAR-10 (artificially imbalanced), Places (step imbalance), and iNaturalist (large-scale real-world imbalance).
Internal Model Dynamics
Our analysis reveals that DA induces significant internal shifts, even when global performance metrics show only modest improvements.
- Weight Volatility: In Logistic Regression, DA can cause learned weights to shift by 150% to 900% compared to models trained on imbalanced data. For instance, the US Crime dataset saw an 8.99x mean percentage change in weights.
- Support Vector Expansion: In SVMs, DA significantly increases the number of support vectors (often by 100% or more). This suggests that models must store more instances in "memory" to define decision boundaries amidst the variance introduced by DA.
- Feature Selection Shifts: DA fundamentally changes what the model "sees." We observed only a 45% to 60% overlap in top features between base and augmented models, indicating that DA forces the discovery of previously ignored signals.
Performance Evaluation
A key finding is that for tabular data, the primary benefit of DA often stems from simple numerical balancing.
As shown in the performance analysis across various models, simple methods like ROS and CS often provide performance gains comparable to complex interpolative methods like SMOTE. This suggests that the "magic" of DA in imbalanced learning is frequently just the act of forcing the model to attend to the minority class. However, for image datasets, latent space augmentation (e.g., DSM) outperformed simple balancing by over 3 points, highlighting that the optimal strategy depends heavily on the data type.
Conclusion
This research demonstrates that data augmentation is more than a metric-boosting tool; it is a catalyst for profound internal reorganization within machine learning models. While simple balancing suffices for abstracted tabular data, more sophisticated latent space methods are superior for complex image data. Future work will extend this analysis to non-parametric models like XGBoost and investigate signal path kernels in deep networks.
Summary updated